Host GPU device removed (D3D12) — 20 crashes in 24 h: invalid 16-bit texture formats, DEVICE_HUNG in mesh draw (op 42), and unsupported feature level #2719

Open
opened 2026-11-26 05:12:42 +00:00 by github-bot · 4 comments
Owner

@⁠mikebigboots-web on GitHub · 2026-11-25 18:48 UTC · original

Summary
The host GPU device is removed repeatedly while running. In a ~24 h window (2026-11-24 19:43 UTC → 2026-11-25 18:46 UTC) I collected 20 crashes, all reporting host GPU failure: host GPU device removed. They fall into three groups with different root causes (see below). crashes.log is attached.

Environment

  • CPU: AMD Ryzen 5 9600X (6-core)
  • GPU: NVIDIA RTX 5070 Ti, driver 617.42
  • RAM: 32 GB
  • OS: Windows 10.0.26200 (x64, AtlasOS)
  • Output resolution seen in logs: 2560x1440
  • Build/commit:

Crash breakdown

# Count HRESULT Meaning Notes
A 14 0x887A0001 (INVALID_CALL) App made an invalid call Submission of 1 list, empty breadcrumbs. 8 of the 14 include D3D12 debug-layer output (below)
B 3 0x887A0006 (DEVICE_HUNG) GPU stopped responding, likely due to an invalid command Submission of 32 lists, always stops at op 42, mesh 4
C 3 0x887A0004 then 0x887A0005 Feature level/interface not supported, then device suspended/removed Submission of 1–2 lists, no breadcrumbs

(One extra entry in group C has 2 lists; totals: 14 + 3 + 3 = 20.)

A — Invalid resource creation (debug layer output)

  • 6×: ID3D12Device::GetResourceAllocationInfo — texture with ALLOW_UNORDERED_ACCESS created with format B5G5R5A1_UNORM, which can't be used (or cast) for UAV access. FeatureLevel is 12_2.
  • 2×: ID3D12Device::CreateCommittedResource3 — ALLOW_RENDER_TARGET set but D3D12_CLEAR_VALUE::Format is B4G4R4A4_UNORM, which is not valid as a render target.

Both look like the 16-bit packed formats (B5G5R5A1 / B4G4R4A4) being used with UAV/RTV flags without checking format support first.

B — GPU hang in mesh draw

All three occurred within ~4 minutes (2026-11-24 19:54–20:01 UTC). Each time the breadcrumbs show the last list stopping at the same command:

  • command N (op 42): mesh 4 [mesh 04b9be3756e8f41c, pixel 1af4a50c7fb40c97]
  • 142/166 (process 5384), 233/235 (process 20440), 265/267 (process 19116)
  • Same mesh/pixel shader pair every time; the pipeline has a large number of SRV/UAV/CBV table entries (full dump in the attached log).
  • A diagnostics build with VICTORY_D3D12_DEBUG=1 is suggested by the log to name the exact command; I can run it if useful.

C — Unsupported device interface/feature level

The specified device interface or feature level is not supported on this system (0x887A0004) followed by The GPU device instance has been suspended (0x887A0005).

Expected behavior

No device removal. Unsupported texture formats should be checked via CheckFeatureSupport and substituted/emulated, and the mesh draw should not hang the GPU.

Steps to reproduce

<fill in: game/scene/settings, what triggers the crash, whether it's deterministic>

Additional context

  • Full log attached: crashes.log (~277 KB; the three DEVICE_HUNG entries are ~85–95 KB each because of the breadcrumb/resource dumps).
  • I can re-run with VICTORY_D3D12_DEBUG=1 and the D3D12 debug layer enabled if that helps.
