From my last post about the disappointing performance from Ubuntu 9.04 Jaunty Jackalope, now it’s fixed. Not really fixed, but much better in performance, especially graphics. Now my Firefox is not slow anymore, my CPU resource consumption is much lower, Compiz is working much better, and Flash Player in Firefox can now go fullscreen.
For those who have the same problem — I think you will if you have Ubuntu 9.04 with an Intel graphics card — you can follow these steps and enjoy the performance:
1. Edit the Xorg configuration with this command:
gksudo vim /etc/X11/xorg.conf
Find the “Device” section and make it look like this:
Section "Device"
Identifier "Configured Video Device"
Option "AccelMethod" "uxa"
Option "EXAOptimizeMigration" "true"
Option "MigrationHeuristic" "greedy"
Option "Tiling" "true" # i8xx users: set to false
EndSection
Save the xorg.conf file.
2. Download Bartec’s fixmtrr.sh script and make it executable:
sudo wget http://launchpadlibrarian.net/26193373/fixmtrr.sh -O /usr/local/bin/fixmtrr.sh
sudo chmod +x /usr/local/bin/fixmtrr.sh
3. Create a symbolic link to ensure the fixmtrr.sh script is executed upon each login via GDM:
sudo ln -s /usr/local/bin/fixmtrr.sh /etc/gdm/PostLogin/Default
4. Add the X Updates PPA to your sources.list:
gksudo vim /etc/apt/sources.list
Then add this:
deb http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu jaunty main #X-Updates PPA
deb-src http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu jaunty main #X-Updates PPA
5. Import the X Updates PPA key, update your apt sources, and perform an upgrade:
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com AF1CDFA9
sudo apt-get update
sudo apt-get dist-upgrade
6. Download and install the 2.6.29.4 kernel, based on your architecture:
For i386 users:
wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.29.4/linux-headers-2.6.29-02062904-generic_2.6.29-02062904_i386.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.29.4/linux-headers-2.6.29-02062904_2.6.29-02062904_all.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.29.4/linux-image-2.6.29-02062904-generic_2.6.29-02062904_i386.deb
sudo dpkg -i linux-headers-2.6.29-02062904-generic_2.6.29-02062904_i386.deb linux-headers-2.6.29-02062904_2.6.29-02062904_all.deb linux-image-2.6.29-02062904-generic_2.6.29-02062904_i386.deb
For amd64 users:
wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.29.4/linux-headers-2.6.29-02062904-generic_2.6.29-02062904_amd64.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.29.4/linux-headers-2.6.29-02062904_2.6.29-02062904_all.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.29.4/linux-image-2.6.29-02062904-generic_2.6.29-02062904_amd64.deb
sudo dpkg -i linux-headers-2.6.29-02062904-generic_2.6.29-02062904_amd64.deb linux-headers-2.6.29-02062904_2.6.29-02062904_all.deb linux-image-2.6.29-02062904-generic_2.6.29-02062904_amd64.deb
7. You’re finished. Now you need to reboot your computer.
That’s it; I tried those steps and now my Ubuntu 9.04 runs smoothly.
Source from Ubuntu Forum here.
Disclaimer: Use these instructions at your own risk. I am not an expert on Ubuntu: this set of instructions just gave me what I needed to fix my Ubuntu on my local machine. If you set it up and it breaks your hardware or you lose any data, I assume no responsibility.
