Nouveau: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 14: | Line 14: | ||
#Step 4, Rebooting the system | #Step 4, Rebooting the system | ||
$sudo | $sudo reboot | ||
#Step 5, check there is no more nouveau module, should no result from following command | #Step 5, check there is no more nouveau module, should no result from following command | ||
$lsmod | grep -i nouveau | $lsmod | grep -i nouveau | ||
</syntaxhighlight>We can also remove nouveau package from the Ubuntu system<syntaxhighlight lang="bash"> | |||
#check nouveau package | |||
dpkg -l | grep -i nouveau | |||
#remove nouveau package | |||
sudo apt-get remove --purge libdrm-nouveau2 | |||
</syntaxhighlight> | </syntaxhighlight> | ||
== References == | == References == | ||
<references /> | <references /> |
Latest revision as of 12:41, 9 May 2024
Disable Nouveau
Nouveau is a default kernel driver on Ubuntu 20.04 Focal for opensource display driver. To avoid potential confliction or issues with Nvidia driver, GPGPU system needs to disable nouveau.
#Step 1, Blacklist Nvidia nouveau driver
$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"
#Step 2, Confirm the content of blacklist-nvidia-nouveau.conf
$ cat /etc/modprobe.d/blacklist-nvidia-nouveau.conf
blacklist nouveau
options nouveau modeset=0
#Step 3, update kernel initramfs
$sudo update-initramfs -u
#Step 4, Rebooting the system
$sudo reboot
#Step 5, check there is no more nouveau module, should no result from following command
$lsmod | grep -i nouveau
We can also remove nouveau package from the Ubuntu system
#check nouveau package
dpkg -l | grep -i nouveau
#remove nouveau package
sudo apt-get remove --purge libdrm-nouveau2