How to disable Nouveau driver


Nouveau is the open-source graphics driver for NVIDIA graphics cards. When I tried to install a driver downloaded from the NVIDIA website on a computer, the installer complained like this:

The Nouveau kernel driver is currently in use by your system. This driver is incompatible with the NVIDIA driver, and must be disabled before proceeding. Please consult the NVIDIA driver README and your Linux distribution's documentation for details on how to correctly disable the Nouveau kernel driver.


To disable the Nouveau kernel driver:

  • Remove the installed NVIDIA drivers:
$ sudo apt-get purge "nvidia*"
$ sudo apt autoremove
  • Create a new file named /etc/modprobe.d/disable-nouveau.conf with the following lines:
blacklist nouveau
blacklist lbm-nouveau
options nouveau modeset=0
alias nouveau off
alias lbm-nouveau off
  • Append this line to /etc/modprobe.d/nouveau-kms.conf:
options nouveau modeset=0
  • Update the boot environment for your kernel:
$ sudo update-initramfs -u
  • Now reboot and you should get a low resolution GUI which indicates that Nouveau graphics driver is not being used.

Tried with: Ubuntu 18.04

Reference: How to remove Nouveau kernel driver

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.