Skip to content

vram indicator on linux and windows - #334

Merged
lightningpixel merged 3 commits into
lightningpixel:devfrom
securitybrahh:main
Nov 16, 2026
Merged

lightningpixel merged 3 commits into
lightningpixel:devfrom
securitybrahh:main

Conversation

@securitybrahh

Copy link
Copy Markdown
Contributor

through nvidia-smi

@iammojogo-sudo

Copy link
Copy Markdown
Contributor

I have requested this before also since we already have RAM indicators. I keep opening up task manager to keep an eye on it. Maybe this would be a good feature that @lightningpixel would let me work on?

JayceeB1 added a commit to JayceeB1/modly that referenced this pull request Oct 9, 2026
Follow-up to the VRAM indicator from lightningpixel#334:
- nvidia-smi only runs while the VRAM indicator is on, with a 3 s timeout,
  windowsHide, one call at a time, and never again in the session once it
  turns out not to exist (AMD, Intel, no GPU). macOS never spawns it.
- RAM and VRAM are sampled independently, so a slow nvidia-smi during a
  generation no longer freezes the RAM bar; a missed sample keeps the last
  value instead of flickering.
- Each indicator can be shown on its own; VRAM no longer needs RAM on.
- With several GPUs the one with the most memory is shown, named in the
  tooltip. The setting says it is NVIDIA only and counts every app.
- The in-app agent can read and set showVramIndicator.

Parsing and the sampler live in electron/main/gpu-memory.ts, with tests.
@lightningpixel
lightningpixel changed the base branch from main to dev November 16, 2026 09:40
@lightningpixel
lightningpixel merged commit 1f506a3 into lightningpixel:dev Nov 16, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants