ubuntu:gpu:nouveau:blacklist_the_nouveau_driver
This is an old revision of the document!
Table of Contents
Ubuntu - GPU - Nouveau - Blacklist the Nouveau driver
To prevent the host OS from loading the built-in nouveau driver for NVIDIA GPUs.
Blacklist the nouveau driver
sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf" sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
NOTE: An alternative way to do this is to create the file /etc/modprobe.d/60-blacklist-nouveau.conf:
- /etc/modprobe.d/60-blacklist-nouveau.conf
blacklist nouveau
Confirm the content of the newly created modeprobe file blacklist-nvidia-nouveau.conf
cat /etc/modprobe.d/blacklist-nvidia-nouveau.conf
returns:
blacklist nouveau options nouveau modeset=0
Udate kernel initramfs
sudo update-initramfs -u
Reboot the system
sudo reboot
ubuntu/gpu/nouveau/blacklist_the_nouveau_driver.1747842390.txt.gz · Last modified: 2025/05/21 15:46 by peter