Merge pull request #4138 from Nm1ss/patch-1

Fix NVIDIA Legacy Driver for Older Professional/Workstation GPUs
This commit is contained in:
David Heinemeier Hansson
2026-01-08 09:58:43 +01:00
committed by GitHub

View File

@@ -7,8 +7,8 @@ if [ -n "$NVIDIA" ]; then
if echo "$NVIDIA" | grep -qE "RTX [2-9][0-9]|GTX 16"; then if echo "$NVIDIA" | grep -qE "RTX [2-9][0-9]|GTX 16"; then
# Turing (16xx, 20xx), Ampere (30xx), Ada (40xx), and newer recommend the open-source kernel modules # Turing (16xx, 20xx), Ampere (30xx), Ada (40xx), and newer recommend the open-source kernel modules
PACKAGES=(nvidia-open-dkms nvidia-utils lib32-nvidia-utils libva-nvidia-driver) PACKAGES=(nvidia-open-dkms nvidia-utils lib32-nvidia-utils libva-nvidia-driver)
elif echo "$NVIDIA" | grep -qE "GTX 9|GTX 10"; then elif echo "$NVIDIA" | grep -qE "GTX 9|GTX 10|Quadro P"; then
# Pascal (10xx) and Maxwell (9xx) use legacy branch that can only be installed from AUR # Pascal (10xx or Quadro Pxxx) and Maxwell (9xx) use legacy branch that can only be installed from AUR
PACKAGES=(nvidia-580xx-dkms nvidia-580xx-utils lib32-nvidia-580xx-utils) PACKAGES=(nvidia-580xx-dkms nvidia-580xx-utils lib32-nvidia-580xx-utils)
fi fi
# Bail if no supported GPU # Bail if no supported GPU