Merge pull request #12569 from selfcrypto/install-gpu-drivers-before-steam
Install lib32 graphics drivers before Steam
This commit is contained in:
2 files changed
+11
-2
No files matched your search
@@ -27,4 +27,6 @@ elif omarchy-hw-nvidia-without-gsp; then
|
|||||||
PACKAGES+=(lib32-nvidia-580xx-utils)
|
PACKAGES+=(lib32-nvidia-580xx-utils)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
(( ${#PACKAGES[@]} > 0 )) && omarchy-pkg-add "${PACKAGES[@]}"
|
if (( ${#PACKAGES[@]} > 0 )); then
|
||||||
|
omarchy-pkg-add "${PACKAGES[@]}"
|
||||||
|
fi
|
||||||
@@ -6,8 +6,15 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
echo "Installing Steam..."
|
echo "Installing Steam..."
|
||||||
omarchy-pkg-add steam
|
|
||||||
|
# Install the lib32 drivers first. Steam depends on the virtual package
|
||||||
|
# lib32-vulkan-driver, and omarchy-pkg-add runs pacman with --noconfirm, which
|
||||||
|
# resolves an unsatisfied virtual dependency to the first provider without
|
||||||
|
# asking. That provider is currently lib32-nvidia-utils, so installing Steam
|
||||||
|
# ahead of the drivers pulls the NVIDIA stack onto machines that have no NVIDIA
|
||||||
|
# GPU.
|
||||||
omarchy-install-gaming-gpu-lib32
|
omarchy-install-gaming-gpu-lib32
|
||||||
|
omarchy-pkg-add steam
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Steam will start automatically now. This might take a while..."
|
echo "Steam will start automatically now. This might take a while..."
|
||||||
|
|||||||
Reference in new issue
Block a user