Clicking a window in Applications lists the processes counted toward it,
each with state, CPU, memory and GPU. Model.ProcessOwner exposes the
ownership AppUsages already computes.
Per-process GPU shares no longer need NVIDIA: gpu_drm.zi reads the
kernel's standard DRM fdinfo counters (nanosecond engines with capacity,
or cycle pairs), counts each client once and reports its busiest engine.
The GPU column appears only when a source has data instead of showing
n/a. CPU and GPU shares below 10% show one decimal, so light use on a
many-core machine no longer reads 00. The NVML helper names itself
taskmgr-gpu instead of exe.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Applications tab gains CPU, Memory and GPU columns that total each
window's process tree: its _NET_WM_PID plus every descendant no nearer
listed window owns.
NVIDIA's driver has no per-process DRM fdinfo or sysfs GPU counters, and
loading NVML in-process keeps ~16 MB of private memory. The binary now
runs itself as `--gpu-helper`, a display-free NVML sampler that streams
per-process shares and whole-card usage/VRAM while the Applications or
Performance tab is open. The Performance tab matches those readings to
DRM cards by PCI address, so NVIDIA cards no longer show n/a.
Co-Authored-By: Claude Opus 5.5 <[email protected]>