June 3, 2009 by Ivan
[HowTo] Fix Ubuntu Jaunty (9.04) Intel Graphics Problem
Ads by Google
From 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.
Excellent post.
Followed the tips and Ubuntu 9.04 on IBM X31 with 2 Gig RAM now runs sweetly (even with 1 Gig allocated to VirtualBox to run a WinXP environment).
Hello,
Thanks for article. Everytime like to read you.
Hi, Congratulations to the site owner for this marvelous work you’ve done. It has lots of useful and interesting data.
Thanks for the info, when I follow your steps it improves. Great 3D performance, acceptable 2D performance. But gnome DO performance is still very bad.
If I use the drivers from http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu jaunty then gnome DO performance is acceptable, but 3D performance is bad…
I’m running openSUSE 11.1 on the same laptop with good 2D/3D performance (and a good working gnome DO), but was thinking of switching to Ubuntu because of upstart…
Hi,
I am stuck at 3rd step.. it returns error msg..
ln: creating symbolic link `/etc/gdm/PostLogin/Default’: File exists
plz help…
“ln: creating symbolic link `/etc/gdm/PostLogin/Default’: File exists
plz help…”
sudo mv /etc/gdm/PostLogin/Default /etc/gdmPostLogin/Default.bak
This will move existing file “Default” to “Default.bak” so you have backup third step should work now
sudo ln -s /usr/local/bin/fixmtrr.sh /etc/gdm/PostLogin/Default
I followed the instructions. All steps completed OK but on re-boot I just get a blank display. I had to use the recovery boot and fix video problem to remove the xorg.conf entries in order to restore my display.
Any ideas?
Fixed my own problem. Changed acceleration method to exa instead of uxa. Video plays properly and enabled Compiz as well now and all works fine
Thank you!
I’m happy again
[...] thanks to Ivan Kristianto's blog http://www.ivankristianto.com/2009/06/howto-fix-ubuntu-jaunty-904-intel-graphics-problem/ [...]
Hi, great set of instructions!
however, my wireless USB from D-Link now no longer works…anyone have suggestions?
Wow! Thanks…finally a fix which worked!! You are a genius, sir!
You are very welcome
ETERNAL THANKS work 100% good in lg lw40 express
genius… I had almost gave up , thank you very much!
Tim,
This is Third party kernel you have upgraded to. It doesnt provide the support for restricted drivers like broadcom wireless cards, nvidia drivers etc.
Before you upgraded, did you see the entry for your D-link in Syste > Administration > Hardware drivers ?
If that is the case you need to downgrade to kernel from Ubuntu. Post in ubuntuforums.com and they will help you.
Hi, I’ll try this topic today.
But
UXA : https://wiki.ubuntu.com/X/UxaTesting
Fantastic Post! Works great on Optiplex 280! Thanks again!
[...] @the7erm fix the intel graphics problem http://www.ivankristianto.com/2009/06/howto-fix-ubuntu-jaunty-904-intel-graphics-problem/ [...]
I did follow all the steps (step by step) and I have 2 coments.
- the comands: “gksudo vim /etc/X11..” never works, I did it with “sudo gedit ….”
- after all the solution didn’t work, the system still working slow.
Hi Victor,
Thanks for the comment,
1. Actually this command “gksudo vim /etc/X11/xorg.conf ” means edit the xorg.conf file with vim editor. You can replace with any editor you prefer.
2. This only work with Intel graphic card, so please refer to Ubuntu forum for other graphic card.
I hve a sony vaio vgn-ns20e with intel graphic accelator and I was experience slow graphics and high cpu utilization without any apparent reason. I tried to apply the suggestions of this post and now everything works smoothly, many thanks!
I am having the same problems with slow performance. I’m new to Ubuntu but for the life of me I can’t get the command “gksudo vim /etc/X11/xorg.conf ” to work… what program do I use to type that command in?
If it’s the program called Terminal then it’s not working for me. ><;
yes you should use terminal.
What do you mean is not working?
Thank ivan for the tips.
It really work, the performance is now faster, and i’m glad with fast response of my firefox now
Just a simple question, if i upgrade the kernel into newest version, will the performance the same or improve?
My webcam is not work properly with this version of kernel.
Thanks
I’m using the newest kernel now. And i still feel the same. It’s still good and i hope it would be better for ubuntu next release.
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.
[...] 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/ [...]
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
http://launchpadlibrarian.net/26193373/ doesn’t exist anymore. Where can I download the package
I got it all figure out. Thank you very much. My ubuntu 9.04 is much better right now
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!
You rule brother, Thanks you!
Thanks for the post….now my computer is working quite fast….noticeable enough fast
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 …
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??
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
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.
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!
How do I save Save xorg.conf file after editing it? Please help.
press “esc” button.
then type “:wq” (without quote) then enter.
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.
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
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.
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.