victory-gpu: VICTORY_KEEP_SHOWN=0 to go back to the room-gated keep #613
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem!613
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-613"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Danneman92 on GitHub · 2026-12-05 18:32 UTC · original
Danneman92:keep-shown→main· +18 −4 · 2 files · 1 commits · openWhat
VICTORY_KEEP_SHOWN=0restores the pre-#503 keep: a waiting slot keeps the texture it shows only while the pool has room. With the variable unset nothing changes - #503's keep-whatever-the-room stays the default.Credit
This change only makes #503 optional ("descriptor: a waiting slot keeps the texture it shows, whatever the room", by YaBulochka). The behaviour the switch restores as an opt-in is the code #503 replaced, and the reasoning for #503 — neutral flashes at 86-93% of the card's texture budget — is theirs. Credit is also in the commit message.
Why
#503 fixed the neutral flashes where the room ran out by keeping the shown texture unconditionally. On boxes where texture memory is the tight constraint (integrated GPUs with a small UMA carve, 16 GB handhelds) that trades the flashes for more live textures, and there is currently no way back to the previous behaviour. This is an escape hatch, not a behaviour change: default = #503.
Implementation is one helper (
keep_shown()) consulted at the four places that already askkin.kept(KEEP_SHOWN), plus adocs/SETTINGS.mdrow.Testing
cargo check -p victory-gpu --target x86_64-pc-windows-msvcclean on the pinned toolchain (1.98.1); only the pre-existingroom_lately is never usedwarning.main, since the default path is untouched.=0against #503's behaviour on a memory-tight box; happy to gather numbers if wanted.d3aef275f6toaefe5d904eView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.