OPINIONATED OMARCHY
TROUBLESHOOTING CORPUS
790
RECORDS
790
AUDITED
0
UNCHECKED
2388
SOURCES
LIVE
gpu-drivers high very-common DISPUTE

Steam and Proton fail with 'libGL error: failed to load driver' because the 32-bit graphics stack is missing

omarchy-4archendeavouroscachyosmanjaronvidiaamdgpuintelsteamprotondesktoplaptop
CORRECTED An auditor found the fix wrong or incomplete and rewrote it.
AUDIT NOTE

The diagnosis is right and the Omarchy-specific claims all hold up. Arch Steam wiki line 28 is the source for the provider warning almost verbatim: "By default, pacman alphabetically chooses lib32-nvidia-utils, which can introduce issues such as being unable to use Vulkan at all due to the driver not corresponding to your GPU vendor." Omarchy's shipped default/pacman/pacman-stable.conf does contain an uncommented [multilib] block, so 'skip on Omarchy' is correct. bin/omarchy-install-gaming-gpu-lib32 is real on quattro and does exactly what the record says: lspci-detects Intel/AMD and adds lib32-vulkan-intel/lib32-vulkan-radeon, plus lib32-nvidia-utils or lib32-nvidia-580xx-utils. lib32-vulkan-icd-loader, lib32-mesa, lib32-vulkan-radeon, lib32-vulkan-intel, lib32-nvidia-utils, lib32-libnm, lib32-systemd and lib32-pipewire all exist in multilib. Three fixable problems. (1) lib32-libva-mesa-driver is no longer a package. Mesa's VA-API driver was merged into mesa, and lib32-mesa now only *provides* the name (provides: lib32-libva-driver, lib32-libva-mesa-driver=1:26.2.1-1). It resolves via provides rather than hard-failing, but it is a stale name that will confuse anyone who searches for it. (2) lib32-libva-intel-driver is the legacy i965 driver for pre-Broadwell only. For anything Broadwell-or-newer the VA-API driver is intel-media-driver, and there is no lib32 build of it in the repos, so the Intel line silently gives a modern laptop the wrong VA-API driver. (3) Step 4's order is backwards: pacman -Rns lib32-nvidia-utils before installing a replacement will be refused, because steam depends on the lib32-vulkan-driver provision that lib32-nvidia-utils is currently satisfying. Install the correct ICD first, then remove.

The cause above was not rewritten and may still contain the error described. The fix below is the corrected version.
RISK

Never install a single lib32 package with pacman -Sy lib32-nvidia-utils. That is a partial upgrade and is exactly what produces the GLXBadContext/NVRM version skew this record is trying to fix. Use pacman -Syu. lib32-vulkan-intel and the NVIDIA Vulkan ICD are mutually exclusive per the Arch wiki. Installing both on one machine breaks Vulkan for everything. Enabling multilib pulls a full second architecture's worth of libraries, so expect a few hundred MB and a longer upgrade every time.

Symptom

Steam will not start, or games launch to a black window and die. Running steam from a terminal shows one of:


libGL error: MESA-LOADER: failed to open iris: /usr/lib32/dri/iris_dri.so: cannot open shared object file: No such file or directory
libGL error: failed to load driver: iris

libGL error: MESA-LOADER: failed to open radeonsi
libGL error: failed to load driver: radeonsi

On NVIDIA:


Steam: An X Error occurred
X Error of failed request:  GLXBadContext
Major opcode of failed request:  151

Proton titles add wine: failed to initialize vulkan or complain about no DRI3/Vulkan support. Native 64-bit apps and vkcube are fine. Only 32-bit ones break.

Cause

Steam's client is 32-bit and most Proton/Wine prefixes still load a 32-bit graphics path, so they need /usr/lib32/ copies of the whole stack: the Mesa DRI drivers, the Vulkan loader, and the vendor Vulkan ICD. Those live in the multilib repository, which is **not enabled by default on plain Arch** (it *is* pre-enabled in Omarchy's shipped pacman.conf). Even with multilib on, pacman -S steam only pulls a generic lib32-vulkan-driver provider, and the Arch wiki warns that pacman picks alphabetically, offering lib32-nvidia-utils first even on an AMD or Intel machine, which leaves you with no working 32-bit Vulkan at all.

The NVIDIA GLXBadContext variant is a version skew: nvidia-utils and lib32-nvidia-utils must be the *same* version, and they drift apart if you installed one of them via a partial upgrade or from a lagging mirror.

Fix

**1. Enable multilib (skip on Omarchy, already enabled in its shipped pacman.conf).**


grep -A1 '^\[multilib\]' /etc/pacman.conf
sudo sed -i '/^#\[multilib\]/,+1 s/^#//' /etc/pacman.conf
sudo pacman -Syu

**2. Omarchy 4 has a one-shot helper that detects your GPUs and installs the right set:**


omarchy-install-gaming-gpu-lib32

**3. Manual equivalent: install the lib32 packages matching your actual vendor.**


# always:
sudo pacman -S lib32-vulkan-icd-loader

# AMD:
sudo pacman -S lib32-mesa lib32-vulkan-radeon
#   (lib32-mesa now PROVIDES lib32-libva-mesa-driver - the standalone
#    lib32-libva-mesa-driver package no longer exists, so do not chase it.)

# Intel:
sudo pacman -S lib32-mesa lib32-vulkan-intel
#   VA-API on 32-bit Intel: there is NO lib32-intel-media-driver in the repos.
#   lib32-libva-intel-driver is the legacy i965 driver and is only correct on
#   pre-Broadwell hardware - do not install it on a modern laptop.

# NVIDIA proprietary (must match the 64-bit package exactly):
sudo pacman -S lib32-nvidia-utils
pacman -Q nvidia-utils lib32-nvidia-utils      # the two versions MUST be identical

# Pre-GSP NVIDIA (Maxwell/Pascal/Volta) is on the frozen 580 branch, in the AUR:
#   nvidia-580xx-utils + lib32-nvidia-580xx-utils - these two must match too.

If the versions do not match, do a full upgrade (never pacman -Sy lib32-nvidia-utils) and switch to an up-to-date mirror:


sudo pacman -Syu

**4. If you already answered a provider prompt wrongly**, install the correct ICD FIRST, then remove the wrong one. Removing first is refused, because steam depends on the lib32-vulkan-driver provision the wrong package is currently satisfying:


pacman -Qs 'lib32-vulkan|lib32-nvidia'
sudo pacman -S lib32-vulkan-radeon       # e.g. on an AMD-only machine
sudo pacman -Rns lib32-nvidia-utils      # now this succeeds

**5. Common extras that come up in the same breath:** lib32-libnm (Steam library window never appears), lib32-systemd (DNS resolution failures inside Steam), lib32-pipewire (no audio in 32-bit games).

Verify


ls /usr/share/vulkan/icd.d/            # must include a *.i686.json for your vendor
vulkaninfo --summary | head -30
LIBGL_DEBUG=verbose glxinfo -B 2>&1 | head

Steam starts to the library without the libGL error lines, and a 32-bit title (e.g. Half-Life 2) launches.

Sources

steam-proton-lib32-graphics-missing