You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
appimage: test coverage for host driver search paths (#722) #892
#722 (2fd806d) made build-aux/appimage/AppRun export host driver search paths (GBM_BACKENDS_PATH, LIBVA_DRIVERS_PATH, __EGL_VENDOR_LIBRARY_DIRS, __EGL_EXTERNAL_PLATFORM_CONFIG_DIRS, VK_DRIVER_FILES), including the NixOS driver closure under /run/opengl-driver, only when the user has not set them. Without it, NVIDIA on NixOS Wayland silently fell back to Mesa llvmpipe (~10 fps instead of 30, reported on beta.20261014, which predates #722). Related: #846 (GPU acceleration status light).
#722 shipped without the packaging test AGENTS.md requires (#426).
Wanted: test-appimage.sh runs the packaged AppImage with a fake NixOS driver tree (/run/opengl-driver/share/egl/egl_external_platform.d/10_nvidia_wayland.json and the GBM, DRI, glvnd and Vulkan dirs), reads the running obs process's /proc/<pid>/environ and asserts:
the variables are set and list the NixOS dirs plus the standard dirs that exist;
they are unset (or only the standard dirs) when no NixOS dirs exist;
a user-provided value is kept.
RED against the pre-#722 AppRun, GREEN against the current one.
Activity
zackees commentedon Oct 15, 2026
Claiming: 1. add test-apprun-driver-env.sh (namespace-isolated AppRun check, nixos/none/user), 2. wire it into test-appimage.sh bundle + first-start (real obs /proc environ). PR today.
test: Check the host driver search paths AppRun hands OBS (obs-rust#892…