Verschiedene verbesserungen für das Steam Deck
This commit is contained in:
parent
7656494a3a
commit
eee56ec1ef
3 changed files with 6 additions and 1 deletions
|
@ -1239,6 +1239,9 @@ function abfrage() {
|
||||||
read -p "Should you autologin in youre System? : [Y/n] " autologin
|
read -p "Should you autologin in youre System? : [Y/n] " autologin
|
||||||
[[ -z "${autologin}" ]] && autologin=y
|
[[ -z "${autologin}" ]] && autologin=y
|
||||||
|
|
||||||
|
read -p "Should you start Sway (default) or I3? : [SWAY/I3] " autostartdesktop
|
||||||
|
[[ -z "${autostartdesktop}" ]] && autostartdesktop=sway
|
||||||
|
|
||||||
if lspci | grep -e VGA -e 3D -m 1 | grep NVIDIA; then
|
if lspci | grep -e VGA -e 3D -m 1 | grep NVIDIA; then
|
||||||
read -p "Will you have activate youre Nvidia driver? : [y/N] " nvidia
|
read -p "Will you have activate youre Nvidia driver? : [y/N] " nvidia
|
||||||
fi
|
fi
|
||||||
|
@ -1618,6 +1621,7 @@ if [ "${nvidia}" == "y" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${amd}" == "y" ]; then
|
if [ "${amd}" == "y" ]; 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
|
# 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
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -64,7 +64,7 @@ function mount_chroot() {
|
||||||
|
|
||||||
function system() {
|
function system() {
|
||||||
|
|
||||||
pacman -Syu arch-install-scripts squashfs-tools dosfstools libisoburn --needed --noconfirm
|
pacman -Sy arch-install-scripts squashfs-tools dosfstools libisoburn --needed --noconfirm
|
||||||
|
|
||||||
if [ "${makesystem}" == "y" ]; then
|
if [ "${makesystem}" == "y" ]; then
|
||||||
mkdir -p ${work_dir}/${arch}/airootfs
|
mkdir -p ${work_dir}/${arch}/airootfs
|
||||||
|
|
|
@ -74,6 +74,7 @@ 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
|
||||||
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