VRAM pressure: reflection probes as a ladder step (resolution, then count), probe budget, no hard OOM aborts (#294) #295
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
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
sky_line/Slipstream#295
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?
From the crash in #294 (RTX 4070 12 GB, 3440x1348, probes Raytraced / Full scene / 512 px x 256).
What happened:
createBufferallocation failed (VK_ERROR_OUT_OF_DEVICE_MEMORY,vk_device.cpp:1842) and the viewer aborted.Do
RenderReflectionProbeResolutionfirst (512 -> 256 -> 128), thenRenderReflectionProbeCount(256 -> 128 -> 64).createBuffercall atvk_device.cpp:1842was a hard VK_CHECK. Find growth/staging/store allocations that can run mid-session and make them soft: fail → enter pressure → retry next frame / keep the old size. Log the caller.Done when
The #294 settings on a 12 GB card (
RenderVKDebugFakeVramBudgetMBcan simulate it) load a busy sim without crashing. Probes drop with a notice, textures stay sharp, and no hard OOM abort is possible from growable buffers.Part of #405 (RAM/VRAM management epic).
Verified 2026-10-10: the VRAM ladder engaged 'reflection probe resolution 1/2' then 'probe count 1/4' under a 2000 MB fake budget and restored both on recovery. Closing.