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: Identify the render adapter's PCI bus ID on every platform #1020
Claiming all three platforms (updated 2026-10-17; this first said Linux only). One PR per platform, stacked:
Linux, obs-gpu-status: Resolve the render node's PCI device (Linux) #1194: resolve the render node that EGL reports (EGL_DRM_RENDER_NODE_FILE_EXT, already adapter 0 in gl_egl_enum_adapters) to its PCI address through <root>/sys/class/drm/renderD*/device. Fixture with two identical cards (10de:2504) on different PCI addresses. Real host: Debian 13 LXC container, RTX 3060, renderD128 → 0000:2b:00.0.
Windows, obs-gpu-status: Pick the Windows render GPU by LUID #1198: the DXGI LUID of EnumAdapters1(obs_video_info.adapter). No Windows machine with a GPU here: tested with fixtures, clippy for x86_64-pc-windows-msvc, and a smoke test that runs the DXGI path on CI's Windows runner.
Each returns the adapter ID, ambiguous or unknown, RED with a stub first. The frontend plumbing goes with the first consumer (#1021/#1022).
Activity
vpacher commentedon Oct 17, 2026
Claiming all three platforms (updated 2026-10-17; this first said Linux only). One PR per platform, stacked:
EGL_DRM_RENDER_NODE_FILE_EXT, already adapter 0 ingl_egl_enum_adapters) to its PCI address through<root>/sys/class/drm/renderD*/device. Fixture with two identical cards (10de:2504) on different PCI addresses. Real host: Debian 13 LXC container, RTX 3060,renderD128→0000:2b:00.0.MTLDevice.registryIDof Metal's default GPU, which equals the entry ID of itsIOAccelerator(checked on an M1 Max and an M1). Both renderers use Metal's default GPU.EnumAdapters1(obs_video_info.adapter). No Windows machine with a GPU here: tested with fixtures, clippy forx86_64-pc-windows-msvc, and a smoke test that runs the DXGI path on CI's Windows runner.Each returns the adapter ID,
ambiguousor unknown, RED with a stub first. The frontend plumbing goes with the first consumer (#1021/#1022).test: obs-gpu-status resolves the render node's PCI device
obs-gpu-status: Resolve the render node's PCI device
test: obs-gpu-status picks the macOS render GPU by registry ID
obs-gpu-status: Pick the macOS render GPU by registry ID
vpacher commentedon Oct 17, 2026
Update: the claim now covers all three platforms (claim comment above edited). PRs, stacked in this order:
obs_video_info.adapter→ DXGI LUID (stacked on obs-gpu-status: Pick the macOS render GPU by registry ID #1195;Fixes #1020)#1198 also replaces the
Option<&str>argument ofplatform::render_adapter()with aRenderHint(render node on Linux, adapter index on Windows).obs-gpu-status: Resolve the render node's PCI device (Linux) (obs-rus…
test: obs-gpu-status picks the macOS render GPU by registry ID
obs-gpu-status: Pick the macOS render GPU by registry ID
test: obs-gpu-status picks the Windows render GPU by LUID
obs-gpu-status: Pick the Windows render GPU by LUID
obs-gpu-status: Pick the macOS render GPU by registry ID (obs-rust#1195)
test: obs-gpu-status picks the Windows render GPU by LUID
obs-gpu-status: Pick the Windows render GPU by LUID
obs-gpu-status: amdgpu whole-GPU utilization from gpu_busy_percent
obs-gpu-status: amdgpu whole-GPU utilization from gpu_busy_percent (o…
obs-gpu-status: Pick the Windows render GPU by LUID (obs-rust#1198)