From 286ccf88a1cff93663d621393f159f3311789ab0 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 4 Dec 2026 20:52:39 +0000 Subject: [PATCH] Hint at VENTURE_VULKAN_BREADCRUMBS when a device loss is reported without breadcrumbs Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01PJPA3whV1TSCWgfYjApAoF --- src/runtime/hle/vulkan/vulkan.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/runtime/hle/vulkan/vulkan.cpp b/src/runtime/hle/vulkan/vulkan.cpp index f63f35c..34688d3 100644 --- a/src/runtime/hle/vulkan/vulkan.cpp +++ b/src/runtime/hle/vulkan/vulkan.cpp @@ -382,6 +382,10 @@ void report_device_fault(Scope scope, GuestAddr handle, const char* name) { } report_breadcrumbs(device, scope == Scope::queue ? native_queue(g2h(handle)) : VK_NULL_HANDLE); report_device_fault_info(device); + if (!breadcrumbs_enabled()) + log::warn("vulkan-fault", + "{} only observed the loss; the call that hung the GPU is unknown. Re-run with " + "VENTURE_VULKAN_BREADCRUMBS=1 to record which draw or dispatch was in flight.", name); // The loss is reported asynchronously to the call that observed it, but // that call's guest frames, and every guest thread's, show which engine // thread submitted or waited and what it was doing.