rt README: a submission a reset cut can report completed on RADV, a known gap

On a GPU fault, Metal ends the faulting command buffer with an error. On RADV
(a 780M), the reset that follows signals the cut submission's progress
semaphore before any call reports the loss, so a wait sees its value
reached and the runtime reports those command buffers completed. The loss is
reported by the next call. Vulkan tells no command buffer's fault apart, and
spec 5.2.3 counts VK_ERROR_DEVICE_LOST as VK_SUCCESS for whether a command
buffer is pending. The planner ruled this a known gap: a marker on every
submission would be a check beside the program's work.

Evidence: u3 on gem10's 780M (48704). The fault was at 16:31:01.833 and the
ring reset at 16:31:03.873. Submission 33466's completion wait returned Ok
after 2,052 ms. Submission 33467 met VK_ERROR_DEVICE_LOST 28 ms later.

Docs only; the floor test reads only the README's Floor section.
This commit is contained in:
Anees Iqbal committed 2026-11-18 20:15:18 -08:00
1 parent 4196a258ec
commit c14df7724c
1 file changed
+7 -4
+7 -4
View File
@@ -952,10 +952,13 @@ that touch blocks first.
device every frame, the hang lasts about a frame and then every guest process sees the device
lost; it lasts indefinitely only when nothing else submits. 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, since it does not hand kernels raw addresses; the new runtime refuses the first
kernel and took the second without a fault. A bad address that the old runtime survived ends the
UHD 630) does so at once; ANV (an Iris Xe) takes the store with no fault. On RADV (a 780M), the
command buffers of the submission a reset cut can report completed, since the reset signals its
semaphore before any call reports the loss: the loss is reported by the next call, where Metal
ends the faulting command buffer with an error. 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, since it
does not hand kernels raw addresses; the new runtime refuses the first kernel and took the second
without a fault. A bad address that the old runtime survived ends the
GPU's work for every guest process under the new runtime on NVIDIA and RADV: the consequence of
one device and direct addresses, which the owner accepted.
- An index past a set 1 array's length is a fault of the same kind. A kernel indexes the arrays