After updating my system, I’m encountering an issue where the NVIDIA kernel module is missing, and my system is falling back to Nouveau. This message appears on the boot screen:
Nvidia kernel module missing, falling back to nouveau
I’m using Fedora 41 (Workstation Edition) with GNOME on Wayland. My system specs are:
Laptop: Victus by HP Laptop 16-d1xxx
Kernel:6.12.15-200.fc41.x86_64
GPU 1: NVIDIA GeForce RTX 3050 Mobile (Discrete)
GPU 2: Intel Iris Xe Graphics (Integrated)
DE: GNOME 47.4 (Wayland)
WM: Mutter
Driver Installed:akmod-nvidia
NVIDIA SMI Output: (It says the driver isn’t loaded)
my secure boot is disabled
After the update, my external monitor is not detected. It was working fine before the update.
It would seem that on the last kernel upgrade the nvidia drivers where not built.
You can force them to be built with the command sudo akmods --rebuild --force.
try that and then reboot. Does hthat fix it?
is this the complete list? It’s missing several important packages like akmod-nvidia and even the nvidia firmware.
How did you manage to get the system into this state?
Don’t reboot. Install nvidia-gpu-firmware and akmod-nvidia
this should also install some of the other missing rpms like xorg-x11-drv-nvidia-kmodsrc
now to learn something from this, please check the dnf transaction logs and find the transaction that removed akmod-nvidia, nvidia-gpu-firmware and other nvidia packages from your system.
dnf history list dnf history info last prints the details to the last transaction replace last with a numner from history list or you can select the next transaction with dnf history info last-1 then replace 1 with 2 etc.
nvidia-gpu-firmware is pre-installed on every system. You should never remove it.
this is how you remove only the nvidia rpmfusion driver, it’s documented here
dnf remove xorg-x11-drv-nvidia\*
nvidia-vaapi-driver is also not directly tied to the nvidia driver.
If you try to remove something then don’t use option -y and review the proposed changes, before accepting such transaction. 49 packages to be removed should have made you probably rejecting such transaction…
I agree, but that firmware is still required should it be necessary to fall back to a boot using the nouveau driver when there are problems using the installed nvidia drivers.
It should really remain installed even if the reason is misstated.