Textures: the card detile buffer is leased per list and pooled between (VICTORY_DETILE_LEASE=1) #2338
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by 101Leafy on 2026-11-29T12:08:04Z.
A 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
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.