Repository navigation
vram indicator on linux and windows - #334
Merged
Merged
Conversation
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
Adapted from lightningpixel#334 for experimental validation.
4 of 7 tasks
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
through nvidia-smi