[GH-ISSUE #2147] Retail boot stops with int3 after ~1653 D3D12 calls on Volta/Wine (no world frame) #57

Open
opened 2026-11-26 20:16:04 +01:00 by 4ld0 · 0 comments
Owner

Originally created by @31415-n on GitHub (Nov 26, 2026).
Original GitHub issue: https://github.com/ubiquitarianism/leonida/issues/2147

Reproducible bounded retail run; no game data, paths, addresses or logs attached.

Setup: local 1.0.2.1 package. Port built from main 1fe5072af plus PR #1930 cherry-picks (bary-fallback per-vertex support). Full shader corpus translated 26,503/26,503 with --wave64-emulate on --mesh-compute --bary-fallback; --texel-offset-fallback is unnecessary (maintenance8 present). Run flags: LEONIDA_TITLE_WATCHDOG=0, LEONIDA_LOCAL_DIAGNOSTICS=1, LEONIDA_INPUT_SCRIPT, visible window, 900 s limit.

Hardware/systems:

  • Tesla V100-SXM2-16GB (Volta), driver 580.178.04, Vulkan 1.4.312, subgroup 32. System Wine 9.0: with LEONIDA_VK_DEVICE=V100 the device is selected, but watchdog-armed headless runs end after ~300 s with 0 D3D12 calls; a visible watchdog-off run reaches 1653 D3D12 calls.
  • GE-Proton 11-14 (Wine 11.0 Staging) on the same machine: LEONIDA_VK_DEVICE=V100 matches no Vulkan device, so without the filter the runtime picks GeForce GT 1030. With LEONIDA_ARENA_MB=2048 the console descriptor heap fits in the arena (confirmed by [rt] desc-probe), PresentX reports ready, but the run still ends with int3 after D3D12 call #1653 (CreateDescriptorHeap), 0 counted presents, exit 3.

Counts in the Wine 11 visible run: 1653 D3D12 calls (1634 ok, 19 called), 150 [rt] lines. The D3D12 trace ends at CreateDescriptorHeap; the last logged feature is CreateCommandSignature with console argument type 105 as DISPATCH. Raising the arena from the default 256 MiB to 2048 MiB removes the "arena full" line but does not clear the stop.

The exception is 0x80000003 at the same title site in both Wine versions. Decoded with tools/int3_cause.py (PR #1503 applied): the int3 is taken when a window-creation helper returns zero (RegisterClassExA / CreateWindowExA path). No world frame is reached.

Question for the layer owners: which window/descriptor-heap handle check fails at this point, and is this a Wine-only expectation or a D3D12 proxy bug? Related: PR #1930, issue #1492 (V100 GPU test record), issue #3 (descriptor heap slot 14).

Originally created by @31415-n on GitHub (Nov 26, 2026). Original GitHub issue: https://github.com/ubiquitarianism/leonida/issues/2147 Reproducible bounded retail run; no game data, paths, addresses or logs attached. Setup: local 1.0.2.1 package. Port built from main 1fe5072af plus PR #1930 cherry-picks (bary-fallback per-vertex support). Full shader corpus translated 26,503/26,503 with --wave64-emulate on --mesh-compute --bary-fallback; --texel-offset-fallback is unnecessary (maintenance8 present). Run flags: LEONIDA_TITLE_WATCHDOG=0, LEONIDA_LOCAL_DIAGNOSTICS=1, LEONIDA_INPUT_SCRIPT, visible window, 900 s limit. Hardware/systems: - Tesla V100-SXM2-16GB (Volta), driver 580.178.04, Vulkan 1.4.312, subgroup 32. System Wine 9.0: with LEONIDA_VK_DEVICE=V100 the device is selected, but watchdog-armed headless runs end after ~300 s with 0 D3D12 calls; a visible watchdog-off run reaches 1653 D3D12 calls. - GE-Proton 11-14 (Wine 11.0 Staging) on the same machine: LEONIDA_VK_DEVICE=V100 matches no Vulkan device, so without the filter the runtime picks GeForce GT 1030. With LEONIDA_ARENA_MB=2048 the console descriptor heap fits in the arena (confirmed by [rt] desc-probe), PresentX reports ready, but the run still ends with int3 after D3D12 call #1653 (CreateDescriptorHeap), 0 counted presents, exit 3. Counts in the Wine 11 visible run: 1653 D3D12 calls (1634 ok, 19 called), 150 [rt] lines. The D3D12 trace ends at CreateDescriptorHeap; the last logged feature is CreateCommandSignature with console argument type 105 as DISPATCH. Raising the arena from the default 256 MiB to 2048 MiB removes the "arena full" line but does not clear the stop. The exception is 0x80000003 at the same title site in both Wine versions. Decoded with tools/int3_cause.py (PR #1503 applied): the int3 is taken when a window-creation helper returns zero (RegisterClassExA / CreateWindowExA path). No world frame is reached. Question for the layer owners: which window/descriptor-heap handle check fails at this point, and is this a Wine-only expectation or a D3D12 proxy bug? Related: PR #1930, issue #1492 (V100 GPU test record), issue #3 (descriptor heap slot 14).
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#57
No description provided.