Textures: the card detile buffer is leased per list and pooled between (VICTORY_DETILE_LEASE=1) #2338
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!2338
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2338"
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 12:08 UTC · original
101Leafy:nv/detile-lease→main· +119 −19 · 2 files · 1 commits · openA texture detiled on the card keeps its linear buffer for as long as its staging buffer lives, so every texture that was ever copied holds a second copy of its bytes in video memory, even when no list has copied from it for minutes.
With
VICTORY_DETILE_LEASE=1the linear buffer is made when a list first copies from the texture and goes back to the pool once no list that copies from it is held:Staging::leasetakes a hold for the list before it records copies, making the buffer from the pool if no list holds one, and resetsrecordedso the new buffer is detiled again.LinearLeasein its deferred state; reset drops it, and the last one gives the buffer back to the pool.Off by default; without the switch the buffer is made with the staging buffer, as before.
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.