-------- Forwarded Message -------- Subject: Re: [opensuse-factory] Patch for Nvidia driver 367.35 on Kernel 4.7 Date: Sat, 6 Aug 2016 22:22:35 +0200 From: Bjoern Voigt <bjoernv@arcor.de> To: openSUSE factory <opensuse-factory@opensuse.org> Patrick Shanahan wrote:
Bjoern Voigt <bjoernv@arcor.de> [07-26-16 09:32]:
Users with Kernel 4.7 e.g. from Kernel_stable repository currently need a patch for most recent stable Nvidia driver 367.35.
I attached the patch for interested users.
The idea comes from: NVIDIA – Possible Kernel 4.7 Fix for 361.45.11 and 367.18.. Posted on May 31, 2016 by RG http://rglinuxtech.com/?p=1750
Greetings, Björn Source: NVIDIA – Possible Kernel 4.7 Fix for 361.45.11 and 367.18.. Posted on May 31, 2016 by RG http://rglinuxtech.com/?p=1750
also works for Nvidia driver 367.35 I saved the patch, but do not understand how to apply.
I tried: sh ./NVIDIA-Linux-x86_64-367.35.run -aqs --apply-patch ./nvidia-367.35-kernel-4.7.patch
but that fails :( Okay. I didn't know the undocumented (?) "--apply-patch option.
You can install the patch this way. I have downloaded "NVIDIA-Linux-x86_64-367.35.run" to /usr/src. You need the "rm" command only, if the driver is already extracted to /usr/src: mybox:/usr/src # \rm -r NVIDIA-Linux-x86_64-367.35 mybox:/usr/src # sh NVIDIA-Linux-x86_64-367.35.run -x Creating directory NVIDIA-Linux-x86_64-367.35 Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 367.35 mybox:/usr/src # cd NVIDIA-Linux-x86_64-367.35/kernel/ mybox:/usr/src/NVIDIA-Linux-x86_64-367.35/kernel # patch -p1 < path-to/nvidia-367.35-kernel-4.7.patch patching file nvidia-uvm/uvm8_gpu.c patching file nvidia-uvm/uvm_linux.h patching file nvidia-drm/nvidia-drm-fb.c patching file nvidia-drm/nvidia-drm-gem.c mybox:/usr/src/NVIDIA-Linux-x86_64-367.35/kernel # cd .. mybox:/usr/src/NVIDIA-Linux-x86_64-367.35 # ./nvidia-installer Greetings, Björn -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org Here's the correct command: sh NVIDIA-Linux-x86_64-367.35.run --apply-patch nvidia-367.35-kernel-4.7.patch -- Cheers! Roman IRC: 551368250 ============== -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org