Add opt-in stable buffer-window reuse and GPU diagnostics #2884
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!2884
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2884"
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?
@Experimental-projects-420 on GitHub · 2026-11-29 18:31 UTC · original
Experimental-projects-420:experiment/stable-window-reuse-20261129→main· +655 −60 · 12 files · 6 commits · draftWhat it changes
Overlapping buffer copies can increase memory use. Reusing an existing covering buffer requires a stable mapping: existing descriptors must continue to reference the buffer receiving updates.
This adds experimental
VICTORY_WINDOW_REUSE=1, off by default:Separate commits add bounded memory/skipped-render diagnostics, correct repeated pipeline-bind timing, repair diagnostics compilation, and document the findings. Shader translation and intentionally omitted rendering passes are unchanged.
[Detailed experiment report](https://github.com/Experimental-projects-420/VIctory-NVIDIA/blob/experiment/stable-window-reuse-20261129/docs/window-reuse-experiment.md)
How it was tested
places_written_after_sending_are_learnedpassed separately because of an existing process-global state interaction. This is not an unfiltered suite pass. All 25 window tests passed again after the final corrections.crates/victory-loader/src/heap_sites/frame_users.rs; full workspace CI is not claimed green.No title data, runtime captures or binaries are included. Please keep reuse opt-in pending controlled comparisons of rendering correctness, resident memory, copy traffic and frame times.
Checked for overlap
Offered for selective review and reuse, with no proposed default enablement.
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.