Skip to content

requesthandler: Report GPU acceleration status in GetStats - #14

Merged
zackees merged 1 commit into
masterfrom
fix/846-gpu-acceleration-stats
Oct 15, 2026
Merged

zackees merged 1 commit into
masterfrom
fix/846-gpu-acceleration-stats

Conversation

@zackees

@zackees zackees commented Oct 15, 2026

Copy link
Copy Markdown
Member

Part of obs-rust/obs-studio#846. Adds an additive GetStats response field, gpuAcceleration. It is the JSON object returned by the frontend's get_gpu_status proc on the global proc handler: state (green/yellow/red), adapter, detectedGpus, summary and causes. It is null when no frontend registers that proc (stock OBS, or a build without rust/obs-gpu-status). No existing field changes.

The frontend side, the Rust classifier and the Tier 4 test (forced llvmpipe → not green) are in the obs-studio PR that bumps this submodule. The generated docs were edited by hand to match the source comment, because build_docs.sh needs npm.

Adds the additive response field gpuAcceleration: the JSON object the
frontend's get_gpu_status proc returns (state green/yellow/red, adapter,
detectedGpus, summary, causes), or null when no frontend provides it.

Refs obs-rust/obs-studio#846
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant