Skip to content

A more effective way of preventing the Nvidia driver from loading

Hi,

Unfortunately, the lines currently being added to the /etc/modprobe.d/supergfxd.conf are not effective on my system. The Nvidia driver still manages to load which prevents me from doing VFIO. However, adding install <driver_name> /bin/false for every driver related to Nvidia will make it impossible to load. Also, as a side note when supergfx mode is changed if the Nvidia driver is in the initramfs, the initramfs has to be regenerated but this MR doesn't handle that. I might write the code for that later when I have time. I just wanted to say that.

Merge request reports