[amd-dev] Device removed (0x887a0006) 1–1.5 min into rendering on RX 9070 XT – DRED page fault at GPU VA 0x0 in a compute dispatch, reproducible #2626

Open
opened 2026-11-26 05:35:09 +00:00 by github-bot · 0 comments
Owner

@⁠therealobscure on GitHub · 2026-11-26 03:05 UTC · original

Game and package version

New Retail Game

What happens

Summary

After pipelines are cached, the game boots and renders (about 1,700 frames presented), then the D3D12 device is removed. With XCL_DRED=1, DRED reports a GPU page fault at address 0x0 during a compute dispatch. The fault is at the same command-list position and in the same shader across runs.

Environment

  • Branch: amd-dev, commit <short commit hash>
  • GPU: AMD Radeon RX 9070 XT (16 GB), driver <Adrenalin version>
  • Windows: <version/build>
  • DXC 1.9.2602.17 (Windows SDK 10.0.26100.0)

What happens

  • First launch spends a long time compiling pipelines. With warm caches the game renders within about 40 s.
  • Device removed in every run so far, at about 492 s (first run, cold caches), 69 s, 91 s and 77 s. The last three are on warm caches.
  • DRED was on for the 91 s and 77 s runs. Their output is identical (below).
  • Last run's report.json: 1,717 presents, 2,920 translated pipelines, 0 failed pipelines, 0 translation errors, DXIL cache 6,073 hits / 1 miss.
  • XCL_NETWORK=0 was set for two runs and not for the others. It made no difference to the crash.

DRED output (77 s run; the 91 s run is identical apart from addresses and timestamps)

D3D12 device removed: 0x887a0006 The GPU will not respond to more commands, most likely because of an invalid command passed by the calling application.
DRED page fault at GPU VA 0x0; allocations there: []; recently freed: []
DRED: list 0x791d87c0 on queue 0x76c2dfc0: 208 of 319 operations done, around: 15 6 0 >6 0 15; pipeline bound there: cs 39f23deaf6a63310; bound after it: cs 2a2ddc1bbf1c7260, cs 07b0003f0b1a772a, cs 63178f868aedd858, cs ffab5f1771087e7b

Both DRED runs report 208 of 319 operations done, the same marker position on a Dispatch, and the same bound shader. The other listed command lists show 0 of N operations done with a >46 marker, so they look like queued work that had not started.

Sequence before removal

[73.857] Wait64BitValueX at 0x70417fe58 >= 0x6b9 bridged to GPU queue.Wait (waiter=q0/ty2, prod=qNone/tySome(0); wait-before-signal, after_write64=false)
[73.904] indirect prelude batch #64 (0 guard + 77 scale + 0 draw jobs, 4963 hoisted total)
[77.000] D3D12 device removed: 0x887a0006

The same order appears before removal in the other runs: a Wait64 bridged to the GPU queue with prod=qNone, the indirect prelude batches, then removal about 2.7–3.2 s later. In two earlier runs, a small format dxil helper shader (cs 57bbc751c63ffbf7) was loaded between the Wait64 bridge and the prelude batches.

In every run, the log reports roughly the same amount of skipped work before the crash:

  • console code so far: 22992 draws with translated pipelines (48 skipped, ...), 10096 dispatches (512 skipped)
  • Several Dispatch with a pipeline that has no translated console shader (...) skipped and ExecuteIndirect dispatch with a pipeline that has no translated console shader (...) skipped warnings
  • ExecuteIndirect with a pipeline that is still being built skipped (4 logged, the logging cap)

The skipped dispatch count (about 512) did not fall with warm caches, so these look systematic rather than just pipelines still building. Possible link, and I can't confirm it: a skipped pass leaves a buffer (an address table?) unwritten, and a later dispatch reads zero as a pointer, giving the page fault at 0x0.

  • a UAV of a resource that cannot have one on the PC (a depth buffer) – a null view
  • a command list is submitted while its previous submit is still on the GPU ... (debug layer id 553)
  • [STUB] ID3D12GraphicsCommandList10::#101 (not on PC), called from game_scarlett_master.exe+0x50a6657
  • CopyMemoryToMemoryX: ... is not in unified memory – not done
  • XGameRuntime is missing required dependencies, run GamingRepair.exe

Questions

  • Is a null GPU address from this shader a known issue on amd-dev?
  • Is there a way to skip or log a specific dispatch by shader hash, or anything else you'd like captured next time (D3D12 debug layer, XCL_PSO_TRACE, something else)?

I have the full logs and report.json for each run and can post them if useful.

XCL version

b5c0275f

GPU and driver version

AMD RX 9070 XT 26.11.1

Windows version

Windows 11 26H2

report.json and xcl.log

report.json
xcl.log

Console output

