Skip to content

obs-gpu-status: Red for a GPU OBS can't use, yellow for software-only machines (#1005) - #1006

Merged
zackees merged 4 commits into
masterfrom
feat/1005-gpu-status-colors
Oct 16, 2026
Merged

zackees merged 4 commits into
masterfrom
feat/1005-gpu-status-colors

Conversation

@zackees

@zackees zackees commented Oct 16, 2026

Copy link
Copy Markdown
Member

Stacked: builds on #999 (which builds on #963); the new commits are the RED and GREEN for #1005.

Fixes #1005 (part of #939).

Maintainer decision

Light When
Green OBS renders on a hardware GPU: any vendor, with the driver bound and confirmed by the active adapter
Red A GPU is present but OBS renders in software (the #846 case), init failed, or frames are over budget
Yellow No GPU at all, just a software renderer (llvmpipe, Basic Render Driver…), as expected on a VM or headless box

Before this change, the two software cases had the opposite colors.

Change

  • classify() swaps the two software outcomes.
  • The dialog text now follows the situation, not the color. "Your GPU (…) was detected, but OBS is not using its driver" appears under red, and "No GPU was detected…" under yellow.
  • The tooltip strings (Basic.StatusBar.GpuStatus.Yellow and .Red), the State docs and the docs/gpu-status.md table now describe the new meaning.

RED → GREEN

  • RED: 5 tests fail on the old mapping: software_with_gpu_present_is_red, software_without_gpu_is_yellow, the frame-budget case, and two report tests.
  • GREEN: all obs-gpu-status tests pass, and clippy is clean.
  • Tier 4 is unchanged: forced llvmpipe still isn't green. A GPU-less CI runner now shows yellow; a machine with a GPU shows red.

Note for #958: its test amd_only_machine_on_basic_render_is_yellow_not_red encodes the old rule. Whichever of the two merges second has to flip that test to red.

@zackees
zackees enabled auto-merge October 16, 2026 06:40
The dialog's summary and causes were English only. The report must name
a locale key and arguments for each, and the en-US strings must match
the English JSON exactly.

Refs #945
The report now carries summaryKey/summaryArgs and causeKeys next to the
English text; the dialog renders them from the locale (falling back to
the English text), and en-US.ini gains the strings. A Tier 1 test fills
each en-US template with the report's args and requires the English JSON
exactly, so the two cannot drift. GetStats' summary and causes stay
English.

Fixes #945
Maintainer decision (#1005): a GPU present but unused is red; software
rendering with no GPU is yellow.

Refs #1005
… machines (GREEN)

classify() now returns Red when a GPU is present but rendering runs in
software, and Yellow when there is no GPU at all (a VM or headless box,
where software rendering is expected). The dialog text follows the
situation, not the color; the tooltips and docs/gpu-status.md follow
the new meaning.

Fixes #1005
@zackees

zackees commented Oct 16, 2026

Copy link
Copy Markdown
Member Author

Rebased onto #999, which is now on master. Since #958 merged, this PR also flips its DXGI test to the new rule: an AMD-only machine on Basic Render Driver still counts its GPU, so it is now red (amd_only_machine_on_basic_render_counts_its_gpu). Docs conflict with #989 resolved: the new table plus #989's frame-budget and adapter paragraphs. The mockup is now captioned as the no-GPU case, which is yellow since #1005.

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.

obs-gpu-status: Red when a GPU is present but unused, yellow for software-only machines

1 participant