NVIDIA Kernel Module Missing, Falling Back to Nouveau (despite having the drivers installed)

Hi! I’m pretty new to Fedora and while my first priority after installing KDE Workstation was to get the NVIDIA drivers installed, when I rebooted my computer the first time, it showed this message. I have searched around a lot online and have used both the “sudo dnf install nvidia-driver” and the RPM Fusion method (specifically the one for my graphics card) and the message still appears every time I boot my computer up. If I type any of those commands into the Konsole, it shows as already installed, and in Discover, it also shows it is enabled (specifically, the box that reads “RPM Fusion for Fedora 42- Nonfree- NVIDIA Driver” (although the two under as the debug and source are not checked).

I am on an Asus TUF Gaming FX505DD laptop, with a NVIDIA GeForce GTX 1660 Ti and AMD Radeon Vega 8 graphics cards. I’m not sure if the multiple graphics cards are what is causing this issue or what could be, I would really appreciate some help or pointed in the right direction for this! Thanks so much!

I think there may be two issues here.

  1. secure boot is enabled and the MOK key was not enrolled
    the kernel will not load out-of-tree kernel modules

mok-util --sb-state shows if secure boot is enabled

to enroll the key see Making sure you're not a bot!
you can probably skip the dnf install part.

  1. It seems that you might have installed the nvidia drivers from two different repositories. Package name nvidia-driver indicates negativo repo, later you tried to install the driver packaged by rpmfusion.

pls post the output of these two commands as pre-formatted text </>
dnf list --installed \*nvidia\* and dnf repolist --enabled

1 Like

First off, thank you so much!! I really appreciate it a lot. Secure boot was enabled and I enrolled the key, and the error still appeared. That would also make sense, I had been following a tutorial on setting it up so trying 2 methods would cause some conflict.

For the first command:

Installed packages
akmod-nvidia.x86_64                       3:580.82.09-1.fc42 rpmfusion-nonfree-nvidia-driver
kmod-nvidia-6.16.8-200.fc42.x86_64.x86_64 3:580.82.09-1.fc42 <unknown>
nvidia-gpu-firmware.noarch                20250808-1.fc42    <unknown>
nvidia-modprobe.x86_64                    3:580.82.09-1.fc42 rpmfusion-nonfree-nvidia-driver
nvidia-persistenced.x86_64                3:580.82.09-1.fc42 rpmfusion-nonfree-nvidia-driver
nvidia-settings.x86_64                    3:580.82.09-1.fc42 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia.x86_64                3:580.82.09-1.fc42 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda.x86_64           3:580.82.09-1.fc42 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.i686        3:580.82.09-1.fc42 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64      3:580.82.09-1.fc42 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-kmodsrc.x86_64        3:580.82.09-1.fc42 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.i686             3:580.82.09-1.fc42 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.x86_64           3:580.82.09-1.fc42 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-power.x86_64          3:580.82.09-1.fc42 rpmfusion-nonfree-nvidia-driver

For the second:

repo id                                           repo name                                                   
copr:copr.fedorainfracloud.org:phracek:PyCharm    Copr repo for PyCharm owned by phracek                      
fedora                                            Fedora 42 - x86_64                                          
fedora-cisco-openh264                             Fedora 42 openh264 (From Cisco) - x86_64                    
google-chrome                                     google-chrome                                               
rpmfusion-nonfree-nvidia-driver                   RPM Fusion for Fedora 42 - Nonfree - NVIDIA Driver          
rpmfusion-nonfree-nvidia-driver-source            RPM Fusion for Fedora 42 - Nonfree - NVIDIA Driver Source   
rpmfusion-nonfree-steam                           RPM Fusion for Fedora 42 - Nonfree - Steam                  
rpmfusion-nonfree-steam-debuginfo                 RPM Fusion for Fedora 42 - Nonfree - Steam Debug            
rpmfusion-nonfree-steam-source                    RPM Fusion for Fedora 42 - Nonfree - Steam Source           
updates                                           Fedora 42 - x86_64 - Updates       

Again, thank you so much!! I appreciate you a lot :slight_smile:

that looks good.
My bad, I guess you have generated a new key with sudo kmodgenca -a so we need to recompile the kernel modules. They will be signed with the new enrolled key.

sudo akmods --rebuild --force then reboot.

1 Like

Thank you SO so much!! That fixed it!

1 Like

Great! Thanks and welcome to Fedora! :slight_smile:

A quick note: the kernel modules must be recompiled for each new kernel version or Nvidia drivers. This process starts automatically after the usual upgrade process has finished. So don’t reboot immediately but give the system time to finish compiling the nvidia kernel modules. It will take a few minutes.
Otherwise the system will compile the missing kernel modules at the next boot process. This will take longer as usual, so don’t panic and wait a few minutes for the login screen to appear.

Basically, the command akmods --rebuild runs in the background.