D3D12 device removed (0x887A0005) at the loading screen, with long graphics-pipeline waits logged before the crash – RTX 3090 #2917

Open
opened 2026-11-26 23:10:18 +00:00 by AAsobu · 11 comments
AAsobu commented 2026-11-26 23:10:18 +00:00 (Migrated from github.com)
Contributor

Imported from ivall/xcl. Originally posted by AAsobu on 2026-11-26T23:10:18Z.


Game and package version

Newest Retail Game

What happens

Summary

While running XCL (nvidia-dev branch) with the title *********************, the program stopped working. The log records this error:

the D3D12 device was removed (0x887a0005) – the title is stopped

(The Windows part of the message is in Spanish because the system language is Spanish. In English, 0x887A0005 reads: "The GPU device instance has been suspended. Use GetDeviceRemovedReason to determine the appropriate action.")

This report only collects visible data from three attached files (xcl.log, report.json, reporte_pc.md). No cause is proposed or assumed. Numbers and quoted phrases are copied from the logs.

What happened (user's description)

I am a regular user, not a programmer. This is what I saw:

I opened the program and it precompiled all shaders and pipelines.
The program ran normally until it reached the loading screen (world preload).
At that point it tried to compile the remaining graphics shaders.
In the end, the program stopped working.

DXC | dxcompiler 1.9.2602.17 (21d28f72), dxil 1.9.2602.17
OS | Microsoft Windows 11 Home
Version | 10.0.26300 (Build 26300)
Architecture | 64-bit
CPU | Intel(R) Core(TM) i5-10600K CPU @ 4.10GHz
RAM | 31.87 GB
GPU | NVIDIA GeForce RTX 3090 (24326 MiB VRAM) driver 32.0.16.2124

XCL version

eae01502

GPU and driver version

NVIDIA RTX 3090 32.0.16.2124

Windows version

Windows 11 26300

report.json and xcl.log

report.json
xcl.log

Console output

[    0.001][20680][INFO ] XCL 0.1.0 – host for 'RockstarGamesInc.28872443D20A7'
[    0.001][20680][INFO ] game: E:\VI\game_scarlett_master.exe (read-only folder: E:\VI)
[    0.001][20680][INFO ] XCL data: E:\xcl_data\RockstarGamesInc.28872443D20A7
[    0.001][20680][INFO ] console: Xbox Series X (anaconda) (title memory 13824 MiB, mode advanced)
[    0.002][20680][INFO ] Shader preparation: only the 1138 shaders earlier runs used (XCL_PREPARE_ALL=1: every record)
[    0.021][ 4788][INFO ] XCL window created (1280x720)
[    0.023][20680][INFO ] Shader preparation window 0xb074a
[    0.745][11416][INFO ] DXC: dxcompiler 1.9.2602.17 (21d28f72), dxil 1.9.2602.17, from C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64
[    0.752][ 9440][INFO ] DXC: compiler workers use private heaps

Game exited with code 0x887a0005 (2289696773)
CRASH: the D3D12 device was removed (0x887a0005: La instancia de dispositivo de GPU se ha suspendido. Use GetDeviceRemovedReason para averiguar cuál es la acción adecuada.) – 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: 75, hle:minuserx.dll: 2, hle:xaudio2_9.dll: 1, hle:xcrdapi.dll: 1, hle:xg_xs.dll: 2, system: 766)
Unimplemented functions called (5):
      9123×  d3d12_xs.dll!ID3D12CommandAllocator::#9 (not on PC)   (first call: game_scarlett_master.exe+0x188501)
      9002×  d3d12_xs.dll!ID3D12GraphicsCommandList10::#75 (console extension)   (first call: game_scarlett_master.exe+0x32820)
      9000×  d3d12_xs.dll!ID3D12GraphicsCommandList10::#126 (not on PC)   (first call: game_scarlett_master.exe+0x3263e)
      9000×  d3d12_xs.dll!ID3D12GraphicsCommandList10::#142 (not on PC)   (first call: game_scarlett_master.exe+0x329e9)
        14×  d3d12_xs.dll!ID3D12GraphicsCommandList10::#101 (not on PC)   (first call: game_scarlett_master.exe+0x50a6657)
