I ran dnf today, and got some Nvidia errors. Has anyone else run into this?
There seem to be no reports on nvidia’s site.
I have yet to reboot, so everything is still running OK.
FYI: I’m still on fc40, since the upgrade from fc39 to fc40 was a nightmare I haven’t yet recovered from – I had to wipe my disk, install fc40, and reload my data from backups.
Here are today’s errors from /var/lib/dkms/nvidia/555.58.02/build/make.log:
DKMS make.log for nvidia/555.58.02 for kernel 6.12.4-100.fc40.x86_64 (x86_64)
Mon Dec 16 09:20:14 AM EST 2024
make[1]: Entering directory '/usr/src/kernels/6.12.4-100.fc40.x86_64'
/var/lib/dkms/nvidia/555.58.02/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/555.58.02/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/555.58.02/build/nvidia-drm/nvidia-drm-drv.c:207:28: note: (near initialization for ‘nv_mode_config_funcs.atomic_state_alloc’)
make[2]: *** [/usr/src/kernels/6.12.4-100.fc40.x86_64/Makefile:1976: /var/lib/dkms/nvidia/555.58.02/build] Error 2
make[1]: *** [Makefile:236: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/kernels/6.12.4-100.fc40.x86_64'
make: *** [Makefile:89: modules] Error 2
After installing F40 with the default rpmfusion Nvidia drivers, my system was nearly completely unable to display graphics at all. The Gnome screen appeared, but there was a 5-15 second lag between mouse movements and keypresses and seeing the result on the screen (yes, I used a stopwatch). This was intolerable. (I’m not very patient.)
Everything worked fine when I booted to the command line, but that’s suboptimal.
Note: F39 and earlier did not present these problems on exactly the same hardware.
So I downloaded NVIDIA-Linux-x86_64-555.58.02.run from Nvidia and installed that, after which everything worked in F40.
thank you. it was more of a personal interest. there are already some patches prepared in the rpm fusion git repo if you look for the errors in the log file. so the solution here for those who need nvidia is to use the test repo for now. if you look at all the commits of the source code, you can only take your hat off to the maintainers who have to make adjustments under time pressure for every new kernel and driver version. huge respect.
I have no problem with the nvidia drivers and the 6.12.4 kernel.
I am using the 565.77 drivers from the rpmfusion-nonfree-updates-testing repo, and everything just worked for me perfectly.
Does it by any chance recognize a non-existent second monitor on gnome display settings? I managed to install using the .run file last month, and had this happen to me. I’ve since went back to using akmods because of the updates.