**@⁠mikebigboots-web** on GitHub · 2026-11-25 18:48 UTC · [original](https://github.com/Marvisak/VIctory/issues/2719) Summary The host GPU device is removed repeatedly while running. In a ~24 h window (2026-11-24 19:43 UTC → 2026-11-25 18:46 UTC) I collected 20 crashes, all reporting `host GPU failure: host GPU device removed`. They fall into three groups with different root causes (see below). `crashes.log` is attached. ## Environment - CPU: AMD Ryzen 5 9600X (6-core) - GPU: NVIDIA RTX 5070 Ti, driver 617.42 - RAM: 32 GB - OS: Windows 10.0.26200 (x64, AtlasOS) - Output resolution seen in logs: 2560x1440 - Build/commit: <fill in> ## Crash breakdown | # | Count | HRESULT | Meaning | Notes | |---|-------|---------|---------|-------| | A | 14 | `0x887A0001` (INVALID_CALL) | App made an invalid call | Submission of 1 list, empty breadcrumbs. 8 of the 14 include D3D12 debug-layer output (below) | | B | 3 | `0x887A0006` (DEVICE_HUNG) | GPU stopped responding, likely due to an invalid command | Submission of 32 lists, always stops at **op 42, `mesh 4`** | | C | 3 | `0x887A0004` then `0x887A0005` | Feature level/interface not supported, then device suspended/removed | Submission of 1–2 lists, no breadcrumbs | (One extra entry in group C has 2 lists; totals: 14 + 3 + 3 = 20.) ### A — Invalid resource creation (debug layer output) - 6×: `ID3D12Device::GetResourceAllocationInfo` — texture with `ALLOW_UNORDERED_ACCESS` created with format `B5G5R5A1_UNORM`, which can't be used (or cast) for UAV access. FeatureLevel is 12_2. - 2×: `ID3D12Device::CreateCommittedResource3` — `ALLOW_RENDER_TARGET` set but `D3D12_CLEAR_VALUE::Format` is `B4G4R4A4_UNORM`, which is not valid as a render target. Both look like the 16-bit packed formats (B5G5R5A1 / B4G4R4A4) being used with UAV/RTV flags without checking format support first. ### B — GPU hang in mesh draw All three occurred within ~4 minutes (2026-11-24 19:54–20:01 UTC). Each time the breadcrumbs show the last list stopping at the same command: - `command N (op 42): mesh 4 [mesh 04b9be3756e8f41c, pixel 1af4a50c7fb40c97]` - 142/166 (process 5384), 233/235 (process 20440), 265/267 (process 19116) - Same mesh/pixel shader pair every time; the pipeline has a large number of SRV/UAV/CBV table entries (full dump in the attached log). - A diagnostics build with `VICTORY_D3D12_DEBUG=1` is suggested by the log to name the exact command; I can run it if useful. ### C — Unsupported device interface/feature level `The specified device interface or feature level is not supported on this system (0x887A0004)` followed by `The GPU device instance has been suspended (0x887A0005)`. ## Expected behavior No device removal. Unsupported texture formats should be checked via `CheckFeatureSupport` and substituted/emulated, and the mesh draw should not hang the GPU. ## Steps to reproduce <fill in: game/scene/settings, what triggers the crash, whether it's deterministic> ## Additional context - Full log attached: `crashes.log` (~277 KB; the three DEVICE_HUNG entries are ~85–95 KB each because of the breadcrumb/resource dumps). - I can re-run with `VICTORY_D3D12_DEBUG=1` and the D3D12 debug layer enabled if that helps.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:12:42 +00:00
Author
Owner

@⁠shawshanker18 on GitHub · 2026-11-25 18:51 UTC · original

Thanks for the breakdown by group. All three groups match reports that already exist, so here is where each one stands.

  • A (14×, B5G5R5A1 as a UAV, B4G4R4A4 as a render target): the known NVIDIA failure. Four open PRs fix it: #1843, #1832, #2319 and #2459. On #2563 an RTX 3070 user reports that #1843 + #1832 together got past it. A result from your 5070 Ti on one of those PRs would help one of them merge.
  • B (3×, DEVICE_HUNG at one mesh draw): GPU hangs in world mesh draws on NVIDIA are tracked in #1216 (5070 Ti), #71 and #778 (wave64 mesh shaders). If it's always the same mesh pipeline, posting that one hash there lets people tell whether it's the same program.
  • C (0x887A0004 then 0x887A0005): usually a follow-on of the device already being lost. See whether C still happens once A is fixed.

For the next batch of crashes, victory doctor from #2678 sorts a log and crashes.log into groups like yours and links each group to the issues that already report it.

**@⁠shawshanker18** on GitHub · 2026-11-25 18:51 UTC · [original](https://github.com/Marvisak/VIctory/issues/2719#issuecomment-7171490514) Thanks for the breakdown by group. All three groups match reports that already exist, so here is where each one stands. - **A (14×, B5G5R5A1 as a UAV, B4G4R4A4 as a render target):** the known NVIDIA failure. Four open PRs fix it: #1843, #1832, #2319 and #2459. On #2563 an RTX 3070 user reports that #1843 + #1832 together got past it. A result from your 5070 Ti on one of those PRs would help one of them merge. - **B (3×, `DEVICE_HUNG` at one mesh draw):** GPU hangs in world mesh draws on NVIDIA are tracked in #1216 (5070 Ti), #71 and #778 (wave64 mesh shaders). If it's always the same mesh pipeline, posting that one hash there lets people tell whether it's the same program. - **C (`0x887A0004` then `0x887A0005`):** usually a follow-on of the device already being lost. See whether C still happens once A is fixed. For the next batch of crashes, `victory doctor` from #2678 sorts a log and `crashes.log` into groups like yours and links each group to the issues that already report it.
Author
Owner

@⁠KainanP on GitHub · 2026-11-25 20:18 UTC · original

The B5G5R5A1 typed-UAV and B4G4R4A4 render-target halves of this are the bug tracked in #1753. I compared the 17 open PRs for it on an RTX 4060 Laptop, an Intel UHD iGPU and WARP: #1753 (comment). Only #2626 fixes both halves, with real stand-in views, so writes still land. The recommended combination there is #2626 + #1763. If you can run #2626 on this card, that result would help it land.

AI use: Claude Code (Claude Opus 5.5).

**@⁠KainanP** on GitHub · 2026-11-25 20:18 UTC · [original](https://github.com/Marvisak/VIctory/issues/2719#issuecomment-7173487272) The B5G5R5A1 typed-UAV and B4G4R4A4 render-target halves of this are the bug tracked in #1753. I compared the 17 open PRs for it on an RTX 4060 Laptop, an Intel UHD iGPU and WARP: [#1753 (comment)](https://git.gtahub.st/github/Marvisak--VIctory/issues/1753). Only #2626 fixes both halves, with real stand-in views, so writes still land. The recommended combination there is #2626 + #1763. If you can run #2626 on this card, that result would help it land. _AI use: Claude Code (Claude Opus 5.5)._
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 21:45 UTC · original

Automated triage for the maintainers.

Thanks for grouping the crashes. One essential detail is missing: the VIctory commit (git rev-parse --short HEAD). Please add it, and say whether it was a release or diag build. #2725 (same machine) gives the title's version, not the VIctory commit. A rerun on current main (61bfc77) would also help, because #1273 merged after this report (see below).

Where each group is tracked:

  • A (B5G5R5A1 with unordered access, B4G4R4A4 as a render target). The typed-UAV part is tracked in #1753. #1273, merged into main today, makes fits in crates/victory-gpu/src/descriptor/host.rs refuse an unordered view in a format the host cannot store, which covers the CreateUnorderedAccessView part. host_desc in crates/victory-gpu/src/resource.rs still keeps the UAV flag on B5G5R5A1 and passes B4G4R4A4 through, so the GetResourceAllocationInfo / CreateCommittedResource3 errors are still possible. The render-target half is tracked in #797. Open PRs: #2773 (written for #2725; drops the uses a format cannot take), #2319, #1832 and #89.
  • B (DEVICE_HUNG at one mesh draw). This is the NVIDIA world mesh-draw hang tracked in #71 (also #1216 on a 5070 Ti, and #778 for wave64 mesh programs). A VICTORY_D3D12_DRED=1 run of a diagnostics build would add the most useful detail there.
  • C (0x887A0004, then 0x887A0005). No cause of its own is known. It usually follows a device that was already lost, so please check whether it still happens once A is gone.

Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 21:45 UTC · [original](https://github.com/Marvisak/VIctory/issues/2719#issuecomment-7175504286) <!-- victory-issue-triage v1 verdict=needs-info seen=2026-11-25T20:18:58Z at=2026-11-25T21:46:00Z --> Automated triage for the maintainers. Thanks for grouping the crashes. One essential detail is missing: the VIctory commit (`git rev-parse --short HEAD`). Please add it, and say whether it was a release or `diag` build. #2725 (same machine) gives the title's version, not the VIctory commit. A rerun on current `main` (`61bfc77`) would also help, because #1273 merged after this report (see below). Where each group is tracked: - **A (B5G5R5A1 with unordered access, B4G4R4A4 as a render target).** The typed-UAV part is tracked in #1753. #1273, merged into `main` today, makes `fits` in `crates/victory-gpu/src/descriptor/host.rs` refuse an unordered view in a format the host cannot store, which covers the `CreateUnorderedAccessView` part. `host_desc` in `crates/victory-gpu/src/resource.rs` still keeps the UAV flag on B5G5R5A1 and passes B4G4R4A4 through, so the `GetResourceAllocationInfo` / `CreateCommittedResource3` errors are still possible. The render-target half is tracked in #797. Open PRs: #2773 (written for #2725; drops the uses a format cannot take), #2319, #1832 and #89. - **B (`DEVICE_HUNG` at one mesh draw).** This is the NVIDIA world mesh-draw hang tracked in #71 (also #1216 on a 5070 Ti, and #778 for wave64 mesh programs). A `VICTORY_D3D12_DRED=1` run of a diagnostics build would add the most useful detail there. - **C (`0x887A0004`, then `0x887A0005`).** No cause of its own is known. It usually follows a device that was already lost, so please check whether it still happens once A is gone. --- _Generated by [Claude Code](https://claude.ai/code)_
Author
Owner

@⁠potatoe0100 on GitHub · 2026-11-26 14:12 UTC · original

An update on where this stands on current main (63bcca4). The B5G5R5A1_UNORM unordered access removal is fixed. #2462 (ea488a9) refuses the typed view, and #2286 (bac1364) stops the GetResourceAllocationInfo query from using the title's description. #1753, which tracked that part, was closed after a debug-layer run on an RTX 5080.

The B4G4R4A4_UNORM (format 115) render target still has no stand-in on main; #89 and #2767 are the open PRs for it. A rerun on 63bcca4 would show whether anything fatal is left.

AI-assisted (Claude)

**@⁠potatoe0100** on GitHub · 2026-11-26 14:12 UTC · [original](https://github.com/Marvisak/VIctory/issues/2719#issuecomment-7194431043) An update on where this stands on current `main` (`63bcca4`). The `B5G5R5A1_UNORM` unordered access removal is fixed. #2462 (ea488a9) refuses the typed view, and #2286 (bac1364) stops the `GetResourceAllocationInfo` query from using the title's description. #1753, which tracked that part, was closed after a debug-layer run on an RTX 5080. The `B4G4R4A4_UNORM` (format 115) render target still has no stand-in on `main`; #89 and #2767 are the open PRs for it. A rerun on `63bcca4` would show whether anything fatal is left. AI-assisted (Claude)
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/Marvisak--VIctory#2719
No description provided.