NVIDIA kernel module missing. Falling back to nouveau

Hi everyone,

when turning on my PC I get the message: NVIDIA kernel module missing. Falling back to nouveau.
And before seeing the login screen and right after login, for a short period of time I get a similar image to the one attached.
Has this to do with Nvidia drivers? I have a GTX 1070 ti in my system.

Thank you for every help, I’m kinda new to all this

Well…

Same problem here, same screen, same error message.

I am assuming that you have installed or upgraded to fedora 44.

If you have then the nvidia driver available with akmod-nvidia (version 595) does not support the 10XX and older chipsets.

Solution:

  1. enable the rpmfusion-nonfree repos as shown here.
  2. remove the existing nvidia packages sudo dnf remove \*nvidia\* --exclude nvidia-gpu-firmware
  3. install the 580xx drivers sudo dnf install akmod-nvidia-580xx xorg-x11-drv-nvidia-580xx-cuda

After the installation completes reboot and it should properly load the older driver that does support that nvidia GPU.

Thx for the help!! It solved the Problem

This solution worked for me also (F44 - Thinkpad P53s - Nvidia Quadro P520).

I’ve two more questions about the solution:

  1. The driver should not upgrade to the last version during normal system upgrade since the version 580 had been explicitly installed. Is this correct?

  2. Could we say how long this will last?

Many thanks in advance.

Once you have installed the 580xx version of the driver it will never perform upgrades except to newer upgrades of that specific driver. It will not replace the 580xx driver with the 595 or newer drivers.

Thanks for your quick answer!

Thank you @computersavvy for the solution. However I have an additional question. When I install 580xx packages when all 595 are already removed I receive two dependencies of 595 version - nvidia-modprobe and nvidia-persistenced. Is it ok?

$ sudo dnf install xorg-x11-drv-nvidia-580xx akmod-nvidia-580xx xorg-x11-drv-nvidia-580xx-cuda
Updating and loading repositories:
Repositories loaded.
Package                                  Arch     Version                                  Repository                           Size
Installing:
 akmod-nvidia-580xx                      x86_64   3:580.159.03-1.fc44                      rpmfusion-nonfree-updates        99.0 KiB
 xorg-x11-drv-nvidia-580xx               x86_64   3:580.159.03-1.fc44                      rpmfusion-nonfree-updates       169.4 MiB
 xorg-x11-drv-nvidia-580xx-cuda          x86_64   3:580.159.03-1.fc44                      rpmfusion-nonfree-updates         6.3 MiB
Installing dependencies:
 akmods                                  noarch   0:0.6.2-9.fc44                           fedora                           66.0 KiB
 egl-gbm                                 x86_64   2:1.1.3-2.fc44                           fedora                           29.2 KiB
 egl-wayland                             x86_64   0:1.1.21-2.fc44                          fedora                           83.3 KiB
 egl-x11                                 x86_64   0:1.0.5-1.fc44                           fedora                          173.6 KiB
 kernel-devel-matched                    x86_64   0:7.0.8-200.fc44                         updates                           0.0   B
 kmodtool                                noarch   0:1.2-3.fc44                             fedora                           27.5 KiB
 nvidia-modprobe                         x86_64   3:595.71.05-1.fc44                       rpmfusion-nonfree-updates        50.7 KiB
 nvidia-persistenced                     x86_64   3:595.71.05-1.fc44                       rpmfusion-nonfree-updates        54.2 KiB
 nvidia-settings-580xx                   x86_64   3:580.159.03-1.fc44                      rpmfusion-nonfree-updates         4.4 MiB
 opencl-filesystem                       noarch   0:1.0-24.fc44                            fedora                            0.0   B
 openssl                                 x86_64   1:3.5.5-2.fc44                           updates                           1.8 MiB
 xorg-x11-drv-nvidia-580xx-cuda-libs     x86_64   3:580.159.03-1.fc44                      rpmfusion-nonfree-updates       345.6 MiB
 xorg-x11-drv-nvidia-580xx-kmodsrc       x86_64   3:580.159.03-1.fc44                      rpmfusion-nonfree-updates        86.8 MiB
 xorg-x11-drv-nvidia-580xx-libs          x86_64   3:580.159.03-1.fc44                      rpmfusion-nonfree-updates       443.3 MiB
 xorg-x11-drv-nvidia-580xx-xorg-libs     x86_64   3:580.159.03-1.fc44                      rpmfusion-nonfree-updates        19.4 MiB
Installing weak dependencies:
 xorg-x11-drv-nvidia-580xx-power         x86_64   3:580.159.03-1.fc44                      rpmfusion-nonfree-updates         2.3 MiB

Transaction Summary:
 Installing:        19 packages

Total size of inbound packages is 393 MiB. Need to download 393 MiB.
After this operation, 1 GiB extra will be used (install 1 GiB, remove 0 B).
Is this ok [y/N]: y

Yes
Those packages are appropriate.

Note that this shows a new installation of akmods, so if you are using secure boot there is additional that needs to be done before the kernel can load the driver modules.
Follow the steps in the file /usr/share/doc/akmods/README.secureboot.
Before rebooting at the end of that run the command sudo akmods --rebuild --force so the module being built is properly signed. Once you reboot the modules should load.

I don’t use secure boot and it already works. Thank you very much for detailed explanation!