mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-18 15:19:58 -04:00
Take out the GPU address history of a lost device's report.
The author of the pull request it was ported from closed that request on 2026-11-11 with the words that they give no permission to use its code. The history (NX2NAVI_VA_REPORT, runtime/vk_vaddr.c, the stack walk it used and its notes in the docs and the example settings) goes; the lost device's report keeps the breadcrumbs, the pass marks, the video memory and the driver's fault information. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -99,15 +99,6 @@ static inline int vk_device_is_lost(void) { return __atomic_load_n(&vk_lost, __A
|
||||
// callbacks: a lost device may report the submissions' timeline as reached (vk_sync.c completion_main).
|
||||
void vk_device_lost_poll(void);
|
||||
|
||||
// ---- GPU address history (vk_vaddr.c, NX2NAVI_VA_REPORT=1, 2 with call stacks): VK_EXT_device_address_binding_report's
|
||||
// reports, kept so the lost device report (vk_device.c device_fault_report) can name the objects that held a faulting address.
|
||||
int vk_vaddr_wanted(void);
|
||||
void vk_vaddr_start(VkInstance instance); // create_instance, after vkCreateInstance
|
||||
void vk_vaddr_device(int supported); // create_device: the driver reports address bindings
|
||||
void vk_vaddr_fault(uint64_t addr, uint64_t precision); // logs the reports whose range covered addr's page
|
||||
void vk_vaddr_dump(void); // the whole history to vaddr-history.txt beside the log
|
||||
void vk_vaddr_stop(VkInstance instance); // before vkDestroyInstance
|
||||
|
||||
// ---- GPU breadcrumbs (vk_crumbs.c): with VK_AMD_buffer_marker, each crumb has the GPU write its code into host memory
|
||||
// twice, when the command processor reaches it and when all work before it has finished. After a lost device the two
|
||||
// codes bracket the work that hung. Without the extension every call returns at once.
|
||||
|
||||
Reference in New Issue
Block a user