see here: https://gist.github.com/joanbm Am Sonntag, 24. November 2024, 03:24:23 CET schrieb David C. Rankin:
All, Devs,
Nvidia G04 (390xx) and G05 (470) drivers will need to be patched for the 6.12 kernel due to removal of drm_mode_config_funcs.output_poll_changed
See: https://github.com/NVIDIA/open-gpu-kernel-modules/issues/708
I've prepared a patch for G04 for Arch:
diff -ruNb a/kernel/nvidia-drm/nvidia-drm-drv.c b/kernel/nvidia-drm/nvidia-drm-drv.c --- a/kernel/nvidia-drm/nvidia-drm-drv.c 2024-07-19 05:21:27.848184261 -0500 +++ b/kernel/nvidia-drm/nvidia-drm-drv.c 2024-11-23 20:07:40.218031132 -0600 @@ -168,7 +168,9 @@ .atomic_check = nv_drm_atomic_check, .atomic_commit = nv_drm_atomic_commit,
+ #if defined(NV_DRM_OUTPUT_POLL_CHANGED_PRESENT) .output_poll_changed = nv_drm_output_poll_changed, + #endif };
static void nv_drm_event_callback(const struct NvKmsKapiEvent *event)
Which can be adapted for openSUSE. The G05 patch will be similar, but I don't have that driver to determine if conftest.sh or nvidia-drm-sources.mk need patching as shown in the link above.