Good evening friends, Today I upgraded to Fedora 40 from the terminal, the installation was successful, the problem came when I rebooted the system. Before logging in, I got the message “NVIDIA kernel module missing. Falling back to nouveau”. It won’t let me log in using Xorg, it only lets me log in using Wayland.
I’m using a RTX 2080 with the proprietary drivers installed with sudo dnf install akmod-nvidia
What should I do to fix this problem?
Thanks for your help.
Is secure boot enabled? mokutil --sb-state
will answer that.
If secure boot is enabled then the nvidia modules cannot be loaded unless you
disable secure boot in the bios setup menu
or
sign the modules so they can be loaded with secure boot enabled.
It is late enough that I cannot remain to walk you thru this, but signing the modules is relatively simple
follow the steps in the file /usr/share/doc/akmods/README.secureboot
to generate the key and enroll it in bios. (the commands require the use of sudo)
remove the unsigned modules and rebuild them with
sudo akmods --force --rebuild
reboot
4 Likes
Hi @computersavvy , can I do that by booting from a previous kernel version? Because I have the problem with the latest version. Thanks.
PS: I have Secure Boot enabled in the BIOS, but my ASUS motherboard does not allow me to disable it.
Finally I took the “easy” way, uninstall and reinstall the Nvidia drivers and it is already solved.
Thanks.
2 Likes
I am facing the same issue. Tried making secure boot, facing this error
mokutil --sb-state
EFI variables are not supported on this system
Any idea how to fix this
Hi, I avoided doing the Secure Boot thing by reinstalling the proprietary Nvidia drivers and the problem was fixed.
1 Like
subrat prasad:
mokutil --sb-state
EFI variables are not supported on this system
That says you have installed fedora in legacy boot mode so secure boot is not possible.
Try a reinstall of the drivers as noted by @cesaraquino
Hello.
I do understand I may be late on the party on 2 months, yet I found the solution.
I had the same issue on my laptop with GTX 960M, and the solution was… simply update the system using
sudo dnf update
So, I hope it’ll be useful.
2 Likes
tantradnya
(tantradnya)
November 19, 2024, 8:50am
11
I have secure boot enabled and this worked for me, the instructions inside the readme are clear. Fedora 41, RTX 3080, Ryzen 3800X with MSI MEG X570.
1 Like
zakaria905
(Zakaria A.)
February 8, 2025, 3:40pm
12
Same here. I have secure boot enabled and the steps described by @computersavvy helped. Fedora 40, NVIDIA GeForce GTX 1650. Thanks.
1 Like