ubuntu:gpu:nouveau:blacklist_the_nouveau_driver
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ubuntu:gpu:nouveau:blacklist_the_nouveau_driver [2023/06/25 11:00] – peter | ubuntu:gpu:nouveau:blacklist_the_nouveau_driver [2025/05/21 18:46] (current) – peter | ||
---|---|---|---|
Line 5: | Line 5: | ||
---- | ---- | ||
- | ===== Create a blacklist file ===== | + | ===== Check if the Nouveau driver is loaded |
- | Create the file **/etc/ | + | <code bash> |
+ | lsmod | grep nouveau | ||
+ | </code> | ||
- | <file bash / | + | returns: |
+ | |||
+ | <code> | ||
+ | nouveau | ||
+ | mxm_wmi | ||
+ | video 49152 1 nouveau | ||
+ | i2c_algo_bit | ||
+ | ttm | ||
+ | drm_kms_helper | ||
+ | drm | ||
+ | wmi 32768 5 wmi_bmof, | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Blacklist the nouveau driver ===== | ||
+ | |||
+ | < | ||
+ | sudo bash -c "echo blacklist nouveau > / | ||
+ | sudo bash -c "echo options nouveau modeset=0 >> / | ||
+ | </ | ||
+ | |||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | * The **blacklist nouveau** line suggests that the module loading system should not load the Nouveau driver automatically. | ||
+ | * The **options nouveau modeset=0** line aims to prevent Nouveau from initializing display modes early in the boot process. | ||
+ | |||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Confirm the content of the newly created modeprobe file blacklist-nouveau.conf ===== | ||
+ | |||
+ | <code bash> | ||
+ | cat / | ||
+ | </ | ||
+ | |||
+ | returns: | ||
+ | |||
+ | <code> | ||
blacklist nouveau | blacklist nouveau | ||
- | </file> | + | options nouveau modeset=0 |
+ | </code> | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Udate kernel initramfs ===== | ||
+ | |||
+ | <code bash> | ||
+ | sudo update-initramfs -u | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Reboot the system ===== | ||
+ | |||
+ | <WRAP important> | ||
+ | **WARNING: | ||
+ | |||
+ | * 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. | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | <code bash> | ||
+ | sudo reboot | ||
+ | </ | ||
+ | |||
+ | ---- | ||
ubuntu/gpu/nouveau/blacklist_the_nouveau_driver.1687690833.txt.gz · Last modified: 2023/06/25 11:00 by peter