NVIDIA – Kernel 6.11 support, and possible GTX10XX blank screens again..
Further testing for Kernel 6.11 support:
All latest versions (as of November 2nd 2024), fail to load/run with Kernel 6.11.x, with the same error:
ld -r -o /home/rgadsdon/NVIDIA-Linux-x86_64-565.57.01/kernel/nvidia-modeset/nv-modeset-interface.o /home/rgadsdon/NVIDIA-Linux-x86_64-565.57.01/kernel/nvidia-modeset/nvidia-modeset-linux.o
/home/rgadsdon/NVIDIA-Linux-x86_64-565.57.01/kernel/nvidia-modeset/nv-kthread-q.o
MODPOST /home/rgadsdon/NVIDIA-Linux-x86_64-565.57.01/kernel/Module.symvers
ERROR: modpost: "drm_fbdev_ttm_setup" [/home/rgadsdon/NVIDIA-Linux-x86_64-565.57.01/kernel/nvidia-drm.ko] undefined!
make[3]: *** [scripts/Makefile.modpost:145: /home/rgadsdon/NVIDIA-Linux-x86_64-565.57.01/kernel/Module.symvers] Error 1
make[2]: *** [/usr/src/linux-6.11.6/Makefile:1878: modpost] Error 2
make[1]: *** [Makefile:224: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-6.11.6'
make: *** [Makefile:89: modules] Error 2
This is because in Kernel 6.11 and later, drm_fbdev_generic_setup was renamed to
drm_fbdev_ttm_setup. A simple fix is to extract the source, and replace all occurrences of the old with the new, and recompile.
The files affected are:
NVxxxxx/kernel/conftest.sh
NVxxxxx/kernel-open/conftest.sh
NVxxxxx/kernel/nvidia-drm/nvidia-drm-drv.c
NVxxxxx/kernel/nvidia-drm/nvidia-drm-sources.mk
The latest beta driver 565.75.01 appears to have revived the old ‘blank screen/no signal’ error with my older GTX1050Ti system, but 550.127.05 works OK.. This may be due to other issues, so more testing is required..
I understand that NVIDIA are supposed to provide an updated driver soon to fix Kernel 6.11 support, so the simple fix will suffice for the time being..
My test have uncovered another odd quirk… The NVxxx.RUN executable seems to fail with other errors, but compiling the (extracted) source is OK… I compiled the source and then ran # make modules_install, and then re-ran the NVxxx.RUN executable with the –no-kernel-module option to install the correct userland libraries etc.
Robert Gadsdon. November 2nd 2024..
Comments
NVIDIA – Kernel 6.11 support, and possible GTX10XX blank screens again.. — No Comments