Posted on September 21, 2009 by symbolik
I have upgraded all my systems to KDE 4.3.1 very successfully, and it is gorgeous. While still slower than LXDE (this will likely always be the case), it is much better than the 4.2 that shipped with Jaunty. I have also upgraded to OpenOffice 3.1.1, the latest stable Wine, and I have updated Xorg as well – all from the PPA (Personal Packages Archive) site. Here is how, and from where:
To use these, click on each link, then:
- Select your sources.list version and copy the two deb lines to your
- Import the key with this command –
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 12345678 (replace
12345678 with the appropriate import key listed above)
- Update with
sudo apt-get update
- Upgrade with
sudo apt-get dist-upgrade
Hope this helps, but YMMV. This is only a “howto if you want”, not a “recommendation that you do”. If things blow up, well, that’s the risk you take. I find it encouraging, however, that across four different Kubuntu 9.04 systems, I have not had any problems from these upgrades, and found that many fixes and improvements had taken place.
Ultimately, this article is really to help me for future upgrades. But if you get something good from here, that’s cool too.
Filed under: Desktops, HowTo, KDE, Kubuntu, Linux, OpenOffice, Xorg | Tagged: HowTo, KDE, KDE 4, Kubuntu, OpenOffice, OpenOffice 3.1.1, PPA, WINE, Xorg | 1 Comment »
Posted on November 25, 2007 by symbolik
I just got back from vacation, and am a little tired. This did not stop me from rolling 188.8.131.52 kernel, however – but it did play a part in writing these directions. Refer to the previous article, HOWTO – Vanilla Kernel 184.108.40.206 on Gutsy Gibbon… and use the same steps for installing. The only thing I did different was unchecking the CPU frequency scaling in “make menuconfig” (I do not need it), and I did not append anything to the version, so my kernel is just 220.127.116.11. Once it was installed, I made sure to switch to the “vesa” driver before rebooting.
So far, so good – after rebooting, I logged into just a console (no X server) and uninstalled, then reinstalled the NVidia 100.14.19 driver at the command line (I tested with “X”, then switched back to the “nvidia” driver in /etc/X11/xorg.conf). I also reran the vmware setup (runme.pl) from the vmware-any-any-update114 directory. After restarting the X server and logging back in, I was able to verify video acceleration, sound, and vmware all worked fine, for myself and other users.
Filed under: HowTo, Kernel, Kubuntu, Linux, VMWare, Xorg | Tagged: HowTo | Leave a comment »
Posted on November 15, 2007 by symbolik
Sorry, not mine, but I thought it looked pretty useful. Here is the link:
Getting a projector to work under Ubuntu Linux with Nvidia drivers
The Tech Explorer site has other articles you might find helpful as well, so dig around.
Filed under: Graphics, Hardware, HowTo, Linux, Tips…, Xorg | 1 Comment »
Posted on November 10, 2007 by symbolik
The next step for me after getting on a customized vanilla 18.104.22.168 kernel was getting my NVidia 6600 working again (as opposed to the vesa driver). I had previously either used the Envy tool (Feisty) or the Restricted Modules (Gutsy), both using the stock Ubuntu kernels at the time. Neither worked on my new kernel. As a last resort, I ran Envy and uninstalled all evidence of my prior installation attempts, downloaded the current nvidia driver (100.14.19), ran chmod +x on the .run file to make it executable, and logged off to a console only.
I next (as root) ran kdm stop to kill Xorg, and then ran the .run script.
It worked like a charm. I then edit my xorg.conf file and uncommented the “nvidia” driver line and commented the “vesa” driver line. I always test after an install or upgrade by typing “X” (no quotes) – if things are good, a blank window environment with the cursor opens (kill it with CTRL-ALT-BACKSPACE).
You can also check if the nvidia module is loaded with lsmod | grep nv.
I rebooted again, just to be sure, and everything came up great. Once in KDE, I ran glxgears and got 7600 FPS – you don’t get that unless you are running an accelerated driver. There are other ways to confirm you are using the right driver – the NVidia logo will pop up when Xorg first starts unless you have it disabled in the xorg.conf file, as I do, and you can use glxinfo instead of glxgears.
Problem solved, on to the next one – VMWare.
Filed under: Graphics, Hardware, HowTo, Kernel, Kubuntu, Xorg | Tagged: HowTo | Leave a comment »
Posted on November 10, 2007 by symbolik
Well, I finally went ahead and rolled a custom kernel on Kubuntu 7.10. I was having performance issues with VMware-Server 1.0.4, and researching pointed at the tickless kernel and SLUB options used in the Ubuntu 2.6.22-14 kernel. I used Sean’s Blog extensively and tried both the easy way and then the harder way. The easy way is just rolling back to the 2.6.20 Ubuntu kernel with the proper files from the Ubuntu archives. This worked, but I wanted more.
The harder way really wasn’t that hard at all. I followed his steps and got the 2.6.22-9 Ubuntu kernel installed fine. Then I decided to try a vanilla kernel from www.kernel.org. Here is a summary of the steps I took on a different computer:
- Download the latest full kernel (22.214.171.124 at the time of this writing).
- sudo -i
- apt-get install build-essential kernel-package (I did not get the linux-source package, because that is what was downloaded in step 1.)
- cd /usr/src
- mv (path/to/)linux-126.96.36.199.tar.bz ./
- tar xvfj linux-188.8.131.52.tar.bz
- rm -f linux (if it exists)
- ln -s linux-184.108.40.206 linux
- cd linux
- cp /boot/config-2.6.22-14-generic .config (this step copies the current running kernel config into place for building the new kernel)
- make menuconfig (you need to have ncurses packages installed for this to work) – I prefer this to make xconfig, for no good reason
- MUST DO – General setup –> change from SLUB to SLAB – Choose SLAB allocator (SLAB).
- MUST DO – Processor type and features –> uncheck Tickless System (Dynamic Ticks). OPTIONAL performance settings I like – select the Processor family (mine is Opteron/Athlon64/Hammer/K8), set Preemption model to Preemptable kernel (Low Latency desktop), set Timer frequency (1000 Hz).
- OPTIONAL – Kernel hacking –> check Use 4Kb for kernel stacks instead of 8Kb. This is a performance setting.
- OPTIONAL – Device Drivers –> Sound –> Advanced Linux Sound Architecture –> PCI Devices –> set Intel HD Audio to M (module) -this was in Sean’s Blog, and I did not get sound working until I set this. YMMV.
- Exit and save the new .config file – I also like to save a copy of this file under a descriptive name somewhere else as a backup (cp .config /home/gutsy-220.127.116.11-slab.config, for example)
make-kpkg clean – refer to man make-kpkg to see what this does
make-kpkg --append-to-version=-with-slab kernel_image --initrd binary (“-with-slab” is descriptive text only, so you can change it if you like, or leave it out entirely) – this step rolls up the old “make, make modules” steps into one, so it could take a while before it is finished, depending on how much horsepower your computer has
- cd .. (go up one directory to where the new files are after compiling is completed)
dpkg -i linux-image-18.104.22.168*.deb linux-headers-22.214.171.124*.deb (installs the kernel and modules)
ln -s /lib/firmware/2.6.22-14-generic /lib/firmware/126.96.36.199-with-slab (to preclude any firmware issues that might pop up)
Now, you might want to sanity check before rebooting, so have a look at /boot/grub/menu.1st. You should see two entries for the new 188.8.131.52 kernel there (one is a recovery entry). The default number to boot should be the non-recovery entry. The count starts with 0, so if you have two kernels installed, you will typically have five entries (last is memtest), so the count runs from 0 to 4. Your new kernel will likely be 2 in such case.
One more useful step before rebooting – you may want to set your video driver to vesa, otherwise you might just get a console login after rebooting instead of KDE, GNOME, etc. Most likely, you will have to reinstall your video driver (NVidia and ATI users), and it’s a heck of a lot easier to troubleshoot if you have console and GUI environments. To do this, just:
- sudo -i
- vi /etc/X11/xorg.conf
- In Section “Device”, add in the line Driver “vesa” and comment out (#) the previous driver line.
- In Section “Modules”, comment out the line that says Load”glx”.
- Write and quit (:wq), and you are set. Remember, this will get you basic, unaccelerated graphics, so you will want to restore your old driver after rebooting to the new kernel.
If you use VMWare, you will also have to reconfigure it to use the new kernel.
Upon verifying that your new kernel is in the grub boot menu and selected as the default, reboot. As long as you have not removed the old kernel, you can always boot back into it if the new kernel fails to boot for some reason (hit ESC when prompted at bootup to select a non-default kernel entry). If all is well, you should see the *buntu boot progress logo come up and shortly be in your chosen window session. I like that this process builds in the boot logo automagically – nice touch.
Have fun with your new vanilla customized kernel!
Filed under: HowTo, Kernel, Kubuntu, VMWare, Xorg | Tagged: HowTo | 27 Comments »