Repository navigation
Install lib32 graphics drivers before Steam - #12569
Conversation
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) <noreply@anthropic.com>
Automated AI review
Verified: The reorder fixes the reported problem on Intel-only and AMD-only systems. Under
Steam is no longer installed when no GPU is detected
(( ${#PACKAGES[@]} > 0 )) && omarchy-pkg-add "${PACKAGES[@]}"When nothing matches (for example a VM with a virtio, QXL or VMware GPU, or an NVIDIA GPU older than the supported GSP/580xx ranges), Impact: On those systems the menu's Steam install now fails before installing Steam. The only output is "Installing lib32 graphics drivers...". Before this PR, Steam was installed (with the NVIDIA packages) and only the automatic launch was skipped. Suggested change: End if (( ${#PACKAGES[@]} > 0 )); then
omarchy-pkg-add "${PACKAGES[@]}"
fiSteam then installs on undetected hardware as before, with pacman choosing the provider. The other gaming installers that call this helper no longer stop at that point either. Falling back to a generic provider such as Related, outside this PR: Comment wording: The new code comment names Review informationTest scope: Source review of the changed script, the GPU detection helpers and pacman 7.x provider selection ( AI process: Opus 5.5 Medium coordination and synthesis, independent Opus 5.5 Xhigh and GPT 6 Sol Xhigh technical assessments, Opus 5.5 Medium editorial check. Opt out: To stop receiving these reviews, reply to this comment saying so. |
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 <noreply@anthropic.com>
|
Confirmed. With no detected GPU the trailing 65883c3 ends the helper with the same The |
Automated AI review
Follow-up to the earlier automated review and the author's reply. Checked revision: Verified: The no-GPU exit status finding is resolved, and the comment wording note is resolved. The earlier Verified results still hold at this head and on the current
No-GPU exit status: resolved
The author's claim about the other installers also holds: Lutris, Heroic and Battle.net now continue past the helper step on the virtio and Kepler systems and exit 0, where before they stopped with exit 1. With a GPU detected, the helper requests the same packages at every revision tested. When On undetected hardware, Steam still pulls in Overlapping earlier PR #8875Open PR #8875 ("Install lib32 GPU drivers before Steam", which says it fixes #8856), opened before this one, makes the same reorder in Suggested change: Reference #8856 in this PR's description. Also mention there that Review informationTest scope: Source review of the new commit, every caller of AI process: Opus 5.5 Medium coordination and synthesis, Opus 5.5 Xhigh technical review and final fact check, GPT 6 Sol Xhigh search for related issues, Opus 5.5 Medium editorial check. Opt out: To stop receiving these reviews, reply to this comment saying so. |
|
Reviewed at Reproduced on a disposable Omarchy worker. The worker ran the real
On the worker's own virtio GPU, where nothing is detected, the first commit alone stops with exit 1 before Steam is installed, and Second opinion: Codex Medium reviewed the same head and found no defect. It checked every caller of Competing fix: #8875 makes the same reorder without the helper change, so on a machine with no detected GPU it stops before installing Steam. Both reviews prefer this PR. #8875 stays open for the maintainer to close. This PR now says it fixes #8856. Out of scope here: This now waits on the maintainer. |
…steam Install lib32 graphics drivers before Steam (cherry picked from commit dda5b40)
Installing Steam on a machine with no NVIDIA GPU downloads and installs
nvidia-utilsandlib32-nvidia-utils(~1.8 GB installed).steamdepends on the virtual packagelib32-vulkan-driver.omarchy-pkg-addruns pacman with--noconfirm, so when nothing provides it yet pacman picks the first provider without prompting — that'slib32-nvidia-utils, which in turn pullsnvidia-utils.omarchy-install-gaming-gpu-lib32already picks the right driver, it just ran too late to matter.Swapping the two lines lets the correct driver satisfy the dependency first. Reproduced on an Intel UHD 620 laptop, no NVIDIA hardware present.
Fixes #8856