Repository navigation
appimage: test that OBS starts on a host without libva (#959) - #1981
Merged
Merged
Conversation
New test-appimage.sh scenario first-start-no-libva: deletes libva from the container, then runs the first-start checks and requires that OBS maps no libva and that the hostlib shim reports it unavailable at most once. Runs on AlmaLinux 8 and Ubuntu 22.04.
This was referenced Oct 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #959.
The loader #959 asks for already shipped inside #927 (
build-aux/appimage/hostlib/: Implib.so shimslibobs-va*.so.2,patchelf --replace-needed, and theobs-hostlib-checkpreflight in AppRun). The issue stayed open because no packaged-artifact test covers it, which the packaging rule (#426) requires. This PR adds lane 1.Change: a new
test-appimage.shscenario,first-start-no-libva, run on AlmaLinux 8 and Ubuntu 22.04 inappimage.yaml. It deletes everylibva*.so*from the container, then runs the full first-start checks (window, rendering, mapped libraries) and also requires:error while loading shared libraries;hostlib: valine, and if there is one it saysunavailable. The shim resolves lazily, so it logs only when something calls into VA-API.Evidence (packaged AppImage, the way users run it):
continuousAppImage (beta.20261023), Ubuntu 24.04 and AlmaLinux 8: libva deleted, the OBS window renders, and every new check passes.libavutil.so.60patched back toDT_NEEDED libva.so.2, run on Ubuntu 24.04 with no libva:obs-studio-rust-gui: error while loading shared libraries: libva.so.2: cannot open shared object file, exactly appimage: load optional host libraries (libva) lazily, and fail clearly when a required one is missing #959's symptom, which this scenario fails on. No published AppImage predates the shims, so this stands in for RED.first-startfails them the same way: it was built before test(appimage): first-start checks OBS loads the host's libnvidia-ml.so.1 (#1970) #1972 (the NVML check) and beforeobs-webrtc.sowas required. PR CI tests a fresh build../lintpasses.Still open on #959: lane 2 (libva present: the host's libva is mapped), lane 3 (a required library removed: exit 127 and the message), and lane 4 (NixOS-shaped
/run/opengl-driver/lib;test-appimage-nixos.shpartly covers it).hostlib/test-hostlib.shcovers those paths on a small AppDir but is not run in CI.