Fedora 37 NVIDIA kernel module missing. Falling back to nouveau

I don’t know if that is a result of using f37 which is still beta or not, but you have many of those packages as f36 and some as f37.

I just did an upgrade of my F37 VM and did an install of the akmod-nvidia-470xx package from rpmfusion-nonfree and I got this.

# dnf list installed kernel*
Installed Packages
kernel.x86_64                                                      5.19.10-300.fc37                                        @updates-testing
kernel.x86_64                                                      5.19.11-300.fc37                                        @updates-testing
kernel.x86_64                                                      5.19.12-300.fc37                                        @updates-testing
kernel-core.x86_64                                                 5.19.10-300.fc37                                        @updates-testing
kernel-core.x86_64                                                 5.19.11-300.fc37                                        @updates-testing
kernel-core.x86_64                                                 5.19.12-300.fc37                                        @updates-testing
kernel-devel.x86_64                                                5.19.12-300.fc37                                        @updates-testing
kernel-devel-matched.x86_64                                        5.19.12-300.fc37                                        @updates-testing
kernel-headers.x86_64                                              5.19.4-300.fc37                                         @updates-testing
kernel-modules.x86_64                                              5.19.10-300.fc37                                        @updates-testing
kernel-modules.x86_64                                              5.19.11-300.fc37                                        @updates-testing
kernel-modules.x86_64                                              5.19.12-300.fc37                                        @updates-testing
kernel-modules-extra.x86_64                                        5.19.10-300.fc37                                        @updates-testing
kernel-modules-extra.x86_64                                        5.19.11-300.fc37                                        @updates-testing
kernel-modules-extra.x86_64                                        5.19.12-300.fc37                                        @updates-testing
kernel-srpm-macros.noarch                                          1.0-15.fc37                                             @fedora         


# dnf list installed *nvidia*
Installed Packages
akmod-nvidia-470xx.x86_64                                                  3:470.141.03-2.fc37                           @rpmfusion-nonfree
kmod-nvidia-470xx-5.19.12-300.fc37.x86_64.x86_64                           3:470.141.03-2.fc37                           @@commandline     
nvidia-gpu-firmware.noarch                                                 20220815-139.fc37                             @updates-testing  
nvidia-settings-470xx.x86_64                                               3:470.141.03-2.fc37                           @rpmfusion-nonfree
xorg-x11-drv-nvidia-470xx.x86_64                                           3:470.141.03-2.fc37                           @rpmfusion-nonfree
xorg-x11-drv-nvidia-470xx-kmodsrc.x86_64                                   3:470.141.03-2.fc37                           @rpmfusion-nonfree

Note that I have the kmod-nvidia-470xx package built for the newest installed kernel that was also newly installed. All the nvidia packages installed are for f37 and none are for f36.

This may very easily be due to the fact that you are using the rpmfusion-nonfree-nvidia-driver repo which is not yet available for auto enabling via the gnome software panel on f37.

EDIT:

I then removed the nvidia drivers I had just installed and reinstalled them from the rpmfusion-nonfree-nvidia-driver repo.

Removed:
  akmod-nvidia-470xx-3:470.141.03-2.fc37.x86_64                  kmod-nvidia-470xx-5.19.12-300.fc37.x86_64-3:470.141.03-2.fc37.x86_64     
  nvidia-gpu-firmware-20220815-139.fc37.noarch                   nvidia-settings-470xx-3:470.141.03-2.fc37.x86_64                         
  xorg-x11-drv-nvidia-470xx-3:470.141.03-2.fc37.x86_64           xorg-x11-drv-nvidia-470xx-kmodsrc-3:470.141.03-2.fc37.x86_64             
  xorg-x11-drv-nvidia-470xx-libs-3:470.141.03-2.fc37.x86_64     

and

# dnf list installed *nvidia*
Installed Packages
akmod-nvidia-470xx.x86_64                                       3:470.103.01-1.fc36                        @rpmfusion-nonfree-nvidia-driver
nvidia-settings-470xx.x86_64                                    3:470.103.01-1.fc36                        @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-470xx.x86_64                                3:470.103.01-1.fc36                        @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-470xx-kmodsrc.x86_64                        3:470.103.01-1.fc36                        @rpmfusion-nonfree-nvidia-driver

Note that now I only have the f36 packages, they are for version 470.103 instead of 470.141, and it failed to build the kmod-nvidia package.

I would strongly suggest that for f37 you do the following.

  1. sudo dnf remove *nvidia* --noautoremove --exclude=nvidia-gpu-firmware
  2. sudo dnf install akmod-nvidia-470xx --disablerepo rpmfusion-nonfree-nvidia-driver --enablerepo rpmfusion-nonfree
  3. Wait 5 minutes then run dnf list installed *nvidia*
    If that last command shows kmod-nvidia as installed then reboot and the nvidia card should now properly load the nvidia driver.
11 Likes