Hi everyone,
I’m having trouble getting the NVIDIA proprietary driver to load on Fedora 42 (KDE Plasma). My system falls back to the Nouveau driver at boot with the message:
"NVIDIA kernel module missing, falling back to Nouveau"
Here’s what I’ve done so far:
Disabled Secure Boot (verified via mokutil --sb-state)
Installed akmod-nvidia and related packages from RPM Fusion
Verified that modules like nvidia.ko, nvidia-drm.ko, etc. exist in /lib/modules/$(uname -r)/extra/nvidia/
Ran sudo akmods --force and sudo dracut --force
Rebooted multiple times
However, nvidia-smi still fails with:
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver.
Running lsmod | grep nvidia only shows i2c_nvidia_gpu, none of the main modules are loaded.
I have the secure boot off and in GRUB i have modeset-o in the end of the line.
A few days ago, I managed to get it working by enrolling a key via MOK (Machine Owner Key), but now the driver fails to load again and the MOK enrollment prompt no longer appears at boot.
I tried to troubleshoot with some articles and AI but without sucess. This is my first linux installation.
Any ideas on how to get the NVIDIA driver to load properly at boot?
Specs:
Fedora 42 KDE Plasma
NVIDIA RTX 2060 Mobile
Kernel 6.15.3-200.fc42.x86_64
Thanks in advance for any help!