Hello,
I was testing unified kernel images and found out that in the default
configuration, nouveau driver still gets loaded preventing the nvidia
modules from doing the same. I mentioned this to one of the UKI
developers and got the following workaround[1]:
echo "blacklist nouveau" | sudo tee /etc/modprobe.d/no-nouveau.conf
I'd suggest to open a bug against the nvidia driver,
the rpm should simply include that config file instead of
adding 'modprobe.blacklist=nouveau' to the kernel command line.
The 'rd.driver.blacklist=nouveau' also added is not needed
with the UKI because that does not include drm drivers in
the first place. And for the non-UKI case this should probably
be replaced by a config file too (/etc/dracut.conf.d/...).
The workaround does indeed work, allowing me to enjoy MOK-signed nvidia
driver on UKI kernel.
As I do not know the what the advantages and disadvantages of using
kernel command line vs /etc/modprobe.d and /etc/dracut.conf.d, I thought
I would ask here before filing a bug. What is the reason RPM Fusion
package uses the kernel command line? Would switching to the solution
suggested by Gerd be an option?
Best regards,
Julian
[1]
https://bugzilla.redhat.com/show_bug.cgi?id=2303676#c11