NVIDIA – Another New Driver – 4.11 Fix Still Needed – May be ‘Fixed’ in Kernel, Soon..

New NVIDIA driver 381.22 has been released, and details are here:  http://www.nvidia.com/Download/driverResults.aspx/118524/en-us

The 4.11 ‘workaround’ still applies (see http://rglinuxtech.com/?p=1970 ).

It seems now that the reason the fix was – still – not made by NVIDIA, is that the problem may well be ‘fixed’ in a future Kernel release..

Changes to ‘revert’ the licensing have been proposed, as mentioned in a comment from this post: https://devtalk.nvidia.com/default/topic/1008121/linux/nvidia-drivers-381-22-linux-4-11-patch-is-still-required-really-nvidia-/  The comment mentions ”4.12 kernel should work” but I hope the patch will be applied to a later release of 4.11.x..

The proposed Kernel patch can be found at:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d557d1b58b3546bab2c5bc2d624c5709840e6b10

The comment with the patch includes “….. changing api markings isn’t considered “nice”, so let’s fix this up.

I applied the patch to Kernel 4.11.0 (with quite a lot of ‘fuzz’..) and can confirm that it does – as expected – fix the licensing issue, for 375.66 and 381.22:

..................
/home/rgadsdon/kernel/NVIDIA-Linux-x86_64-381.22/kernel/nvidia-modeset/nvidia-modeset-linux.o
 Building modules, stage 2.
 MODPOST 4 modules
 CC /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-381.22/kernel/nvidia-drm.mod.o
 LD [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-381.22/kernel/nvidia-drm.ko
 CC /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-381.22/kernel/nvidia-modeset.mod.o
 LD [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-381.22/kernel/nvidia-modeset.ko
 CC /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-381.22/kernel/nvidia-uvm.mod.o
 LD [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-381.22/kernel/nvidia-uvm.ko
 CC /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-381.22/kernel/nvidia.mod.o
 LD [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-381.22/kernel/nvidia.ko
make[2]: Leaving directory '/usr/src/linux-4.11'
make[1]: Leaving directory '/usr/src/linux-4.11'

Robert Gadsdon.  May 10, 2017.

 


Leave a Reply

Your email address will not be published. Required fields are marked *