Update Arch build with latest changes

This commit is contained in:
Josh.5
2023-07-09 20:23:42 +12:00
committed by Josh Sunnex
parent 0b600108f7
commit 42ebc826b8
10 changed files with 213 additions and 241 deletions

View File

@@ -85,7 +85,6 @@ function install_amd_gpu_driver {
echo "Install AMD vulkan driver"
if command -v pacman &> /dev/null; then
pacman -Syu --noconfirm --needed \
lib32-mesa \
lib32-vulkan-icd-loader \
lib32-vulkan-radeon \
vulkan-icd-loader \
@@ -105,7 +104,6 @@ function install_intel_gpu_driver {
echo "Install Intel vulkan driver"
if command -v pacman &> /dev/null; then
pacman -Syu --noconfirm --needed \
lib32-mesa \
lib32-vulkan-icd-loader \
lib32-vulkan-intel \
vulkan-icd-loader \
@@ -121,13 +119,6 @@ function install_intel_gpu_driver {
fi
}
# NVIDIA GPU
if [[ ! -z ${nvidia_pci_address} ]]; then
echo "**** Found NVIDIA device '${nvidia_gpu_name}' ****";
install_nvidia_driver
else
echo "**** No NVIDIA device found ****";
fi
# Intel Arc GPU or Intel CPU with possible iGPU
if [[ ! -z ${intel_gpu_model} ]]; then
echo "**** Found Intel device '${intel_gpu_model}' ****";
@@ -145,5 +136,12 @@ if [[ ! -z ${amd_gpu_model} ]]; then
else
echo "**** No AMD device found ****";
fi
# NVIDIA GPU
if [[ ! -z ${nvidia_pci_address} ]]; then
echo "**** Found NVIDIA device '${nvidia_gpu_name}' ****";
install_nvidia_driver
else
echo "**** No NVIDIA device found ****";
fi
echo "DONE"