rt README: on NVIDIA a GPU fault in a guest's kernel hangs that command buffer's completion

The planner ruled the NVIDIA fault gap a known gap (ladder rung 3: repro, upstream report, README).
Measured with an opt-in repro: one compute dispatch storing through a buffer device address
nothing maps, then bounded probes (C program fault-wait.c, staged with the upstream draft):
- NVIDIA 620.70.06, RTX 3090 (m3-max-44640, 44655: Xid 109) and RTX 2080 (44643, 44654: Xid 13
  MMU Fault): the semaphore never signals; 1 s waits return VK_TIMEOUT and the counter read
  succeeds with the old value; an unbounded vkWaitSemaphores had not returned after 60 s. Every
  later vkQueueSubmit of that device (same queue, the family's second queue, another family)
  and vkDeviceWaitIdle return VK_ERROR_DEVICE_LOST; a second VkDevice runs. A wait for either
  the faulted semaphore or a second one returns once the host signals the second, as the
  completion thread's wake does, so a later submission's loss ends the hang.
- RADV Mesa 26.2.6, 780M Phoenix and RX 7900 XTX (44635, 44643): GPUVM fault and ring reset; the
  semaphore signals after 2.0-2.1 s, later submits return VK_ERROR_DEVICE_LOST, a second device
  runs.
- Intel Windows 1.3.215, UHD 630 (44620, 44642): the counter reads UINT64_MAX at once, the next
  submit returns VK_ERROR_DEVICE_LOST, a second device runs.
- ANV Mesa 26.2.6, Iris Xe RPL-P (44641): no fault; the store completes.
- Through the harness (a described workload: a store through a pointer to 0x10000, and a store
  64 TiB past a 16-byte buffer): old completed both without a fault or an error on all six GPUs;
  new refuses the pointer kernel (the translator's IdentityDomains) and completed the other
  without a fault.

The gb play's hang (replay, frame 1095) was this: its #382399 was submitted and its kernel hit
Xid 13 on the 3090 (readout m3-max-44566).
This commit is contained in:
Anees Iqbal committed 2026-11-17 22:58:13 -08:00
1 parent 3201e09737
commit 0c9a4ad558
1 file changed
+13
+13
View File
@@ -584,6 +584,19 @@ that touch blocks first.
read and overwrote another's Shared buffer, Private buffer and texture through addresses and
resource IDs it made up, with no fault. The consumer treats every byte on the device as
guest-writable and keeps nothing there that it parses or trusts.
- On NVIDIA, a GPU fault in a guest's kernel hangs that command buffer's completion, where Metal
ends it with an error. A fault (an access to an address nothing maps) loses the device on
NVIDIA's driver and on RADV, and one device serves every guest process, so every guest's later
work ends `DeviceLost`; a second Vulkan device, such as another process's, keeps running.
NVIDIA's driver (620.70.06; an RTX 2080 and an RTX 3090) tells only a later submission or
`vkDeviceWaitIdle`: the faulting submission's semaphore never signals, and an unbounded wait for
it had not returned after 60 s. Until some queue's next submission meets the loss, the faulting
command buffer, and every host wait for it, stay as they are; that submission's failure then
ends everything as a loss. RADV (a 780M and an RX 7900 XTX) signals the semaphore within about
2 s and refuses the next submission; Intel's Windows driver (a UHD 630) does so at once; ANV (an
Iris Xe) takes the store with no fault. The old runtime took a store through a pointer to an
address nothing maps, and one 64 TiB past a buffer, without a fault on all six GPUs; the new
runtime refuses the first kernel and took the second without a fault.
- Presenting (the binary semaphore a command buffer signals for a present) comes with presenting.
- A fence orders the encoders of one queue: an encoder of another queue that updates or waits on
it is refused (`Gap::FenceOtherQueue`), as Metal's fence orders one queue and `MTLEvent` orders