Bound the submit thread's waits on lists in the air and on new memory being mapped (load freezes) #3699
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!3699
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@stasadance on GitHub · 2026-11-30 04:21 UTC · original
stasadance:fix/submit-wait-caps→main· +81 −6 · 1 files · 1 commits · openWhat 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
4d4dd13e85to054b29ca96View 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.