Do not evict placed textures on the assumption that unmapped ends mean an empty range #1958
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!1958
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1958"
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?
@NotADonky43 on GitHub · 2026-11-29 04:16 UTC · original
NotADonky43:fix/sweep-sparse-placed-texture→main· +113 −16 · 2 files · 1 commits · openTwo reclaim paths need evidence that the whole placed texture is absent. The host-pressure sweep uses the streaming estimate (which can return zero for an interior-only Windows mapping), and the periodic dead RT/UAV pass looks only at byte zero. This can classify a partly mapped resource as an unmapped eviction candidate even if a middle page remains. The streaming estimator remains unchanged for its intended callers.
After the existing age and ownership checks, try the title mapping read guard without waiting. Decline to reclaim on any tracked physical/soft view, committed region (including PAGE_NOACCESS), incomplete Windows query, invalid extent, or active remap. Walk by VirtualQuery region, not page. Keep the guard only through detachment, not resource destruction. No change to ordinary age/VRAM eviction policy.
Native Windows regression: reserve three 64 KiB regions, commit only a non-block-aligned interior page, then change its protection and decommit it. Both ends stay uncommitted. The old host-pressure predicate failed the regression; the new check passes and declines reclamation while remapping. Optimized test on main
568c5e5dplus this source change:cargo test --release --locked -p victory-gpu --lib pressure_sweep_keeps_an_interior_page_between_unmapped_ends. This is an eligibility/correctness fix, not an FPS claim or proof that the opening produced this particular sparse layout.@NotADonky43 on GitHub · 2026-11-29 04:29 UTC · original
Integration check: this exact source change on our cumulative renderer (901559a4, based on
d1486134) passed the full optimized workspace test suite with diagnostics, the explicit fenced D3D12 texture readback, and a warmed RTX 5070 Ti Series X opening through six heavy render reports. The Windows sparse-range regression also ran separately on main568c5e5dplus the patch. Main has since advanced toe1f2eb60with a README-only change. This validates the eligibility fix and combined boot, not a claim that the title reproduced an interior-only mapping or a performance A/B.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.