Skip to content

appimage: Install libvpl in the manylinux image so the qsv build configures - #1888

Merged
zackees merged 2 commits into
masterfrom
fix/1863-appimage-libvpl
Oct 23, 2026
Merged

zackees merged 2 commits into
masterfrom
fix/1863-appimage-libvpl

Conversation

@zackees

@zackees zackees commented Oct 23, 2026

Copy link
Copy Markdown
Member

Refs #1863 (part of #1866). Depends on obs-rust/obs-studio-libs#10, the recipe. The artifact it builds is already published as release libvpl-2.17.0 and catalogued on assets (c74980e), so this PR doesn't wait on that PR merging.

Problem. appimage.yaml's qsv input is the only way to build obs-qsv11 into the AppImage, and it's broken since the move to the manylinux image (#926). AlmaLinux 8 has no oneVPL package, and libvpl-dev in build.py is from the old Ubuntu base. Run 39899437010 (qsv=true, master): Could NOT find VPL (missing: VPL_LIBRARY VPL_INCLUDE_DIR) (Required is at least version "2.9").

Fix. libvpl 2.17.0 (the dispatcher only; the GPU runtime stays the host's) comes from obs-studio-libs like libdatachannel in #1871: a deps.lock.json entry (sha256 29e98737…) and /opt/obs-deps/libvpl on CMAKE_PREFIX_PATH and LD_LIBRARY_PATH. The default AppImage still builds without QSV until the hardware run on #1863.

RED 71dc9d4: ci/test_appimage_qsv_deps.py (2 cases, milliseconds, runs in ./lint) fails: no libvpl in the lock or on the paths.
GREEN this commit: both pass. The pinned fetch CLI (b35437f) installs it from this lock (checked in a container: libvpl.so.2.17, lib/cmake/vpl/VPLConfig.cmake).

End to end. A qsv=true AppImage build from this branch, run 39901601164, will be linked here when it finishes.

CI cost. None on PRs: AppImage builds don't run from a PR path. The image gains a 282 KB archive.

appimage.yaml's qsv input builds obs-qsv11, which needs VPL 2.9, but the
manylinux image (AlmaLinux 8) has no oneVPL package: run 39899437010
failed to configure ("Could NOT find VPL"). The test requires libvpl in
deps.lock.json and on the image's CMake and loader paths; it fails.

Refs #1863
From obs-rust/obs-studio-libs (release libvpl-2.17.0, recipe
obs-rust/obs-studio-libs#10), on the image's CMake and loader paths, so
appimage.yaml's qsv input can configure obs-qsv11. The default AppImage
still builds without QSV until the hardware run on #1863.

Refs #1863
@zackees

zackees commented Oct 23, 2026

Copy link
Copy Markdown
Member Author

End to end: the qsv=true AppImage build from this branch, https://github.com/obs-rust/obs-studio/actions/runs/39901601164, succeeded. Configure reports Found VPL: /opt/obs-deps/libvpl/lib/libvpl.so (Required is at least version "2.9"). The artifact contains usr/lib/obs-studio-rust/obs-modules/core/obs-qsv11.so and usr/lib/libvpl.so.2, and ldd on the extracted plugin resolves libvpl.so.2 to the AppDir copy. (On master the same build failed at Configure, run 39899437010.)

Merged via the queue into master with commit 6aec1c3 Oct 23, 2026
34 checks passed
@zackees
zackees deleted the fix/1863-appimage-libvpl branch October 23, 2026 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant