Keep texture recheck deadlines after card space recovers #199
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from avatarmanz/VIctory-7900XTX. Originally posted by feanorsun on 2026-11-26T11:22:18Z.
Refs #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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.