Repository navigation
obs-gpu-status: Red for a GPU OBS can't use, yellow for software-only machines (#1005) - #1006
Merged
Merged
Conversation
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
… 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
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 ( |
zackees
force-pushed
the
feat/1005-gpu-status-colors
branch
from
October 16, 2026 07:02
1b3ba2a to
d9807f8
Compare
This was referenced Oct 16, 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.
Fixes #1005 (part of #939).
Maintainer decision
Before this change, the two software cases had the opposite colors.
Change
classify()swaps the two software outcomes.Basic.StatusBar.GpuStatus.Yellowand.Red), theStatedocs and thedocs/gpu-status.mdtable now describe the new meaning.RED → GREEN
software_with_gpu_present_is_red,software_without_gpu_is_yellow, the frame-budget case, and two report tests.obs-gpu-statustests pass, and clippy is clean.Note for #958: its test
amd_only_machine_on_basic_render_is_yellow_not_redencodes the old rule. Whichever of the two merges second has to flip that test to red.