Skip to content

meta: GPU acceleration status light, follow-ups after #846 #939

Closed
14 of 14 issues completed
Closed

Description

@zackees

Context

#846 added a status-bar light that tells users whether OBS renders on a hardware GPU (#890, #894, obs-rust/obs-websocket#14, docs in #921). #846 was closed with every CI check green. Then the AppImage ran on a real NixOS machine (RTX 3060 + RTX 2080 Ti) and two bugs turned up:

  • The light read the API name (OpenGL) instead of the adapter, so llvmpipe always showed green. The feature could not do its one job.
  • One slow second at launch flashed it red.

PR #929 fixes both. Its Tier 4 check went RED → GREEN on that machine.

Nothing in CI would have caught either bug, and the Windows and macOS code paths have never run anywhere. The sub-issues below close those gaps and finish what #846 asked for.

Sub-issues, in priority order

  1. Run the Tier 4 GPU check in CI on the Linux Rust build (would have caught the OpenGL bug).
  2. Smoke-test the light on Windows and macOS runners (those code paths have never run).
  3. Windows GPU detection through DXGI.
  4. Automated coverage for the frontend half (adapter name, sampling).
  5. The dialog quotes the relevant log lines.
  6. Localize the summary and causes text.
  7. Decide the light's behavior in ENABLE_RUST_LIBOBS=OFF builds.
  8. Docs: red now means the median of one-second samples.
  9. Worker skill: run the real app once before Fixes #N on a user-facing feature.
  10. Speed up local ./lint: the CI self-tests run serially.

Decisions

Related

Sub-issues

Sub-issues

14 of 14 Issues completed
Loading 14 sub-issues

Activity

  1. zackees commented on Oct 16, 2026

    @zackees
    MemberAuthor

    All sub-issues are done.

    Issue PR What
    #940 #952 Tier 4 GPU check (forced llvmpipe) on the Rust libobs Ubuntu build
    #941 #954 Packaged Windows/macOS smoke tests require a real GPU adapter and the startup log line. The Windows/macOS evidence comes from the next scheduled release, because PR runs no longer build packages and three verify dispatches were cancelled.
    #942 #958 Windows GPU detection through DXGI (plus dedupe with nvidia-smi)
    #943 #960 Frame-time window in Rust, adapterIsApiName
    #944 #963 Dialog quotes the graphics log lines
    #945 #1006 Localized summary and causes, with a test that keeps en-US.ini in step
    #946 #1018 Light built whenever cargo is available; Flatpak opts out
    #947 #989 Docs: median frame window
    #948 #990 Worker rule: run the real app before closing a user-facing feature
    #949 #991 Parallel ci/test_*.py self-tests
    #1050 #1052 Local ./lint formats only files changed since origin/master
    #1003 #1010 Light next to the CPU usage
    #1004 — Research done; follow-ups in #1020–#1028
    #1005 #1006 Red: GPU present but unused. Yellow: software only.

    Found and fixed along the way

    Open elsewhere

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions