Fedora 37 -- "Nvidia kernel module missing, falling back to nouveau" on boot

Hello, total Linux/Fedora noob here seeking some help on Nvidia driver installation. This has been an arduous couple days for me, finally was able to install the driver correctly thanks to the excellent nvautoinstall tool. I was hoping that post installation I would simply be able to reboot and see that things are working, however instead on boot I am greeted by the message “Nvidia kernel module missing, falling back to nouveau”. I understand this has something to do with secure boot, but having followed some steps I saw elsewhere troubleshooting this I have not been able to get past this. Any help would be appreciated.

Output from screenfetch:

           /:-------------:\          dan@fedora
        :-------------------::        OS: Fedora
      :-----------/shhOHbmp---:\      Kernel: x86_64 Linux 6.0.15-300.fc37.x86_64
    /-----------omMMMNNNMMD  ---:     Uptime: 14m
   :-----------sMMMMNMNMP.    ---:    Packages: 2004
  :-----------:MMMdP-------    ---\   Shell: zsh 5.9
 ,------------:MMMd--------    ---:   Resolution: 1920x1080
 :------------:MMMd-------    .---:   DE: GNOME 43.2
 :----    oNMMMMMMMMMNho     .----:   WM: Mutter
 :--     .+shhhMMMmhhy++   .------/   WM Theme: Adwaita
 :-    -------:MMMd--------------:    GTK Theme: Adwaita [GTK2/3]
 :-   --------/MMMd-------------;     Icon Theme: Adwaita
 :-    ------/hMMMy------------:      Font: Cantarell 11
 :-- :dMNdhhdNMMNo------------;       Disk: 25G / 250G (10%)
 :---:sdNMMMMNds:------------:        CPU: 11th Gen Intel Core i7-11800H @ 16x 4.6GHz [46.0°C]
 :------:://:-------------::          GPU: Intel Corporation TigerLake-H GT1 [UHD Graphics] (rev 01)
NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1)
 :---------------------://            RAM: 2931MiB / 15695MiB

Additionally, I’m dual booting Windows 10 on a different partition of the same drive. The GPU works on Windows. It has a dedicated HDMI out on the laptop which outputs a signal on Windows, and does not output a signal on Fedora.

Output from modinfo -F version nvidia:


Output from sudo modprobe nvidia:

modprobe: ERROR: could not insert 'nvidia': Key was rejected by service

Again I’m completely new to Linux / Fedora, just booted up here a few days ago and this is the first and only major thing I’ve had to do on my system. Apologies if the solution is obvious, but any guidance would go a long way.

I just worked with another user with a similar problem.

We need more info from you to be able to assist but there may be a lot of usable info in that thread.
Please post the output of dmesg | grep -iE 'secure|nouveau|nvidia' and dnf list installed \*nvidia\*. The dmesg output should be done shortly after a boot so the data needed has not scrolled out of the buffer.

What I suspect is that secure boot is enabled and that the kernel cannot load the nvidia modules. We can fix that as soon as we identify the exact cause.

The steps in post 2 of that thread should manage the secure boot issue.

It was in fact a Secure Boot issue, I was able to get it working by just completing the steps listed in usr/share/doc/akmods/README.secureboot, which is specified on RPM Fusion’s How-To Secure Boot doc page. I completely missed it when reading through originally. After following the instructions in the README I was able to load the key from the EFI menu and when I rebooted things are now working as expected. Thanks for your reply, I really appreciate the willingness to help a new user.

1 Like

Those are the exact steps described on the rpmfusion link I gave and in the text I posted. Glad you got it sorted out.