Comment 50 for bug 391461

Revision history for this message
ixothym (ixothym) wrote : Re: Compiz Slow on Karmic w/ NVIDIA and 2.6.30 Kernel

I applied the patch provided by EclipseAgent (comment #15) and Compiz is now working again on my T2300 CPU with nVidia 7400 Go GPU. To install the patch, I used the DKMS approach: just put the patch file in the folder /usr/src/nvidia-185.18.36/patches/ and name it "pat.patch". Then add the following two lines to the bottom of /usr/src/nvidia-185.18.36/dkms.conf:

PATCH[1]="pat.patch"
PATCH_MATCH[1]="2.6.31"

After that, you have to recompile the kernel module nvidia and reboot afterwards:

$ sudo dkms remove -m nvidia -v 185.18.36 --all
$ sudo dkms add -m nvidia -v 185.18.36
$ sudo dkms build -m nvidia -v 185.18.36

In case Ubuntu releases a new version of nvidia-glx-*, you will most likely have to repeat the above procedure, but of course with different version numbers - that is, if the bug is still alive then ;-)