Hello,
I installed Fedora Workstation 41 over the weekend and need some help disabling Nouveau for the Nvidia drivers to kick in. My understanding is that I’ve got everything installed correctly but the Nouveau drivers are preventing the Nvidia drivers from starting
Setup: Triple boot with Windows 11, PopOS 24.02 and Fedora 41 with Refind
Refind is the boot manager. Not using Grub
Secure boot is disabled
dee@fedora:~$ journalctl -b -g nvidia
Feb 13 12:13:52 fedora kernel: nouveau 0000:01:00.0: NVIDIA GP108 (138000a1)
Feb 13 17:13:56 fedora kernel: nvidia: loading out-of-tree module taints kernel.
Feb 13 17:13:56 fedora kernel: nvidia: module license 'NVIDIA' taints kernel.
Feb 13 17:13:56 fedora kernel: nvidia: module verification failed: signature and/or required key missing - tainting kernel
Feb 13 17:13:56 fedora kernel: nvidia: module license taints kernel.
Feb 13 17:13:57 fedora systemd[1]: Started nvidia-powerd.service - nvidia-powerd service.
Feb 13 17:13:57 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=nvidia-powerd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? >
Feb 13 17:13:57 fedora /usr/bin/nvidia-powerd[930]: nvidia-powerd version:1.0(build 1)
Feb 13 17:13:57 fedora kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 510
Feb 13 17:13:57 fedora kernel: NVRM: The NVIDIA probe routine was not called for 1 device(s).
Feb 13 17:13:57 fedora kernel: NVRM: This can occur when another driver was loaded and
NVRM: obtained ownership of the NVIDIA device(s).
Feb 13 17:13:57 fedora kernel: NVRM: Try unloading the conflicting kernel module (and/or
NVRM: reconfigure your kernel without the conflicting
NVRM: driver(s)), then try loading the NVIDIA kernel module
NVRM: again.
Feb 13 17:13:57 fedora kernel: NVRM: No NVIDIA devices probed.
Feb 13 17:13:57 fedora kernel: nvidia-nvlink: Unregistered Nvlink Core, major device number 510
Feb 13 17:13:59 fedora kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 510
Feb 13 17:13:59 fedora kernel: NVRM: The NVIDIA probe routine was not called for 1 device(s).
please show us the output of cat /etc/default/grub and lsmod | grep -E 'nvidia|nouveau'
Also, you really really need to update the system. According to that listing for the nvidia packages it only shows the modules were built for the 6.11.4-301 kernel which was the kernel provided on the f41 release ISO. Fedora is now using the 6.12.11 kernel and soon will be updating even that.
sudo dnf upgrade --refresh in a terminal window will update everything to the latest available packages.
The kernel command line is applicable regardless of the boot loader used. I have not used refind so do not know what interactions there are.
The fact that the kernel is up to date but the matching kmod-nvidia-NNN package is not there is probably part of the problem.
Try reinstalling all nvidia packages with sudo dnf reinstall \*nvidia\*
After that completes then try rebuilding the kernel mods with sudo kmods --force --rebuild and check that the driver is properly built for the installed kernel. That should properly complete and give an OK then a reboot should load the driver.
If you actually had to add the blacklist lines to the /etc/kernel/cmdline file then it would appear that for some reason the command line was not properly updated with the driver installation.
You can ensure that everything is properly updated with those options by running sudo grubby --args="rd.driver.blacklist=nouveau modprobe.blacklist=nouveau" --update-kernel=ALL I know it updates /boot/grub2/grub.cfg, /etc/kernel/cmdline, and /etc/default/grub as well as the .conf files under /boot/loader/entries. I am unsure how that translates to booting with refind, but the kernel cmdline should still work for that along with the entries in the .conf files…
It is possible that kmods is not properly completing since grub is not being used so watch the output when running the kmods command to see if it reports an error.