[Bug]: Load stall + 30 s no-progress watchdog null-write with JAXE_D3D12_DRED=light #167

Open
opened 2026-12-03 14:18:55 +00:00 by pizzav-xyz · 0 comments
pizzav-xyz commented 2026-12-03 14:18:55 +00:00 (Migrated from github.com)
Contributor

Imported from eikkapine/jaxe. Originally posted by pizzav-xyz on 2026-12-03T14:18:55Z.


Hardware & OS

Ryzen 7 7840HS (8C/16T) | AMD Radeon RX 7700S 8 GB (+ Radeon 780M iGPU) | 61.8 GB DDR5 | Windows 11 Pro build 26200 | WD_BLACK SN850X 2TB NVMe | ~15.9 GB pagefile

Launch Profile / Preset

jaxe.bat — Balanced (Default) — built from dev source, diag profile with --features diagnostics

Frame Generation & Launch Count

Frame Gen OFF (Native) — 1st launch (cold shader cache)

Issue Category

Crash on startup / Press 'A' crash

What happened?

Deterministic early crash during the loading phase of GTA VI (game_scarlett). It only happens when the diagnostics build sets JAXE_D3D12_DRED=light. With DRED off the same build and command finish loading and keep presenting (observed past frame 3000), so the stall is specific to the DRED-light path.

The title runs its own 30-second no-progress watchdog; the loading/producer subsystem never advances after jaxe finishes creating its graphics/compute pipelines, so the watchdog fires and deliberately null-writes to force a Breakpad dump:

  • Frames 1 and 2 present (draws=0 dispatches=0); frame 3 is never submitted.
  • Last jaxe activity: jaxe_gpu::pipeline::make: host pipelines all made made=1779 loaded=141 started_early=1920 slow_this_run=0 (~+4 s into the title run). Nothing is logged after it.
  • ~30 s of silence, then the watchdog null-writes: exit 0xC0000005, about 35 s after launch, at title RVA 0x2215c35 (image base 0x140000000). The instruction is mov dword ptr [0], 0 (intentional crash-on-abort trap).
  • At dump time ~149 threads, all in wait syscalls (83 futex/condvar, 48 WaitForSingleObject, 8 pool workers, 5 Sleep). The title main keeps polling (Sleep(33), its crash log shows Frame: 897), but the loading producer is stalled. No CPU thread is inside the GPU driver, and DirectStorage has 0 outstanding requests.
  • Best supported hypothesis: a jaxe-side completion is missing (or a title-side lost wakeup). GetCompletedValue polling is not yet instrumented, so a missing completion cannot be excluded.
  • Already excluded (each reproduces identically): blocking ID3D12Fence::SetEventOnCompletion, ID3D12CommandQueue::Wait (0 calls), DirectStorage (9764/9764 done), FSR (host PC upscaler engaged, same crash), stale shaders, saves. Not excluded: GetCompletedValue polling and the relay path.

Reproduction (fresh data directory, from the fork root):

$env:JAXE_GAME_DIR   = "<game dump>\Game"
$env:JAXE_DATA_DIR   = "<work>\jaxe-data-repro"
$env:JAXE_LOG        = "info"
$env:JAXE_D3D12_DRED = "light"     # the trigger

.\target\diag\jaxe.exe run `
    "$env:JAXE_GAME_DIR\game_scarlett_master.exe" `
    --execute --console series-s

Control: unset JAXE_D3D12_DRED and the same build/command load and render past frame 3000.

Logs

Dumps are withheld under the asset policy (memory-bearing/proprietary). Sanitized text excerpt:

jaxe: unhandled exception 0xc0000005 at jaxe-image-<hash>.dll+0x2215c35 (write 0x0: nothing mapped there)
  #0  jaxe-image-<hash>.dll+0x2215c35
  #1  jaxe-image-<hash>.dll+0x2215eca
  #2  KERNEL32.DLL+0x2e957
  #3  ntdll.dll+0x87c1c
