Kernel – 6.17-rc Pre-release testing.. NVIDIA fails, but (Patched) VMware OK..
Kernel 6.17-rc1 is due out in a weeks time, but I tried the latest GIT version from https://github.com/torvalds/linux to see if there will be any ‘surprises’.. Of course, there are many changes still to come..
VMware 17.6.4 with all the kernel 6.15 and 6.16 patches compiles and runs OK, but the latest NVIDIA fails to compile ( example is with 575.64.05, but 580.65.06 gives the same errors ):
………….
SYMLINK nvidia-modeset/nv-modeset-kernel.o
LD [M] nvidia-modeset.o
CC [M] nvidia-drm/nvidia-drm.o
CC [M] nvidia-drm/nvidia-drm-drv.o
nvidia-drm/nvidia-drm-drv.c:240:18: error: initialization of ‘struct drm_framebuffer * (*)(struct drm_device *, struct drm_file *, const struct drm_format_info *, const struct drm_mode_fb_cmd2 *)’ from incompatible pointer type ‘struct drm_framebuffer * (*)(struct drm_device *, struct drm_file *, const struct drm_mode_fb_cmd2 *)’ [-Wincompatible-pointer-types]
240 | .fb_create = nv_drm_framebuffer_create,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
nvidia-drm/nvidia-drm-drv.c:240:18: note: (near initialization for ‘nv_mode_config_funcs.fb_create’)
nvidia-drm/nvidia-drm-drv.c:212:32: note: ‘nv_drm_framebuffer_create’ declared here
212 | static struct drm_framebuffer *nv_drm_framebuffer_create(
| ^~~~~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [/usr/src/linux-6.17rc000/scripts/Makefile.build:287: nvidia-drm/nvidia-drm-drv.o] Error 1
make[3]: *** [/usr/src/linux-6.17rc000/Makefile:2004: .] Error 2
make[2]: *** [/usr/src/linux-6.17rc000/Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/home/rgadsdon/Downloads/NVIDIA-Linux-x86_64-575.64.05/kernel'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-6.17rc000'
make: *** [Makefile:140: modules] Error 2
Of course, there may be more breakage as more changes are made..
Robert Gadsdon. August 5th 2025
seems related to this change
https://github.com/torvalds/linux/commit/81112eaac559ccd451b3dce3bbb64d6b69083961
hopefully a patch can be created similar as to how radeonsi, nouevau are fixed in this commit..
Oscar, please check my patch at https://github.com/babiulep/my-kernel-patches/blob/main/NVIDIA/nvidia-6.17-580.65.06.patch
Good luck!
Thank you! Compiled perfectly against 580.65.06