NVIDIA kernel module missing. Falling back to Nouveau on kernel 6.13.4

I run Fedora 41 Gnome Workstation on Wayland, and I just updated via dnf which installed the latest new kernel 6.13.4 and now whenever I boot my laptop, it takes my system over a minute to load (usually it takes about 20 secs). During my boot I get this error message that pops up before it loads my GDM login screen:

NVIDIA kernel module missing. Falling back to Nouveau.

I had zero issues prior to this update. Whenever I use dnf to update, whether it’s a new kernel, new nvidia driver, etc, I always wait ~10 minutes before I reboot to let things get rebuilt. Never had any issue like this before.

I found a similar post from a week ago (see here: NVIDIA Kernel Module Missing – Falling Back to Nouveau on Fedora 41 GNOME ) and tried their solution, but sadly it didn’t work for me. I think between kernel 6.12 and 6.13 maybe something might be missing. Perhaps a kernel hotfix? I really don’t know though.

Below is what I’ve tried to show and do beforehand, but everything is still failing. The nvidia drivers were installed from RPMFusion and my secure boot is disabled.

Please let me know if you need any other information to help troubleshoot this issue, thank you.

Below you can see I tried to rebuild nvidia-kmod, but it just keeps failing.

             .',;::::;,'.                 scott@fedora
         .';:cccccccccccc:;,.             ------------
      .;cccccccccccccccccccccc;.          OS: Fedora Linux 41 (Workstation Edition)
    .:cccccccccccccccccccccccccc:.        Host: Aspire E5-576G (V1.32)
  .;ccccccccccccc;.:dddl:.;ccccccc;.      Kernel: 6.13.4-200.fc41.x86_64
 .:ccccccccccccc;OWMKOOXMWd;ccccccc:.     Uptime: 19 mins
.:ccccccccccccc;KMMc;cc;xMMc;ccccccc:.    Packages: 2309 (rpm), 125 (flatpak)
,cccccccccccccc;MMM.;cc;;WW:;cccccccc,    Shell: bash 5.2.32
:cccccccccccccc;MMM.;cccccccccccccccc:    Resolution: 1920x1080
:ccccccc;oxOOOo;MMM000k.;cccccccccccc:    DE: GNOME 47.4
cccccc;0MMKxdd:;MMMkddc.;cccccccccccc;    WM: Mutter (Wayland)
ccccc;XMO';cccc;MMM.;cccccccccccccccc'    WM Theme: Adwaita-dark
ccccc;MMo;ccccc;MMW.;ccccccccccccccc;     Theme: Adwaita-dark [GTK2/3/4]
ccccc;0MNc.ccc.xMMd;ccccccccccccccc;      Icons: Adwaita [GTK2/3/4]
cccccc;dNMWXXXWM0:;cccccccccccccc:,       Terminal: GNOME Console 47.1
cccccccc;.:odl:.;cccccccccccccc:,.        CPU: Intel(R) Core(TM) i5-8250U
ccccccccccccccccccccccccccccc:'.          GPU 1: GeForce MX150
:ccccccccccccccccccccccc:;,..             GPU 2: UHD Graphics 620
 ':cccccccccccccccc::;,.                  Memory: 3530 MiB / 15858 MiB (22%)

                                                                  
                                                                  


scott@fedora:~$ rpm -qa | grep nvidia
libva-nvidia-driver-0.0.13^20241108git259b7b7-2.fc41.x86_64
nvidia-modprobe-565.77-1.fc41.x86_64
nvidia-settings-565.77-1.fc41.x86_64
akmod-nvidia-565.77-1.fc41.x86_64
nvidia-gpu-firmware-20241210-1.fc41.noarch
xorg-x11-drv-nvidia-libs-565.77-3.fc41.x86_64
xorg-x11-drv-nvidia-565.77-3.fc41.x86_64
xorg-x11-drv-nvidia-power-565.77-3.fc41.x86_64
xorg-x11-drv-nvidia-kmodsrc-565.77-3.fc41.x86_64
xorg-x11-drv-nvidia-cuda-libs-565.77-3.fc41.x86_64
kmod-nvidia-6.12.13-200.fc41.x86_64-565.77-1.fc41.x86_64
kmod-nvidia-6.12.15-200.fc41.x86_64-565.77-1.fc41.x86_64
scott@fedora:~$ nvidia-smi
bash: nvidia-smi: command not found...
Packages providing this file are:
'xorg-x11-drv-nvidia-cuda'
'xorg-x11-drv-nvidia-390xx-cuda'
'xorg-x11-drv-nvidia-470xx-cuda'
scott@fedora:~$ dnf list --installed \*nvidia\*
Installed packages
akmod-nvidia.x86_64                        3:565.77-1.fc41                  rpmfusi
kmod-nvidia-6.12.13-200.fc41.x86_64.x86_64 3:565.77-1.fc41                  @comman
kmod-nvidia-6.12.15-200.fc41.x86_64.x86_64 3:565.77-1.fc41                  @comman
libva-nvidia-driver.x86_64                 0.0.13^20241108git259b7b7-2.fc41 updates
nvidia-gpu-firmware.noarch                 20241210-1.fc41                  updates
nvidia-modprobe.x86_64                     3:565.77-1.fc41                  rpmfusi
nvidia-settings.x86_64                     3:565.77-1.fc41                  rpmfusi
xorg-x11-drv-nvidia.x86_64                 3:565.77-3.fc41                  rpmfusi
xorg-x11-drv-nvidia-cuda-libs.x86_64       3:565.77-3.fc41                  rpmfusi
xorg-x11-drv-nvidia-kmodsrc.x86_64         3:565.77-3.fc41                  rpmfusi
xorg-x11-drv-nvidia-libs.x86_64            3:565.77-3.fc41                  rpmfusi
xorg-x11-drv-nvidia-power.x86_64           3:565.77-3.fc41                  rpmfusi
scott@fedora:~$ sudo akmods --rebuild --force
[sudo] password for scott: 
Checking kmods exist for 6.13.4-200.fc41.x86_64            [  OK  ]
Building and installing nvidia-kmod                        [FAILED]
Building rpms failed; see /var/cache/akmods/nvidia/565.77-1-for-6.13.4-200.fc41.x86_64.failed.log for details

Hint: Some kmods were ignored or failed to build or install.
You can try to rebuild and install them by by calling
'/usr/sbin/akmods --force' as root.

scott@fedora:~$ sudo /usr/sbin/akmods --force
Checking kmods exist for 6.13.4-200.fc41.x86_64            [  OK  ]
Building and installing nvidia-kmod                        [FAILED]
Building rpms failed; see /var/cache/akmods/nvidia/565.77-1-for-6.13.4-200.fc41.x86_64.failed.log for details

Hint: Some kmods were ignored or failed to build or install.
You can try to rebuild and install them by by calling
'/usr/sbin/akmods --force' as root.

scott@fedora:~$ 
1 Like

It seems that current Nvidia drivers (565.77, but also prior) are incompatible with kernel 6.13. Building the kernel module with the command you linked to simply fails—it usually helps when you have a missing Nividia module, but not this time.

You can see it in the log you posted: you have the kernel modules for 6.12.13 and 6.12.15 (the two entries that begin with kmod-nvidia) but nothing for 6.13.4. Booting under 6.13 takes longer because akmods attempts to build the module but ultimately fails.

Unless someone has a fix, there is nothing to do but to wait for a new driver version that is compatible with kernel 6.13 (and, hopefully, onwards). In the meantime, you can load kernel 6.12.15 and everything should work as normal.

3 Likes

I suspect you just need to wait for the rpmfusion to release patched drivers. It not uncommon when there is a change of kernel from 6.x 6.y for there to be a short delay until the rpmfusion rpms are released.

1 Like

I can confirm the same.
In meantime I continue to boot the 6.12.15-200.fc41.x86_64 version.

1 Like

They will have 570 serie soon given
https://bugzilla.rpmfusion.org/show_bug.cgi?id=7187

5 Likes

RPMFusion just pushed out the new 570 nvidia drivers that should address this. Update and should be good to go. Thanks everyone for the clarification and the bug report links. Glad it’s working again!

The fix already exists!
Install the 570 driver from rpmfusion and nvidia should work for kernel 6.13

I just updated and and can confirm the 570 driver works with the 6.13 kernel now.

3 Likes