Skip to content

frontend: GPU: x% readout replaces the GPU status light #1025

Closed

Description

@zackees

Next to CPU: (#1003): a localized label GPU: %1% with the colored dot.

  • Shows CPU rendering on llvmpipe/WARP, and GPU: n/a when no source is available.
  • The existing Basic.StatusBar.GpuStatus.* strings become the tooltip; keys are only added (feat: Localize the GPU status summary and causes #945).
  • Sampling happens off the UI thread.
  • The dialog title becomes "Graphics rendering".

Acceptance

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

Activity

  1. vpacher commented on Oct 17, 2026

    @vpacher
    Member

    Claiming: after #1021, as its first consumer. Includes the frontend plumbing (RenderHint from #1198: adapter 0's render node from gs_enum_adapters on Linux, obs_video_info.adapter on Windows) and the defaults in the Decisions section (GPU: x% with the colored dot, CPU rendering on software rendering). #1027 (GetStats.gpuUsage) follows.

  2. added
    claimed
    on Oct 17, 2026
  3. vpacher commented on Oct 17, 2026

    @vpacher
    Member

    Data for the Decisions section ("OBS's own share goes in the tooltip"), from a live run of #1236 on production (Debian 13 LXC, RTX 3060, driver 595.104.02, OBS at 4K 25 fps with NDI out).

    NVML's per-process samples (#1233, nvmlDeviceGetProcessesUtilizationInfo) are not a share of the whole-GPU headline:

    2 s window whole GPU OBS (our read) OBS (nvidia-smi pmon) Xorg (pmon)
    1 40 % 28 % 28 % –
    2 19 % 25 % 31 % –
    3 20 % 45 % 45 % –
    4–5 20 % none – –
    6 20 % none – 49 %
    7 19 % none – –
    • Our read and pmon agree, so the PID filter is correct.
    • OBS rendered the whole time, but NVML had no sample for it in 4 of 7 windows.
    • A sample is a short-window peak: 45 % while the device average was 20 %.
    • With a cap at the headline the tooltip said "42 % of 42 %" while Xorg (a VNC session) was a large part of the load.

    So #1236 shows the whole GPU only. A share can come back from a source that reports per-process engine time (fdinfo #1023, PDH #1022), if its numbers add up to the headline.

  4. zackees commented on Oct 17, 2026

    @zackees
    MemberAuthor

    Thanks for the fix.

    🫡

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

    claimed

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions