Repository navigation
appimage: use host VA drivers with audited FFmpeg compatibility and GPU checks - #722
Merged
Merged
Conversation
Local-Gate: v1 tree=976ba74a86fd63165ddad822d7b0b37d7e82115c secs=529 lanes=lint:run,rust-test:run,cross:run,tier2-linux:run
Ci-Attestation: {"at":1791973598,"gate":"rust/all/fmt","host":"linux-x86_64","key":"f13e8711ec789cf4f438af3a8537d3ff4d65ab0ab3be09c2df48e1a0e3f795eb","lane":"lint","parents":["b9038d10df7105e2799fb327a0af2ddd1ad1c0af"],"secs":27,"stamp":"9d8aeabf78d4e24d6744b2aedaaa0c98","tree":"976ba74a86fd63165ddad822d7b0b37d7e82115c","v":1,"via":"run"}
Ci-Attestation: {"at":1791973598,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"f13e8711ec789cf4f438af3a8537d3ff4d65ab0ab3be09c2df48e1a0e3f795eb","lane":"lint","parents":["b9038d10df7105e2799fb327a0af2ddd1ad1c0af"],"secs":27,"stamp":"2643524b83a8414bc9d8f06619e1f5f6","tree":"976ba74a86fd63165ddad822d7b0b37d7e82115c","v":1,"via":"run"}
Ci-Attestation: {"at":1791973598,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"186e0ba5135002d77b55d10873f9a728f1b9e0081e9045f766bcd0882026ccbc","lane":"rust-test","parents":["b9038d10df7105e2799fb327a0af2ddd1ad1c0af"],"secs":164,"stamp":"7f1be8950939c246b1af0f79b81465de","tree":"976ba74a86fd63165ddad822d7b0b37d7e82115c","v":1,"via":"run"}
Ci-Attestation: {"at":1791973598,"gate":"rust/x86_64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"ce9b074f0f343c006659035a337fc2d880e6619a925502d73db83f3adf5a9620","lane":"cross","parents":["b9038d10df7105e2799fb327a0af2ddd1ad1c0af"],"secs":136,"stamp":"2ce7da014a1667e860a5fc0100e5d614","tree":"976ba74a86fd63165ddad822d7b0b37d7e82115c","v":1,"via":"run"}
Ci-Attestation: {"at":1791973598,"gate":"rust/x86_64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"ce9b074f0f343c006659035a337fc2d880e6619a925502d73db83f3adf5a9620","lane":"cross","parents":["b9038d10df7105e2799fb327a0af2ddd1ad1c0af"],"secs":136,"stamp":"9b658f1da57f6aaf6271e68598e7d784","tree":"976ba74a86fd63165ddad822d7b0b37d7e82115c","v":1,"via":"run"}
Ci-Attestation: {"at":1791973598,"gate":"rust/aarch64-apple-darwin/clippy","host":"linux-x86_64","key":"ce9b074f0f343c006659035a337fc2d880e6619a925502d73db83f3adf5a9620","lane":"cross","parents":["b9038d10df7105e2799fb327a0af2ddd1ad1c0af"],"secs":136,"stamp":"cbb9944c571ff3899e7b20e219314ccc","tree":"976ba74a86fd63165ddad822d7b0b37d7e82115c","v":1,"via":"run"}
Ci-Attestation: {"at":1791973598,"gate":"rust/aarch64-apple-darwin/dylint","host":"linux-x86_64","key":"ce9b074f0f343c006659035a337fc2d880e6619a925502d73db83f3adf5a9620","lane":"cross","parents":["b9038d10df7105e2799fb327a0af2ddd1ad1c0af"],"secs":136,"stamp":"d1aa281448a5c8abb4f0dd8967c6b7d9","tree":"976ba74a86fd63165ddad822d7b0b37d7e82115c","v":1,"via":"run"}
Ci-Attestation: {"at":1791973598,"gate":"rust/x86_64-apple-darwin/clippy","host":"linux-x86_64","key":"ce9b074f0f343c006659035a337fc2d880e6619a925502d73db83f3adf5a9620","lane":"cross","parents":["b9038d10df7105e2799fb327a0af2ddd1ad1c0af"],"secs":136,"stamp":"50710d59768120c02f153fd87280847a","tree":"976ba74a86fd63165ddad822d7b0b37d7e82115c","v":1,"via":"run"}
Ci-Attestation: {"at":1791973598,"gate":"rust/x86_64-apple-darwin/dylint","host":"linux-x86_64","key":"ce9b074f0f343c006659035a337fc2d880e6619a925502d73db83f3adf5a9620","lane":"cross","parents":["b9038d10df7105e2799fb327a0af2ddd1ad1c0af"],"secs":136,"stamp":"d7bd3cfa8e4a1349b37ee784cd0f06c3","tree":"976ba74a86fd63165ddad822d7b0b37d7e82115c","v":1,"via":"run"}
Ci-Attestation: {"at":1791973598,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"07491558ae40ce8af2da67320e3e257d9c67002aee6a7bc6142908c53541cf3c","lane":"tier2-linux","parents":["b9038d10df7105e2799fb327a0af2ddd1ad1c0af"],"secs":202,"stamp":"c563ab779493f4f84691d578efbd0f78","tree":"976ba74a86fd63165ddad822d7b0b37d7e82115c","v":1,"via":"run"}
…625) Local-Gate: v1 tree=f396fa907302545dd95f2b647d01e11e28de827d secs=481 lanes=lint:run,rust-test:run,cross:run,tier2-linux:run Ci-Attestation: {"at":1791975576,"gate":"rust/all/fmt","host":"linux-x86_64","key":"4295693d10f154251d2ee7112a88abb18ca6535a1a5a395516bb551086a0c14c","lane":"lint","parents":["9abf5638c152d21c35a699812f156f494c3939d9"],"secs":85,"stamp":"ec57a3d1fe534acd10c9b7b8c3aef453","tree":"f396fa907302545dd95f2b647d01e11e28de827d","v":1,"via":"run"} Ci-Attestation: {"at":1791975576,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"4295693d10f154251d2ee7112a88abb18ca6535a1a5a395516bb551086a0c14c","lane":"lint","parents":["9abf5638c152d21c35a699812f156f494c3939d9"],"secs":85,"stamp":"a3389979a5caab1b762c7a79b0225ac3","tree":"f396fa907302545dd95f2b647d01e11e28de827d","v":1,"via":"run"} Ci-Attestation: {"at":1791975576,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"ff1b4211edaccf8a5223f39cb9f783703bcccdd78fc460c70f47dc70ab00253b","lane":"rust-test","parents":["9abf5638c152d21c35a699812f156f494c3939d9"],"secs":119,"stamp":"f0d7a365b0272b3f721185b6d8b1ebb1","tree":"f396fa907302545dd95f2b647d01e11e28de827d","v":1,"via":"run"} Ci-Attestation: {"at":1791975576,"gate":"rust/x86_64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"9d215d41e3e18cca5ef7ef62c4eb87c2910a60d178f929f08b1d3bcad76b6476","lane":"cross","parents":["9abf5638c152d21c35a699812f156f494c3939d9"],"secs":93,"stamp":"a9f06c066a0fee39b126c8ed4a4f9b90","tree":"f396fa907302545dd95f2b647d01e11e28de827d","v":1,"via":"run"} Ci-Attestation: {"at":1791975576,"gate":"rust/x86_64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"9d215d41e3e18cca5ef7ef62c4eb87c2910a60d178f929f08b1d3bcad76b6476","lane":"cross","parents":["9abf5638c152d21c35a699812f156f494c3939d9"],"secs":93,"stamp":"3a02a5b8d02c24a01bef323b8800593d","tree":"f396fa907302545dd95f2b647d01e11e28de827d","v":1,"via":"run"} Ci-Attestation: {"at":1791975576,"gate":"rust/aarch64-apple-darwin/clippy","host":"linux-x86_64","key":"9d215d41e3e18cca5ef7ef62c4eb87c2910a60d178f929f08b1d3bcad76b6476","lane":"cross","parents":["9abf5638c152d21c35a699812f156f494c3939d9"],"secs":93,"stamp":"47f8370e56b3363f0b0c6cd94130fd2d","tree":"f396fa907302545dd95f2b647d01e11e28de827d","v":1,"via":"run"} Ci-Attestation: {"at":1791975576,"gate":"rust/aarch64-apple-darwin/dylint","host":"linux-x86_64","key":"9d215d41e3e18cca5ef7ef62c4eb87c2910a60d178f929f08b1d3bcad76b6476","lane":"cross","parents":["9abf5638c152d21c35a699812f156f494c3939d9"],"secs":93,"stamp":"15b0b6d3a203e71101c708c9c5dda74d","tree":"f396fa907302545dd95f2b647d01e11e28de827d","v":1,"via":"run"} Ci-Attestation: {"at":1791975576,"gate":"rust/x86_64-apple-darwin/clippy","host":"linux-x86_64","key":"9d215d41e3e18cca5ef7ef62c4eb87c2910a60d178f929f08b1d3bcad76b6476","lane":"cross","parents":["9abf5638c152d21c35a699812f156f494c3939d9"],"secs":93,"stamp":"f1fab6ab4fae9a814bb5bd0e8e35b8ff","tree":"f396fa907302545dd95f2b647d01e11e28de827d","v":1,"via":"run"} Ci-Attestation: {"at":1791975576,"gate":"rust/x86_64-apple-darwin/dylint","host":"linux-x86_64","key":"9d215d41e3e18cca5ef7ef62c4eb87c2910a60d178f929f08b1d3bcad76b6476","lane":"cross","parents":["9abf5638c152d21c35a699812f156f494c3939d9"],"secs":93,"stamp":"3b57489013c4d60fd6cb5097da2bcfd3","tree":"f396fa907302545dd95f2b647d01e11e28de827d","v":1,"via":"run"} Ci-Attestation: {"at":1791975576,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"bd897cd9df927d30adcefedfd8bc08823876479838ead833476c7adca3da459d","lane":"tier2-linux","parents":["9abf5638c152d21c35a699812f156f494c3939d9"],"secs":183,"stamp":"644996391bb8dea7d9db94f139d87df4","tree":"f396fa907302545dd95f2b647d01e11e28de827d","v":1,"via":"run"}
Local-Gate: v1 tree=154b2d859fbe0d9538a5eeca11d18721cf164071 secs=411 lanes=lint:run,rust-test:run,cross:run,tier2-linux:run
Ci-Attestation: {"at":1791977383,"gate":"rust/all/fmt","host":"linux-x86_64","key":"6d98d9696da7ba6697bc1410492dbf098109e898a06fe2f4e71b0c4e9d5ce5a8","lane":"lint","parents":["8f1f6fd9cff121b4c524a5f66bb9625724123c70"],"secs":35,"stamp":"15054fe953fbd158b16e2e13a62ba21e","tree":"154b2d859fbe0d9538a5eeca11d18721cf164071","v":1,"via":"run"}
Ci-Attestation: {"at":1791977383,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"6d98d9696da7ba6697bc1410492dbf098109e898a06fe2f4e71b0c4e9d5ce5a8","lane":"lint","parents":["8f1f6fd9cff121b4c524a5f66bb9625724123c70"],"secs":35,"stamp":"bdb36e2b7648e8d866f3369c68a8db78","tree":"154b2d859fbe0d9538a5eeca11d18721cf164071","v":1,"via":"run"}
Ci-Attestation: {"at":1791977383,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"ad499f3e3475de97fa11ae6f295376c4ccd11d6672aac04edb5eb3473e971680","lane":"rust-test","parents":["8f1f6fd9cff121b4c524a5f66bb9625724123c70"],"secs":119,"stamp":"74c06cf3b97186c4ac07185352f4ef71","tree":"154b2d859fbe0d9538a5eeca11d18721cf164071","v":1,"via":"run"}
Ci-Attestation: {"at":1791977383,"gate":"rust/x86_64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"7b6ae66d32464919d7ff05c1c35d8643a4b539c99b5b01ee67142f8796440341","lane":"cross","parents":["8f1f6fd9cff121b4c524a5f66bb9625724123c70"],"secs":107,"stamp":"e233fec26860f0f8bd054f1361c6a553","tree":"154b2d859fbe0d9538a5eeca11d18721cf164071","v":1,"via":"run"}
Ci-Attestation: {"at":1791977383,"gate":"rust/x86_64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"7b6ae66d32464919d7ff05c1c35d8643a4b539c99b5b01ee67142f8796440341","lane":"cross","parents":["8f1f6fd9cff121b4c524a5f66bb9625724123c70"],"secs":107,"stamp":"87f1457f60edc97fe0948baa3252611e","tree":"154b2d859fbe0d9538a5eeca11d18721cf164071","v":1,"via":"run"}
Ci-Attestation: {"at":1791977383,"gate":"rust/aarch64-apple-darwin/clippy","host":"linux-x86_64","key":"7b6ae66d32464919d7ff05c1c35d8643a4b539c99b5b01ee67142f8796440341","lane":"cross","parents":["8f1f6fd9cff121b4c524a5f66bb9625724123c70"],"secs":107,"stamp":"0f70dcf97591fa69c2f7ed8811bfd82b","tree":"154b2d859fbe0d9538a5eeca11d18721cf164071","v":1,"via":"run"}
Ci-Attestation: {"at":1791977383,"gate":"rust/aarch64-apple-darwin/dylint","host":"linux-x86_64","key":"7b6ae66d32464919d7ff05c1c35d8643a4b539c99b5b01ee67142f8796440341","lane":"cross","parents":["8f1f6fd9cff121b4c524a5f66bb9625724123c70"],"secs":107,"stamp":"fea8936f074884623f4dcd79ae7d2c16","tree":"154b2d859fbe0d9538a5eeca11d18721cf164071","v":1,"via":"run"}
Ci-Attestation: {"at":1791977383,"gate":"rust/x86_64-apple-darwin/clippy","host":"linux-x86_64","key":"7b6ae66d32464919d7ff05c1c35d8643a4b539c99b5b01ee67142f8796440341","lane":"cross","parents":["8f1f6fd9cff121b4c524a5f66bb9625724123c70"],"secs":107,"stamp":"536058b7eae239f24e452decb02eab5c","tree":"154b2d859fbe0d9538a5eeca11d18721cf164071","v":1,"via":"run"}
Ci-Attestation: {"at":1791977383,"gate":"rust/x86_64-apple-darwin/dylint","host":"linux-x86_64","key":"7b6ae66d32464919d7ff05c1c35d8643a4b539c99b5b01ee67142f8796440341","lane":"cross","parents":["8f1f6fd9cff121b4c524a5f66bb9625724123c70"],"secs":107,"stamp":"853fd9c387873671b146c9afdf6a5057","tree":"154b2d859fbe0d9538a5eeca11d18721cf164071","v":1,"via":"run"}
Ci-Attestation: {"at":1791977383,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"c4bb26e5cf9e7b30435f96e8600995a6410118b32b8930930fe28556fe9b0988","lane":"tier2-linux","parents":["8f1f6fd9cff121b4c524a5f66bb9625724123c70"],"secs":149,"stamp":"f95e9ab7e0aa6f30a29f91551488e891","tree":"154b2d859fbe0d9538a5eeca11d18721cf164071","v":1,"via":"run"}
zackees
force-pushed
the
fix/625-host-va-gbm-runtime
branch
from
October 14, 2026 11:30
2105869 to
43e6d83
Compare
zackees
marked this pull request as ready for review
October 14, 2026 11:53
This was referenced Oct 14, 2026
chriscoveries
pushed a commit
to chriscoveries/obsrust-fork
that referenced
this pull request
Oct 15, 2026
This was referenced Oct 15, 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.
Summary
Fixes #625. Refs #635. The final built AppImage passed distribution and physical GPU checks.
vaMapBuffer2call and a legacyvaMapBufferfallback. Keep the original configuration and hardware backends. Verify pinned source archives, exported ABI including data layouts, version, actual registered backends and absence of the mandatory newer VA symbol before assembly.gpuscenario: GBM buffer export, modifier-aware EGL DMA-BUF import, twelve frames of complete pixel readback, and twelve VAAPI-decoded hardware surfaces downloaded and compared byte-for-byte to an independent software reference. Require host driver maps and packaged FFmpeg maps; fail on absent devices, software fallback, mismatches or timeout.RED → GREEN
c81057a73: actual assembly selector retains three libva-family libraries.7e6064eb7: mapping against older runtime providers fails to load the requiredvaMapBuffer2; modern providers pass. The source helper preserves both API results and modern flags.259e5f88b: five assembly/integration failures before the audited library is required and supplied.a89ad3e11: actual launcher block fails seven host path cases.7466db739: two missing NVIDIA external-platform path cases, following an actual physical EGL initialization failure.fdd36b179: production workflow fails to restore OBS’s SRT development dependency after FFmpeg’s recipe replaces it. Correctionac749418drestoreslibsrt-openssl-dev, keeping MPEGTS output enabled. An actual Ubuntu Docker probe with the unchanged CMake Libsrt finder fails withlibsrt-gnutls-devand passes after restoration.All twelve focused tests pass; one reviewer across all language buckets is clean.
Measured compatibility and hardware evidence
The complete new source-build tool was run in Ubuntu 26.04 against FFmpeg
7:8.0.1-3ubuntu2. It preserved all 621 exported ABI symbols, version 3934308, and the seven actually registered backends: vdpau, cuda, vaapi, qsv, drm, opencl, vulkan.An owned copy of an older actual AppImage AppDir, with host libva selected, failed Ubuntu 22.04 startup with the original libavutil (
undefined symbol: vaMapBuffer2) and passed with the source-built candidate.The prototype then passed physical GPU checks in Arch with the host RTX 3060 and matching driver closure/device selection:
300000000e08013; twelve rendered frames, all 49,152 pixels verified.66abff4789c0e7eac85453c3f3e5bc8990511bb185cd5627d8eb1c2cbd39a789.Initial missing external-platform paths and a container CUDA device-selection error were investigated and retained as failures. The latter was a test setup failure; it is not presented as an OBS regression.
This prototype uses an older AppDir. It is not final production artifact proof. Still required before merge: a production AppImage assembled by this source pipeline, all four distribution saved-profile tests, and the actual package harness's
gpuscenario on that exact artifact in a non-Debian container. Backend registration alone is not hardware proof.Local gates
Current candidate:
43e6d8307994bf09e7f31583ffdbdf8d1abd0e1b, tree154b2d859fbe0d9538a5eeca11d18721cf164071, based on67465d2093bf427022cb55b2780eb2500ec27252../lint: passed after rebase and metadata correction (101.2 s), sequentially after unit testing. The earlier concurrent attempt failed on a soldr target lock and is not counted as a pass../unittest: Rust tests/cross-linking passed (205.0 s); unchanged C tests passed OFF and ON (208 each), all 1,766 libobs exports identical (227.3 s).2105869e312552f44a74b44a86a735d3883286d1.Final production artifact validation remains pending; CI links and actual package GPU evidence will be added before this draft is marked ready.
Production CI candidates
libsrt-openssl-devwithlibsrt-gnutls-dev, and the existing finder rejected the latter. The compatibility source build itself passed. No final artifact was produced.4739103e70f458c020fc91474c6f582f629515e4and failed at the same SRT dependency check. This dispatch produces artifacts only. It does not publish a release.After a successful build, the actual
gpuscenario will be run against its matching AppImage/helper/media artifacts.Subsequent package failure and correction
Exact pre-rebase candidate
2105869e312552f44a74b44a86a735d3883286d1, run 38553572120: AppImage build SUCCESS, all four metadata checks failed before distro tests (libva-x11.so.2absent on the hosted metadata runner). No distribution pass is claimed. RED8f1f6fd9cexecutes the actual install command and reproduces the omission; GREEN28ef39722supplieslibva-x11-2. An actual Ubuntu 26.04 container reproduced exit 127 with that built AppImage, then passed its--versionwithLD_BIND_NOW=1after installing the missing host package. This is dependency proof for the earlier artifact, not physical or rebased-artifact validation.Rebased onto merged #632 at
67465d2093bf427022cb55b2780eb2500ec27252after GitHub reported conflicts. Preserved all custom/existing config scenarios, recording oracles and xprop dependencies alongside the GPU scenario. Fresh rebased gates have passed. Exact-head production/physical validation remains required.Earlier production artifact hardware check
The actual
test-appimage.sh gpuharness from source2105869e312552f44a74b44a86a735d3883286d1ran in Arch against its matching run-38553572120 AppImage, GPU helper and media. AppImage SHA-256fa0c4527e40264193737c11ee1ec5982e33dd789897752803e3d53feca0f957f. With both NVIDIA device files forwarded, matching RTX3060 render node/CUDA UUID and NVD diagnostic logging, the complete harness exited zero: twelve GBM/EGL frames with all 49,152 pixels verified, and twelve hardware VAAPI surfaces downloaded, matching reference SHA-256f5aeba2b8dbef9d8dc4d7887d22ad2b6ad5c070576962e8ecab6b9840da0b013. Its loaded-library checks passed. The first attempt forwarded only one NVIDIA device file and failed hardware profile initialization; that failure is retained. No software fallback was allowed.This is production-artifact evidence for the earlier revision, not final validation of the rebased candidate. Its distribution checks failed the metadata dependency noted above; a fresh exact-head run and normal physical harness check remain required.
Final candidate physical validation
Exact source
43e6d8307994bf09e7f31583ffdbdf8d1abd0e1b, run 38557088890: production AppImage build passed. Its matching AppImage/helper/media passed the unchanged source harnesstest-appimage.sh gpuin Arch on the physical RTX3060, with both NVIDIA device files forwarded and matching CUDA UUID; NVD diagnostic logging was disabled. Complete harness exit zero, all host-driver and packaged-FFmpeg map assertions passed, no software fallback. Twelve GBM/EGL frames verified all 49,152 pixels (modifier300000000e08013); twelve 128x72 hardware VAAPI surfaces matched the software reference byte-for-byte, SHA-256f5aeba2b8dbef9d8dc4d7887d22ad2b6ad5c070576962e8ecab6b9840da0b013.AppImage SHA-256
14d9117d74b7f4c5b03001188a063445d46f9186be98d40105f763701184efc2; helper935e40a790acaecbe2fd53f069ba53f4f2f4befe1b95de9d89767f15070b68de. Both hashes remain unchanged after the test. This is the rebased production artifact, replacing the earlier prototype evidence for final GPU validation. All four distribution saved-profile/recording checks and PR CI passed; the PR is ready for merge-queue validation.Final exact-head run 38557088890 completed SUCCESS: build plus Debian, Ubuntu22, Fedora and Arch checks, including saved-profile migration/custom/existing preservation and recording oracles. Ubuntu22 retains its pre-existing PipeWire0.3 producer exemption; no capture-frame claim is made for that exemption. CI Gate and all PR checks passed.