NVRM: GPU 0000:01:00.0 is already bound to nouveau

Hello,

I have installed Fedora 41 and simply can’t get the Nvidia drivers (akmod-nvidia) to work. I followed the RPMFusion guide step by step, hoping that nothing had changed between versions 40 and 41 in that regard. The kernel module is also installed:

modinfo -F version nvidia
560.35.03

I have enrolled the certificate created with “kmodgen -a,” beforhand but for some reason, this appears in the logs:

NVRM: GPU 0000:01:00.0 is already bound to nouveau.

Here is a link to the output of the command

dmesg | grep -iE "secure|nouveau|nvidia"

https://paste.centos.org/view/6a2392dd

cat /etc/kernel/cmdline
root=UUID=79c31b6d-367a-471b-aa38-1fd6d13614f6 ro rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau
cat /etc/default/grub 
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true

Does anyone have an idea what the issue might be? I’m, of course, aware that this is still a beta version, but maybe someone has already solved the same problem.

I am grateful for any help.

1 Like

My guess is that you have secure boot enabled but did not setup a secure boot signing key. It’s decribed in the rpmfusion docs.

That would mean that the unsigned nvidia driver cannot be loaded so later on the nouveau driver is loaded by the fallback systemd service.

Thank you for trying to help me.

I just disabled Secure Boot, but the problem still persists.

For some reason, the grub.cfg was not updated after installing akmod-nvidia. I checked the entry in the Grub menu using the “e” key, and I noticed that the kernel parameters “rd.driver.blacklist=nouveau modprobe.blacklist=nouveau” were missing. After adding them, the driver now loads correctly.

I have now updated the entries with the command

sudo grub2-mkconfig -o /boot/grub2/grub.cfg

and it works.

Update

It didn’t work. Not only are the kernel parameters gone, it can’t even find the kernel.

sudo less /boot/grub2/grub.cfg – it should be a self-documented plain text file. Search for kernelopts.

When you say things like ‘it didn’t work’ we need to know what has changed.

I would like to see dnf list installed '*nvidia*' as well as mokutil --sb-state and cat /proc/cmdline as well as cat /etc/kernel/cmdline

Sorry for only getting back to you now.

I reinstalled Fedora 41 and went through the steps again. This time it worked, which makes me suspect that I messed something up.

Many thanks to @barryascott, @gnwiii and you for trying to help me. Unfortunately, the problem was sitting in front of the monitor.

Best regards

2 Likes

We all are subject to making errors at times. :upside_down_face:

2 Likes

I also had a discrepancy between /etc/kernel/cmdline and /boot/grub2/grub.cfg and the nouveau blacklist arguments were missing in the latter… I don’t know if it’s related to the fact that i have dual boot on same hdd … grubby output in some cases seemed to find the windows partition but I don’t want to reproduce now. As soon as i edited the cfg file and disabled uefi fastboot, I could use both systems and nvidia-smi gives the expected output.