Linux: NVIDIA Driver 375.39 vs Kernel 4.10
-
I run Fedora on my primary desktop at home and just updated to kernel 4.10. NVIDIA's later driver has a bug that causes it to fail to compile with this kernel. Posting the workaround in case anyone else runs into this issue.
Source: https://devtalk.nvidia.com/default/topic/995429/failed-installed-nvidia-with-kernel-4-10/
Extract the installer:
sudo chmod +x ./NVIDIA-Linux-x86_64-375.39.run ./NVIDIA-Linux-x86_64-375.39.run -x
CD into driver directory and download patch:
cd ./NVIDIA-Linux-x86_64-375.39 wget https://pkgs.rpmfusion.org/cgit/nonfree/nvidia-kmod.git/plain/kernel_4.10.patch
Apply patch:
patch -p1 < kernel_4.10.patch
Run the driver installer:
sudo ./nvidia-installer
Driver should install successfully!