<!-- greyfinch-sync:ivall/xcl:issue:6636584201 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/issues/2917). Originally posted by [AAsobu](https://github.com/AAsobu) on 2026-11-26T23:10:18Z. --- ### Game and package version Newest Retail Game ### What happens Summary While running XCL (nvidia-dev branch) with the title *********************, the program stopped working. The log records this error: the D3D12 device was removed (0x887a0005) – the title is stopped (The Windows part of the message is in Spanish because the system language is Spanish. In English, 0x887A0005 reads: "The GPU device instance has been suspended. Use GetDeviceRemovedReason to determine the appropriate action.") This report only collects visible data from three attached files (xcl.log, report.json, reporte_pc.md). No cause is proposed or assumed. Numbers and quoted phrases are copied from the logs. What happened (user's description) I am a regular user, not a programmer. This is what I saw: I opened the program and it precompiled all shaders and pipelines. The program ran normally until it reached the loading screen (world preload). At that point it tried to compile the remaining graphics shaders. In the end, the program stopped working. DXC | dxcompiler 1.9.2602.17 (21d28f72), dxil 1.9.2602.17 OS | Microsoft Windows 11 Home Version | 10.0.26300 (Build 26300) Architecture | 64-bit CPU | Intel(R) Core(TM) i5-10600K CPU @ 4.10GHz RAM | 31.87 GB GPU | NVIDIA GeForce RTX 3090 (24326 MiB VRAM) driver 32.0.16.2124 ### XCL version eae01502 ### GPU and driver version NVIDIA RTX 3090 32.0.16.2124 ### Windows version Windows 11 26300 ### report.json and xcl.log [report.json](https://github.com/user-attachments/files/35487053/report.json) [xcl.log](https://github.com/user-attachments/files/35487052/xcl.log) ### Console output ```text [ 0.001][20680][INFO ] XCL 0.1.0 – host for 'RockstarGamesInc.28872443D20A7' [ 0.001][20680][INFO ] game: E:\VI\game_scarlett_master.exe (read-only folder: E:\VI) [ 0.001][20680][INFO ] XCL data: E:\xcl_data\RockstarGamesInc.28872443D20A7 [ 0.001][20680][INFO ] console: Xbox Series X (anaconda) (title memory 13824 MiB, mode advanced) [ 0.002][20680][INFO ] Shader preparation: only the 1138 shaders earlier runs used (XCL_PREPARE_ALL=1: every record) [ 0.021][ 4788][INFO ] XCL window created (1280x720) [ 0.023][20680][INFO ] Shader preparation window 0xb074a [ 0.745][11416][INFO ] DXC: dxcompiler 1.9.2602.17 (21d28f72), dxil 1.9.2602.17, from C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64 [ 0.752][ 9440][INFO ] DXC: compiler workers use private heaps Game exited with code 0x887a0005 (2289696773) CRASH: the D3D12 device was removed (0x887a0005: La instancia de dispositivo de GPU se ha suspendido. Use GetDeviceRemovedReason para averiguar cuál es la acción adecuada.) – 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: 75, hle:minuserx.dll: 2, hle:xaudio2_9.dll: 1, hle:xcrdapi.dll: 1, hle:xg_xs.dll: 2, system: 766) Unimplemented functions called (5): 9123× d3d12_xs.dll!ID3D12CommandAllocator::#9 (not on PC) (first call: game_scarlett_master.exe+0x188501) 9002× d3d12_xs.dll!ID3D12GraphicsCommandList10::#75 (console extension) (first call: game_scarlett_master.exe+0x32820) 9000× d3d12_xs.dll!ID3D12GraphicsCommandList10::#126 (not on PC) (first call: game_scarlett_master.exe+0x3263e) 9000× d3d12_xs.dll!ID3D12GraphicsCommandList10::#142 (not on PC) (first call: game_scarlett_master.exe+0x329e9) 14× d3d12_xs.dll!ID3D12GraphicsCommandList10::#101 (not on PC) (first call: game_scarlett_master.exe+0x50a6657) ```
AAsobu commented 2026-11-26 23:13:03 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ivall/xcl. Originally posted by AAsobu on 2026-11-26T23:13:03Z.


Stable 30 fps during the logo cinematic – On the loading screen, flickering was observed in the moving character images and the background image.

<!-- greyfinch-sync:ivall/xcl:comment:7205353223 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/issues/2917#issuecomment-7205353223). Originally posted by [AAsobu](https://github.com/AAsobu) on 2026-11-26T23:13:03Z. --- Stable 30 fps during the logo cinematic – On the loading screen, flickering was observed in the moving character images and the background image.
claudetools-gh commented 2026-11-26 23:19:43 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ivall/xcl. Originally posted by claudetools-gh on 2026-11-26T23:19:43Z.


@AAsobu about the flicker on the loading screen (the character and background images): on nvidia-dev that comes from the hot-block CPU-write looks in title_textures.rs (7c18bc41). We traced it here: https://github.com/xcl-dev/xcl/pull/2572#issuecomment-7199023624. A write to a block that went cold just before a submit reaches the GPU unseen, so a frame shows the stale copy (black, or the background without the character layer).

To check whether this is the same thing, run with XCL_WATCH_HOT=0 (every look walks all the watched memory, as before that commit). The flicker went from 96 flashes in 50 s to 0 in 85 s on our RTX 5070 Ti. It costs a little CPU per submit. This only concerns the flicker. It says nothing about the device removal at the loading screen, which is a separate problem.

AI-assisted.

<!-- greyfinch-sync:ivall/xcl:comment:7205448492 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/issues/2917#issuecomment-7205448492). Originally posted by [claudetools-gh](https://github.com/claudetools-gh) on 2026-11-26T23:19:43Z. --- @AAsobu about the flicker on the loading screen (the character and background images): on `nvidia-dev` that comes from the hot-block CPU-write looks in `title_textures.rs` (`7c18bc41`). We traced it here: https://github.com/xcl-dev/xcl/pull/2572#issuecomment-7199023624. A write to a block that went cold just before a submit reaches the GPU unseen, so a frame shows the stale copy (black, or the background without the character layer). To check whether this is the same thing, run with `XCL_WATCH_HOT=0` (every look walks all the watched memory, as before that commit). The flicker went from 96 flashes in 50 s to 0 in 85 s on our RTX 5070 Ti. It costs a little CPU per submit. This only concerns the flicker. It says nothing about the device removal at the loading screen, which is a separate problem. AI-assisted.
ettehn commented 2026-11-27 04:54:53 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ivall/xcl. Originally posted by ettehn on 2026-11-27T04:54:53Z.


I checked the attached log for the final D3D12 removal on nvidia-dev eae01502 (RTX 3090, 621.24). The last logged graphics PSO wait returned at 11321.221 s, 7.193 s before XCL first logged 0x887A0005. The final logged PSO creation was a compute PSO at 11328.326 s. A compute wait on another thread returned at 11328.327 s, 87 ms before the removal report. The two compute lines do not carry a common pipeline key. The last periodic sample showed zero bind and submit waits in its 2 s window. A texture upload reported the same HRESULT after the removal was already logged.

DRED returned no breadcrumbs (0x887A0004), and the report counted zero failed PSOs. The recent draws and dispatches are CPU recording history. The timestamps separate the long graphics waits from the final sequence, and the available data leaves the faulting GPU work unidentified. This is an analysis of the attached run.

OpenAI Codex assisted with verification.

<!-- greyfinch-sync:ivall/xcl:comment:7210195987 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/issues/2917#issuecomment-7210195987). Originally posted by [ettehn](https://github.com/ettehn) on 2026-11-27T04:54:53Z. --- I checked the attached log for the final D3D12 removal on `nvidia-dev` `eae01502` (RTX 3090, 621.24). The last logged graphics PSO wait returned at **11321.221 s**, **7.193 s** before XCL first logged `0x887A0005`. The final logged PSO creation was a compute PSO at **11328.326 s**. A compute wait on another thread returned at **11328.327 s**, **87 ms** before the removal report. The two compute lines do not carry a common pipeline key. The last periodic sample showed zero bind and submit waits in its 2 s window. A texture upload reported the same HRESULT after the removal was already logged. DRED returned no breadcrumbs (`0x887A0004`), and the report counted zero failed PSOs. The recent draws and dispatches are CPU recording history. The timestamps separate the long graphics waits from the final sequence, and the available data leaves the faulting GPU work unidentified. This is an analysis of the attached run. OpenAI Codex assisted with verification.
KDenKC commented 2026-11-27 06:29:35 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ivall/xcl. Originally posted by KDenKC on 2026-11-27T06:29:35Z.


Two existing threads may help narrow this down, following @ettehn's read above:

  • Why DRED had nothing (DRED: no breadcrumbs (0x887a0004)): on nvidia-dev this is #2920. Since startup shader preparation, the device the title gets is the one the preparation runner created, before XCL_DRED=1 takes effect, so DRED is off for it. #2967 is the open fix. Until it lands, a repro with that fix (or with preparation skipped on an already warm cache) should give breadcrumbs and any GPU page fault.
  • One known cause of a bare 0x887a0005 worth ruling out: the NVIDIA driver's shader-code heap limit, #2403. With DRED device state: 0 and zero failed PSOs, your log fits it, but doesn't prove it: by the last sample, 3,774 pipelines had been built, 524 of them with 256 KB of DXIL or more. The test in #2403 is a larger shader heap for xcl.exe (#2590's xcl nvprofile install, or NVIDIA Profile Inspector as described there). If the removal moves or goes away, it's #2403.

Read from the attached xcl.log (the lines at 11,326-11,328 s); not reproduced on an RTX 3090.

AI use: Gemini (Antigravity) matched the log to the threads; Claude Code (Claude Opus 5.5) checked the quoted lines and wrote this comment.

<!-- greyfinch-sync:ivall/xcl:comment:7211576093 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/issues/2917#issuecomment-7211576093). Originally posted by [KDenKC](https://github.com/KDenKC) on 2026-11-27T06:29:35Z. --- Two existing threads may help narrow this down, following @ettehn's read above: - **Why DRED had nothing (`DRED: no breadcrumbs (0x887a0004)`):** on `nvidia-dev` this is #2920. Since startup shader preparation, the device the title gets is the one the preparation runner created, before `XCL_DRED=1` takes effect, so DRED is off for it. #2967 is the open fix. Until it lands, a repro with that fix (or with preparation skipped on an already warm cache) should give breadcrumbs and any GPU page fault. - **One known cause of a bare `0x887a0005` worth ruling out:** the NVIDIA driver's shader-code heap limit, #2403. With `DRED device state: 0` and zero failed PSOs, your log fits it, but doesn't prove it: by the last sample, 3,774 pipelines had been built, 524 of them with 256 KB of DXIL or more. The test in #2403 is a larger shader heap for `xcl.exe` (#2590's `xcl nvprofile install`, or NVIDIA Profile Inspector as described there). If the removal moves or goes away, it's #2403. Read from the attached `xcl.log` (the lines at 11,326-11,328 s); not reproduced on an RTX 3090. AI use: Gemini (Antigravity) matched the log to the threads; Claude Code (Claude Opus 5.5) checked the quoted lines and wrote this comment.
AAsobu commented 2026-11-27 09:17:50 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ivall/xcl. Originally posted by AAsobu on 2026-11-27T09:17:50Z.


I have applied the following to my execution batch file:
set "XCL_DIRECT_DXIL=1"
set "XCL_HEAP_WINDOWS=1"

I also implemented the cache size adjustments corresponding to PR #2590.

XCL managed to run for approximately one hour without crashing, though there were occasional frames showing a solid green color, along with some spikes in 3D engine usage on the graphics card.
I observed lower RAM usage and higher VRAM usage (which is not an issue, as VRAM usage had been abnormally low prior to this test).
Ultimately, the program crashed again; however, I am not certain whether this was due to the program itself or an issue I experienced with a storage drive on my PC. Regardless, a clear positive change in the program's performance was evident during this run.

I have attached the logs for your analysis.

report.json
xcl.log

(Apologies if there are any inconsistencies in my text; English is not my native language. Blame Google.)

<!-- greyfinch-sync:ivall/xcl:comment:7214512343 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/issues/2917#issuecomment-7214512343). Originally posted by [AAsobu](https://github.com/AAsobu) on 2026-11-27T09:17:50Z. --- I have applied the following to my execution batch file: set "XCL_DIRECT_DXIL=1" set "XCL_HEAP_WINDOWS=1" I also implemented the cache size adjustments corresponding to PR #2590. XCL managed to run for approximately one hour without crashing, though there were occasional frames showing a solid green color, along with some spikes in 3D engine usage on the graphics card. I observed lower RAM usage and higher VRAM usage (which is not an issue, as VRAM usage had been abnormally low prior to this test). Ultimately, the program crashed again; however, I am not certain whether this was due to the program itself or an issue I experienced with a storage drive on my PC. Regardless, a clear positive change in the program's performance was evident during this run. I have attached the logs for your analysis. [report.json](https://github.com/user-attachments/files/35504746/report.json) [xcl.log](https://github.com/user-attachments/files/35504747/xcl.log) (Apologies if there are any inconsistencies in my text; English is not my native language. Blame Google.)
KDenKC commented 2026-11-27 09:33:57 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ivall/xcl. Originally posted by KDenKC on 2026-11-27T09:33:57Z.


@AAsobu, thanks for running it and posting the logs. From the new xcl.log:

  • No device removal this time. The earlier run ended in 0x887a0005. This one has no removal anywhere: the title ran from about 1,524 s (after shader preparation) to 6,070 s, about 75 minutes, so the larger shader heap looks like it helped. This is one run, so not proof yet.
  • The end is a different failure: the title's own code faulted. unhandled exception 0xc0000005 in <title>.exe+0x4dbd74d (read at address 0xf1f009c98) at 6,070.8 s, with no GPU error before it. I can't find this address in any existing issue. It's more likely a memory-mapping problem than your storage drive, but one run can't tell.
  • What would help next: whether a second run faults at the same +0x4dbd74d with a similar read address. If it does, it's worth its own issue with both logs, since it's no longer the 0x887a0005 this issue is about.

The solid green frames may be the green flashes reported against #2844 (the driver-heap UMA window, which nvidia-dev has). We haven't checked that here.

AI use: Claude Code (Claude Opus 5.5) read the attached log and wrote this comment.

<!-- greyfinch-sync:ivall/xcl:comment:7214831075 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/issues/2917#issuecomment-7214831075). Originally posted by [KDenKC](https://github.com/KDenKC) on 2026-11-27T09:33:57Z. --- @AAsobu, thanks for running it and posting the logs. From the new `xcl.log`: - **No device removal this time.** The earlier run ended in `0x887a0005`. This one has no removal anywhere: the title ran from about 1,524 s (after shader preparation) to 6,070 s, about 75 minutes, so the larger shader heap looks like it helped. This is one run, so not proof yet. - **The end is a different failure:** the title's own code faulted. `unhandled exception 0xc0000005 in <title>.exe+0x4dbd74d (read at address 0xf1f009c98)` at 6,070.8 s, with no GPU error before it. I can't find this address in any existing issue. It's more likely a memory-mapping problem than your storage drive, but one run can't tell. - **What would help next:** whether a second run faults at the same `+0x4dbd74d` with a similar read address. If it does, it's worth its own issue with both logs, since it's no longer the `0x887a0005` this issue is about. The solid green frames may be the green flashes reported against #2844 (the driver-heap UMA window, which `nvidia-dev` has). We haven't checked that here. AI use: Claude Code (Claude Opus 5.5) read the attached log and wrote this comment.
AAsobu commented 2026-11-27 10:07:14 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ivall/xcl. Originally posted by AAsobu on 2026-11-27T10:07:14Z.


I have run the program again after resolving the memory issue on my drive.
In this run, it is worth noting that the pre-compilation stage was completed much faster.
For the first time across all my attempts, the program rendered in-game frames—some of which were displayed perfectly—and the minimap was also visible on screen.
The program intermittently produced both video and audio on several occasions.

Ultimately, the program crashed with the following code:
Game exited with code 0xc0000005 (3221225477)

I have attached the files for your analysis.

report.json
xcl.log

<!-- greyfinch-sync:ivall/xcl:comment:7215498035 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/issues/2917#issuecomment-7215498035). Originally posted by [AAsobu](https://github.com/AAsobu) on 2026-11-27T10:07:14Z. --- I have run the program again after resolving the memory issue on my drive. In this run, it is worth noting that the pre-compilation stage was completed much faster. For the first time across all my attempts, the program rendered in-game frames—some of which were displayed perfectly—and the minimap was also visible on screen. The program intermittently produced both video and audio on several occasions. Ultimately, the program crashed with the following code: Game exited with code 0xc0000005 (3221225477) I have attached the files for your analysis. [report.json](https://github.com/user-attachments/files/35506860/report.json) [xcl.log](https://github.com/user-attachments/files/35506859/xcl.log)
KDenKC commented 2026-11-27 10:08:41 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ivall/xcl. Originally posted by KDenKC on 2026-11-27T10:08:41Z.


@AAsobu, good progress: in-game frames and the minimap is a big step. This run had no device removal either. Preparation took 60 s on a warm cache, and the title ran from 63 s to the crash at 1,677 s.

The crash is in a different place from last time:

run where read address
previous +0x4dbd74d 0xf1f009c98
this one +0x4fd2b64 0x19 (a read just past a null pointer, from an object whose vtable is at +0x61e0738)

So it isn't one repeatable fault. Both are the title's own code reading memory it shouldn't, after a long run with no GPU error. That usually points at something the title got back earlier from the runtime, not at the GPU path this issue is about. Since the original 0x887a0005 hasn't come back in either run with the larger shader heap, these crashes are worth a new issue of their own, with both logs, so they don't get lost here.

AI use: Claude Code (Claude Opus 5.5) read the attached logs and wrote this comment.

<!-- greyfinch-sync:ivall/xcl:comment:7215527572 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/issues/2917#issuecomment-7215527572). Originally posted by [KDenKC](https://github.com/KDenKC) on 2026-11-27T10:08:41Z. --- @AAsobu, good progress: in-game frames and the minimap is a big step. This run had no device removal either. Preparation took 60 s on a warm cache, and the title ran from 63 s to the crash at 1,677 s. The crash is in a different place from last time: | run | where | read address | |---|---|---| | previous | `+0x4dbd74d` | `0xf1f009c98` | | this one | `+0x4fd2b64` | `0x19` (a read just past a null pointer, from an object whose vtable is at `+0x61e0738`) | So it isn't one repeatable fault. Both are the title's own code reading memory it shouldn't, after a long run with no GPU error. That usually points at something the title got back earlier from the runtime, not at the GPU path this issue is about. Since the original `0x887a0005` hasn't come back in either run with the larger shader heap, these crashes are worth a new issue of their own, with both logs, so they don't get lost here. AI use: Claude Code (Claude Opus 5.5) read the attached logs and wrote this comment.
DjCanigia commented 2026-11-27 12:12:06 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ivall/xcl. Originally posted by DjCanigia on 2026-11-27T12:12:06Z.


Hi, everyone. I'm sharing my nighttime diagnostic results with Gemini Neon, maybe it'll be helpful:

This is NOT a GPU hang, TDR, or shader fault: zero nvlddmkm/DxgKrnl events in the Windows event logs, zero dumps in LiveKernelReports, and DRED enabled but reporting 0 breadcrumbs and PageFaultVA = 0x0.
Compute shaders are NOT the cause: even after skipping more than 2,048 compute dispatches (XCL_DIAG_SKIP_ALL_CS_AFTER=14000, Run 14), the crash occurs in exactly the same way.
The following potential causes have also been ruled out:

  • Tiled textures in vram.rs (Run 16, XCL_VRAM_ARENAS=1).
  • upload_zeros in sparse.rs (Run 18).
  • DIRECT vs. COPY queue usage in sparse.rs (Run 20).
  • The wait-before-signal behavior of Wait64BitValueX (Run 21).
  • The coherent UMA heap introduced in PR #2844 (Runs 6–7).
    Key finding (Runs 19, 20, and 21):
    GetDeviceRemovedReason() transitions from S_OK to 0x887A0005 synchronously on the CPU side, within ID3D12CommandQueue::ExecuteCommandLists (in 1–2 ms, even with the GPU completely idle and zero in-flight workloads), across three different command queues:
  • Sparse DIRECT queue in Run 19.
  • The game's q1 DIRECT queue with zero shaders in Run 20.
  • The q4 COMPUTE queue in Run 21.
    This indicates that a WDDM call (D3DKMT* / win32u!NtGdiDdDDI*) within either D3D12Core.dll or nvwgf2umx.dll is failing on the CPU side, or is explicitly invoking NtGdiDdDDIMarkDeviceAsError.

Ai used: Antigravity, Gemini Neon 4

<!-- greyfinch-sync:ivall/xcl:comment:7217957843 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/issues/2917#issuecomment-7217957843). Originally posted by [DjCanigia](https://github.com/DjCanigia) on 2026-11-27T12:12:06Z. --- Hi, everyone. I'm sharing my nighttime diagnostic results with Gemini Neon, maybe it'll be helpful: > This is NOT a GPU hang, TDR, or shader fault: zero nvlddmkm/DxgKrnl events in the Windows event logs, zero dumps in LiveKernelReports, and DRED enabled but reporting 0 breadcrumbs and PageFaultVA = 0x0. > Compute shaders are NOT the cause: even after skipping more than 2,048 compute dispatches (XCL_DIAG_SKIP_ALL_CS_AFTER=14000, Run 14), the crash occurs in exactly the same way. > The following potential causes have also been ruled out: > - Tiled textures in vram.rs (Run 16, XCL_VRAM_ARENAS=1). > - upload_zeros in sparse.rs (Run 18). > - DIRECT vs. COPY queue usage in sparse.rs (Run 20). > - The wait-before-signal behavior of Wait64BitValueX (Run 21). > - The coherent UMA heap introduced in PR #2844 (Runs 6–7). > Key finding (Runs 19, 20, and 21): > GetDeviceRemovedReason() transitions from S_OK to 0x887A0005 synchronously on the CPU side, within ID3D12CommandQueue::ExecuteCommandLists (in 1–2 ms, even with the GPU completely idle and zero in-flight workloads), across three different command queues: > - Sparse DIRECT queue in Run 19. > - The game's q1 DIRECT queue with zero shaders in Run 20. > - The q4 COMPUTE queue in Run 21. > This indicates that a WDDM call (D3DKMT* / win32u!NtGdiDdDDI*) within either D3D12Core.dll or nvwgf2umx.dll is failing on the CPU side, or is explicitly invoking NtGdiDdDDIMarkDeviceAsError. Ai used: Antigravity, Gemini Neon 4
KDenKC commented 2026-11-28 02:20:50 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ivall/xcl. Originally posted by KDenKC on 2026-11-28T02:20:50Z.


The +0x4dbd74d crash from your first run is now reproduced on an RTX 5090 (2 of 2 more), with the same -1 index pattern. Tracked in #3084, with the details.

AI use: Claude Code (Claude Opus 5.5).

<!-- greyfinch-sync:ivall/xcl:comment:7232300804 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/issues/2917#issuecomment-7232300804). Originally posted by [KDenKC](https://github.com/KDenKC) on 2026-11-28T02:20:50Z. --- The `+0x4dbd74d` crash from your first run is now reproduced on an RTX 5090 (2 of 2 more), with the same -1 index pattern. Tracked in #3084, with the details. AI use: Claude Code (Claude Opus 5.5).
AAsobu commented 2026-12-01 00:04:09 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ivall/xcl. Originally posted by AAsobu on 2026-12-01T00:04:09Z.


Update: the device removals I reported here and in later PR tests (0x887a0005; with XCL_DRED=1 a page fault at GPU VA 0x0 and no breadcrumbs) were most likely NVIDIA's 512 MB shader-heap limit (#2403). My xcl.exe had no driver profile (xcl nvprofile status from #2590: "the driver's default shader heap (512 MB on D3D12)"). After xcl nvprofile install --mb 1024, 4 of 4 runs of 420 s on main ff0c364b and #3528 stayed in the world with no removal, where 13 of 13 runs before lost the device, at 143-816 s from start (5-50 s after world entry in the 8 runs where I timed it).

What remains in the world: frames keep being presented (about one every 2 s, GPU-bound), but none is drawn correctly yet (a flat black, white or blurred single-colour image). Audio plays without glitches.

Hardware: NVIDIA GeForce RTX 3090 24 GB (driver 621.24), Intel Core i5-10600K, 32 GB, Windows 11 Home build 26300. Tool and model: Claude Code (Claude Opus 5.5), results checked by me.

<!-- greyfinch-sync:ivall/xcl:comment:7295885545 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/issues/2917#issuecomment-7295885545). Originally posted by [AAsobu](https://github.com/AAsobu) on 2026-12-01T00:04:09Z. --- Update: the device removals I reported here and in later PR tests (0x887a0005; with `XCL_DRED=1` a page fault at GPU VA 0x0 and no breadcrumbs) were most likely NVIDIA's 512 MB shader-heap limit (#2403). My `xcl.exe` had no driver profile (`xcl nvprofile status` from #2590: "the driver's default shader heap (512 MB on D3D12)"). After `xcl nvprofile install --mb 1024`, 4 of 4 runs of 420 s on `main` `ff0c364b` and #3528 stayed in the world with no removal, where 13 of 13 runs before lost the device, at 143-816 s from start (5-50 s after world entry in the 8 runs where I timed it). What remains in the world: frames keep being presented (about one every 2 s, GPU-bound), but none is drawn correctly yet (a flat black, white or blurred single-colour image). Audio plays without glitches. Hardware: NVIDIA GeForce RTX 3090 24 GB (driver 621.24), Intel Core i5-10600K, 32 GB, Windows 11 Home build 26300. Tool and model: Claude Code (Claude Opus 5.5), results checked by me.
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
xcl-dev/xcl#2917
No description provided.