Files
metal2vulkan/docs
Anees Iqbal c3a002b71c stall test: the stopped test drains the parked queue before the process exits
On NVIDIA (620.70.06; um870's RTX 3090 and um790's RTX 2080) the stopped
test passed and its process never exited: under gdb (job 23736) the test
reported ok in 21.5 s, and the main thread then spun in exit(), in an exit
handler of libEGL_nvidia that tears down every VkDevice left and waits for its
work. The parked VkDevice's batch waits for the event's semaphore, which the
test never signalled. The test now keeps the stopping generation's functions
and semaphore and signals the reserved counter on the parked VkDevice once it
has checked the recovery, so its queue drains. It prints when the stuck
command buffer failed and when the next one ran.

docs/FAST-PATHS.md's known gap and stall.rs's module docs say a driver may
wait for a parked VkDevice's work at the process's exit (NVIDIA's did, for
that stand-in wait); a GPU that truly stopped is not measured there.

Verified: cargo fmt. The NVIDIA runs follow with this commit's archive.
2026-11-12 18:50:18 -08:00
..