mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-17 09:19:58 -04:00
The driver charges device memory to the system's commit. A 32 GB PC lost the device at an area load with the system at 61 of 65.5 GB committed, the game at 28 GB: 12.35 GB of VRAM in use, of it up to 1.3 GB in released textures kept for reuse, 0.5 to 1.8 GB free inside VMA's blocks, and a spare 256 MiB block per memory type. - Released textures keep a thirty-second of the installed memory (512 MiB to 2 GiB) instead of a sixteenth (1 to 4 GiB); only those released STALE_FRAMES presents ago go, so the transient ones the game takes back stay. - The headroom thread keeps no spare block while the system's commit is low (vk_texture_commit_low), as it already keeps none under VRAM pressure. - A texture image of 32 MiB or more gets memory of its own (DEDICATED_MIN), so freeing it gives the memory back at once instead of leaving a hole in a shared block that the driver counts in full until the block empties. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
159 KiB
159 KiB