Windows: late card sides move windows lists still hold (VICTORY_CARD_WINDOWS_LATE) #3574
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!3574
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3574"
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-30 01:18 UTC · original
101Leafy:nv/card-windows-late-fix→main· +84 −12 · 2 files · 1 commits · closed without mergingFollow-up to #1756. With VICTORY_CARD_WINDOWS_LATE=1 on main, no window ever got a card side: card_late_windows only took a window the table alone held (strong count 1), and any window asked for in the last frame is also held by a recorded list or pass, so the filter never matched.
Now a window still held by lists can move. Passes and lists recorded before the move keep the old copy and bring it up to date at their submission as before, into the same CPU side they read. What that changes also goes up to the new copy's card side through
Shadow::moved. The new copy starts with the old one's pages as copied and goes up once. A window stays where it is if shaders wrote it or store into it by address, if a refresh is pending on it, or if another copy took it over. Nothing moves while VICTORY_GROW is on.copystat counts the late windows per line.
Desk run on GTA VI (RTX, Windows 10), switch on, built on our train: 396 windows on the card (589 MB), 24-32 late windows per copystat line (48-56 MB), none turned away for room. Before this change the same switch gave 0 on the card. FPS was lower than our run without the switch, so it stays off by default; this makes the switch do what it says so it can be measured.
cargo test -p victory-gpu --lib late: 17 passed.@trustno1-coder on GitHub · 2026-12-01 18:50 UTC · original
Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.
Pull request closed