Saturday, May 2, 2009

Improve Intel Integrated Graphics (GM945/965) Performance in Ubuntu 9.04 Jaunty Jackalope

I'm using ubuntu 9.04 64-bit on my lenovo xuri laptop with GM945. here's what i did...

open terminal

1. download the latest testing kernel (kernel.ubuntu.com - v.2.6.30rc3) and intel video drivers (debian sid repo). for 32-bit users, replace "amd64" with "i386".

$ wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.30-rc3/linux-headers-2.6.30-020630rc3-generic_2.6.30-020630rc3_amd64.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.30-rc3/linux-headers-2.6.30-020630rc3_2.6.30-020630rc3_all.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.30-rc3/linux-image-2.6.30-020630rc3-generic_2.6.30-020630rc3_amd64.deb http://ftp.us.debian.org/debian/pool/main/libd/libdrm/libdrm2_2.4.9-1_amd64.deb http://ftp.us.debian.org/debian/pool/main/libd/libdrm/libdrm-intel1_2.4.9-1_amd64.deb http://http.us.debian.org/debian/pool/main/x/xserver-xorg-video-intel/xserver-xorg-video-intel_2.7.0-1_amd64.deb

2. install the packages (my downloaded files are in the "home" directory and are the only files with "deb" extension. you can always create a separate folder for the packages).

this will install all files in the current directory with "deb" extension
$ sudo dpkg -i *.deb

3. edit your xorg.conf to enable the "UXA" acceleration method.

$ sudo gedit /etc/X11/xorg.conf

Section "Device"
Identifier "Configured Video Device"
Option "AccelMethod" "uxa"
EndSection

4. reboot

if above solutions didn't work:

revert settings

$ sudo apt-get install libdrm2/jaunty libdrm-intel1/jaunty xserver-xorg-video-intel/jaunty

$ sudo dpkg -r linux-headers-2.6.30-020630rc3 linux-headers-2.6.30-020630rc3-generic linux-image-2.6.30-020630rc3-generic

$ sudo dpkg-reconfigure xserver-xorg

good luck... =)

0 comments so far:

Talk to Memnoch (A.I.)