add amdvlk for steam deck
This commit is contained in:
parent
eee56ec1ef
commit
0366c02649
2 changed files with 8 additions and 3 deletions
|
@ -1248,7 +1248,7 @@ function abfrage() {
|
||||||
[[ -z "${nvidia}" ]] && nvidia=n
|
[[ -z "${nvidia}" ]] && nvidia=n
|
||||||
|
|
||||||
if lspci | grep -e VGA -e 3D -m 1 | grep AMD; then
|
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
|
fi
|
||||||
[[ -z "${amd}" ]] && amd=n
|
[[ -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
|
echo "VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/nvidia_icd.json\"" >> ${mountpoint}/etc/environment
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${amd}" == "y" ]; then
|
if [ "${amd}" == "amd" ]; then
|
||||||
arch-chroot ${mountpoint} pacman -Sy lib32-amdvlk amdvlk opencl-mesa lib32-opencl-mesa --needed --noconfirm
|
arch-chroot ${mountpoint} pacman -Sy lib32-amdvlk amdvlk opencl-mesa lib32-opencl-mesa --needed --noconfirm
|
||||||
# https://wiki.archlinux.org/title/Vulkan#Selecting_Vulkan_driver
|
# https://wiki.archlinux.org/title/Vulkan#Selecting_Vulkan_driver
|
||||||
echo "VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json\"" >> ${mountpoint}/etc/environment
|
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
|
fi
|
||||||
|
|
||||||
if [ "${multicard}" == "y" ]; then
|
if [ "${multicard}" == "y" ]; then
|
||||||
|
|
|
@ -74,7 +74,8 @@ lib32-vulkan-validation-layers
|
||||||
libheif
|
libheif
|
||||||
libreoffice-fresh
|
libreoffice-fresh
|
||||||
libva-intel-driver intel-media-driver org.freedesktop.secrets gnome-keyring
|
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
|
libva-mesa-driver lib32-libva-mesa-driver mesa-vdpau lib32-mesa-vdpau libvdpau-va-gl
|
||||||
libwacom xf86-input-wacom
|
libwacom xf86-input-wacom
|
||||||
man man-pages man-pages-de
|
man man-pages man-pages-de
|
||||||
|
|
Loading…
Reference in a new issue