Window arena: pool tiles taken at first fill (VICTORY_ARENA_LAZY=1, off by default) #5015
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!5015
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-5014"
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?
@xteral67 on GitHub · 2026-12-01 17:17 UTC · original
xteral67:arena-lazy→main· +1552 −17 · 6 files · 9 commits · draftDepends on #4751 and #4923 (this branch is built on #4923).
What it changes
With the window arena on, every tile of a window takes a 64 KiB tile of the PC pool when the window is made. Many tiles are never written by the title, so that memory is held for nothing.
With
VICTORY_ARENA_LAZY=1a window tile takes a pool tile only when title bytes are first written into it. Until then:A window that shaders are declared to write takes all its tiles at once, because card writes into a tile mapped to nothing would be lost. The diagnostics build also counts window tiles that were never filled.
Off by default. With the switch off nothing changes.
How it was tested
cargo test, other cards, Series S profile, a card with tiled resources tier 1.Checked for overlap
🤖 Generated with Claude Code
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.