Game exited with code 0x887a0006 (2289696774)
CRASH: the D3D12 device was removed (0x887a0006: The GPU will not respond to more commands, most likely because of an invalid command passed by the calling application.) – the title is stopped
Imports: 1186 (game-dll:amd_fidelityfx_loader_xbox.dll: 4, game-dll:bink2scarlett.dll: 23, game-dll:libhttpclient.gdk.dll: 38, game-dll:msvcp140.dll: 157, game-dll:vcruntime140.dll: 82, game-dll:vcruntime140_1.dll: 4, game-dll:xboxbvhbuilder.dll: 7, hle:acphal.dll: 19, hle:d3d12_xs.dll: 4, hle:gameinput.dll: 1, hle:kernelx.dll: 77, hle:minuserx.dll: 2, hle:xaudio2_9.dll: 1, hle:xcrdapi.dll: 1, hle:xg_xs.dll: 2, system: 764)
Unimplemented functions called (9):
      1976×  d3d12_xs.dll!ID3D12GraphicsCommandList10::#142 (not on PC)   (first call: game_scarlett_master.exe+0x329e9)
      1942×  d3d12_xs.dll!ID3D12CommandAllocator::#9 (not on PC)   (first call: game_scarlett_master.exe+0x188501)
      1789×  d3d12_xs.dll!ID3D12GraphicsCommandList10::#75 (console extension)   (first call: game_scarlett_master.exe+0x32820)
      1788×  d3d12_xs.dll!ID3D12GraphicsCommandList10::#126 (not on PC)   (first call: game_scarlett_master.exe+0x3263e)
        24×  d3d12_xs.dll!ID3D12GraphicsCommandList10::#101 (not on PC)   (first call: game_scarlett_master.exe+0x50a6657)
         5×  d3d12_xs.dll!ID3D12GraphicsCommandList10::#131 (not on PC)   (first call: game_scarlett_master.exe+0x2478bc5)
         4×  d3d12_xs.dll!ID3D12GraphicsCommandList10::#131 (not on PC)   (first call: game_scarlett_master.exe+0x2478cba)
         4×  d3d12_xs.dll!ID3D12GraphicsCommandList10::#132 (not on PC)   (first call: game_scarlett_master.exe+0x2478c99)
         1×  d3d12_xs.dll!ID3D12GraphicsCommandList10::#132 (not on PC)   (first call: game_scarlett_master.exe+0x2478ba4)
