Update 1-setup.sh

Added AMD GPU fix
This commit is contained in:
Chris Titus 2022-01-06 13:56:08 -06:00
parent bba2831375
commit de7d147bdf
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ gpu_type=$(lspci)
if grep -E "NVIDIA|GeForce" <<< ${gpu_type}; then
pacman -S nvidia --noconfirm --needed
nvidia-xconfig
elif grep -E "Radeon" <<< ${gpu_type}; then
elif lspci | grep 'VGA' | grep -E "Radeon|AMD"; then
pacman -S xf86-video-amdgpu --noconfirm --needed
elif grep -E "Integrated Graphics Controller" <<< ${gpu_type}; then
pacman -S libva-intel-driver libvdpau-va-gl lib32-vulkan-intel vulkan-intel libva-intel-driver libva-utils lib32-mesa --needed --noconfirm