chrg6
afe44e0e54
Let the device address table read a new VRAM mirror only once the mirror's first copy has run.
...
A mirror is made while a submission is recorded, and its first copy of the pool is in that submission's prologue. The table's pages moved to the mirror at once, and the table is memory the shaders read as they run: every part already handed to the queue read the mirror through it before the copy had run, memory nothing had written yet and, on a card over its budget, a block the driver had not made resident for those parts. A GTX 1650 4 GB lost its device that way at area loads in every session of 0.7.1 (#507 ): six reports of a GPU read fault at byte 0 of a mirror made in the faulting submission, each the first byte of a new 2 MiB-aligned block, with mirrors being made over the budget, and none with the table kept empty. The mirror code is the same in 0.9.2.
Now the pages keep reading the imported buffer and take the mirror as their twin, so what shaders write through the table goes to both and what they read is guest memory, as before the mirror existed. Once the GPU has finished the submission that holds the copy, the pages move to the mirror with the imported buffer as the twin. gpa_late = 0 moves them at once, as before. tests/gpa_check.py covers the new table step; the mirror side was compiled and run through --probe-vkmem, not played.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-12 15:09:42 -05:00
..
2026-11-11 00:39:50 -05:00
2026-11-12 15:00:27 -05:00
2026-11-12 12:50:43 -05:00
2026-11-11 15:09:16 -05:00
2026-11-12 13:59:43 -05:00
2026-11-11 00:39:50 -05:00
2026-11-10 23:16:17 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-12 02:11:46 -05:00
2026-11-10 22:59:02 -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-12 03:54:21 -05:00
2026-11-10 00:21:31 -05:00
2026-11-11 18:10:38 -05:00
2026-11-11 00:39:50 -05:00
2026-11-11 00:20:22 -05:00
2026-11-10 15:14:25 -05:00
2026-11-12 15:09:42 -05:00
2026-11-12 13:59:43 -05:00
2026-11-09 08:09:25 -05:00
2026-11-07 05:04:38 -05:00
2026-11-11 00:11:41 -05:00
2026-11-11 00:11:41 -05:00
2026-11-11 00:11:41 -05:00
2026-11-11 00:11:41 -05:00
2026-11-11 00:11:41 -05:00
2026-11-11 00:11:41 -05:00
2026-11-11 00:11:41 -05:00
2026-11-11 00:11:41 -05:00
2026-11-11 00:11:41 -05:00
2026-11-11 00:11:41 -05:00
2026-11-11 00:11:41 -05:00
2026-11-11 00:20:22 -05:00
2026-11-07 05:04:40 -05:00
2026-11-12 12:50:43 -05:00
2026-11-12 12:50:43 -05:00
2026-11-08 01:25:12 -05:00
2026-11-09 09:10:36 -05:00
2026-11-11 04:35:30 -05:00
2026-11-11 04:35:30 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 03:34:46 -05:00
2026-11-12 13:08:16 -05:00
2026-11-12 13:08:16 -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-11 00:11:41 -05:00
2026-11-12 03:54:21 -05:00
2026-11-11 00:40:20 -05:00
2026-11-11 00:11:41 -05:00
2026-11-11 14:06:16 -05:00
2026-11-09 23:42:12 -05:00
2026-11-12 16:23:15 +01:00
2026-11-08 00:34:29 -05:00
2026-11-09 08:09:26 -05:00
2026-11-12 16:22:15 +01:00
2026-11-07 05:04:38 -05:00
2026-11-11 19:38:18 -05:00
2026-11-11 19:38:18 -05:00
2026-11-07 05:04:38 -05:00
2026-11-12 02:15:35 -05:00
2026-11-10 23:24:12 -05:00
2026-11-12 12:14:58 -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 12:48:50 -05:00
2026-11-10 12:48:50 -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-12 12:17:55 -05:00
2026-11-11 02:36:54 -05:00
2026-11-11 00:39:50 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 21:54:40 -05:00
2026-11-10 23:16:17 -05:00
2026-11-12 16:22:59 +01:00
2026-11-09 20:48:10 -05:00
2026-11-11 19:38:18 -05:00
2026-11-10 10:26:51 -05:00
2026-11-10 10:26:51 -05:00
2026-11-12 14:57:13 -05:00
2026-11-11 04:48:36 -05:00
2026-11-12 12:14:58 -05:00
2026-11-11 00:39:08 -05:00
2026-11-07 09:26:51 -05:00
2026-11-10 23:14:00 -05:00
2026-11-08 15:51:48 -05:00
2026-11-07 05:04:40 -05:00
2026-11-12 16:23:02 +01:00
2026-11-12 16:23:02 +01:00
2026-11-11 05:58:43 -05:00
2026-11-11 19:38:17 -05:00
2026-11-11 05:58:32 -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-12 12:09:37 -05:00
2026-11-12 12:09:37 -05:00
2026-11-11 02:36:54 -05:00
2026-11-11 00:39:58 -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-12 12:09:36 -05:00
2026-11-12 12:14:58 -05:00
2026-11-11 19:38:17 -05:00
2026-11-11 19:38:17 -05:00
2026-11-12 12:09:36 -05:00
2026-11-07 05:04:40 -05:00
2026-11-12 12:09:36 -05:00
2026-11-07 05:04:40 -05:00
2026-11-11 19:38:17 -05:00
2026-11-07 05:04:39 -05:00
2026-11-07 05:04:39 -05:00
2026-11-11 19:38:18 -05:00
2026-11-11 19:38:18 -05:00
2026-11-11 19:38:18 -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-10 22:59:02 -05:00
2026-11-07 13:31:07 -05:00
2026-11-11 08:04:19 -05:00
2026-11-07 05:04:40 -05:00
2026-11-12 16:21:42 +01: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-10 23:24:34 -05:00
2026-11-09 02:40:51 -05:00
2026-11-12 03:54:21 -05:00
2026-11-11 19:38:18 -05:00
2026-11-10 06:35:28 -05:00
2026-11-10 06:35:28 -05:00
2026-11-12 16:22:00 +01:00
2026-11-12 16:22:00 +01:00
2026-11-12 16:22:00 +01:00
2026-11-09 08:20:01 -05:00
2026-11-11 04:36:33 -05:00
2026-11-07 05:04:38 -05:00
2026-11-11 15:09:16 -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-11 00:39:08 -05:00
2026-11-09 11:22:38 -05:00
2026-11-10 23:16:17 -05:00
2026-11-10 23:16:17 -05:00
2026-11-11 00:20:22 -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-12 07:55:57 -05:00
2026-11-12 07:55:57 -05:00
2026-11-11 18:10:38 -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-11 00:20:22 -05:00
2026-11-07 05:04:38 -05:00
2026-11-12 02:11:46 -05:00
2026-11-12 02:11:46 -05:00
2026-11-07 05:04:40 -05:00
2026-11-12 12:33:06 -05:00
2026-11-12 02:11:46 -05:00
2026-11-12 13:59:43 -05:00
2026-11-12 13:59:43 -05:00
2026-11-07 05:04:38 -05:00
2026-11-12 08:23:25 -05:00
2026-11-12 02:11:46 -05:00
2026-11-12 13:58:36 -05:00
2026-11-11 04:42:07 -05:00
2026-11-11 04:29:31 -05:00
2026-11-12 16:22:15 +01:00
2026-11-09 03:34:46 -05:00
2026-11-12 04:39:12 -05:00
2026-11-12 14:57:21 -05:00
2026-11-12 15:00:27 -05:00
2026-11-12 12:50:43 -05:00
2026-11-12 12:09:37 -05:00
2026-11-11 15:09:15 -05:00
2026-11-10 23:14:00 -05:00
2026-11-12 12:14:58 -05:00
2026-11-12 14:57:21 -05:00
2026-11-11 04:35:30 -05:00
2026-11-12 16:23:07 +01:00
2026-11-12 12:14:58 -05:00
2026-11-12 12:14:58 -05:00
2026-11-11 04:49:01 -05:00
2026-11-12 10:21:47 -05:00
2026-11-12 12:56:51 -05:00
2026-11-12 12:50:43 -05:00
2026-11-12 16:23:12 +01:00
2026-11-12 12:09:37 -05:00
2026-11-12 12:09:37 -05:00
2026-11-12 12:14:58 -05:00
2026-11-12 16:23:12 +01:00
2026-11-07 05:04:40 -05:00
2026-11-09 03:34:46 -05:00
2026-11-12 15:09:42 -05:00
2026-11-12 15:09:42 -05:00
2026-11-12 04:39:12 -05:00
2026-11-11 19:38:18 -05:00
2026-11-12 15:09:42 -05:00
2026-11-11 05:58:42 -05:00
2026-11-11 05:58:42 -05:00
2026-11-07 05:04:38 -05:00
2026-11-12 04:39:12 -05:00
2026-11-07 05:04:38 -05:00
2026-11-12 13:00:13 -05:00
2026-11-12 13:00:13 -05:00
2026-11-11 05:58:42 -05:00
2026-11-11 05:25:38 -05:00
2026-11-12 13:58:36 -05:00
2026-11-10 12:14:29 -05:00
2026-11-12 14:59:47 -05:00
2026-11-09 03:34:46 -05:00
2026-11-12 12:09:37 -05:00
2026-11-12 13:00:13 -05:00
2026-11-07 05:04:38 -05:00
2026-11-10 09:13:35 -05:00
2026-11-12 15:00:27 -05:00
2026-11-10 15:20:47 -05:00
2026-11-10 09:12:33 -05:00