Originally Posted by microcris
How do you apply the patch?
I made this:
The patch is against the source package; you'll need deb-src .. unstable non-free in your sources.list.
apt-get source nvidia-kernel-source
patch -p0 < attachment-0004.patch
# this failed for me in nvidia-graphics-drivers-180.29/debian/rules
# i edited the file manually end added this at line 96: (remove the #, of course)
#cp -a $(CURDIR)/debian.binary/control.template $(CURDIR)/debian/temp/modules/nvidia-kernel$(LEGACY)/debian/control
dpkg-buildpackage -rfakeroot -b
sudo dpkg -i nvidia-kernel-source_180.29-1_amd64.deb
# you can install the created nvidia-glx as well, it will get auto-configured after installing the module
sudo m-a build nvidia-kernel
sudo dpkg -i /usr/src/nvidia-kernel-2.6.29*.deb
# if you didn't install nvidia-kernel-common already, and get an error:
sudo apt-get install -f