mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Merge pull request #3956 from ashddev/fix/nvidia-legacy-driver-for-older-gpus
fix(nvidia): install legacy NVIDIA driver on older GPUs
This commit is contained in:
8
migrations/1766942230.sh
Normal file
8
migrations/1766942230.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
echo "Migrate legacy NVIDIA GPUs to nvidia-580xx driver (if needed)"
|
||||
|
||||
# Only migrate GTX 9xx or 10xx (Pascal/Maxwell)
|
||||
NVIDIA="$(lspci | grep -i 'nvidia')"
|
||||
if echo "$NVIDIA" | grep -qE "GTX 9|GTX 10"; then
|
||||
# Piping yes to override existing packages
|
||||
yes | sudo pacman -S nvidia-580xx-dkms nvidia-580xx-utils lib32-nvidia-580xx-utils
|
||||
fi
|
||||
Reference in New Issue
Block a user