From 4c5f363df79d7a0b41716912664511b723d86eac Mon Sep 17 00:00:00 2001 From: selfcrypto Date: Sun, 20 Sep 2026 00:02:56 +0200 Subject: [PATCH 1/2] Install lib32 graphics drivers before Steam Steam depends on the virtual package lib32-vulkan-driver. omarchy-pkg-add runs pacman with --noconfirm, which silently resolves that to the first provider, lib32-nvidia-utils, pulling the NVIDIA stack onto machines with no NVIDIA GPU. Running omarchy-install-gaming-gpu-lib32 first satisfies the dependency with the driver that matches the detected GPU. Co-Authored-By: Claude Opus 5 (1M context) --- bin/omarchy-install-gaming-steam | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bin/omarchy-install-gaming-steam b/bin/omarchy-install-gaming-steam index cefe8ce6..0184bdff 100755 --- a/bin/omarchy-install-gaming-steam +++ b/bin/omarchy-install-gaming-steam @@ -6,8 +6,14 @@ set -e 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 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-pkg-add steam echo "" echo "Steam will start automatically now. This might take a while..." From 65883c389082650edb14db012466397afff8ac8b Mon Sep 17 00:00:00 2001 From: Kike Ferrater Date: Fri, 25 Sep 2026 19:26:21 +0200 Subject: [PATCH 2/2] Keep the lib32 driver helper from failing when no GPU is detected With an empty package list the trailing && left the helper with exit status 1, which stopped the Steam installer before Steam was installed. Co-Authored-By: Claude Opus 5.5 --- bin/omarchy-install-gaming-gpu-lib32 | 4 +++- bin/omarchy-install-gaming-steam | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/bin/omarchy-install-gaming-gpu-lib32 b/bin/omarchy-install-gaming-gpu-lib32 index 2e4e3533..f3c3d5b8 100755 --- a/bin/omarchy-install-gaming-gpu-lib32 +++ b/bin/omarchy-install-gaming-gpu-lib32 @@ -27,4 +27,6 @@ elif omarchy-hw-nvidia-without-gsp; then PACKAGES+=(lib32-nvidia-580xx-utils) fi -(( ${#PACKAGES[@]} > 0 )) && omarchy-pkg-add "${PACKAGES[@]}" +if (( ${#PACKAGES[@]} > 0 )); then + omarchy-pkg-add "${PACKAGES[@]}" +fi diff --git a/bin/omarchy-install-gaming-steam b/bin/omarchy-install-gaming-steam index 0184bdff..8b977f2c 100755 --- a/bin/omarchy-install-gaming-steam +++ b/bin/omarchy-install-gaming-steam @@ -10,8 +10,9 @@ echo "Installing 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 lib32-nvidia-utils, so installing Steam ahead of the -# drivers pulls the NVIDIA stack onto machines that have no NVIDIA GPU. +# 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-pkg-add steam