Bound the submit thread's waits on lists in the air and on new memory being mapped (load freezes) #3699
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3699"
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 trustno1-coder/VIctory-NVIDIA. Originally posted by stasadance on 2026-11-30T04:21:07Z.
What it changes
Two waits on the submitting thread could wait for ever on a fence that only a later title submission signals, which froze the game (mostly while loading). Stall stacks showed the submit thread in
relay_waitormapped(), and the relay in its fence wait.VICTORY_LATE_MOST_WAIT_MS(250 ms; 0 restores the old wait).VICTORY_WAIT_RESIDENT_MS(2000 ms; 0 waits without end), and the aside list isn't sent again while one is still on the card.alias_rttookUpdateTileMappingsas done).How it was tested
cargo testpassed for the crates it touches: nativecargo testcannot buildvictory-gpuon a Linux host (same on main), so no;cargo xwin clippyfor the Windows target adds no warning over current main (main already fails-D warningsin victory-shader, victory-loader and victory-gpu).Checked for overlap
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.