NVIDIA – Finally, a Fix for Kernel 6.15-rc..
Thanks to efforts by Willy Frissen and Joan Bruguera Micó, I have managed to cobble together a patch for NVIDIA driver 575.51.02 and Kernel 6.15 – tested with 6.15-rc2..
The compilation failed with Kernel 6.15 due principally to changes removing obsolete EXTRA_CFLAGS and replacing it by ccflags-y, and del_timer_sync replacement by timer_delete_sync:
……………………
nvidia/nv.c:31:10: fatal error: nv-firmware.h: No such file or directory
31 | #include “nv-firmware.h”
| ^~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/linux-6.15-rc2/scripts/Makefile.build:203: nvidia/nv.o] Error 1
make[3]: *** [/usr/src/linux-6.15-rc2/Makefile:2009: .] Error 2
make[2]: *** [/usr/src/linux-6.15-rc2/Makefile:248: __sub-make] Error 2
……….. and further errors, when this is fixed.. ……….
Joans’ patch – for older driver 470.256.20 – is at https://gist.github.com/joanbm/def2bf57ed7a799c1d84a67606459314
and Willys’ patches are at https://github.com/babiulep/my-kernel-patches/tree/main/NVIDIA
Using these, I now have NVIDIA 575.51.02 compiling successfully, and running with Kernel 6.15-rc2 (KDE/Plasma)
Robert Gadsdon.. April 20th 2025..
Please provide a clear kernel-6.15rc2 patch file for NVIDIA driver version 575.51.02.
Please provide a clear kernel-6.15rc2 patch file for NVIDIA driver version 575.51.02.
By referring to multiple patch sources, we finally completed the patching of the open source kernel code for kernel-6.15, and rewrote the GPL open source part of the official driver, so that the rewritten driver installation file can be directly installed in the new kernel environment.