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