From de7d147bdfb88ae1c4ef867e817a51f60ac7752e Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Thu, 6 Jan 2022 13:56:08 -0600 Subject: [PATCH] Update 1-setup.sh Added AMD GPU fix --- 1-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-setup.sh b/1-setup.sh index a0aacf6..42baf52 100755 --- a/1-setup.sh +++ b/1-setup.sh @@ -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