How disable remove nouveau driver ?



kc1di

Active Member
Credits
1,598
If you have installed a Nvidia driver via the repository it automatically black list the Nouveau driver.
You can remove it from the system with this terminal command
Code:
sudo apt purge nouveau
(not recommended) or you can disable it by blacklisting it in the terminal use these commands
Code:
$ 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"
 

kc1di

Active Member
Credits
1,598
commands work.
Where is the path of nouveau driver files ? Only in initramfs ?
nouveau files are found in all the following places.
Code:
/usr/include/drm/nouveau_drm.h
/usr/lib/i386-linux-gnu/libdrm_nouveau.so.2
/usr/lib/i386-linux-gnu/libdrm_nouveau.so.2.0.0
/usr/lib/i386-linux-gnu/dri/nouveau_dri.so
/usr/lib/i386-linux-gnu/dri/nouveau_drv_video.so
/usr/lib/i386-linux-gnu/dri/nouveau_vieux_dri.so
/usr/lib/i386-linux-gnu/vdpau/libvdpau_nouveau.so
/usr/lib/i386-linux-gnu/vdpau/libvdpau_nouveau.so.1
/usr/lib/i386-linux-gnu/vdpau/libvdpau_nouveau.so.1.0
/usr/lib/i386-linux-gnu/vdpau/libvdpau_nouveau.so.1.0.0
/usr/lib/modules/5.4.0-84-generic/kernel/drivers/gpu/drm/nouveau
/usr/lib/modules/5.4.0-84-generic/kernel/drivers/gpu/drm/nouveau/nouveau.ko
/usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2
/usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2.0.0
/usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
/usr/lib/x86_64-linux-gnu/dri/nouveau_drv_video.so
/usr/lib/x86_64-linux-gnu/dri/nouveau_vieux_dri.so
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_nouveau.so
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_nouveau.so.1
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_nouveau.so.1.0
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_nouveau.so.1.0.0
/usr/lib/xorg/modules/drivers/nouveau_drv.so
/usr/share/apport/package-hooks/source_xserver-xorg-video-nouveau.py
/usr/share/bug/xserver-xorg-video-nouveau
/usr/share/doc/libdrm-nouveau2
/usr/share/doc/xserver-xorg-video-nouveau
/usr/share/lintian/overrides/libdrm-nouveau2
/usr/share/man/man4/nouveau.4.gz
/usr/src/linux-headers-5.4.0-84/drivers/gpu/drm/nouveau
/usr/src/linux-headers-5.4.0-84/include/uapi/drm/nouveau_drm.h
/usr/src/linux-headers-5.4.0-84-generic/include/config/nouveau
/usr/src/linux-headers-5.4.0-84-generic/include/config/drm/nouveau
/usr/src/linux-headers-5.4.0-84-generic/include/config/drm/nouveau.h
/var/lib/dpkg/info/libdrm-nouveau2:amd64.list
/var/lib/dpkg/info/libdrm-nouveau2:amd64.md5sums
/var/lib/dpkg/info/libdrm-nouveau2:amd64.shlibs
/var/lib/dpkg/info/libdrm-nouveau2:amd64.symbols
/var/lib/dpkg/info/libdrm-nouveau2:amd64.triggers
/var/lib/dpkg/info/libdrm-nouveau2:i386.list
/var/lib/dpkg/info/libdrm-nouveau2:i386.md5sums
/var/lib/dpkg/info/libdrm-nouveau2:i386.shlibs
/var/lib/dpkg/info/libdrm-nouveau2:i386.symbols
/var/lib/dpkg/info/libdrm-nouveau2:i386.triggers
/var/lib/dpkg/info/xserver-xorg-video-nouveau.list
/var/lib/dpkg/info/xserver-xorg-video-nouveau.md5sums
of course this may vary somewhat depending on the Distro you are using.
 

kc1di

Active Member
Credits
1,598
I wouldn't try. If you have purged nouveau I would run this command
Code:
sudo apt autoremove
The reason I would not remove all the files is that some of them may be dependencies of other programs. the autoremove will remove any non-needed packages. If nouveau is removed from the system it will not interfere with your Nvidia drivers. Good luck.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Top