Files
reims-vgpu/docs
Anees Iqbal 932e907844 🆕 Name and place a lost device's driver fault on its line
A lost device's line named the Vulkan call that met the loss and nothing of
the fault behind it, so a loss on the host left no trace of what the GPU read
or ran when it faulted. rt reads the driver's report (VK_EXT_device_fault) at
the loss and places none of its addresses: that is the platform's to do, as it
holds the guest's objects and the blocks they lie in.

On the host, a lost device's line is now followed by the fault's lines on
stderr: the driver's description and vendor records; each access it names,
rounded to its precision and placed among the decoders' live objects (buffers,
heaps, textures over a buffer, Managed textures' CPU-copy buffers) and the
mapped blocks the host sees (rt's pool allocations, the device's known blocks
and dma-buf imports, the blocks of live objects), with the offset in each that
holds it; where none does, the nearest live object and the nearest mapped
block below and above the address, each with its id or class and its distance
in bytes; each instruction pointer, placed the same way, with the note that no
range the host sees holds shader code; and what the placement saw and did not.
A loss that rt read no report for says so on one line.

The device gives rt a BlockMappings that maps nothing and refuses nothing, to
keep its pool allocations' ranges, and each import's range is kept beside the
record of where it was imported. The decoders' tables are walked only at the
loss, each walk waiting 500 ms in all for its locks, as the lines are written
on rt's completion thread. Nothing the guest sees changes.
2026-11-21 02:17:24 -08:00
..