**@⁠therealobscure** on GitHub · 2026-11-26 03:05 UTC · [original](https://github.com/xcl-dev/xcl/issues/2626) ### Game and package version New Retail Game ### What happens ## Summary After pipelines are cached, the game boots and renders (about 1,700 frames presented), then the D3D12 device is removed. With `XCL_DRED=1`, DRED reports a GPU page fault at address 0x0 during a compute dispatch. The fault is at the same command-list position and in the same shader across runs. ## Environment - Branch: `amd-dev`, commit `<short commit hash>` - GPU: AMD Radeon RX 9070 XT (16 GB), driver `<Adrenalin version>` - Windows: `<version/build>` - DXC 1.9.2602.17 (Windows SDK 10.0.26100.0) ## What happens - First launch spends a long time compiling pipelines. With warm caches the game renders within about 40 s. - Device removed in every run so far, at about 492 s (first run, cold caches), 69 s, 91 s and 77 s. The last three are on warm caches. - DRED was on for the 91 s and 77 s runs. Their output is identical (below). - Last run's `report.json`: 1,717 presents, 2,920 translated pipelines, 0 failed pipelines, 0 translation errors, DXIL cache 6,073 hits / 1 miss. - `XCL_NETWORK=0` was set for two runs and not for the others. It made no difference to the crash. ## DRED output (77 s run; the 91 s run is identical apart from addresses and timestamps) ``` D3D12 device removed: 0x887a0006 The GPU will not respond to more commands, most likely because of an invalid command passed by the calling application. DRED page fault at GPU VA 0x0; allocations there: []; recently freed: [] DRED: list 0x791d87c0 on queue 0x76c2dfc0: 208 of 319 operations done, around: 15 6 0 >6 0 15; pipeline bound there: cs 39f23deaf6a63310; bound after it: cs 2a2ddc1bbf1c7260, cs 07b0003f0b1a772a, cs 63178f868aedd858, cs ffab5f1771087e7b ``` Both DRED runs report 208 of 319 operations done, the same marker position on a Dispatch, and the same bound shader. The other listed command lists show `0 of N operations done` with a `>46` marker, so they look like queued work that had not started. ## Sequence before removal ``` [73.857] Wait64BitValueX at 0x70417fe58 >= 0x6b9 bridged to GPU queue.Wait (waiter=q0/ty2, prod=qNone/tySome(0); wait-before-signal, after_write64=false) [73.904] indirect prelude batch #64 (0 guard + 77 scale + 0 draw jobs, 4963 hoisted total) [77.000] D3D12 device removed: 0x887a0006 ``` The same order appears before removal in the other runs: a Wait64 bridged to the GPU queue with `prod=qNone`, the indirect prelude batches, then removal about 2.7–3.2 s later. In two earlier runs, a small `format dxil` helper shader (`cs 57bbc751c63ffbf7`) was loaded between the Wait64 bridge and the prelude batches. ## Skipped work (possibly related) In every run, the log reports roughly the same amount of skipped work before the crash: - `console code so far: 22992 draws with translated pipelines (48 skipped, ...), 10096 dispatches (512 skipped)` - Several `Dispatch with a pipeline that has no translated console shader (...) skipped` and `ExecuteIndirect dispatch with a pipeline that has no translated console shader (...) skipped` warnings - `ExecuteIndirect with a pipeline that is still being built skipped` (4 logged, the logging cap) The skipped dispatch count (about 512) did not fall with warm caches, so these look systematic rather than just pipelines still building. Possible link, and I can't confirm it: a skipped pass leaves a buffer (an address table?) unwritten, and a later dispatch reads zero as a pointer, giving the page fault at 0x0. ## Other warnings in the log (unsure if related) - `a UAV of a resource that cannot have one on the PC (a depth buffer) – a null view` - `a command list is submitted while its previous submit is still on the GPU ... (debug layer id 553)` - `[STUB] ID3D12GraphicsCommandList10::#101 (not on PC)`, called from `game_scarlett_master.exe+0x50a6657` - `CopyMemoryToMemoryX: ... is not in unified memory – not done` - `XGameRuntime is missing required dependencies, run GamingRepair.exe` ## Questions - Is a null GPU address from this shader a known issue on `amd-dev`? - Is there a way to skip or log a specific dispatch by shader hash, or anything else you'd like captured next time (D3D12 debug layer, `XCL_PSO_TRACE`, something else)? I have the full logs and `report.json` for each run and can post them if useful. ### XCL version b5c0275f ### GPU and driver version AMD RX 9070 XT 26.11.1 ### Windows version Windows 11 26H2 ### report.json and xcl.log [report.json](https://github.com/user-attachments/files/35442192/report.json) [xcl.log](https://github.com/user-attachments/files/35442193/xcl.log) ### Console output ```text Game exited with code 0x887a0006 (2289696774) CRASH: the D3D12 device was removed (0x887a0006: The GPU will not respond to more commands, most likely because of an invalid command passed by the calling application.) – the title is stopped Imports: 1186 (game-dll:amd_fidelityfx_loader_xbox.dll: 4, game-dll:bink2scarlett.dll: 23, game-dll:libhttpclient.gdk.dll: 38, game-dll:msvcp140.dll: 157, game-dll:vcruntime140.dll: 82, game-dll:vcruntime140_1.dll: 4, game-dll:xboxbvhbuilder.dll: 7, hle:acphal.dll: 19, hle:d3d12_xs.dll: 4, hle:gameinput.dll: 1, hle:kernelx.dll: 77, hle:minuserx.dll: 2, hle:xaudio2_9.dll: 1, hle:xcrdapi.dll: 1, hle:xg_xs.dll: 2, system: 764) Unimplemented functions called (9): 1976× d3d12_xs.dll!ID3D12GraphicsCommandList10::#142 (not on PC) (first call: game_scarlett_master.exe+0x329e9) 1942× d3d12_xs.dll!ID3D12CommandAllocator::#9 (not on PC) (first call: game_scarlett_master.exe+0x188501) 1789× d3d12_xs.dll!ID3D12GraphicsCommandList10::#75 (console extension) (first call: game_scarlett_master.exe+0x32820) 1788× d3d12_xs.dll!ID3D12GraphicsCommandList10::#126 (not on PC) (first call: game_scarlett_master.exe+0x3263e) 24× d3d12_xs.dll!ID3D12GraphicsCommandList10::#101 (not on PC) (first call: game_scarlett_master.exe+0x50a6657) 5× d3d12_xs.dll!ID3D12GraphicsCommandList10::#131 (not on PC) (first call: game_scarlett_master.exe+0x2478bc5) 4× d3d12_xs.dll!ID3D12GraphicsCommandList10::#131 (not on PC) (first call: game_scarlett_master.exe+0x2478cba) 4× d3d12_xs.dll!ID3D12GraphicsCommandList10::#132 (not on PC) (first call: game_scarlett_master.exe+0x2478c99) 1× d3d12_xs.dll!ID3D12GraphicsCommandList10::#132 (not on PC) (first call: game_scarlett_master.exe+0x2478ba4) ```
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:35:09 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.