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.confwith the following lines:
blacklist nouveau blacklist lbm-nouveau options nouveau modeset=0 alias nouveau off alias lbm-nouveau off
- Append this line to
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