Skip to content

obs-gpu-status: amdgpu whole-GPU utilization from gpu_busy_percent #1024

Closed

Description

@zackees

Read /sys/class/drm/card*/device/gpu_busy_percent: the cheapest AMD source, used as a fallback when fdinfo has no engine times.

Acceptance

  • RED → GREEN: a Tier 1 fixture sysfs tree; a missing file gives Unavailable.

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

Activity

  1. zackees commented on Oct 17, 2026

    @zackees
    MemberAuthor

    Claiming. Plan: obs_gpu_status::amdgpu_busy_percent(root, pci) -> Utilization (Percent(u8) / Unavailable), reading gpu_busy_percent of the card whose PCI address matches the render adapter from #1020/#1194 (same sysfs walk as render_adapter). RED: Tier 1 fixture tree with two cards, one with the file; stub returns Unavailable. Polling wiring stays with #1025/#1027.

  2. added a commit that references this issue on Oct 17, 2026
    3fb3eba
  3. added
    claimed
    on Oct 17, 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

    claimed

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions