Howto install nvidia drivers: Difference between revisions

From Vidalinux Wiki
Jump to navigation Jump to search
Line 16: Line 16:
= remove nvidia drivers =
= remove nvidia drivers =
remove the following packages:
remove the following packages:
  pacman -R lib32-nvidia-utils lib32-opencl-nvidia nvidia-dkms nvidia-settings nvidia-utils opencl-nvidia
  pacman -R lib32-nvidia-utils lib32-opencl-nvidia nvidia-dkms nvidia-settings nvidia-utils opencl-nvidia lib32-virtualgl
remove the following file:
remove the following file:
  rm /etc/modprobe.d/blacklist-nouveau.conf
  rm /etc/modprobe.d/blacklist-nouveau.conf
reboot system:
reboot system:
  reboot
  reboot

Revision as of 20:56, 4 October 2023

archlinux

identify the your current nvidia card driver:

lspci -k|grep -EA2 VGA

blacklist nouveau drivers:

cat > /etc/modprobe.d/blacklist-nouveau.conf << EOF
blacklist nouveau
options nouveau modeset=0
alias nouveau off
EOF

install nvidia latest drivers:

pacman -Sy nvidia-dkms nvidia-settings opencl-nvidia lib32-opencl-nvidia lib32-virtualgl lib32-nvidia-utils lib32-mesa-libgl nvidia-utils 

reboot system:

reboot

when reboot use the following command to identify your nvidia drivers version:

cat /proc/driver/nvidia/version

remove nvidia drivers

remove the following packages:

pacman -R lib32-nvidia-utils lib32-opencl-nvidia nvidia-dkms nvidia-settings nvidia-utils opencl-nvidia lib32-virtualgl 

remove the following file:

rm /etc/modprobe.d/blacklist-nouveau.conf

reboot system:

reboot