Windows / NVIDIA RTX 3070 8 GB: device lost after ~20 areas because retired pools are kept (RX_VK_KEEP_RETIRED=0 fixes it) #1057
Labels
No labels
accessibility
autorelease: pending
autorelease: tagged
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
testing wanted
wontfix
No milestone
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Hookshot#1057
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?
What happens
On Windows with an NVIDIA RTX 3070 (8 GB), a long session that visits many areas ends in a device lost. Since
3f5b0aa,retired pools are kept on Windows, and after ~20 areas the kept imports reach several GB:
The next area (the Forest Temple, both times) loses the device (
vk: submit ... failed (-4)).With
RX_VK_KEEP_RETIRED=0the same tour finishes every area:How it was measured
fa439391(2026-11-09), Windows 11, RTX 3070 8 GB, i7-14700KF, 32 GB RAM.7133c1a2): from a Kokiri Forest save, the teleport destinations in order,20 s in each (Death Mountain Crater and the Fire Temple left out because the heat kills child Link, and the Haunted
Wasteland because the screen stays black after that teleport). Same save, same tour, same settings; only the switch
changes:
3f5b0aawas tested on an RTX 4060 Ti in Kokiri Forest only (39 retired pools, 944 MB): one area does not reach theamount where keeping them matters.
Suggestion
Keep retired pools only on the GPUs where giving them back was shown to break (Intel Arc, issue 17; the AMD reports 309
and 571) and give them back on NVIDIA, or cap what is kept (for example, give back the oldest beyond 1-2 GB).
Possibly related: #1015 (Kakariko to Death Mountain Trail, device lost every time on an RX 6700 XT).
Thanks for the careful A/B measurements. Linking this to the VRAM tracker #993 (textures and memory over budget on 4-8 GB cards); the retired-pool default on Windows is the lead here.
Thanks again for the measurements. In the next release, retired pools are given back on NVIDIA, which matches your RX_VK_KEEP_RETIRED=0 result. This issue will be closed when that release ships.
Fixed in v2.0.8, out now: update from the launcher or download it from Releases. Please reopen with a log if it still happens.