The objective is to disable the default Nouveau kernel driver on Ubuntu 20.04 Focal Fossa Linux Desktop

In this tutorial you will learn:
  • How to blacklist Nouveau nvidia driver
  • How to update kernel initramfs
How to disable/blacklist Nouveau nvidia driver on Ubuntu 20.04 Focal Fossa Linux
How to disable/blacklist Nouveau nvidia driver on Ubuntu 20.04 Focal Fossa Linux

Software Requirements and Conventions Used

Software Requirements and Linux Command Line Conventions
Category Requirements, Conventions or Software Version Used
System Installed or upgraded Ubuntu 20.04 Focal Fossa
Software N/A
Other Privileged access to your Linux system as root or via the sudo command.
Conventions # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ - requires given linux commands to be executed as a regular non-privileged user

Disable/blacklist Nouveau nvidia driver on Ubuntu 20.04 step by step instructions

  1. First step is to Blacklist Nvidia nouveau driver. Open up terminal and enter the following commands:
    $ sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
    $ sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
    
  2. Confirm the content of the newly created modeprobe file blacklist-nvidia-nouveau.conf:
    $ cat /etc/modprobe.d/blacklist-nvidia-nouveau.conf
    blacklist nouveau
    options nouveau modeset=0
    

  3. SUBSCRIBE TO NEWSLETTER
    Subscribe to Linux Career NEWSLETTER and receive latest Linux news, jobs, career advice and tutorials.


  4. Last step is to reboot your system:
    $ reboot
    
ARE YOU LOOKING FOR A LINUX JOB?
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed on LinuxCareers.com.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.