You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
obs-gpu-status: Linux per-process GPU utilization from DRM fdinfo #1023
Carried over from #1004: measure and record this source's polling cost per sample on real hardware, as #1004 did for NVML (0.68 ms per device vs 87 ms for an nvidia-smi spawn).
Claiming (Tier 1 parsers). Plan: obs_gpu_status::fdinfo: parse_fdinfo(text) -> Option<FdinfoClient> (driver, drm-pdev, drm-client-id, engines), read_fdinfo(dir) over /proc/self/fdinfo, and fdinfo_utilization(before, after, pdev, elapsed_ns) -> Utilization deduping by client id and filtering by drm-pdev. Engines: drm-engine-<e>: N ns (i915, amdgpu) divided by elapsed × drm-engine-capacity-<e>, and xe's drm-cycles-<e> / drm-total-cycles-<e>; the headline is the busiest engine. Fixtures follow docs.kernel.org/gpu/drm-usage-stats.html. The polling-cost measurement can't be done here (this host has NVIDIA proprietary only, no engine keys in fdinfo); I'll leave that box open for someone with i915/xe/amdgpu.
Activity
zackees commentedon Oct 16, 2026
Carried over from #1004: measure and record this source's polling cost per sample on real hardware, as #1004 did for NVML (0.68 ms per device vs 87 ms for an
nvidia-smispawn).test: obs-gpu-status resolves the render node's PCI device
obs-gpu-status: Resolve the render node's PCI device (Linux) (obs-rus…
zackees commentedon Oct 17, 2026
Claiming (Tier 1 parsers). Plan:
obs_gpu_status::fdinfo:parse_fdinfo(text) -> Option<FdinfoClient>(driver,drm-pdev,drm-client-id, engines),read_fdinfo(dir)over/proc/self/fdinfo, andfdinfo_utilization(before, after, pdev, elapsed_ns) -> Utilizationdeduping by client id and filtering bydrm-pdev. Engines:drm-engine-<e>: N ns(i915, amdgpu) divided by elapsed ×drm-engine-capacity-<e>, and xe'sdrm-cycles-<e>/drm-total-cycles-<e>; the headline is the busiest engine. Fixtures follow docs.kernel.org/gpu/drm-usage-stats.html. The polling-cost measurement can't be done here (this host has NVIDIA proprietary only, no engine keys in fdinfo); I'll leave that box open for someone with i915/xe/amdgpu.obs-gpu-status: per-process GPU utilization from DRM fdinfo
obs-gpu-status: RED: DRM fdinfo parsers and per-client utilization (R…
obs-gpu-status: per-process GPU utilization from DRM fdinfo
obs-gpu-status: per-process GPU utilization from DRM fdinfo (obs-rust…
obs-gpu-status: Sample the render GPU's utilization on a thread
obs-gpu-status: Sample the render GPU's utilization on a thread
obs-gpu-status: Sample the render GPU's utilization on a thread
frontend: GPU: x% label replaces the GPU status light text (obs-rust#…