GPU: allow memory fault budget to recover per frame and exempt title buffers (#102) #126
No reviewers
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX!126
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-126"
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?
@ESAT586 on GitHub · 2026-11-26 05:27 UTC · original
ESAT586:avatarmanz/fault-budget-recovery→main· +41 −3 · 1 files · 1 commits · openAddresses part 2 of #102 (fault budget exhaustion).
Problem
In crates/victory-gpu/src/memory.rs, self.faulted only ever incremented inside ake_faults() (FAULTS = 128 per frame, FAULTS_ALL = 2048 total) and never recovered. Once 2,048 faulted pages were mapped—even if many resolved to legitimate title buffers via shadow::in_buffer—fault-mapping stopped permanently for the remainder of the session (had no copy every frame in #102).
Fix (crates/victory-gpu/src/memory.rs)
un light-4 runaway-ray guard), while allowing new world regions to keep mapping pages across a long session instead of locking at 0 permanently.
Verification (zero game data)
(Authored and verified with Gemini 4 Neon — High Mode, AI coding agent — with zero game data.)
@nachitoooo on GitHub · 2026-11-26 05:36 UTC · original · approved these changes
@avatarmanz on GitHub · 2026-11-26 07:36 UTC · original
Left open: changes the fault-page budget for every card; needs an in-game check first.
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.