Skip to content

ci: Run the Tier 4 GPU acceleration check on the Rust libobs Ubuntu build (#940) - #952

Merged
zackees merged 2 commits into
masterfrom
ci/940-tier4-gpu-check
Oct 16, 2026
Merged

zackees merged 2 commits into
masterfrom
ci/940-tier4-gpu-check

Conversation

@zackees

@zackees zackees commented Oct 16, 2026

Copy link
Copy Markdown
Member

Fixes #940 (part of #939).

The GPU status light shipped calling llvmpipe green (#846, fixed in #929) because Tier 4 had never run in CI.

Changes

  • run_tier4.py --only gpu runs only the GPU group: OBS is started with LIBGL_ALWAYS_SOFTWARE=1, and the check asserts that GetStats.gpuAcceleration is not green and that the startup log warns. It exits non-zero if the field is null, because a build with the provider must report it.
  • The Ubuntu 🐧 (Rust libobs) job installs its build into /usr (the prefix the Rust build is configured for) and runs that check under Xvfb. The step has a 10-minute timeout. No new workflow file.
  • This job only runs in full CI (release gate, ci-full), so normal PR runs are not slowed down.

RED → GREEN

Both runs used the same check on a NixOS machine (RTX 3060), with OBS forced onto llvmpipe:

The CI run of the new step (label ci-full) is linked below once it finishes.

@zackees zackees added the ci-full Run every CI job on this PR, including the release-gating OBS app builds and Flatpak label Oct 16, 2026
@zackees zackees removed the ci-full Run every CI job on this PR, including the release-gating OBS app builds and Flatpak label Oct 16, 2026
@zackees

zackees commented Oct 16, 2026

Copy link
Copy Markdown
Member Author

The new step ran on CI: Ubuntu 🐧 (Rust libobs) job 116761187273 passed Tier 4 GPU Acceleration Check 🎮 in 12 s on 8689d5c. I removed ci-full so later pushes don't rerun the full suite. The Rust Tests (ubuntu) failure is the repo-wide lint-probe breakage, #969 (fix in #970), not this change.

…uild

The GPU status light shipped calling llvmpipe green (#846, fixed in
#929) because Tier 4 never ran in CI. run_tier4.py --only gpu runs just
that group; the Ubuntu (Rust libobs) job installs the build into /usr
and runs it under Xvfb, where OBS renders on llvmpipe.

Fixes #940
Review finding: the check installs the build into /usr, and running it
before Package OBS Studio could let CPack/dpkg-shlibdeps see the
system-wide libobs.

Refs #940
@zackees
zackees force-pushed the ci/940-tier4-gpu-check branch from 8689d5c to 738c9c4 Compare October 16, 2026 04:12
@zackees

zackees commented Oct 16, 2026

Copy link
Copy Markdown
Member Author

Review fix: the GPU check now runs after packaging and uploads, so its install into /usr can't leak into CPack or dpkg-shlibdeps. Rebased on master (#972 fixes the lint lane).

@zackees
zackees added this pull request to the merge queue Oct 16, 2026
@zackees
zackees removed this pull request from the merge queue due to a manual request Oct 16, 2026
@zackees
zackees merged commit cc2be81 into master Oct 16, 2026
26 checks passed
@zackees
zackees deleted the ci/940-tier4-gpu-check branch October 26, 2026 15:42
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.

ci: Run the Tier 4 GPU acceleration check against the Rust libobs Ubuntu build

1 participant