All the instructions for disabling the Nouveau driver (for example, the official NVidia guide to using CUDA with their proprietary drivers) suggest that you create a modprobe.d file with the contents:
blacklist nouveau
options nouveau modeset=0
This is great, it works. But I don’t understand why it’s suggested to do options nouveau modeset=0 after blacklisting the driver itself. What does the additional configuration accomplish?
>Solution :
I took a look at nouveau_drm.c and it looks like the module parameter modeset=0 just disables the driver.
I could be mistaken, but my reading of the two directives is as follows:
blacklist nouveau: prevent the kernel from loading thenouveaumodule at all.options nouveau modeset=0: if thenouveaumodule is built into the kernel directly, disable it.