Nvidia kernel module missing after update to F36 Beta

Hi! Today, after I updated Fedora to 36 (Beta), I started getting the message “Nvidia kernel module missing, falling back to nouveau”. I have tried removing and installing back akmod-nvidia and xorg-x11-drv-nvidia-cuda packages (installation instruction). But no luck. I’ve seen some people resolve this by installing 470 drivers, but this isn’t an option for me — I have GeForce 940MX, which is supported by current drivers.

Installed version of akmod-nvidia:

Name         : akmod-nvidia
Epoch        : 3
Version      : 510.60.02
Release      : 1.fc36
Architecture : x86_64
Size         : 24 k
Source       : nvidia-kmod-510.60.02-1.fc36.src.rpm
Repository   : @System
From repo    : rpmfusion-nonfree
Summary      : Akmod package for nvidia kernel module(s)
URL          : http://www.nvidia.com/
License      : Redistributable, no modification permitted
Description  : This package provides the akmod package for the nvidia kernel modules.

I am running: 5.17.2-300.fc36.x86_64 and have kernel-devel version 5.17.2, release 300.fc36 installed.

Output of sudo akmods (and sudo akmods --force too):

Checking kmods exist for 5.17.2-300.fc36.x86_64            [  OK  ]

Output of modinfo -F version nvidia:

modinfo: ERROR: Module nvidia not found.

Thanks in advance, for any help

If you have the driver installed and you are getting that message it is possible that it is being blocked by secure boot.

Please reboot then post the output of dmesg | grep -iE 'secure|nvidia' since that will show all the boot messages about the nvidia driver status and the status of secure boot in the bios.

I have secure boot disabled, which is also indicated in these logs:

secureboot: Secure boot disabled

Other than that, there’s kernel command line with rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 arguments.
And afterwards something from nouveau — nouveau 0000:01:00.0: NVIDIA GM108 (1180d0a2)

If you post the full output of that command we may be able to analyze what is happening. Without details we are only guessing.

The thing is, this is all there is

[    0.000000] Command line: BOOT_IMAGE=(hd0,gpt2)/vmlinuz-5.17.2-300.fc36.x86_64 root=UUID=a2cadbb0-6e49-4a82-9b15-2c692bb6445c ro rootflags=subvol=root rd.luks.uuid=luks-82cc84cb-d493-44a6-825d-17530b1e1a38 rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1
[    0.000000] secureboot: Secure boot disabled
[    0.012138] secureboot: Secure boot disabled
[    0.044354] Kernel command line: BOOT_IMAGE=(hd0,gpt2)/vmlinuz-5.17.2-300.fc36.x86_64 root=UUID=a2cadbb0-6e49-4a82-9b15-2c692bb6445c ro rootflags=subvol=root rd.luks.uuid=luks-82cc84cb-d493-44a6-825d-17530b1e1a38 rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1
[   17.309425] nouveau 0000:01:00.0: NVIDIA GM108 (1180d0a2)

That tells me you have not installed the nvidia driver.

Please post the output of dnf repolist
Also, if you want the RTX 3050 to be fully functional you will need to (if not already done) enable the rpmfusion repo and install the nvidia driver. The repo can be enabled from gnome-software on the 3rd party repos tab, and the drivers can be installed with sudo dnf install akmod-nvidia.

Other instructions here and here that still work as well.

As I’ve said in the original post, I have installed akmod-nvidia from rpmfusion for my Nvidia GeForce 940MX. I have posted the output of dnf info akmod-nvidia, too. And obviously, I have these repos alongside others:

rpmfusion-free                              RPM Fusion for Fedora 36 - Free
rpmfusion-free-updates-testing              RPM Fusion for Fedora 36 - Free - Test Updates
rpmfusion-nonfree                           RPM Fusion for Fedora 36 - Nonfree
rpmfusion-nonfree-nvidia-driver             RPM Fusion for Fedora 36 - Nonfree - NVIDIA Driver
rpmfusion-nonfree-steam                     RPM Fusion for Fedora 36 - Nonfree - Steam
rpmfusion-nonfree-updates-testing           RPM Fusion for Fedora 36 - Nonfree - Test Updates

Kernel got downgraded with a system update, and the issue is fixed now