Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update from kernel 6.11.9 to 6.12.1 fails for Ubuntu 24.10 with nvidia drivers #185

Open
svenha opened this issue Dec 2, 2024 · 2 comments

Comments

@svenha
Copy link

svenha commented Dec 2, 2024

Update fails when compiling nvidia-drm-drv.c:

/var/lib/dkms/nvidia/560.35.03/build/nvidia-drm/nvidia-drm-drv.c:207:6: error: ‘const struct drm_mode_config_funcs’ has no member named ‘output_poll_changed’                                                                                                                                                                                               
207 |     .output_poll_changed = nv_drm_output_poll_changed,                                                                                                                                                                                                                                                                                              
   |      ^~~~~~~~~~~~~~~~~~~                                                                                                                                                                                                                                                                                                                            
/var/lib/dkms/nvidia/560.35.03/build/nvidia-drm/nvidia-drm-drv.c:207:28: error: initialization of ‘struct drm_atomic_state * (*)(struct drm_device *)’ from incompatible pointer type ‘void (*)(struct drm_device *)’ [-Wincompatible-pointer-types]                                                                                                        
207 |     .output_poll_changed = nv_drm_output_poll_changed,                                                                                                                                                                                                                                                                                              
   |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                                                                                                                                                                                                                               
/var/lib/dkms/nvidia/560.35.03/build/nvidia-drm/nvidia-drm-drv.c:207:28: note: (near initialization for ‘nv_mode_config_funcs.atomic_state_alloc’)                                                                                                                                                                                                          
make[3]: *** [scripts/Makefile.build:229: /var/lib/dkms/nvidia/560.35.03/build/nvidia-drm/nvidia-drm-drv.o] Error 1                                                                                                                                                                                                                                         
make[3]: *** Waiting for unfinished jobs....                                                                   
@damentz
Copy link
Owner

damentz commented Dec 3, 2024

You'll need to install a supported nvidia driver. In the thread linked below, a user found a version that worked for them:

https://techpatterns.com/forums/about3094.html

Specifically this version of the driver released on November 19th: https://www.nvidia.com/en-us/drivers/details/236036/

Otherwise, you'll need to fall back to a 6.11 kernel until Nvidia + Your Distro update drivers to support kernel 6.12.

In the meantime, I did rebuild and upload the last 6.11 kernel for Ubuntu if you need to pull a working version for your system: https://liquorix.net/ubuntu/

@svenha
Copy link
Author

svenha commented Dec 4, 2024

Thanks for your explanations. I will consider the pros and cons of both solutions, but staying at kernel 6.11 looks more stable for my machines, at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants