Residency: VICTORY_RESIDENT_LATER=1 asks new memory resident with EnqueueMakeResident, waited for before descriptor slots are written and on the card before lists are sent #1850
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!1850
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1850"
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?
@101Leafy on GitHub · 2026-11-29 00:46 UTC · original
101Leafy:nv/resident-later→main· +169 −22 · 15 files · 4 commits · merged 2026-11-29 08:16 UTCNew memory is made resident where it is made, so the thread that makes it waits for the system to page it in.
With VICTORY_RESIDENT_LATER=1, new memory is only asked to be made resident there, with EnqueueMakeResident: the system pages it in while we go on and signals a fence of ours. What could name that memory waits for the fence instead. A slot of our descriptor heap waits on the CPU before it is written, since lists already sent read the heap as it is. A queue waits on the card before lists are sent to it. Memory the CPU maps where it is made is still waited for there.
The log gives the asks, the time spent asking, the settles that waited with their time, and the queue waits.
Off by default; without the switch nothing changes.
71c3046bf8toaf3adb3953