Kernel – 5.0 For the New Year?
Speculation, but there are some signs in submissions for the next major Kernel release.. Kernel 4.21 may actually be Kernel 5.0? Robert Gadsdon. January 7, 2019. … Continue reading →

Speculation, but there are some signs in submissions for the next major Kernel release.. Kernel 4.21 may actually be Kernel 5.0? Robert Gadsdon. January 7, 2019. … Continue reading →
Kernel 4.20 has just been released, in time for the Festive Season, and brief details are here: http://lkml.iu.edu/hypermail/linux/kernel/1812.2/06158.html . As expected, the latest NVIDIA (415.25) and VMware (15.0.2) both compile and load/run OK. Robert Gadsdon. December 23, 2018. … Continue reading →
After the embarrassment of driver 415.22 not actually compiling with Kernel 4.20, NVIDIA have now released 415.23. Very brief details are here: https://www.nvidia.com/Download/driverResults.aspx/141300/en-us This version does compile with Kernel 4.20 (tested with 4.20-rc6) but shows repeated warnings: ………………………………. In file included from /home/rgadsdon/Downloads/NVIDIA-Linux-x86_64-415.23/kernel/nvidia-uvm/uvm8_gpu.h:31, from /home/rgadsdon/Downloads/NVIDIA-Linux-x86_64-415.23/kernel/nvidia-uvm/uvm8_mmu_test.c:24: /home/rgadsdon/Downloads/NVIDIA-Linux-x86_64-415.23/kernel/nvidia-uvm/uvm_linux.h:263:2: warning: #warning “atomic64_t unavailable, demoting to atomic_t!” [-Wcpp] #warning “atomic64_t unavailable, … Continue reading →
NVIDIA have released driver 415.22, which is supposed to fix compile problems with Kernel 4.20. Details are here: https://www.nvidia.com/Download/driverResults.aspx/141072/en-us Unfortunately, this still fails to compile (tested with 4.20-rc5): ………………………….. CC [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-415.22/kernel/nvidia/linux_nvswitch.o /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-415.22/kernel/nvidia/linux_nvswitch.c: In function ‘nvswitch_os_snprintf_time’: /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-415.22/kernel/nvidia/linux_nvswitch.c:1585:5: error: implicit declaration of function ‘time_to_tm’; did you mean ‘time64_to_tm’? [-Werror=implicit-function-declaration] time_to_tm(time_nsec / NVSWITCH_NSEC_PER_SEC, 0, &t); ^~~~~~~~~~ time64_to_tm cc1: some … Continue reading →
Thanks to loqs, there is now a viable patch for NVIDIA and Kernel 4.20. I applied the patch to driver 415.18, and tested with Kernel 4.20-rc3, and the driver compiles cleanly, now: ……………………… ld -r -o /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-415.18-420/kernel/nvidia-modeset/nv-modeset-interface.o /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-415.18-420/kernel/nvidia-modeset/nvidia-modeset-linux.o Building modules, stage 2. MODPOST 4 modules CC /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-415.18-420/kernel/nvidia-drm.mod.o LD [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-415.18-420/kernel/nvidia-drm.ko CC /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-415.18-420/kernel/nvidia-modeset.mod.o LD [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-415.18-420/kernel/nvidia-modeset.ko CC /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-415.18-420/kernel/nvidia-uvm.mod.o … Continue reading →
NVIDIA driver 415.18 is out, and details are here: https://www.nvidia.com/Download/driverResults.aspx/140282/en-us The good news, is that it fixes the problem with kernel power-management (PM), which is no longer required for the driver to compile/load.: ……………….. ld -r -o /home/rgadsdon/NVIDIA-Linux-x86_64-415.18/kernel/nvidia-modeset/nv-modeset-interface.o /home/rgadsdon/NVIDIA-Linux-x86_64-415.18/kernel/nvidia-modeset/nvidia-modeset-linux.o Building modules, stage 2. MODPOST 4 modules CC /home/rgadsdon/NVIDIA-Linux-x86_64-415.18/kernel/nvidia-drm.mod.o LD [M] /home/rgadsdon/NVIDIA-Linux-x86_64-415.18/kernel/nvidia-drm.ko CC /home/rgadsdon/NVIDIA-Linux-x86_64-415.18/kernel/nvidia-modeset.mod.o LD [M] /home/rgadsdon/NVIDIA-Linux-x86_64-415.18/kernel/nvidia-modeset.ko CC … Continue reading →
Kernel 4.20-rc3 is out, and brief details are here: http://lkml.iu.edu/hypermail/linux/kernel/1811.2/01363.html VMware 15.0.1 is still OK, but there is still no solution for NVIDIA. I posted details of my testing to the NVIDIA Forum over a week ago, but there has been no response, so far.. Robert Gadsdon. November 18, 2018. … Continue reading →
I created a combo runtime patch for NVIDIA 410.73 on Kernel 4.20-rc1, by combining the changes identified in my previous article ( see https://rglinuxtech.com/?p=2426 ) with the pm patch (see https://rglinuxtech.com/?p=2421 ). The result ran – eventually – after blanking/refreshing the display, with garbage characters at top/bottom, so all was obviously not OK.. ……………………… [ 121.826292] [drm] … Continue reading →
Kernel 4.20-rc1 is out, and brief details are here: http://lkml.iu.edu/hypermail/linux/kernel/1811.0/02531.html VMware 15.0 installs OK, but the latest NVIDIA fails.. (410.73 with the pm patch, if needed): …………………… /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-410.73-custom/kernel/nvidia/linux_nvswitch.c:1582:5: error: implicit declaration of function ‘time_to_tm’; did you mean ‘time64_to_tm’? [-Werror=implicit-function-declaration] time_to_tm(time_nsec / NVSWITCH_NSEC_PER_SEC, 0, &t); ^~~~~~~~~~ time64_to_tm ………………… I made the change to linux_nvswitch.c, and then: ………………………. /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-410.73-custom/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.c:348:11: … Continue reading →
Solved: After more investigation, reinstalling the Xorg driver fixed the problem.. # dnf reinstall xorg-x11-server-Xorg After successfully patching the NVIDIA 410.73 driver (see previous article), I encountered another problem at runtime, after # startx : ………………………………. [ 145.489] (II) Initializing extension GLX [ 145.489] (II) AIGLX: Screen 0 is not DRI2 capable [ 145.489] (EE) AIGLX: reverting … Continue reading →