Updated installation of linux firmware and vulkan drivers

This commit is contained in:
2025-07-05 03:35:24 +00:00
parent c5efc40fbe
commit ba1785ebdc

8
setup
View File

@@ -51,7 +51,7 @@ exit
printf '\033c' printf '\033c'
# Downloading the kernel base developement and network packages and starting thier services # Downloading the kernel base developement and network packages and starting thier services
pacman -S --noconfirm sed linux linux-headers base-devel networkmanager wpa_supplicant wireless_tools netctl dialog pacman -S --noconfirm sed linux linux-headers linux-firmware base-devel networkmanager wpa_supplicant wireless_tools netctl dialog
systemctl enable NetworkManager systemctl enable NetworkManager
# Increasing pacman's download streams to 5 # Increasing pacman's download streams to 5
@@ -118,9 +118,11 @@ fi
read -p "Do you have AMD gpu or Nvidia gpu? [amd/nvidia]" answer read -p "Do you have AMD gpu or Nvidia gpu? [amd/nvidia]" answer
if [[ $answer = nvidia ]] ; then if [[ $answer = nvidia ]] ; then
pacman --noconfirm -Sy nvidia pacman --noconfirm -Sy nvidia lib32-nvidia-utils nvidia-utils
elseif [[ $answer = amd ]] ; then
pacman --noconfirm -Sy mesa lib32-mesa vulkan-radeon lib32-vulkan-radeon xf86-video-amdgpu
else else
pacman --noconfirm -Sy mesa pacman --noconfirm -Sy mesa lib32-mesa vulkan-intel lib32-vulkan-intel xorg-server
fi fi
echo "Pre-Installation Finish Reboot now" echo "Pre-Installation Finish Reboot now"