chrg6
f16554cb8e
Keep the game's buffers mirrored in video memory up to half the budget, even when textures have filled it.
...
mirror_create refused a pool whose mirror did not fit under seven eighths of the VRAM budget. It first evicts idle
mirrors and asks idle textures for room, but on a 6 GiB card a loaded area's textures in use pass the budget by
themselves, so neither helps and the pools stay imported: the GPU then reads vertices, indices and storage over PCIe
at every draw. Two reports from RTX 3060 Laptop cards (6 GiB, a budget of about 4.7 GiB) measured 70 to 250 ms of GPU
time a frame and 5 to 13 fps in that state.
Now a mirror is made although the check fails while the mirrors together stay within half the budget; the textures
are still asked for the room, and past that share a pool is refused as before. A mirror the driver cannot keep in VRAM
is paged to system memory, where the imported pool already is, so it does not read slower than its pool.
Measured with the budget capped at 4,730 MiB on a 32 GiB card (1080p window, DLSS Balanced, no frame generation,
standing in Hyrule Field): before, 4 pools of 244.6 MiB stay imported, the largest pool among them (244.4 MiB), with
634 MiB mirrored; after, none stay imported and 878 MiB are mirrored, in two runs. The area still needs 5.6 to 6.3
GiB there, 3.9 GiB of it textures, so a 6 GiB card stays over its budget: this ends the buffer starvation, not the
overflow. Not run on a 6 GiB card.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-10 09:31:21 -05:00
..
2026-11-09 20:48:10 -05:00
2026-11-10 07:32:34 -05:00
2026-11-10 06:30:06 -05:00
2026-11-07 13:31:06 -05:00
2026-11-10 09:14:23 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 08:19:19 -05:00
2026-11-09 08:19:19 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-10 00:21:31 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-10 01:55:30 -05:00
2026-11-10 00:21:31 -05:00
2026-11-09 20:51:05 -05:00
2026-11-10 00:21:31 -05:00
2026-11-10 09:14:23 -05:00
2026-11-10 09:14:23 -05:00
2026-11-10 09:14:23 -05:00
2026-11-09 08:09:25 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:40 -05:00
2026-11-08 01:25:12 -05:00
2026-11-09 09:10:36 -05:00
2026-11-10 07:22:41 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 03:34:46 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:39 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 13:13:43 -05:00
2026-11-09 13:13:43 -05:00
2026-11-09 13:13:43 -05:00
2026-11-10 03:32:46 -05:00
2026-11-09 21:11:18 -05:00
2026-11-09 21:11:18 -05:00
2026-11-09 21:01:47 -05:00
2026-11-09 23:42:12 -05:00
2026-11-10 06:45:59 -05:00
2026-11-08 00:34:29 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 20:51:04 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 20:51:09 -05:00
2026-11-09 08:18:19 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 23:42:12 -05:00
2026-11-07 16:02:30 -05:00
2026-11-10 07:32:34 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 08:21:07 -05:00
2026-11-09 08:21:07 -05:00
2026-11-09 08:21:07 -05:00
2026-11-10 06:53:30 -05:00
2026-11-10 06:53:30 -05:00
2026-11-09 03:34:46 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 03:34:46 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 23:54:29 -05:00
2026-11-09 03:34:46 -05:00
2026-11-10 01:55:30 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 21:54:40 -05:00
2026-11-09 20:48:10 -05:00
2026-11-10 07:15:30 -05:00
2026-11-09 20:48:10 -05:00
2026-11-07 05:04:40 -05:00
2026-11-10 07:22:41 -05:00
2026-11-10 07:22:41 -05:00
2026-11-10 09:14:23 -05:00
2026-11-10 07:12:23 -05:00
2026-11-07 09:26:51 -05:00
2026-11-07 09:26:51 -05:00
2026-11-07 05:04:40 -05:00
2026-11-08 15:51:48 -05:00
2026-11-07 05:04:40 -05:00
2026-11-08 15:51:48 -05:00
2026-11-09 08:09:25 -05:00
2026-11-08 15:51:48 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 12:18:17 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 18:03:20 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 20:48:10 -05:00
2026-11-09 23:42:12 -05:00
2026-11-09 20:48:10 -05:00
2026-11-08 15:51:47 -05:00
2026-11-08 15:51:47 -05:00
2026-11-07 05:04:40 -05:00
2026-11-08 15:51:47 -05:00
2026-11-07 05:04:40 -05:00
2026-11-08 15:51:47 -05:00
2026-11-07 05:04:39 -05:00
2026-11-07 05:04:39 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 08:54:25 -05:00
2026-11-08 15:51:48 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 08:19:55 -05:00
2026-11-07 13:31:07 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-10 01:55:27 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 13:13:43 -05:00
2026-11-09 02:40:51 -05:00
2026-11-09 21:21:48 -05:00
2026-11-09 02:40:51 -05:00
2026-11-07 05:04:40 -05:00
2026-11-10 06:20:40 -05:00
2026-11-10 06:35:28 -05:00
2026-11-10 06:35:28 -05:00
2026-11-09 08:20:32 -05:00
2026-11-09 08:20:01 -05:00
2026-11-07 05:04:38 -05:00
2026-11-10 01:55:28 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:40 -05:00
2026-11-10 06:53:30 -05:00
2026-11-09 11:22:38 -05:00
2026-11-09 13:13:43 -05:00
2026-11-09 13:13:43 -05:00
2026-11-09 13:13:43 -05:00
2026-11-09 13:13:43 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-08 15:51:48 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:39 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-10 09:13:08 -05:00
2026-11-07 05:04:40 -05:00
2026-11-10 09:14:23 -05:00
2026-11-10 09:14:23 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 14:56:17 -05:00
2026-11-10 07:17:01 -05:00
2026-11-09 18:17:12 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 21:10:23 -05:00
2026-11-10 06:17:13 -05:00
2026-11-10 09:12:33 -05:00
2026-11-10 07:31:55 -05:00
2026-11-09 12:18:17 -05:00
2026-11-09 12:18:17 -05:00
2026-11-10 06:24:56 -05:00
2026-11-10 07:31:55 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 18:49:12 -05:00
2026-11-10 06:20:40 -05:00
2026-11-10 06:55:13 -05:00
2026-11-10 06:33:22 -05:00
2026-11-10 06:33:22 -05:00
2026-11-10 06:33:22 -05:00
2026-11-10 06:33:22 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 03:34:46 -05:00
2026-11-10 06:30:06 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 23:27:02 -05:00
2026-11-10 06:20:03 -05:00
2026-11-10 09:31:21 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-10 09:13:35 -05:00
2026-11-09 20:48:10 -05:00
2026-11-09 08:09:26 -05:00
2026-11-10 06:30:06 -05:00
2026-11-10 09:13:08 -05:00
2026-11-09 03:34:46 -05:00
2026-11-10 07:31:55 -05:00
2026-11-07 05:04:38 -05:00
2026-11-10 09:13:35 -05:00
2026-11-10 07:31:55 -05:00
2026-11-10 09:12:33 -05:00