NVIDIA – Possible Fix for Kernel 4.16..

Thanks to the efforts of mlau on the NVIDIA Devtalk Forum, there is a possible fix for the swiotlb issue with Kernel 4.16..     See https://devtalk.nvidia.com/default/topic/1030082/linux/kernel-4-16-rc1-breaks-latest-drivers-unknown-symbol-swiotlb_map_sg_attrs-/ for details..

For NVIDIA driver 384.111, I had to increment all the nvlinux.h patch line number references by 100 (so ‘…@@ 1209,6 +1209,7 @@… becomes …@@ –1309,6 +1309,7 @@..’ and ‘..@@ -1251,7 +1252,7 @@..’ becomes ‘..@@ -1351,7 +1352,7 @@..’), and then the patch applied OK.  

I then used this to create a patched runtime version of NVIDIA-Linux-x86_64-384.111.run, and used this on Kernel 4.16-rc4, and it compiled/loaded OK, and – so far – is running without any problems.. 

Tested with Kernel 4.16-rc4 (nopti), patched driver 384.111, on Fedora 27 with KDE/Plasma, and VMware 4.1.1- running Win7 guest, with Photoshop CS6..

I should mention that I use VMware/Win7/Photoshop as a sort-of-benchmark-test for video drivers..   I have regularly tried using nouveau, but – although this runs OK in most cases – it causes all sorts of problems with Photoshop CS6 on a VMware 4.1.1 Win7 guest..   So.. I am staying with the proprietary NVIDIA drivers for the time being, on my main system..

Robert Gadsdon.  March 6, 2018.

 

 


Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.