Skip to content

obs-websocket: Additive GetStats.gpuUsage #1027

Closed as not planned
Closed as not planned

Description

@zackees

A nullable gpuUsage object (percent, source, scope) in GetStats, read through the frontend's proc like gpuAcceleration. Existing fields stay unchanged.

Acceptance

  • RED → GREEN: the Tier 4 check asserts the field's shape, or null when it's unavailable, and that existing fields are unchanged.

Decisions (defaults from #1004; edit if the maintainer disagrees)

Activity

  1. added
    human-review-needed
    on Oct 25, 2026
  2. zackees commented on Oct 25, 2026

    @zackees
    MemberAuthor

    Triage → escalated to the maintainer.

    This issue adds GetStats.gpuUsage to obs-websocket. AGENTS.md's OBS WebSocket directive says to preserve the C++ plugin in plugins/obs-websocket as a compatibility check and not to modify it to accommodate the Rust implementation; changing that policy requires an explicit request. An additive protocol field isn't strictly "accommodating Rust", but it does change the plugin that the directive keeps fixed as the compatibility reference, and this issue predates the directive.

    Options:

    1. Close it. The plugin stays as upstream ships it; GPU usage stays in the frontend status bar (obs-gpu-status: Windows GPU utilization through PDH GPU Engine counters #1022).
    2. Do it in obs-rust/obs-websocket as a normal feature, outside the compatibility-reference role, with a Tier 4 check.
    3. Propose it upstream to obsproject/obs-websocket instead.

    Recommendation: 1 (or 3). The directive exists so the plugin stays a fixed reference, and the feature doesn't need the websocket to ship.

    To answer: comment with Decided: on the first line.

  3. moved this from Triage to Needs decision in obs-rust Multiviewon Oct 25, 2026
  4. zackees commented on Oct 25, 2026

    @zackees
    MemberAuthor

    Decided: option 1, close. AGENTS.md's OBS WebSocket directive keeps plugins/obs-websocket as the unchanged compatibility reference, and lifting that needs an explicit policy change, which hasn't been made. GPU usage stays in the frontend status bar (#1022). If the directive is ever relaxed, this can be reopened as an obs-rust/obs-websocket feature.

    (Decided by the coordinator under the maintainer's go-ahead of 2026-10-25 to settle the escalated items.)

  5. removed
    human-review-needed
    on Oct 25, 2026
  6. moved this from Needs decision to Done in obs-rust Multiviewon Oct 25, 2026
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