[HowTo] Fix Ubuntu Jaunty (9.04) Intel Graphics Problem

Wednesday June 3, 2009 by  

Ubuntu LogoFrom my last post about the disapointing performance from Ubuntu 9.04 jaunty Jackalope, now it’s fixed. But not really fix, but much better in performance especially in graphics. Now my firefox is not slow anymore, my CPU resource consumption is much lower and Compiz working much better. And flash player in firefox now can fullscreen.

For you who have the same problem, i think you will if you have Ubuntu 9.04 with Intel Graphic card, you can follow this steps and and enjoy the performance:

1. Edit Xorg Configuration with this command:

gksudo vim /etc/X11/xorg.conf

Find “Device” section and make 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 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 & install the 2.6.29.4 kernel, based on your architecture:
for i386 user:

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 user:

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 run 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 do fix my Ubuntu on my local machine. If you set it up and breaks your hardware or even lose any data, I assume no responsibility.

What people search:

Other Interesting Articles:

Post comment as twitter logo facebook logo
Sort: Newest | Oldest

memang ga ada masalah di teks dan image, tp ketika saya pakai blender atau K-3D mendadak tampilannya jadi kotor sekali, dan banyak icon di program tsb yg hilang, ini tidak terjadi waktu saya masih menggunakan zenwalk, mungkin nanti saya coba lucid - setelah transfer data2 ke cd , makasih atas penjelasannya mas.

Seharusnya di Karmic xorg.conf nya udah di perbaiki. Dan saya memakai Karmic tidak mengalami masalah. Btw kenapa tidak coba Ubuntu Lucid? Dan update driver Intel dengan yang terbaru: http://www.ivankristianto.com/os/ubuntu/install...

mas ivan, ini bisa buat karmic ga ya? saya pakai vga intel 82865G onboard, di karmic semua warna terlihat menjadi terlalu bright (misalnya seharusnya biru muda menjadi biru keputihan - padahal ga pake monitor LCD) mohon bantuannya mas, thx

I get one of those automatic generated and "generic" xorg.conf files. I understand that some don't get one at all. They might naturally have trouble editing a non-existing or empty file. Please say a few words about Jaunty & xorg versus the event-driven, automatic, detection and configuration of a workstation (laptop in specific.)

I've tried to edit mine only to have it clobbered from time to time by I know not what. (Seems to happen near update-manager sessions, but no smoking gun. Might be my wishful thinking.)

Ubuntu Jaunty, Thinkpad X61 tablet, Mobile GM965/GL960 Integrated Graphics Controller, 1400x1050 LCD, Core-2-Duo

Hi Saint Danbert,
At first, i feel dissapointed when Ubuntu Jaunty release.
Beside it slow, my video graphic also have problem.
And that problem was because the xorg not compatible with Intel Grapics.
Ad unfortunately my PC is using Intel Graphic card onboard. And it was very slow.
Please update your Ubuntu to Lucid Lynx, and you don't have to worry about the xorg conf anymore.

Did I miss something? I read the "Jaunty is slow" article and now this one. I did not see where you posted the fixes for slowness.

These are fine articles -- all business and to the point without a lot of chatty-ness. That might put off some folks. It might upset other folks if they are already peeved when they get here.

Thanks for the work,
~~~ 0;-Dan

I get one of those automatic generated and "generic" xorg.conf files. I understand that some don't get one at all. They might naturally have trouble editing a non-existing or empty file. Please say a few words about Jaunty & xorg versus the event-driven, automatic, detection and configuration of a workstation (laptop in specific.)

I've tried to edit mine only to have it clobbered from time to time by I know not what. (Seems to happen near update-manager sessions, but no smoking gun. Might be my wishful thinking.)

Ubuntu Jaunty, Thinkpad X61 tablet, Mobile GM965/GL960 Integrated Graphics Controller, 1400x1050 LCD, Core-2-Duo

Hi Saint Danbert,
At first, i feel dissapointed when Ubuntu Jaunty release.
Beside it slow, my video graphic also have problem.
And that problem was because the xorg not compatible with Intel Grapics.
Ad unfortunately my PC is using Intel Graphic card onboard. And it was very slow.
Please update your Ubuntu to Lucid Lynx, and you don't have to worry about the xorg conf anymore.

Did I miss something? I read the "Jaunty is slow" article and now this one. I did not see where you posted the fixes for slowness.

These are fine articles -- all business and to the point without a lot of chatty-ness. That might put off some folks. It might upset other folks if they are already peeved when they get here.

Thanks for the work,
~~~ 0;-Dan

grrr, i lost my wireless driver .. , but thanks to ubuntu recovery boot options

plz, put a caution before the optional step 6 of 2.6.29.4 kernel

Hi amr,
That's for Ubuntu Jaunty.
If you already have Ubuntu Karmic or more, don't do the step 6.
But yes i will update and put the caution there.
Thanks.

grrr, i lost my wireless driver .. , but thanks to ubuntu recovery boot options

plz, put a caution before the optional step 6 of 2.6.29.4 kernel

Hi amr,
That's for Ubuntu Jaunty.
If you already have Ubuntu Karmic or more, don't do the step 6.
But yes i will update and put the caution there.
Thanks.

Hi
with the 2.6.29 kernel my wireless connection is not working!

Hi Suresh,
please upgrade your ubuntu to Karmic,
it is using kernel 2.6.31-16 now.
Hope this can help you.

Hi
with the 2.6.29 kernel my wireless connection is not working!

Hi Suresh,
please upgrade your ubuntu to Karmic,
it is using kernel 2.6.31-16 now.
Hope this can help you.

hey ivan and everyone else,

after installing ubuntu 9.10 there's no trouble no more with the playback of videos. youtube fullscreen isn't working that fluently, but honestly i don't need this that much.

greets, philipp

Hi Philipp,
i haven't upgrade yet since i still have a project on deadline, soon i will upgrade and i will keep posted on my blog.
Thanks for your share. Great information for all of us.
Ivan

hi again,
due to your article my intel 82865g finally worked. but after updating (no dist-upgrade!!) my jaunty the system freezes when logging in. anyone else experiencing difficulties since the lastest updates?
anyone tried the tarball-package from intellinuxgraphics.com?
any ideas how i can figure out whats freezing my system? i just formatted my hdd, reinstalled the whole os and then i immediately set up the graphics just like you described above before installing anything else. froze anyway!
any ideas?

Hi Phillip,
What is the version of kernel you are using now?
I suggest you to wait 3 more days from now Ubuntu will release v9.10 karmic koala or use karmic koala RC it is already available now.
Hope it will better than Jaunty.

hi again,
due to your article my intel 82865g finally worked. but after updating (no dist-upgrade!!) my jaunty the system freezes when logging in. anyone else experiencing difficulties since the lastest updates?
anyone tried the tarball-package from intellinuxgraphics.com?
any ideas how i can figure out whats freezing my system? i just formatted my hdd, reinstalled the whole os and then i immediately set up the graphics just like you described above before installing anything else. froze anyway!
any ideas?

Hi Phillip,
What is the version of kernel you are using now?
I suggest you to wait 3 more days from now Ubuntu will release v9.10 karmic koala or use karmic koala RC it is already available now.
Hope it will better than Jaunty.

How do I save Save xorg.conf file after editing it? Please help.

press "esc" button.
then type ":wq" (without quote) then enter.

How do I save Save xorg.conf file after editing it? Please help.

press "esc" button.
then type ":wq" (without quote) then enter.

