Hi Sergio,

I know it is - my question is why it was chosen over config files. The reason I am asking is that the kernel command line method does not work with UKI. Apologies if this was not clear. While I know that UKI is an extremely niche use case, if there are no downsides to using config files, there is little rationale not to switch.

Best regards,
Julian


Am 06.09.24 um 16:52 schrieb Sérgio Basto:


ATM nouveau is disabled on kernel boot with this boot parameters:

GRUB_CMDLINE_LINUX="rd.driver.blacklist=nouveau modprobe.blacklist=nouveau"


On Thu, 2024-09-05 at 23:40 +0200, Julian Sikorski via rpmfusion-
developers wrote:
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
_______________________________________________
rpmfusion-developers mailing list --
[email protected]
To unsubscribe send an email to
[email protected]

_______________________________________________
rpmfusion-developers mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to