User Tools

Site Tools


ubuntu:gpu:nouveau:blacklist_the_nouveau_driver

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntu:gpu:nouveau:blacklist_the_nouveau_driver [2025/05/21 15:47] peterubuntu:gpu:nouveau:blacklist_the_nouveau_driver [2025/05/21 18:46] (current) peter
Line 2: Line 2:
  
 To prevent the host OS from loading the built-in nouveau driver for NVIDIA GPUs. To prevent the host OS from loading the built-in nouveau driver for NVIDIA GPUs.
 +
 +----
 +
 +===== Check if the Nouveau driver is loaded =====
 +
 +<code bash>
 +lsmod | grep nouveau
 +</code>
 +
 +returns:
 +
 +<code>
 +nouveau              1949696  0
 +mxm_wmi                16384  1 nouveau
 +video                  49152  1 nouveau
 +i2c_algo_bit           16384  2 mgag200,nouveau
 +ttm                   106496  2 drm_vram_helper,nouveau
 +drm_kms_helper        184320  4 mgag200,nouveau
 +drm                   491520  6 drm_kms_helper,drm_vram_helper,mgag200,ttm,nouveau
 +wmi                    32768  5 wmi_bmof,dell_smbios,dell_wmi_descriptor,mxm_wmi,nouveau
 +</code>
  
 ---- ----
Line 8: Line 29:
  
 <code bash> <code bash>
-sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf" +sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nouveau.conf" 
-sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf"+sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nouveau.conf"
 </code> </code>
 +
  
 <WRAP info> <WRAP info>
-**NOTE:**  An alternative way to do this is to create the file manually **/etc/modprobe.d/60-blacklist-nouveau.conf**:+**NOTE:**  The **/etc/modprobe.d/blacklist-nouveau.conf** could also be created manually, if required.
  
-<file bash /etc/modprobe.d/60-blacklist-nouveau.conf> +  * The **blacklist nouveau** line suggests that the module loading system should not load the Nouveau driver automatically
-blacklist nouveau +  * The **options nouveau modeset=0** line aims to prevent Nouveau from initializing display modes early in the boot process.
-</file>+
  
 </WRAP> </WRAP>
Line 23: Line 44:
 ---- ----
  
-===== Confirm the content of the newly created modeprobe file blacklist-nvidia-nouveau.conf =====+===== Confirm the content of the newly created modeprobe file blacklist-nouveau.conf =====
  
 <code bash> <code bash>
-cat /etc/modprobe.d/blacklist-nvidia-nouveau.conf+cat /etc/modprobe.d/blacklist-nouveau.conf
 </code> </code>
  
Line 47: Line 68:
  
 ===== Reboot the system ===== ===== Reboot the system =====
 +
 +<WRAP important>
 +**WARNING:**  After the reboot you may end up without GUI at all.
 +
 +  * Be sure that you have the SSH enabled on your system to be able login remotely or use **CTRL+ALT+F2** to switch TTY console and continue with the installation of an alternative GPU driver.
 +
 +</WRAP>
 +
  
 <code bash> <code bash>
 sudo reboot sudo reboot
 </code> </code>
 +
 +----
 +
 +
ubuntu/gpu/nouveau/blacklist_the_nouveau_driver.1747842460.txt.gz · Last modified: 2025/05/21 15:47 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki