Regular crash on Nvidia RTX 5090 #358

Open
opened 2026-12-05 23:36:12 +00:00 by github-bot · 1 comment
Owner

@⁠bovali on GitHub · 2026-12-05 23:31 UTC · original

Hey all,

The log is in the attachment. Any help is appreciated.

Thanks!

play.log

**@⁠bovali** on GitHub · 2026-12-05 23:31 UTC · [original](https://github.com/gamingwithhomie/larp/issues/358) Hey all, The log is in the attachment. Any help is appreciated. Thanks! [play.log](https://github.com/user-attachments/files/35924509/play.log)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-05 23:36:12 +00:00
Author
Owner

@⁠wujueke on GitHub · 2026-12-06 02:15 UTC · original

RTX 5090 (Blackwell): deterministic 0x887A0006 device hung on world entry — reproduced with shader replacements off, FSR on/off, and drivers 621.40 / 621.47

Summary

On an RTX 5090, v1.1.6 reaches world entry and then the device is removed with
DXGI_ERROR_DEVICE_REMOVED (0x887A0005), reason DXGI_ERROR_DEVICE_HUNG (0x887A0006).

The crash is deterministic: it happens ~9–11 s after the log line
pipelines: the title's render phases are built, it was held until every queued pipeline was made.

I ran four controlled variations. All four crash at the same point, which rules out
the replacement shaders, the upscaler, and the D3D12 runtime as causes.

Separately — and possibly related — DLSS never initialises on this machine:
NGX init refused (0xbad00001). This reproduced identically on drivers 621.40 and
621.47
, which matches the 0xbad00001 reported in #168 on a 5060 Ti + 621.47.


System

GPU NVIDIA GeForce RTX 5090, 32,607 MiB
Driver 621.40 (first runs) and 621.47 (last run)
CPU AMD Ryzen 9 9950X (16C / 32T)
RAM 47.1 GB, DDR5-6000 (XMP enabled, ConfiguredClockSpeed = 6000)
OS Windows 11 24H2
larp v1.1.6, commit c048b3a (larp 0.1.0), built from source locally
Title Xbox Series master, build b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93
Launch series-x.cmd — --console series-x --stream-budget 8000, 2560x1440 borderless, 60 fps cap
NVIDIA shader heap nv-profile --mb 2048 applied (0x80000000)
Agility SDK bin\D3D12\D3D12Core.dll = 1.620.2.0 (verified via VS_FIXEDFILEINFO)

Note on the local build

The binary is built from v1.1.6 (c048b3a) with one local patch applied, because it
is not in v1.1.6 nor in main:

// crates/larp-gpu/src/descriptor/host.rs, fn elements_inside
Ok(0) | Err(_) => count,
+        // A count of 0 in a D3D12 buffer view means "everything left"; taken
+        // literally it makes a view the host refuses, which the shader then
+        // reads through a null descriptor (a device removal, page fault).
+        // Clamping 0 to the room is what the console runtime does.
+        Ok(room) if count == 0 => room,
Ok(room) => count.min(room),

This came from a PR-branch commit (pr77) I was previously running. If you want a clean
reproduction on an unpatched binary I can rebuild without it — but note that run #2 below
(LARP_SHADER_REPLACE=0) behaves identically, and the crash happens with 60 000+ pipelines
already built, so this patch is almost certainly unrelated. Flagging it for transparency.


Reproduction

  1. Launch series-x.cmd.
  2. Wait for the pipeline compilation counter to reach 100% — the log then says
    pipelines: the title's render phases are built ....
  3. Confirm at player selection and enter the world.
  4. ~9–11 s later the device is removed.

Steady state before the crash is healthy: 60.0 fps, 16.7 ms/frame, 0 frames over 50 ms,
preparing 0.0–0.4 ms. The crash is not a stall or a slow frame.


The four runs

# Driver LARP_SHADER_REPLACE Upscaler Crash after render phases built Reason
1 621.40 default (155 shaders loaded) none (FSR dir empty) +8.7 s 0x887A0006
2 621.40 0 (disabled) none +8.7 s 0x887A0006
3 621.40 default FSR 3.1.6 +8.7 s 0x887A0006
4 621.47 default FSR 3.1.6 +10.6 s 0x887A0006

LARP_D3D12_DRED=1 and LARP_STACKS_AT_KILL=1 were set for all four runs.

Each run started from a deleted Larp\cache so no stale DXIL/pipeline blobs were reused.

What this rules out:

  • Replacement shaders — run #2 has LARP_SHADER_REPLACE=0 (every shader translated) and
    crashes at exactly the same moment, in the same way.
  • The upscaler — run #1/#2 had no upscaler at all, run #3/#4 had a working FSR 3.1.6
    context; the crash is identical.
  • The driver version — 621.40 and 621.47 both crash.
  • A stale cache — every run rebuilt from empty.

What the removal report says

All four runs log the same shape:

device removal: the submitting thread was between submissions
  (3 submissions started and not finished), of 0 lists, for 1.0 ms;
  pipelines: no creation running; ...
  • The submitting thread is not stuck inside a command list — it is between submissions.
  • No pipeline creation was running.
  • With LARP_D3D12_DRED=1 the log says device-removed data on (LARP_D3D12_DRED): breadcrumbs and page faults, but the removal report contains no breadcrumb / stopped-command
    detail and no page fault address
    — unlike the AMD reports where DRED names the faulting
    command. It reads like the GPU hung internally rather than the CPU having sent a bad command.

That matches your own read in #168: "the submission in flight is a normal-looking compute batch".

The render phases are built line reports queued_at_its_start=11359 / ms=12476 (run 4),
i.e. ~12–22 s of pipeline work completed successfully right before the crash. 60 629 pipelines
were created in run #1 (created_without_blob=58532, loaded_with_blob=86,
skipped_with_blob=2007).


DLSS never initialises (0xbad00001)

Independently of the crash, DLSS is unavailable on this machine on both drivers:

dlss  DLSS not there: NGX init refused (0xbad00001;
        core C:\Windows\System32\DriverStore\FileRepository\nvmdi.inf_amd64_76ea542a708ef59e\_nvngx.dll)
dlss  frame generation by DLSS not there: NGX is not ready
  • 621.40 → NGX core in nvmdi.inf_amd64_c2fb3de5b6db4d58\_nvngx.dll
  • 621.47 → NGX core in nvmdi.inf_amd64_76ea542a708ef59e\_nvngx.dll

Both report file version 35649.0.36172.5201. larp passes NGX_VERSION_API = 0x15
(crates/larp-gpu/src/dlss.rs). The registry NGX path is correct
(HKLM\SYSTEM\CurrentControlSet\Services\nvlddmkm\Parameters\NGXCore\NGXPath).

0xbad00001 is NGX_STATUS_INVALID_PARAMETER. My read is that the NGX core shipped with the
621.4x driver line does not accept API version 0x15, so NGX_Init refuses. This is the
same error #168 saw on a 5060 Ti with driver 621.47, which supports "the whole 621.4x line".

I have not confirmed whether a newer driver branch (622+ / Studio) fixes it — I can test if
that would be useful.

FSR is fine and works: FidelityFX 3.1.6, context made with max_render=1280x720 max_upscale=2560x1440, and FSR frame generation 2x reports available. (Note: bin\fsr\ from
my earlier install was empty; I restored the full bin\fsr from the official
larp-v1.1.6-windows-nvidia-FULL.zip, sha256 05085673fa30bb66be41a47a4c8bc010a8966e5ff83d64bdae4064233a4ffb20.
The official bin\dlss also contains nvngx_dlssd.dll, which my install lacked; I restored that too.)


  • #168 — RTX 5060 Ti 16 GB: crash on world entry with 0x887A0004 / 0x887A0006 (same signature, same 0xbad00001)
  • #358 — Regular crash on NVIDIA RTX 5090 (no detail yet)
  • #353 / #427 / #288 / #507 — AMD variants of the world-entry 0x887A0006

What I would try next, in order

  1. LARP_AGILITY=0 — run on Windows' own D3D12 rather than the bundled 1.620 Agility SDK.
    Costs byte-offset buffer views (they fall back to by-element), but would separate
    "Agility SDK 1.620 on Blackwell" from "the layer's own translation". I have not run this yet
    because of the byte-view loss; tell me if you want the result before anything else.
  2. A newer driver branch — to test the NGX 0x15 question and the DEVICE_HUNG together.
  3. If it helps you narrow it: I can run with LARP_D3D12_DEBUG=1 (needs the Graphics Tools
    optional feature) for full debug-layer messages, or bisect with LARP_BYTE_VIEWS=0.

Happy to run any of these and paste the full zip-logs output — the run takes ~2 minutes,
so iteration is cheap on my side.


Logs

Sanitized bundle attached (generated with bin\larp.exe zip-logs, Windows username stripped) —
from run #4 (driver 621.47): larp-logs-1796523121.zip

I also have the four full console logs and the equivalent zip-logs bundle from each run if
you want the A/B pairs individually.

larp-logs-1796523121.zip

**@⁠wujueke** on GitHub · 2026-12-06 02:15 UTC · [original](https://github.com/gamingwithhomie/larp/issues/358#issuecomment-7449801799) # RTX 5090 (Blackwell): deterministic `0x887A0006` device hung on world entry — reproduced with shader replacements off, FSR on/off, and drivers 621.40 / 621.47 ## Summary On an **RTX 5090**, v1.1.6 reaches world entry and then the device is removed with `DXGI_ERROR_DEVICE_REMOVED (0x887A0005)`, reason `DXGI_ERROR_DEVICE_HUNG (0x887A0006)`. The crash is **deterministic**: it happens ~9–11 s after the log line `pipelines: the title's render phases are built, it was held until every queued pipeline was made`. I ran four controlled variations. **All four crash at the same point**, which rules out the replacement shaders, the upscaler, and the D3D12 runtime as causes. Separately — and possibly related — **DLSS never initialises on this machine**: `NGX init refused (0xbad00001)`. This reproduced identically on drivers **621.40 and 621.47**, which matches the `0xbad00001` reported in #168 on a 5060 Ti + 621.47. --- ## System | | | |---|---| | GPU | NVIDIA GeForce RTX 5090, 32,607 MiB | | Driver | **621.40** (first runs) and **621.47** (last run) | | CPU | AMD Ryzen 9 9950X (16C / 32T) | | RAM | 47.1 GB, DDR5-6000 (XMP enabled, `ConfiguredClockSpeed` = 6000) | | OS | Windows 11 24H2 | | larp | v1.1.6, commit `c048b3a` (`larp 0.1.0`), built from source locally | | Title | Xbox Series master, build `b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93` | | Launch | `series-x.cmd` — `--console series-x --stream-budget 8000`, 2560x1440 borderless, 60 fps cap | | NVIDIA shader heap | `nv-profile --mb 2048` applied (`0x80000000`) | | Agility SDK | `bin\D3D12\D3D12Core.dll` = **1.620.2.0** (verified via `VS_FIXEDFILEINFO`) | ### Note on the local build The binary is built from `v1.1.6` (`c048b3a`) with **one local patch** applied, because it is not in v1.1.6 nor in `main`: ```rust // crates/larp-gpu/src/descriptor/host.rs, fn elements_inside Ok(0) | Err(_) => count, + // A count of 0 in a D3D12 buffer view means "everything left"; taken + // literally it makes a view the host refuses, which the shader then + // reads through a null descriptor (a device removal, page fault). + // Clamping 0 to the room is what the console runtime does. + Ok(room) if count == 0 => room, Ok(room) => count.min(room), ``` This came from a PR-branch commit (`pr77`) I was previously running. If you want a clean reproduction on an unpatched binary I can rebuild without it — but note that run #2 below (`LARP_SHADER_REPLACE=0`) behaves identically, and the crash happens with 60 000+ pipelines already built, so this patch is almost certainly unrelated. Flagging it for transparency. --- ## Reproduction 1. Launch `series-x.cmd`. 2. Wait for the pipeline compilation counter to reach 100% — the log then says `pipelines: the title's render phases are built ...`. 3. Confirm at player selection and enter the world. 4. ~9–11 s later the device is removed. Steady state before the crash is healthy: **60.0 fps, 16.7 ms/frame, 0 frames over 50 ms**, `preparing` 0.0–0.4 ms. The crash is not a stall or a slow frame. --- ## The four runs | # | Driver | `LARP_SHADER_REPLACE` | Upscaler | Crash after `render phases built` | Reason | |---|---|---|---|---|---| | 1 | 621.40 | default (155 shaders loaded) | none (FSR dir empty) | **+8.7 s** | `0x887A0006` | | 2 | 621.40 | **`0` (disabled)** | none | **+8.7 s** | `0x887A0006` | | 3 | 621.40 | default | **FSR 3.1.6** | **+8.7 s** | `0x887A0006` | | 4 | **621.47** | default | FSR 3.1.6 | **+10.6 s** | `0x887A0006` | `LARP_D3D12_DRED=1` and `LARP_STACKS_AT_KILL=1` were set for all four runs. Each run started from a **deleted `Larp\cache`** so no stale DXIL/pipeline blobs were reused. **What this rules out:** - **Replacement shaders** — run #2 has `LARP_SHADER_REPLACE=0` (every shader translated) and crashes at exactly the same moment, in the same way. - **The upscaler** — run #1/#2 had no upscaler at all, run #3/#4 had a working FSR 3.1.6 context; the crash is identical. - **The driver version** — 621.40 and 621.47 both crash. - **A stale cache** — every run rebuilt from empty. --- ## What the removal report says All four runs log the same shape: ``` device removal: the submitting thread was between submissions (3 submissions started and not finished), of 0 lists, for 1.0 ms; pipelines: no creation running; ... ``` - The submitting thread is **not** stuck inside a command list — it is between submissions. - **No pipeline creation was running.** - With `LARP_D3D12_DRED=1` the log says `device-removed data on (LARP_D3D12_DRED): breadcrumbs and page faults`, but the removal report contains **no breadcrumb / stopped-command detail and no page fault address** — unlike the AMD reports where DRED names the faulting command. It reads like the GPU hung internally rather than the CPU having sent a bad command. That matches your own read in #168: *"the submission in flight is a normal-looking compute batch"*. The `render phases are built` line reports `queued_at_its_start=11359` / `ms=12476` (run 4), i.e. ~12–22 s of pipeline work completed successfully right before the crash. 60 629 pipelines were created in run #1 (`created_without_blob=58532`, `loaded_with_blob=86`, `skipped_with_blob=2007`). --- ## DLSS never initialises (`0xbad00001`) Independently of the crash, DLSS is unavailable on this machine on **both** drivers: ``` dlss DLSS not there: NGX init refused (0xbad00001; core C:\Windows\System32\DriverStore\FileRepository\nvmdi.inf_amd64_76ea542a708ef59e\_nvngx.dll) dlss frame generation by DLSS not there: NGX is not ready ``` - 621.40 → NGX core in `nvmdi.inf_amd64_c2fb3de5b6db4d58\_nvngx.dll` - 621.47 → NGX core in `nvmdi.inf_amd64_76ea542a708ef59e\_nvngx.dll` Both report file version `35649.0.36172.5201`. larp passes `NGX_VERSION_API = 0x15` (`crates/larp-gpu/src/dlss.rs`). The registry NGX path is correct (`HKLM\SYSTEM\CurrentControlSet\Services\nvlddmkm\Parameters\NGXCore\NGXPath`). `0xbad00001` is `NGX_STATUS_INVALID_PARAMETER`. My read is that the NGX core shipped with the **621.4x** driver line does not accept API version `0x15`, so `NGX_Init` refuses. This is the same error #168 saw on a 5060 Ti with driver 621.47, which supports "the whole 621.4x line". I have not confirmed whether a newer driver branch (622+ / Studio) fixes it — I can test if that would be useful. FSR is fine and works: `FidelityFX 3.1.6`, context made with `max_render=1280x720 max_upscale=2560x1440`, and FSR frame generation 2x reports available. (Note: `bin\fsr\` from my earlier install was empty; I restored the full `bin\fsr` from the official `larp-v1.1.6-windows-nvidia-FULL.zip`, sha256 `05085673fa30bb66be41a47a4c8bc010a8966e5ff83d64bdae4064233a4ffb20`. The official `bin\dlss` also contains `nvngx_dlssd.dll`, which my install lacked; I restored that too.) --- ## Related - #168 — RTX 5060 Ti 16 GB: crash on world entry with `0x887A0004` / `0x887A0006` (same signature, same `0xbad00001`) - #358 — Regular crash on NVIDIA RTX 5090 (no detail yet) - #353 / #427 / #288 / #507 — AMD variants of the world-entry `0x887A0006` --- ## What I would try next, in order 1. **`LARP_AGILITY=0`** — run on Windows' own D3D12 rather than the bundled 1.620 Agility SDK. Costs byte-offset buffer views (they fall back to by-element), but would separate "Agility SDK 1.620 on Blackwell" from "the layer's own translation". I have not run this yet because of the byte-view loss; tell me if you want the result before anything else. 2. **A newer driver branch** — to test the NGX `0x15` question and the DEVICE_HUNG together. 3. If it helps you narrow it: I can run with `LARP_D3D12_DEBUG=1` (needs the Graphics Tools optional feature) for full debug-layer messages, or bisect with `LARP_BYTE_VIEWS=0`. Happy to run any of these and paste the full `zip-logs` output — the run takes ~2 minutes, so iteration is cheap on my side. --- ## Logs Sanitized bundle attached (generated with `bin\larp.exe zip-logs`, Windows username stripped) — from run #4 (driver **621.47**): `larp-logs-1796523121.zip` I also have the four full console logs and the equivalent `zip-logs` bundle from each run if you want the A/B pairs individually. [larp-logs-1796523121.zip](https://github.com/user-attachments/files/35927067/larp-logs-1796523121.zip)
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/gamingwithhomie--larp#358
No description provided.