diff --git a/arch-install.sh b/arch-install.sh index 8ba38a7..538fa37 100755 --- a/arch-install.sh +++ b/arch-install.sh @@ -1248,7 +1248,7 @@ function abfrage() { [[ -z "${nvidia}" ]] && nvidia=n if lspci | grep -e VGA -e 3D -m 1 | grep AMD; then - read -p "Will you have activate youre AMD driver? : [y/N] " amd + read -p "Have you a AMD Graphic-Card or a Steam Deck? : [amd/steam/N] " amd fi [[ -z "${amd}" ]] && amd=n @@ -1620,10 +1620,14 @@ if [ "${nvidia}" == "y" ]; then echo "VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/nvidia_icd.json\"" >> ${mountpoint}/etc/environment fi -if [ "${amd}" == "y" ]; then +if [ "${amd}" == "amd" ]; then arch-chroot ${mountpoint} pacman -Sy lib32-amdvlk amdvlk opencl-mesa lib32-opencl-mesa --needed --noconfirm # https://wiki.archlinux.org/title/Vulkan#Selecting_Vulkan_driver echo "VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json\"" >> ${mountpoint}/etc/environment +elif [ "${amd}" == "steam" ]; then + arch-chroot ${mountpoint} pacman -Sy lib32-amdvlk amdvlk opencl-mesa lib32-opencl-mesa --needed --noconfirm + # https://wiki.archlinux.org/title/Vulkan#Selecting_Vulkan_driver + echo "AMD_VULKAN_ICD=RADV" >> ${mountpoint}/etc/environment fi if [ "${multicard}" == "y" ]; then diff --git a/packages.txt b/packages.txt index f230709..e264632 100644 --- a/packages.txt +++ b/packages.txt @@ -74,7 +74,8 @@ lib32-vulkan-validation-layers libheif libreoffice-fresh libva-intel-driver intel-media-driver org.freedesktop.secrets gnome-keyring -lib32-amdvlk amdvlk opencl-mesa lib32-opencl-mesa gamescope steam nvtop +lib32-amdvlk amdvlk opencl-mesa lib32-opencl-mesa glad python-glfw qt6-shadertools vkd3d lib32-vkd3d vkmark vulkan-extra-layers vulkan-extra-tools vulkan-swrast vulkan-validation-layers vulkan-virtio lib32-vulkan-swrast lib32-vulkan-virtio +gamescope steam nvtop libva-mesa-driver lib32-libva-mesa-driver mesa-vdpau lib32-mesa-vdpau libvdpau-va-gl libwacom xf86-input-wacom man man-pages man-pages-de