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
Software Requirements and Conventions Used
| 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
- 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"
- 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
- Enter the following Linux command to update-initramfs kernel:
$ sudo update-initramfs -u
- Last step is to reboot your system:
$ sudo reboot
