RTX 2080 8 GB, 32GB DDR4 3200MT/s, i7-9700k, / v1.1.3 — Changing Render Scales in F10 bloats heaps' free space by ~1 GB #367
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/gamingwithhomie--larp#367
Loading…
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?
@konpersona2-cpu on GitHub · 2026-12-05 23:39 UTC · original
Bug Report (8 GB GPU / v1.1.3): Toggling Render scale in F10 (1/1 → 1/2 → 1/1) mid-session leaves the old render-target allocations sitting in heaps' free space (232 MB → 1.2 GB on F9) instead of releasing/reusing the heap properly. On an 8 GB card (RTX 2080, 6.4 GB budget), that +1 GB of stranded heaps' free space pushes total VRAM over 6.4 GB (6.6 / 6.4 GB) and triggers -2005270523 (DXGI_ERROR_DEVICE_REMOVED) until restarting the game.
@gamingwithhomie on GitHub · 2026-12-05 23:51 UTC · original
This matches the frame_reset VRAM retention another user measured in #335 (alias pool + texture objects roughly doubling after a live F10 upscaler switch, not returned 15 s later). Linking the two: a live render-scale change seems to keep the old alias pool/textures alive. As a workaround, restart after changing render scale instead of live-switching on 8 GB. Keeping open as the tracker for heap growth on frame_reset.
@bgschf on GitHub · 2026-12-06 02:19 UTC · original
Another data point, on an RTX 4060 8 GB. Here it doesn't crash: card memory overflows into shared system memory and the game drops to 4-5 fps until restart.
Setup: RTX 4060 8 GB (PCIe 3.0 x8 on a Ryzen 7 5700G), 16 GB RAM, Windows 11, local build of
mainatdeb2a0d(v1.1.2 + menu),series-s, 1080p, DLSS Performance + DLSS FG 2x, Reflex on,--stream-budget 2500.Measured in one session (Windows
GPU Adapter Memorycounters every 2 s, next to larp's frame lines):main(deb2a0d). The memory counters were recorded only in this one.DLSS: feature madelines sayrender=960x544, whatever the scale.larp_gpu::regionserrors "title memory read inside a buffer the GPU owns" withreader=crates\larp-gpu\src\shadow.rs:2861, all on one 0x84-byte buffer taken in the first frame after the reset. Across the session there are also 16 "a window of title memory outside buffers is made partly over a buffer the GPU owns" errors, two of them within 0.2 s after the 1st reset'sDLSS: feature made.The dark start that made me change the render scale in the first place was #335 (
LARP_PIPELINE_WAIT_MS=8), so with v1.1.6 I'll just stop changing it live, as suggested above.