parent
bba2831375
commit
de7d147bdf
|
|
@ -103,7 +103,7 @@ gpu_type=$(lspci)
|
||||||
if grep -E "NVIDIA|GeForce" <<< ${gpu_type}; then
|
if grep -E "NVIDIA|GeForce" <<< ${gpu_type}; then
|
||||||
pacman -S nvidia --noconfirm --needed
|
pacman -S nvidia --noconfirm --needed
|
||||||
nvidia-xconfig
|
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
|
pacman -S xf86-video-amdgpu --noconfirm --needed
|
||||||
elif grep -E "Integrated Graphics Controller" <<< ${gpu_type}; then
|
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
|
pacman -S libva-intel-driver libvdpau-va-gl lib32-vulkan-intel vulkan-intel libva-intel-driver libva-utils lib32-mesa --needed --noconfirm
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue