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).
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.
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.
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…
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…
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
“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?
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 🙂
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 🙂
Thank you!
I’m happy again 🙂
Hi, great set of instructions!
however, my wireless USB from D-Link now no longer works…anyone have suggestions?
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 🙂
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
ETERNAL THANKS work 100% good in lg lw40 express
genius… I had almost gave up , thank you very much!
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.
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.
Hi, I’ll try this topic today.
But
UXA : https://wiki.ubuntu.com/X/UxaTesting
But
UXA : https://wiki.ubuntu.com/X/UxaTesting
Fantastic Post! Works great on Optiplex 280! Thanks again!
Fantastic Post! Works great on Optiplex 280! Thanks again!
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.
😛
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.
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 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?
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.
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.
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.
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 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
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
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! 🙂
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!
You rule brother, Thanks you!
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
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 …
I have updated my intel drivers by the ubuntu default update whien i entered this 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
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.
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!
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.
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.
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 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.
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.
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.
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
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, 1400×1050 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.
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, 1400×1050 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.
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
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…
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.
I like it!