VRAM: mRegir kept after GI and RT reflections are off (48 MB); AO normal target always allocated (63 MB) #1432
Labels
No labels
amd
avatars
bug
builder
cannot-reproduce
crash
epic
feature
from-viewer
gl-removal
known-limitation
monitoring
parity
perf
platform
priority
critical
priority
high
priority
low
priority
medium
provenance
rendering
rt
status
in-progress
status
testing
status
up-next
triage
ui
upstream
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sky_line/Slipstream#1432
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
mRegir (llcleanrenderervk.cpp ~50418) is freed only at shutdown (~41107), MEASURED 48-50 MB: free it after a grace period when no consumer needs it. mAoNormal (~34954) is allocated unconditionally at full-res RGBA16F, but deferred frames (the default) read G1: allocate it lazily only when a frame needs it (63 MB at 4K DLAA). High / medium confidence.
From the 4K VRAM audit (2026-11-04) prompted by #1422 (RTX 4070 Ti SUPER at 3840x2089 with RT + GI: the degrade ladder sat at rung 21/45, capping textures, mesh detail 1/4 and draw distance 35% while lighting kept full cost). Sizes are at 4K unless noted; COMPUTED = from formats in code, MEASURED = from logs.
Both parts are already on main (merged with
65b7ad1281, "VRAM free wins"), so closing:a4c9c3e58afrees the light reservoir grid (48 MB) after 10 s with no consumer (freeRegirIdle).ensureRegirBufferre-creates it when a frame wants it again.3e89ec103fmakes it on demand (ensureAoNormal) and frees it afterkAoNormalHoldSecsunused (63 MB at 4K).