mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:45:53 +01:00
[PR #1934] vulkan: with LEONIDA_DEVICE_FAULT_ROOTS a dispatch checkpoint names its own dispatch (RT-FAULT-CHECKPOINT-DISPATCH) #1943
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1943
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1934
Author: @kawaii-shakal
Created: 11/25/2026
Status: 🔄 Open
Base:
main← Head:fault-roots-submission📝 Commits (4)
f6448b0vulkan: with LEONIDA_DEVICE_FAULT_ROOTS a dispatch checkpoint names its own dispatch (RT-FAULT-CHECKPOINT-DISPATCH)ac16dbeMerge upstream main into fault-roots-submissiond05321aMerge upstream main into fault-roots-submissionbf1fce7vulkan: with LEONIDA_DEVICE_FAULT_ROOTS a submission keeps up to 1,024 of its dispatches📊 Changes
4 files changed (+84 additions, -24 deletions)
View changed files
📝
docs/d3d12_vulkan.md(+6 -1)📝
runtime/CMakeLists.txt(+2 -0)📝
runtime/src/vulkan_device_fault.h(+56 -20)📝
runtime/test/vulkan_device_fault_test.cpp(+20 -3)📄 Description
Claimed in the coordination issue as RT-FAULT-CHECKPOINT-DISPATCH: https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7167618613
Problem
The device-fault report lists the last 64 dispatches submitted across all queues. In the world-start losses of 1.0.2.1 on an RTX 5070 Ti, all 64 belonged to one late submission. That pushed out the dispatch that the NVIDIA checkpoint pointed at, which sat in an earlier submission: in one boot, execute #4605 had replaced the entries for the checkpoints of #4598, #4599 and #4601. The checkpoint gave the list and command but no groups, indirect arguments or root words.
Change
With
LEONIDA_DEVICE_FAULT_ROOTS=1:DeviceFaultDiagnostics::publishno longer clears it in this mode). Without the variable it is cleared as before, so the default costs nothing more.checkpoint dispatch, with the dispatch at exactly that submission, list and command: groups or indirect arguments, and the 32 root words. When it isn't there, the line says so.print_dispatchnow prints both these lines and the global history lines, which look as they did.docs/d3d12_vulkan.md4.11 describes the mode.Tested
vulkan_device_fault_roots(new, mode on):vulkan_device_fault(mode off): unchanged, it passes and finds nothing extra.Credit
Prototype and diagnosis by Codex (OpenAI), working with me on the same boots. I ported it to current main, which has gained the Aftermath hook and the stall checkpoints since, and added the CTest case.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.