Game Running Time: 0h:0m:34s
Game State: Game Running
Frame: 897
Paused: No
Streaming Requests: 0
TileHeap: used (121Mb) - total (3977Mb)
SharedId: <redacted>
Game Environment: prod
Game Locale: US
Game SKU: ROW
Console Type: Lockhart
Sandbox: RETAIL
Version: 930.048.020-vb_sub_story
<!-- greyfinch-sync:eikkapine/jaxe:issue:6770605709 --> Imported from [eikkapine/jaxe](https://github.com/eikkapine/jaxe/issues/167). Originally posted by [pizzav-xyz](https://github.com/pizzav-xyz) on 2026-12-03T14:18:55Z. --- ### Hardware & OS Ryzen 7 7840HS (8C/16T) | AMD Radeon RX 7700S 8 GB (+ Radeon 780M iGPU) | 61.8 GB DDR5 | Windows 11 Pro build 26200 | WD_BLACK SN850X 2TB NVMe | ~15.9 GB pagefile ### Launch Profile / Preset jaxe.bat — Balanced (Default) — built from dev source, `diag` profile with `--features diagnostics` ### Frame Generation & Launch Count Frame Gen OFF (Native) — 1st launch (cold shader cache) ### Issue Category Crash on startup / Press 'A' crash ### What happened? Deterministic early crash during the loading phase of GTA VI (game_scarlett). It only happens when the diagnostics build sets **`JAXE_D3D12_DRED=light`**. With DRED off the same build and command finish loading and keep presenting (observed past frame 3000), so the stall is specific to the DRED-light path. The title runs its own **30-second no-progress watchdog**; the loading/producer subsystem never advances after jaxe finishes creating its graphics/compute pipelines, so the watchdog fires and deliberately null-writes to force a Breakpad dump: - Frames 1 and 2 present (`draws=0 dispatches=0`); **frame 3 is never submitted**. - Last jaxe activity: `jaxe_gpu::pipeline::make: host pipelines all made made=1779 loaded=141 started_early=1920 slow_this_run=0` (~+4 s into the title run). Nothing is logged after it. - ~30 s of silence, then the watchdog null-writes: exit `0xC0000005`, about 35 s after launch, at title RVA `0x2215c35` (image base `0x140000000`). The instruction is `mov dword ptr [0], 0` (intentional crash-on-abort trap). - At dump time ~149 threads, **all in wait syscalls** (83 futex/condvar, 48 `WaitForSingleObject`, 8 pool workers, 5 `Sleep`). The title main keeps polling (`Sleep(33)`, its crash log shows `Frame: 897`), but the loading producer is stalled. **No CPU thread is inside the GPU driver, and DirectStorage has 0 outstanding requests.** - Best supported hypothesis: a **jaxe-side completion is missing** (or a title-side lost wakeup). `GetCompletedValue` polling is not yet instrumented, so a missing completion cannot be excluded. - Already excluded (each reproduces identically): blocking `ID3D12Fence::SetEventOnCompletion`, `ID3D12CommandQueue::Wait` (0 calls), DirectStorage (9764/9764 done), FSR (host PC upscaler engaged, same crash), stale shaders, saves. Not excluded: `GetCompletedValue` polling and the relay path. Reproduction (fresh data directory, from the fork root): ```powershell $env:JAXE_GAME_DIR = "<game dump>\Game" $env:JAXE_DATA_DIR = "<work>\jaxe-data-repro" $env:JAXE_LOG = "info" $env:JAXE_D3D12_DRED = "light" # the trigger .\target\diag\jaxe.exe run ` "$env:JAXE_GAME_DIR\game_scarlett_master.exe" ` --execute --console series-s ``` **Control:** unset `JAXE_D3D12_DRED` and the same build/command load and render past frame 3000. ### Logs Dumps are withheld under the asset policy (memory-bearing/proprietary). Sanitized text excerpt: ```text jaxe: unhandled exception 0xc0000005 at jaxe-image-<hash>.dll+0x2215c35 (write 0x0: nothing mapped there) #0 jaxe-image-<hash>.dll+0x2215c35 #1 jaxe-image-<hash>.dll+0x2215eca #2 KERNEL32.DLL+0x2e957 #3 ntdll.dll+0x87c1c ``` ```text Game Running Time: 0h:0m:34s Game State: Game Running Frame: 897 Paused: No Streaming Requests: 0 TileHeap: used (121Mb) - total (3977Mb) SharedId: <redacted> Game Environment: prod Game Locale: US Game SKU: ROW Console Type: Lockhart Sandbox: RETAIL Version: 930.048.020-vb_sub_story ```
Sign in to join this conversation.
No labels
No milestone
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.

Reference
eikkapine/jaxe#167
No description provided.