How to disable Nouveau driver

Problem

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.

Solution

To disable the Nouveau kernel driver:

  • Remove the installed NVIDIA drivers:
$ sudo apt-get purge "nvidia*"
  • Create a new file named /etc/modprobe.d/disable-nouveau.conf with the following lines:
blacklist nouveau
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 14.04

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s