You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Coordinating who works on what (45) (moved to #7694) #7599
Linux; AMD RX 7900 XTX (RDNA3) and a gfx1036 iGPU (RDNA2), RADV / Mesa 26.3.1; Wine 11.22; my own Xbox Series 1.0.2.1 copy where the item needs one. Plan and tests in the PR. AI-assisted (Claude Code, Claude Opus 5.5).
Linux; AMD RX 7900 XTX (RDNA3) and a gfx1036 iGPU (RDNA2), RADV / Mesa 26.3.1; Wine 11.22; my own Xbox Series 1.0.2.1 copy where the item needs one. Plan and tests in the PR. AI-assisted (Claude Code, Claude Opus 5.5).
Linux; AMD RX 7900 XTX (RDNA3) and a gfx1036 iGPU (RDNA2), RADV / Mesa 26.3.1; Wine 11.22; my own Xbox Series 1.0.2.1 copy where the item needs one. Plan and tests in the PR. AI-assisted (Claude Code, Claude Opus 5.5).
Linux; AMD RX 7900 XTX (RDNA3) and a gfx1036 iGPU (RDNA2), RADV / Mesa 26.3.1; Wine 11.22; my own Xbox Series 1.0.2.1 copy where the item needs one. Plan and tests in the PR. AI-assisted (Claude Code, Claude Opus 5.5).
Overlaps, not yet redundant: #5043 and #5058 (same v_interp operand guards row; #5043 also overlaps #5044).
Other concerns: #5013 (parity test is skipped without llvm-mc; with llvm-mc 23.1.6 it fails on an unrelated v_permlane16_b32 op_sel mismatch, so the new SDWA skip is not exercised), #5038 (tests/test_i18n_index.py fails on the merged tree: Spanish row in docs/i18n/README.md still has the old sync sha), #5057 (the C++ vk_compute_test --batch part was not run, no GPU on Linux).
Not checked because the current head already has two independent checks: #5049, #5055, #5061.
Linux; AMD RX 7900 XTX (RDNA3) and a gfx1036 iGPU (RDNA2), RADV / Mesa 26.3.1; Wine 11.22; my own Xbox Series 1.0.2.1 copy where the item needs one. Plan and tests in the PR. AI-assisted (Claude Code, Claude Opus 5.5).
Linux; AMD RX 7900 XTX (RDNA3) and a gfx1036 iGPU (RDNA2), RADV / Mesa 26.3.1; Wine 11.22; my own Xbox Series 1.0.2.1 copy where the item needs one. Plan and tests in the PR. AI-assisted (Claude Code, Claude Opus 5.5).
claiming: retain the resolved Windows .cmd wrapper extension when LLVM_MC is an absolute extensionless path in tools/mc_command.py.
shutil.which locates llvm-mc.CMD, but the extensionless path is retained and subprocess launch fails with WinError 2. A temporary wrapper in a directory with spaces reproduces it using only echo synthetic-wrapper; the explicit .cmd path is the control. Preserve the existing launch mechanism, argv parsing, POSIX/.exe behavior and diagnostics; no shell=True.
Windows, CPU-only, synthetic command wrapper. No real compiler, WSL, GPU, game data, keys or game services. AI-assisted with OpenAI Codex; independent review before publication.
claiming (reposted from #7496, which moved here while I was posting): B5G5R5A1_UNORM UAV textures on GPUs without A1R5G5B5 storage (RT-5 boot path, measured on my own copy; not a claim on RT-5 itself). The title's boot asks for the size of a 2560×1440 render-target + UAV texture of that format and asserts on UINT64_MAX. Fix: back it with a mutable R16_UINT image (generalizing the R9G9B9E5 route); SRVs and RTVs go through A1R5G5B5 views, and the T# keeps 1_5_5_5_UNORM.
New item (open, not claimed): translator packing for image_store to a T# of format 1_5_5_5_UNORM whose storage view is R16_UINT (#7604): pack the four float components to 5-5-5-1 UNORM and write through the uint view. Until then, shader stores to such a UAV don't reach the image. The same applies to the R9G9B9E5 R32_UINT route.
claiming: new item — d3d12_xs: accept the console ID3D12Device IID (5405c344-d457-444e-b4dd-2366e45aee39) that the 1.0.2.1 executable passes to D3D12XboxCreateDevice. Without it the device proxy answers E_NOINTERFACE and the retail boot stops at device creation. No game files needed for the test (mock device); measured on the retail executable.
claiming: fix scripts/build_runtime.ps1 skipping usable CMake and Ninja tools when a Windows directory name contains literal square brackets. The fallback builds without the SDL3 GameInput shim.
On Windows PowerShell 5.1, two synthetic command stubs were selected under plain-sdk and skipped under [sdk]. Both direct probes succeeded. I’ll use literal file checks for the preferred Visual Studio tool and the applications found on PATH, and add regression tests for both paths. The scope is tool discovery. AI-assisted. Build-tool lookup at c29ad552
finding: the title's six CreatePipelineState calls through Xbox device slot 86 (#7201) are shaderless, state-only pipeline streams, not graphics PSOs our layer can build. Measured on the same Linux tree as my status above (counts and stream shape only):
Each stream is 688 bytes. Its subobjects: ROOT_SIGNATURE with a null pointer, VS/PS/DS/HS/GS each with a null bytecode (pointer 0, length 0), then blend and other state; NumRenderTargets 1, sample count 1, no MS/AS.
parse_pipeline_stream accepts them, and create_graphics refuses them silently (E_INVALIDARG at "!mesh && no VS"), so all six fail. The Xbox evidently allows a pipeline with no shaders (maybe a state template the title combines with shaders later); PC D3D12 requires a VS.
A local experiment that creates them as LEONIDA_STUB_PIPELINES no-op stubs takes the D3D12 trace to 2,288 calls with 0 failures, but the title's graphics-init function still returns false (its caller's assert is skipped by LEONIDA_SKIP_INT3), now from a check that makes no failing D3D12 call, and the run faults ~20 s in on the same null write as before.
So a real fix needs the console semantics of a shaderless PSO (what the title binds it with), which is pipeline-area work: @KkelebekK, @tedin7, in case it overlaps slot 57/60 / #7490. Not claiming. AI-assisted.
@Sakura-Byte, re your claim (always-on host cause plus optional VK_EXT_device_fault): it's distinct from DRED in what it turns on by default, but it touches the same code that #3293 (open, head 6d6b2286) already changes. Flagging this so we don't write the same plumbing twice.
What #3293 already has, all gated on LEONIDA_DRED today:
Enabling the extension. It queries VkPhysicalDeviceFaultFeaturesEXT, chains it, and enables VK_EXT_device_fault when deviceFault is supported: d3d12_vulkan_device.cpp:9004 and :9011.
Reading the fault.VulkanContext::device_fault() wraps the two-call vkGetDeviceFaultInfoEXT (counts, then addresses and description). vkGetDeviceFaultInfoEXT is loaded as an optional device function.
One report per device loss.mark_device_lost() and report_device_lost() print it exactly once. The first caller that sees the loss does it, including the fence-waiter path.
So both PRs would touch device_extensions, the feature chain, VulkanDeviceFunctions and the device-lost path. A suggestion for whichever of us lands second:
The always-on part decides whether the fault extension is enabled without LEONIDA_DRED, and owns the host cause in GetDeviceRemovedReason.
It reuses device_fault() and the one-shot report rather than adding a second query.
I'm happy to update #3293 on top of yours, by a merge rather than a rebase, or the other way round. Just say which order you prefer.
Thanks @AimLogin for flagging #3293! Our claim is now open as #8101 (MERGEABLE on current main, tested on Windows 11 / RTX 5090 D with VK_LAYER_KHRONOS_validation and independently verified on RTX 5060 Laptop).
Your proposed layering division works well: since #8101 is smaller and currently MERGEABLE on main (while #3293 currently conflicts on an older base), landing #8101 first and layering #3293's opt-in LEONIDA_DRED breadcrumbs on top of #8101's shared VK_EXT_device_fault enablement + single-shot record_device_lost() / GetDeviceRemovedReason() plumbing keeps both changes clean. If #3293 updates and lands first instead, we're equally happy to rebase #8101 onto #3293's device_fault() and keep only the always-on enablement and GetDeviceRemovedReason() host-cause path.
@Sakura-Byte, thanks. A small update to your note: #3293 was updated a few minutes ago to accf0263. It has main8575d36e merged in and is now MERGEABLE against current main too. So both PRs merge cleanly on their own, and whichever lands second will need a merge, since they share vulkan_backend.h, d3d12_vulkan_device.cpp, d3d12_com.cpp/.h and CMakeLists.txt.
Either order works for me, and I'll check with the people reviewing #3293 before we settle it. In the meantime, can we agree on the shape of the shared pieces now, so the second merge is mechanical?
@AimLogin Sounds good — all 3 shared shapes fit cleanly between #8101 (79aab2e93) and #3293 (accf0263b) without a redesign, and keeping #8101 untouched until merge order settles makes sense. From checking #3293 (accf0263b) against #8101, here are the exact invariants to preserve on the shared pieces so whichever merges second is mechanical:
One VK_EXT_device_fault enablement (VulkanDeviceInfo::device_fault): Both PRs already use VulkanDeviceInfo::device_fault with deviceFaultVendorBinary = VK_FALSE. #8101's always-on info.device_fault + VulkanContext(..., info.device_fault) works cleanly for both, while LEONIDA_DRED and VK_AMD_buffer_marker remain gated on dred_requested(). Note that #3293's vk_device_lost_test.cpp constructs VulkanContext(mock::get_device, scene.d.device, true) without device_fault and passes fault_enabled later to configure_breadcrumbs(..., fault_enabled) — under the unified path that test should pass fault_enabled to VulkanContext rather than relying solely on configure_breadcrumbs.
One fault query + cached snapshot (DeviceLostDiagnostics / VUID-vkGetDeviceFaultInfoEXT-device-07336): Keep #8101's result == VK_ERROR_DEVICE_LOST guard so host-triggered mark_device_lost() / non-lost errors never call vkGetDeviceFaultInfoEXT (so #3293's concurrent() test should pass VK_ERROR_DEVICE_LOST if expecting fault_calls == 2). Back DRED queries (addressType, reportedAddress in d3d12_dred.h) from the cached DeviceLostDiagnostics snapshot (kMaxFaultEntries = 16, vendor_infos, sanitize_fault_text, single 2-call query) rather than re-querying vkGetDeviceFaultInfoEXT.
One one-shot record_device_lost() path: Keep #8101's FenceWaitDispatcheron_device_lost_ trigger + pure-atomic is_device_lost(), and invoke breadcrumbs_->report(report_out_) once from record_device_lost() after releasing device_lost_mutex_ so both device_lost_mutex_ and BreadcrumbRing::mutex_ stay leaf locks.
done: ASSET-379 (first part): stale source line references in docs/d3d12_command_objects.md and docs/audio.md re-pointed at current main, opened as #9405 (claim: #7599 (comment)). The sweep continues; the three breakages the existing docs tests find on main already have open PRs (#7217/#7242/#7351, #7531/#7532, #7476). AI-assisted.
status: RT-5 — the retail boot runs 11,918 D3D12 calls on Linux + Wine (Proton 11) + RTX 5080 and now stops in DeserializeComputePipelineStateX (device slot 67); a translator PR for the rule that got it there is open as #9474.
finding: 91 compute programs of 1.0.2.1's pipeline library set COMPUTE_PGM_RSRC2 bit 10 (TG_SIZE_EN) and are refused as CS thread-group-size SGPR; four of them are exactly the programs the boot fetches through device slot 67, so the boot ends there (the title jumps through the null pipeline state, exception 0xc0000005 at 0x44 … execute).
why it matters: TG_SIZE_EN means the workgroup size is not in the program and the title supplies it at dispatch time, in the user SGPRs after the enabled workgroup ids (Mesa radv_shader_args.c). The packing of those words is unmeasured here: the four programs are 16x16x1 and read s7 as s_and_b32 s10, s7, 0xfc0 followed by v_mbcnt_lo_u32_b32 v6, -1, s10 / v_mbcnt_hi_u32_b32 v6, -1, v6 / v_lshlrev_b32 v6, 2, v6, i.e. as an additive lane base for a dword index, which neither the three size words nor the FSPX kind-0 words 0..2 (0x4005cf00, 0x6c090102, 0x0) explain. Guessing it would be a silent misrender, so it stays a refusal.
what it needs: a Windows run with the real d3d12_xs (dump the user SGPRs of one slot-67 create, or the COMPUTE_PGM_RSRC2 of a program Windows' own driver accepts), or a Mesa/LLVM reference for the tg_size_en argument order and packing. Hardware: any Windows machine with the retail package; nothing AMD-specific. No game files are needed for the translator side, only for confirming the words.
finding: two translator test files already fail on origin/main at 6312c05, without any local change: tests/semantic/test_image_atomics_guard.py (47 failures) and tests/semantic/test_image_store_d16.py (1 failure).
where: tests/semantic/test_image_atomics_guard.py (test_all_image_atomics_2d_and_3d_guarded_and_valid, first case op='image_atomic_add', dim='dim:SQ_RSRC_IMG_2D', glc=False) and tests/semantic/test_image_store_d16.py (test_unsupported_dims_and_modifiers_still_refused, the dim:SQ_RSRC_IMG_CUBE unorm d16 line).
why it matters: python -I scripts/run_semantic_tests.py tests/semantic therefore reports "2 files failed" for every change, which hides a real regression in the same run. Reproduced with git stash -u on a clean origin/main worktree.
needs: nothing but the repository (no game files, no GPU).
Activity
aslan2142 commentedon Nov 23, 2026
claiming: SHADER-1159
Linux; AMD RX 7900 XTX (RDNA3) and a gfx1036 iGPU (RDNA2), RADV / Mesa 26.3.1; Wine 11.22; my own Xbox Series 1.0.2.1 copy where the item needs one. Plan and tests in the PR. AI-assisted (Claude Code, Claude Opus 5.5).
aslan2142 commentedon Nov 23, 2026
claiming: ASSET-379
Linux; AMD RX 7900 XTX (RDNA3) and a gfx1036 iGPU (RDNA2), RADV / Mesa 26.3.1; Wine 11.22; my own Xbox Series 1.0.2.1 copy where the item needs one. Plan and tests in the PR. AI-assisted (Claude Code, Claude Opus 5.5).
aslan2142 commentedon Nov 23, 2026
claiming: TEST-1712
Linux; AMD RX 7900 XTX (RDNA3) and a gfx1036 iGPU (RDNA2), RADV / Mesa 26.3.1; Wine 11.22; my own Xbox Series 1.0.2.1 copy where the item needs one. Plan and tests in the PR. AI-assisted (Claude Code, Claude Opus 5.5).
aslan2142 commentedon Nov 23, 2026
claiming: BUILD-1405
Linux; AMD RX 7900 XTX (RDNA3) and a gfx1036 iGPU (RDNA2), RADV / Mesa 26.3.1; Wine 11.22; my own Xbox Series 1.0.2.1 copy where the item needs one. Plan and tests in the PR. AI-assisted (Claude Code, Claude Opus 5.5).
kapitche commentedon Nov 23, 2026
Conflict list, oldest-r9 round (PRs #4999-#5061 checked), follows #7231 (comment)
Conflict with current main (author needs to rebase):
Overlaps, not yet redundant: #5043 and #5058 (same v_interp operand guards row; #5043 also overlaps #5044).
Other concerns: #5013 (parity test is skipped without llvm-mc; with llvm-mc 23.1.6 it fails on an unrelated v_permlane16_b32 op_sel mismatch, so the new SDWA skip is not exercised), #5038 (tests/test_i18n_index.py fails on the merged tree: Spanish row in docs/i18n/README.md still has the old sync sha), #5057 (the C++ vk_compute_test --batch part was not run, no GPU on Linux).
Not checked because the current head already has two independent checks: #5049, #5055, #5061.
aslan2142 commentedon Nov 23, 2026
claiming: SHADER-847
Linux; AMD RX 7900 XTX (RDNA3) and a gfx1036 iGPU (RDNA2), RADV / Mesa 26.3.1; Wine 11.22; my own Xbox Series 1.0.2.1 copy where the item needs one. Plan and tests in the PR. AI-assisted (Claude Code, Claude Opus 5.5).
aslan2142 commentedon Nov 23, 2026
claiming: TEST-1052
Linux; AMD RX 7900 XTX (RDNA3) and a gfx1036 iGPU (RDNA2), RADV / Mesa 26.3.1; Wine 11.22; my own Xbox Series 1.0.2.1 copy where the item needs one. Plan and tests in the PR. AI-assisted (Claude Code, Claude Opus 5.5).
morodirule commentedon Nov 23, 2026
claiming: independent Linux CPU checks of #7562 (check_no_game_data LZMA-alone), #7560 (conformance PNG bound), #7548 (mission_tables rejects), #7547 (no-online-services guard), #7542 (xcl_compare), #7537 (check_no_game_data 0DRP) and #7558 (pc_checker Intel estimates) — synthetic only, executed by my session's workers under this claim. AI-assisted.
IxMxAMAR commentedon Nov 23, 2026
done: D3D-738 #7603 (d3d12_clear_formats accepts D3D's FLOAT -> SRGB tolerance on the 8-bit sRGB formats; Intel's out-of-tolerance bytes stay failures, with a Known problems row). AI-assisted.
memphis19888-glitch commentedon Nov 23, 2026
claiming: retain the resolved Windows .cmd wrapper extension when LLVM_MC is an absolute extensionless path in tools/mc_command.py.
shutil.which locates llvm-mc.CMD, but the extensionless path is retained and subprocess launch fails with WinError 2. A temporary wrapper in a directory with spaces reproduces it using only echo synthetic-wrapper; the explicit .cmd path is the control. Preserve the existing launch mechanism, argv parsing, POSIX/.exe behavior and diagnostics; no shell=True.
Windows, CPU-only, synthetic command wrapper. No real compiler, WSL, GPU, game data, keys or game services. AI-assisted with OpenAI Codex; independent review before publication.
NiiRoZz commentedon Nov 23, 2026
claiming (reposted from #7496, which moved here while I was posting):
B5G5R5A1_UNORMUAV textures on GPUs withoutA1R5G5B5storage (RT-5 boot path, measured on my own copy; not a claim on RT-5 itself). The title's boot asks for the size of a 2560×1440 render-target + UAV texture of that format and asserts onUINT64_MAX. Fix: back it with a mutableR16_UINTimage (generalizing the R9G9B9E5 route); SRVs and RTVs go throughA1R5G5B5views, and the T# keeps1_5_5_5_UNORM.NiiRoZz commentedon Nov 23, 2026
done: #7599 (comment): #7604. AI-assisted (Claude Code).
New item (open, not claimed): translator packing for
image_storeto a T# of format1_5_5_5_UNORMwhose storage view isR16_UINT(#7604): pack the four float components to 5-5-5-1 UNORM and write through the uint view. Until then, shader stores to such a UAV don't reach the image. The same applies to the R9G9B9E5R32_UINTroute.kennymaakay commentedon Nov 23, 2026
claiming: new item — d3d12_xs: accept the console
ID3D12DeviceIID (5405c344-d457-444e-b4dd-2366e45aee39) that the 1.0.2.1 executable passes toD3D12XboxCreateDevice. Without it the device proxy answersE_NOINTERFACEand the retail boot stops at device creation. No game files needed for the test (mock device); measured on the retail executable.philip-roy-jones commentedon Nov 23, 2026
claiming: fix
scripts/build_runtime.ps1skipping usable CMake and Ninja tools when a Windows directory name contains literal square brackets. The fallback builds without the SDL3 GameInput shim.On Windows PowerShell 5.1, two synthetic command stubs were selected under
plain-sdkand skipped under[sdk]. Both direct probes succeeded. I’ll use literal file checks for the preferred Visual Studio tool and the applications found onPATH, and add regression tests for both paths. The scope is tool discovery. AI-assisted. Build-tool lookup atc29ad552Gevroska commentedon Nov 23, 2026
done: Studio texture tab repeats the texture-list request while loading and after a successful empty result #7607
Original claim in #7496.
330 remaining items
wavehs commentedon Nov 23, 2026
claiming: independent Apple M3 Pro (macOS arm64) check of #4297
AwkGrep256 commentedon Nov 23, 2026
finding: the title's six
CreatePipelineStatecalls through Xbox device slot 86 (#7201) are shaderless, state-only pipeline streams, not graphics PSOs our layer can build. Measured on the same Linux tree as my status above (counts and stream shape only):ROOT_SIGNATUREwith a null pointer,VS/PS/DS/HS/GSeach with a null bytecode (pointer 0, length 0), then blend and other state;NumRenderTargets1, sample count 1, no MS/AS.parse_pipeline_streamaccepts them, andcreate_graphicsrefuses them silently (E_INVALIDARGat "!mesh && no VS"), so all six fail. The Xbox evidently allows a pipeline with no shaders (maybe a state template the title combines with shaders later); PC D3D12 requires a VS.LEONIDA_STUB_PIPELINESno-op stubs takes the D3D12 trace to 2,288 calls with 0 failures, but the title's graphics-init function still returns false (its caller's assert is skipped byLEONIDA_SKIP_INT3), now from a check that makes no failing D3D12 call, and the run faults ~20 s in on the same null write as before.So a real fix needs the console semantics of a shaderless PSO (what the title binds it with), which is pipeline-area work: @KkelebekK, @tedin7, in case it overlaps slot 57/60 / #7490. Not claiming. AI-assisted.
wavehs commentedon Nov 23, 2026
done: independent Apple M3 Pro check of #4297 -> #4297 (comment). AI-assisted.
wavehs commentedon Nov 23, 2026
claiming: independent Apple M3 Pro (macOS arm64) check of #4334
wavehs commentedon Nov 23, 2026
done: independent Apple M3 Pro check of #4334 -> #4334 (comment). AI-assisted.
wavehs commentedon Nov 23, 2026
claiming: independent Apple M3 Pro (macOS arm64) check of #2748
wavehs commentedon Nov 23, 2026
done: independent Apple M3 Pro check of #2748 -> #2748 (comment). AI-assisted.
wavehs commentedon Nov 23, 2026
claiming: independent Apple M3 Pro (macOS arm64) check of #4373
AimLogin commentedon Nov 23, 2026
@Sakura-Byte, re your claim (always-on host cause plus optional
VK_EXT_device_fault): it's distinct from DRED in what it turns on by default, but it touches the same code that #3293 (open, head6d6b2286) already changes. Flagging this so we don't write the same plumbing twice.What #3293 already has, all gated on
LEONIDA_DREDtoday:VkPhysicalDeviceFaultFeaturesEXT, chains it, and enablesVK_EXT_device_faultwhendeviceFaultis supported:d3d12_vulkan_device.cpp:9004and:9011.VulkanContext::device_fault()wraps the two-callvkGetDeviceFaultInfoEXT(counts, then addresses and description).vkGetDeviceFaultInfoEXTis loaded as an optional device function.mark_device_lost()andreport_device_lost()print it exactly once. The first caller that sees the loss does it, including the fence-waiter path.So both PRs would touch
device_extensions, the feature chain,VulkanDeviceFunctionsand the device-lost path. A suggestion for whichever of us lands second:LEONIDA_DRED, and owns the host cause inGetDeviceRemovedReason.device_fault()and the one-shot report rather than adding a second query.I'm happy to update #3293 on top of yours, by a merge rather than a rebase, or the other way round. Just say which order you prefer.
AI-assisted (Claude Code). No game files.
Sakura-Byte commentedon Nov 23, 2026
Thanks @AimLogin for flagging #3293! Our claim is now open as #8101 (
MERGEABLEon currentmain, tested on Windows 11 / RTX 5090 D withVK_LAYER_KHRONOS_validationand independently verified on RTX 5060 Laptop).Your proposed layering division works well: since #8101 is smaller and currently
MERGEABLEonmain(while #3293 currently conflicts on an older base), landing #8101 first and layering #3293's opt-inLEONIDA_DREDbreadcrumbs on top of #8101's sharedVK_EXT_device_faultenablement + single-shotrecord_device_lost()/GetDeviceRemovedReason()plumbing keeps both changes clean. If #3293 updates and lands first instead, we're equally happy to rebase #8101 onto #3293'sdevice_fault()and keep only the always-on enablement andGetDeviceRemovedReason()host-cause path.AI-assisted: yes. No game files.
AimLogin commentedon Nov 23, 2026
@Sakura-Byte, thanks. A small update to your note: #3293 was updated a few minutes ago to
accf0263. It hasmain8575d36emerged in and is nowMERGEABLEagainst currentmaintoo. So both PRs merge cleanly on their own, and whichever lands second will need a merge, since they sharevulkan_backend.h,d3d12_vulkan_device.cpp,d3d12_com.cpp/.handCMakeLists.txt.Either order works for me, and I'll check with the people reviewing #3293 before we settle it. In the meantime, can we agree on the shape of the shared pieces now, so the second merge is mechanical?
VK_EXT_device_faultenablement: always-on from d3d12: log always-on device-lost host cause and VK_EXT_device_fault diagnostics #8101, with DRED only reading it.device_fault()or yours, whichever lands first, with the other reusing it.record_device_lost(), with DRED's breadcrumb report printed from it.AI-assisted (Claude Code). No game files.
Sakura-Byte commentedon Nov 23, 2026
@AimLogin Sounds good — all 3 shared shapes fit cleanly between
#8101(79aab2e93) and#3293(accf0263b) without a redesign, and keeping#8101untouched until merge order settles makes sense. From checking#3293(accf0263b) against#8101, here are the exact invariants to preserve on the shared pieces so whichever merges second is mechanical:VK_EXT_device_faultenablement (VulkanDeviceInfo::device_fault): Both PRs already useVulkanDeviceInfo::device_faultwithdeviceFaultVendorBinary = VK_FALSE.#8101's always-oninfo.device_fault+VulkanContext(..., info.device_fault)works cleanly for both, whileLEONIDA_DREDandVK_AMD_buffer_markerremain gated ondred_requested(). Note that#3293'svk_device_lost_test.cppconstructsVulkanContext(mock::get_device, scene.d.device, true)withoutdevice_faultand passesfault_enabledlater toconfigure_breadcrumbs(..., fault_enabled)— under the unified path that test should passfault_enabledtoVulkanContextrather than relying solely onconfigure_breadcrumbs.DeviceLostDiagnostics/VUID-vkGetDeviceFaultInfoEXT-device-07336): Keep#8101'sresult == VK_ERROR_DEVICE_LOSTguard so host-triggeredmark_device_lost()/ non-lost errors never callvkGetDeviceFaultInfoEXT(so#3293'sconcurrent()test should passVK_ERROR_DEVICE_LOSTif expectingfault_calls == 2). Back DRED queries (addressType,reportedAddressind3d12_dred.h) from the cachedDeviceLostDiagnosticssnapshot (kMaxFaultEntries = 16,vendor_infos,sanitize_fault_text, single 2-call query) rather than re-queryingvkGetDeviceFaultInfoEXT.record_device_lost()path: Keep#8101'sFenceWaitDispatcheron_device_lost_trigger + pure-atomicis_device_lost(), and invokebreadcrumbs_->report(report_out_)once fromrecord_device_lost()after releasingdevice_lost_mutex_so bothdevice_lost_mutex_andBreadcrumbRing::mutex_stay leaf locks.AI-assisted. No game files.
omar-akermi commentedon Nov 23, 2026
done: ASSET-379 (first part): stale source line references in docs/d3d12_command_objects.md and docs/audio.md re-pointed at current main, opened as #9405 (claim: #7599 (comment)). The sweep continues; the three breakages the existing docs tests find on main already have open PRs (#7217/#7242/#7351, #7531/#7532, #7476). AI-assisted.
glitterfartz commentedon Nov 23, 2026
status: RT-5 — the retail boot runs 11,918 D3D12 calls on Linux + Wine (Proton 11) + RTX 5080 and now stops in
DeserializeComputePipelineStateX(device slot 67); a translator PR for the rule that got it there is open as #9474.finding: 91 compute programs of 1.0.2.1's pipeline library set
COMPUTE_PGM_RSRC2bit 10 (TG_SIZE_EN) and are refused asCS thread-group-size SGPR; four of them are exactly the programs the boot fetches through device slot 67, so the boot ends there (the title jumps through the null pipeline state,exception 0xc0000005 at 0x44 … execute).tools/rdna2spirv.py, thecsbranch oftranslate()(theif (rsrc2 >> 10) & 1: raise Unsupported("CS thread-group-size SGPR")that rdna2spirv: a compare or a lane mask into a VGPR or vcc_hi stores the -1/0 word (RT-5) #9474 leaves in place with the evidence in a comment); the fields come fromcs_dispatch_state()andtools/fspx_unpack.py:121decode_kind0().TG_SIZE_ENmeans the workgroup size is not in the program and the title supplies it at dispatch time, in the user SGPRs after the enabled workgroup ids (Mesaradv_shader_args.c). The packing of those words is unmeasured here: the four programs are 16x16x1 and reads7ass_and_b32 s10, s7, 0xfc0followed byv_mbcnt_lo_u32_b32 v6, -1, s10/v_mbcnt_hi_u32_b32 v6, -1, v6/v_lshlrev_b32 v6, 2, v6, i.e. as an additive lane base for a dword index, which neither the three size words nor the FSPX kind-0 words 0..2 (0x4005cf00,0x6c090102,0x0) explain. Guessing it would be a silent misrender, so it stays a refusal.d3d12_xs(dump the user SGPRs of one slot-67 create, or theCOMPUTE_PGM_RSRC2of a program Windows' own driver accepts), or a Mesa/LLVM reference for thetg_size_enargument order and packing. Hardware: any Windows machine with the retail package; nothing AMD-specific. No game files are needed for the translator side, only for confirming the words.finding: two translator test files already fail on
origin/mainat 6312c05, without any local change:tests/semantic/test_image_atomics_guard.py(47 failures) andtests/semantic/test_image_store_d16.py(1 failure).tests/semantic/test_image_atomics_guard.py(test_all_image_atomics_2d_and_3d_guarded_and_valid, first caseop='image_atomic_add', dim='dim:SQ_RSRC_IMG_2D', glc=False) andtests/semantic/test_image_store_d16.py(test_unsupported_dims_and_modifiers_still_refused, thedim:SQ_RSRC_IMG_CUBE unorm d16line).python -I scripts/run_semantic_tests.py tests/semantictherefore reports "2 files failed" for every change, which hides a real regression in the same run. Reproduced withgit stash -uon a cleanorigin/mainworktree.xmem: rt::xmem::commit_physical_pages commits pages by page number