Keep texture recheck deadlines after card space recovers #199
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!199
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-199"
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?
@feanorsun on GitHub · 2026-11-26 11:22 UTC · original
feanorsun:fix/texture-queue-stale-space-holds→main· +39 −3 · 1 files · 1 commits · openRefs #182
When the card runs out of space, the indexed-texture queue holds back a slot until a later frame. If the slot comes due while the card is still full, the texture pass can schedule a memory retry or a fingerprint check for the same descriptor write. The old space hold survives that decision. As soon as space returns, it brings the slot forward again, overriding the new deadline.
Clear the old space hold when scheduling that write's next memory retry, partial-upload check or fingerprint check. A result for an older descriptor write cannot clear a newer hold. Slots still waiting for card space retain their early wakeup.
Tested on Windows with CPU-only queue operations, based on upstream
0dec5dcc228b. The regression uses three slots. At frame 5 the old code woke all three. The fix wakes only the slot still waiting for space and preserves the two rechecks at frames 8 and 10. The existing hold/rewrite test also passes.Both tests were listed by exact name before being run with
cargo test --offline --locked -j 1 -p victory-gpu --lib <test> -- --exact --test-threads=1:descriptor::host::tests::room_only_wakes_textures_still_waiting_for_card_spacedescriptor::host::tests::slots_held_for_lack_of_room_come_back_when_there_is_roomThe #182 log records space waits and reuploads, but does not record these per-slot transitions. The effect on the reporter's RTX 3070, frame rate and missing textures remains unmeasured.
View 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.