NVIDIA – New Drivers, Still Broken with 4.10 – And a Patch for 378.13..

NVIDIA have released new drivers 375.39 (‘long term’) and 378.13 (‘short term’) and details are here:  http://www.nvidia.com/download/driverResults.aspx/114708/en-us and http://www.nvidia.com/download/driverResults.aspx/115031/en-us.

Both still fail to compile with Kernel 4.10 (tested with 4.10-rc8) and I tried the previous 378.09 patch against 379.13, but it failed to apply cleanly, as more code has changed..

$ cat nv-37809-410-patch.patch |patch -p0
patching file a/kernel/common/inc/nv-linux.h
patching file a/kernel/nvidia/nv-p2p.c
patching file a/kernel/nvidia-drm/nvidia-drm-fence.c
Hunk #7 succeeded at 136 (offset 4 lines).
Hunk #8 succeeded at 146 (offset 4 lines).
Hunk #9 succeeded at 155 (offset 4 lines).
Hunk #10 succeeded at 170 (offset 4 lines).
Hunk #11 succeeded at 285 (offset 4 lines).
Hunk #12 succeeded at 301 (offset 4 lines).
Hunk #13 succeeded at 320 (offset 4 lines).
Hunk #14 succeeded at 513 (offset 4 lines).
Hunk #15 FAILED at 666.
1 out of 15 hunks FAILED -- saving rejects to file a/kernel/nvidia-drm/nvidia-drm-fence.c.rej
patching file a/kernel/nvidia-drm/nvidia-drm-gem.c
Hunk #1 FAILED at 510.
1 out of 1 hunk FAILED -- saving rejects to file a/kernel/nvidia-drm/nvidia-drm-gem.c.rej
patching file a/kernel/nvidia-drm/nvidia-drm-gem.h
patching file a/kernel/nvidia-drm/nvidia-drm-modeset.c
patching file a/kernel/nvidia-drm/nvidia-drm-priv.h
patching file a/kernel/nvidia-uvm/uvm8_test.c
...................

The code changes appear to be relatively trivial, and in one case include an added ‘comment’, and I am trying to apply the necessary changes manually, and will then test the results..

Soon after I posted the original article, Tomas Pruzina posted an updated patch, for 378.13, and details are here:  https://devtalk.nvidia.com/default/topic/994087/linux/387-13-patch-for-4-10-0-rc8-linus-master-/

I have applied this to 378.13 on the test system, and it now compiles OK, on Kernel 4.10-rc8.

Robert Gadsdon.    February 14, 2017.


Comments

NVIDIA – New Drivers, Still Broken with 4.10 – And a Patch for 378.13.. — 1 Comment

Leave a Reply

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