Howto install nvidia drivers: Difference between revisions

From Vidalinux Wiki
Jump to navigation Jump to search
m (Protected "Howto install nvidia drivers" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
Line 8: Line 8:
  alias nouveau off
  alias nouveau off
  EOF
  EOF
install nvidia latest drivers:
install nvidia latest stable drivers:
  pacman -Sy nvidia-dkms nvidia-settings opencl-nvidia lib32-opencl-nvidia lib32-virtualgl lib32-nvidia-utils lib32-mesa-libgl nvidia-utils  
  pacman -Sy nvidia-dkms nvidia-settings opencl-nvidia lib32-opencl-nvidia lib32-virtualgl lib32-nvidia-utils lib32-mesa-libgl nvidia-utils  
or install latest nvidia beta drivers:
su - username
yay -S lib32-opencl-nvidia-beta opencl-nvidia-beta nvidia-beta-dkms
reboot system:
reboot system:
  reboot
  reboot
when reboot use the following command to identify your nvidia drivers version:
when reboot use the following command to identify your nvidia drivers version:
  cat /proc/driver/nvidia/version
  cat /proc/driver/nvidia/version
= remove nvidia drivers =
= remove nvidia drivers =
remove the following packages:
remove the following packages:

Revision as of 21:40, 24 January 2024

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 stable drivers:

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

or install latest nvidia beta drivers:

su - username
yay -S lib32-opencl-nvidia-beta opencl-nvidia-beta nvidia-beta-dkms 

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

nvidia thermal settings

if you have issues controlling thermal settings add the following file:

cat >> /etc/X11/Xwrapper.config < EOF
needs_root_rights=yes
allowed_users=console
EOF