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
infra: obs-studio-libs prebuilt build-dependency cache (phase 2 of #520), gated on CI-time measurement #525
Phase 2 of #520: an obs-rust/obs-studio-libs cache of manylinux_2_28 builds of the Linux build-time dependencies (FFmpeg with nv-codec-headers, x264, libvpl, librist, srt, libdatachannel, ...), described with zackees/manifest.json. Never NVIDIA driver libraries or the CUDA runtime.
Gate: start only after #427 data shows dependency setup costs enough CI minutes to pay off; record the decision on #520. Creating the repo and its producer workflow needs explicit maintainer sign-off. Packaging changes need a test-appimage.sh lane (newer-glibc container, saved NVENC profile) per AGENTS.md.
Decision: no-go for obs-studio-libs (phase 2 of #520), for now
#427 has job- and step-level timings but none for the build-dependency setup itself, so I measured it from the step logs of the successful build jobs in Push run 38454083952 (2026-10-13, one sample per job). The step totals of five runs (38454083952, 38453537500, 38442696317, 38452710972, 38456741085) were used only to rank where CI time goes.
Ubuntu: at most ~20–30 s per job. A cache of FFmpeg/x264 would still need a download and extract, which takes ~5–10 s judging by obs-deps on the other OSes. Qt, X11, Mesa and the rest would still come from apt.
That is under a minute per run in total. The cost would be a new repo, a producer workflow (which needs maintainer sign-off) and a test-appimage.sh lane. The same runs show where the minutes actually go, and it is #427's list: Rust Tier 2 Linux (1832 s summed over the five runs, mostly the uncached Docker image), Rust Tests on Ubuntu (1035 s), Flatpak (711 s) and Rust Cross Lint (704 s).
Decision: no-go. Keep the effort on #427 items 1–4.
Revisit if a Linux job starts compiling FFmpeg/x264 (or similar) from source. The likeliest case is a manylinux_2_28 or AppImage build that cannot use the distro's apt packages. Once that compile step takes more than ~2 minutes per run, phase 2 pays for itself.
To re-measure: in a run's job logs, take the timestamps of the obs-deps Setting up Pre-Built / Downloading lines (Windows/macOS), of the Reading package lists → last Setting up lines of the main apt install (Ubuntu), and of the flatpak-builder Cache hit / Building module lines (Flatpak).
Decision (maintainer, 2026-10-16): go. #926 moves the AppImage onto a glibc 2.28 (manylinux_2_28) base, where Qt 6.10, the FFmpeg stack, PipeWire and others must be built from source (about an hour on a clean machine). That changes the gate: without a prebuilt cache every clean build would recompile Qt.
The producer runs locally through bosn, with no producer workflow, as decided.
If a dependency is still compiled from source on a clean build, please file it as its own follow-up.
Activity
zackees commentedon Oct 13, 2026
Decision: no-go for
obs-studio-libs(phase 2 of #520), for now#427 has job- and step-level timings but none for the build-dependency setup itself, so I measured it from the step logs of the successful build jobs in Push run 38454083952 (2026-10-13, one sample per job). The step totals of five runs (38454083952, 38453537500, 38442696317, 38452710972, 38456741085) were used only to rank where CI time goes.
obsproject/obs-depszips (x86, x64, Qt6) + CEF, downloaded by CMakeobs-depsuniversal + Qt6 tarballs + CEFapt: 301 packages / 127 MB, including FFmpeg (libavcodec-dev…), x264, Qt, X11/Mesa; plus a 7-package apt runobs-deps-buildstream-{base,devel,devtools,qt},cef, all "skipping build")What a cache could save:
That is under a minute per run in total. The cost would be a new repo, a producer workflow (which needs maintainer sign-off) and a
test-appimage.shlane. The same runs show where the minutes actually go, and it is #427's list: Rust Tier 2 Linux (1832 s summed over the five runs, mostly the uncached Docker image), Rust Tests on Ubuntu (1035 s), Flatpak (711 s) and Rust Cross Lint (704 s).Decision: no-go. Keep the effort on #427 items 1–4.
Revisit if a Linux job starts compiling FFmpeg/x264 (or similar) from source. The likeliest case is a manylinux_2_28 or AppImage build that cannot use the distro's apt packages. Once that compile step takes more than ~2 minutes per run, phase 2 pays for itself.
To re-measure: in a run's job logs, take the timestamps of the obs-deps
Setting up Pre-Built/Downloadinglines (Windows/macOS), of theReading package lists→ lastSetting uplines of the main apt install (Ubuntu), and of the flatpak-builderCache hit/Building modulelines (Flatpak).The
obs-studio-libsrepo has not been created.zackees commentedon Oct 16, 2026
Decision (maintainer, 2026-10-16): go. #926 moves the AppImage onto a glibc 2.28 (manylinux_2_28) base, where Qt 6.10, the FFmpeg stack, PipeWire and others must be built from source (about an hour on a clean machine). That changes the gate: without a prebuilt cache every clean build would recompile Qt.
/opt/obs-depstarballs as release assets, catalogued inassets/obs-deps/manifest.json(zackees/manifest.json Catalog).build-aux/appimage/manylinux/deps/*.shfrom obs-studio (appimage: Build on a glibc 2.28 base and stop bundling glibc #927), run locally through bosn. No producer workflow for now.Refs #520, #926, #927.
appimage: Build on manylinux_2_28 (glibc 2.28) without bundling glibc
appimage: Build on a glibc 2.28 base and stop bundling glibc (#927)
zackees commentedon Oct 25, 2026
Closing as done. The cache this issue asked for exists and master uses it:
obs-rust/obs-studio-libsholds the/opt/obs-depstarballs (manifest inassets/obs-deps/manifest.json), per the maintainer's go decision above.ci/fetch_libs_asset.pyfetches them by sha256, andbuild-aux/appimage/manylinux/deps.lock.jsonand the manylinuxDockerfilepin them. The AppImage takes FFmpeg 8.1.2 r3 and libsrt from it (appimage: Take ffmpeg 8.1.2 r3 from obs-studio-libs, with libsrt 1.5.7 #1083) and libvpl for qsv (appimage: Install libvpl in the manylinux image so the qsv build configures #1888).If a dependency is still compiled from source on a clean build, please file it as its own follow-up.