Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to disable Nouveau driver

📅 2017-Sep-21 ⬩ ✍️ Ashwin Nanjappa ⬩ 📚 Archive

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:

$ sudo apt-get purge "nvidia*"
$ sudo apt autoremove
blacklist nouveau
blacklist lbm-nouveau
options nouveau modeset=0
alias nouveau off
alias lbm-nouveau off
options nouveau modeset=0
$ sudo update-initramfs -u

Tried with: Ubuntu 18.04

Reference: How to remove Nouveau kernel driver