How to Disable Nouveau Nvidia Driver on Ubuntu 18.04

How to Disable Nouveau Nvidia driver on Ubuntu 18.04

During NVIDIA drivers installation you may have an error:

“ERROR: 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.”

Disable Nouveau Nvidia Driver on Ubuntu 18.04

So, before proceeding installation NVIDIA drivers on Ubuntu 18.04 you must disable Nouveau kernel driver. To disable the default Nouveau Nvidia driver.

Create a file: blacklist-nouveau.conf

# nano /etc/modprobe.d/blacklist-nouveau.conf

and fill the following contents:

blacklist nouveau
options nouveau modeset=0

Regenerate the kernel initramfs:

# update-initramfs -u

And reboot your system:

# reboot

Now you can continue install the NVIDIA drivers on Ubuntu

 

 

 

 

 

If you like what you are reading, please:

Buy me a coffeeBuy me a coffee

How to Disable Nouveau Nvidia driver on Ubuntu 18.04

  1. Create a file: blacklist-nouveau.conf

    nano /etc/modprobe.d/blacklist-nouveau.conf

  2. Fill with following contents:

    blacklist nouveau
    options nouveau modeset=0

  3. Regenerate the kernel initramfs

    update-initramfs -u

  4. Reboot your system

    reboot

arstech