Hi,
this howto worked for me on a thinkpad x31. The performance is alright now. BUT my keyboard is messed up. There is an option to navigate your cursor with the numpad. and somehow that was turned on. I turned t off in the ubuntu keyboard options. my numpad are the keys 7,8,9,u,i,o,j... Now that I turned it off the keys functioned as a numpad instead of the letters. so I hit numlock which on my thinkpad keyboard is shift+roll. unfortunately it tunred out the combination to toggle the "move your mouse with your numpad" feature is shift numlock. shift+numlock = shift+roll in my case... That's not it - my capslock key acts all weird too. it switches numlock or the "move your mouse with the numpad" option on...
I tried some stuff with the ubuntu keyboad preerences and shortcut settings, did a "sudo dpkg-reconfigure xserver-xorg" but nothing worked 8[.
Help Me PLEASE!

Hi,
this howto worked for me on a thinkpad x31. The performance is alright now. BUT my keyboard is messed up. There is an option to navigate your cursor with the numpad. and somehow that was turned on. I turned t off in the ubuntu keyboard options. my numpad are the keys 7,8,9,u,i,o,j... Now that I turned it off the keys functioned as a numpad instead of the letters. so I hit numlock which on my thinkpad keyboard is shift+roll. unfortunately it tunred out the combination to toggle the "move your mouse with your numpad" feature is shift numlock. shift+numlock = shift+roll in my case... That's not it - my capslock key acts all weird too. it switches numlock or the "move your mouse with the numpad" option on...
I tried some stuff with the ubuntu keyboad preerences and shortcut settings, did a "sudo dpkg-reconfigure xserver-xorg" but nothing worked 8[.
Help Me PLEASE!

The very last command:

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

Throws up an error with the first one: no such file or directory.

The very last command:

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

Throws up an error with the first one: no such file or directory.

thanks for this post. had the very same problem like paul. changed the acceleration method to exa instead of uxa. now it works just fine ;-)

I have updated my intel drivers by the ubuntu default update whien i entered this code [code]gksudo vim /etc/X11/xorg.conf[/code] it asked for password and then nothing happened umm whts the deal??

I have updated my intel drivers by the ubuntu default update whien i entered this code [code]gksudo vim /etc/X11/xorg.conf[/code] it asked for password and then nothing happened umm whts the deal??

Hi there.

I've just done exactly what is described here. Now since Kernel 2.6.29 ... should be loaded (it actually does that on my system without an error), i was wondering if i was actually now runing on 2.6.29.

With "uname -r" i wanted to see, but for some reason it's 2.6.27..

Why?

I have repeated step 6 now twice, but no change. Install works fine, no problems, but the kernel stays 2.6.27 ...

Hi there.

I've just done exactly what is described here. Now since Kernel 2.6.29 ... should be loaded (it actually does that on my system without an error), i was wondering if i was actually now runing on 2.6.29.

With "uname -r" i wanted to see, but for some reason it's 2.6.27..

Why?

I have repeated step 6 now twice, but no change. Install works fine, no problems, but the kernel stays 2.6.27 ...

Thanks for the post....now my computer is working quite fast....noticeable enough fast

Thanks for the post....now my computer is working quite fast....noticeable enough fast

You rule brother, Thanks you!

You rule brother, Thanks you!

Hello Ivan - Many thanks. My Dell desktop with Celeron processor now works a hundred times better under Ubuntu 9.04 and SeaMonkey browser. You have solved my only major migration problems from Windows to Ubuntu: slow Internet page loading and crappy graphics performance. All solved now. You are a star! :-)

Hello Ivan - Many thanks. My Dell desktop with Celeron processor now works a hundred times better under Ubuntu 9.04 and SeaMonkey browser. You have solved my only major migration problems from Windows to Ubuntu: slow Internet page loading and crappy graphics performance. All solved now. You are a star! :-)

I got it all figure out. Thank you very much. My ubuntu 9.04 is much better right now

http://launchpadlibrarian.net/26193373/ doesn't exist anymore. Where can I download the package

I am getting the hard time in step 2. I input the right code. However, the output is that
/usr/local/bin/fixmtrr.sh : no such file or directory

I got it all figure out. Thank you very much. My ubuntu 9.04 is much better right now

http://launchpadlibrarian.net/26193373/ doesn't exist anymore. Where can I download the package

I am getting the hard time in step 2. I input the right code. However, the output is that
/usr/local/bin/fixmtrr.sh : no such file or directory

On Sony Vaio VGN-NW13GH, Mesa DRI Mobile Intel® GM45 Express Chipset, Ubuntu 9.04
Tried the Safe option. After restart, X crashed. So I had to revert changes to xorg.conf. But the performance was greatly improved.

Trackbacks

  1. [...] Heute nun, 3 Monate spaeter habe ich endlich eine Loesung gefunden, die das Problem behebt. Ivano Kristianto hat eine genaue Anleitung geschrieben, die er aus verschiendene Foren zusammengesucht hatte. Nun denn, ich habe mir eine 2. Ubuntu version aufgespielt um das dort zu testen und voila, es funzt. Link: http://www.ivankristianto.com/2009/0…phics-problem/ [...]