feat(agc): name draws in device-lost fault reports via token ring #14943
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/14943"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by SuarezPM on 2026-11-02T02:53:41Z.
What
Device-lost reports now name the in-flight draw/dispatch instead of only logging a raw fault VA. A 32-bit fault token is claimed per recorded draw/dispatch (submit serial, program address, variant id, short desc), written identically to AMD markers, NV diagnostic checkpoints and a CPU-side ring, and the device-lost hook prints a serial window (last completed, in flight, first not started) with queue roles, token resolution, a build fingerprint and the nearest live resources. Related issues (diagnostics only, closes none): #10634 (Demon's Souls write invalid), #6374 (Onimusha), #6284 (Astro Bot).
Tested
CachyOS Linux 7.3.0-4, NVIDIA GeForce RTX 2060 SUPER (Turing), driver 615.78.08.
cmake --build(lib +agc_device_fault_tests+agc_vendor_dump_tests+agc_driver_recorder_tests) andctest -R "agc_device_fault|agc_vendor_dump|agc_driver_recorder" -Vonmain(2/2 pass) and on this branch (3/3 pass) withVK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation,ANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1: nowas not found but was requested by env var VK_INSTANCE_LAYERSin either log, zero newVUID-validation errors vsmain. No real device loss in the suite by design (synthetic unit tests only); the AMD marker-buffer path was not exercised on AMD hardware.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)