NVIDIA – New Driver 384.130 – Still Fails with 4.16..
NVIDIA have released driver 384.130, and details are here: http://www.nvidia.com/download/driverResults.aspx/132524/en-us
The ‘Release Highlights’ clearly specify ”Improved compatibility with recent Linux kernels.”, and yet it still fails with Kernel 4.16 (tested with 4.16-rc7):
.................. ld -r -o /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.130/kernel/nvidia-modeset/nv-modeset-interface.o /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.130/kernel/nvidia-modeset/nvidia-modeset-linux.o Building modules, stage 2. MODPOST 4 modules WARNING: "swiotlb_map_sg_attrs" [/home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.130/kernel/nvidia.ko] undefined! CC /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.130/kernel/nvidia-drm.mod.o LD [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.130/kernel/nvidia-drm.ko CC /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.130/kernel/nvidia-modeset.mod.o LD [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.130/kernel/nvidia-modeset.ko CC /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.130/kernel/nvidia-uvm.mod.o LD [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.130/kernel/nvidia-uvm.ko CC /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.130/kernel/nvidia.mod.o LD [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.130/kernel/nvidia.ko make[2]: Leaving directory '/usr/src/linux-4.16-rc7' make[1]: Leaving directory '/usr/src/linux-4.16-rc7'
Speculation:
It is just possible that this update has been released in error, as Kernel 4.16 is due to be out very soon, and – typically – the phrase ”Improved compatibility with recent Linux kernels.” signifies compatibility with the next major release, and the previous version – 384.111 – was already compatible with Kernel 4.15…
Robert Gadsdon. March 29, 2018.
384.130 and 390.48 fixed atomic modesetting support which was broken with 4.15
compare conftest/generic.h for NV_DRM_ATOMIC_MODESET_AVAILABLE between 384.130 and 384.111 or 390.48 and 390.42
This did not prevent the driver from building https://devtalk.nvidia.com/default/topic/1029625/linux/no-sys-class-drm-card0-entries-on-kernel-4-15/