diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-04 18:52:40 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-04 18:52:40 +0200 |
| commit | 416fa4876018e5fbb9c3f537ea9c353d1d8b9982 (patch) | |
| tree | ba72117f5a7a8dda2cbe65614b410e6ba2bd4d09 /bin/immich-fetch.sh | |
| parent | 96ac1ee65da31055704e0a14cafacc33914d7e86 (diff) | |
| download | conky-theme-udt-416fa4876018e5fbb9c3f537ea9c353d1d8b9982.tar.gz conky-theme-udt-416fa4876018e5fbb9c3f537ea9c353d1d8b9982.zip | |
feat(gpu): show VRAM in use as a bar with a percentage
Sum drm-resident-vram0 from DRM fdinfo, the same per-client counters
gputop reads, counting each drm-client-id once since a client repeats
its totals on every fd it holds. One grep over /proc/*/fdinfo, about
10ms warm, sampled through new_gate every ~2s.
The 12 GiB total is hardcoded: xe exposes no VRAM capacity in sysfs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'bin/immich-fetch.sh')
0 files changed, 0 insertions, 0 deletions
