Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

If I’ve already blacklisted nouveau, why is `options nouveau modeset=0` necessary?

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?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>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:

  1. blacklist nouveau: prevent the kernel from loading the nouveau module at all.
  2. options nouveau modeset=0: if the nouveau module is built into the kernel directly, disable it.
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading