I am using Fedora 39 on a TUF A15 laptop with RTX 4060.
I have used the proprietary NVIDIA driver from RPM Fusion for a long time and it worked great. I keep the system updated with sudo dnf upgrade --refresh.
But a few days ago I started getting the message “NVIDIA Kernel module missing, failing back to nouveau” at boot time. I tried reinstalling the driver dnf packages and rebuilding the kernel module using sudo akmods --rebuild --force --kernels $(uname -r) without success. The rebuild process seems successful according to the logs in /var/cache/akmods/. I have also tried to run sudo dracut --force but that didn’t change anything. I tried reinstalling the driver multiple times, too.
The NVIDIA kernel module seems to be present (?), I tried running find /lib/modules/$(uname -r) -type f -name '*.ko*' | grep "nvidia" and it returned this:
uname --kernel-release returned 6.6.14-200.fc39.x86_64
Nouveau doesn’t even work, graphic card can’t be used by applications/games and external monitors. (I need the proprietary driver anyways for CUDA/NVENC)
Any help would be welcome, I really miss my graphic card
The GPU works fine with my Windows 11 dual-boot, so not a hardware problem.
$ modprobe nvidia
modprobe: ERROR: libkmod/libkmod-module.c:895 kmod_module_insert_module() could not find module by name='off'
modprobe: ERROR: could not insert 'off': Unknown symbol in module, or unknown parameter (see dmesg)
I am quite surprised if it cause a problem, since managing the GPU in hybrid laptops is basically its reason to exist.
The config file is autogenerated and contains the following:
# Automatically generated by supergfxd
blacklist nouveau
alias nouveau off
blacklist nvidia_drm
blacklist nvidia_uvm
blacklist nvidia_modeset
blacklist nvidia
alias nvidia off
options nvidia-drm modeset=1
Probably a change in the way that file was created by supergfx in that the file did not get updated when the system was updated but it did get recreated when you did the reinstall of supergfx. Maybe a bug fix?
It was the alias nvidia off that caused the problem.
And the error from modproble nvidia provided an error message that could be web searched for. As others have explained this is a known issue with modprobe configuration.