[NVIDIA] Host GPU device removed (0x887A0001): B5G5R5A1_UNORM created with ALLOW_UNORDERED_ACCESS #2391

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

@⁠xClemson on GitHub · 2026-11-25 12:38 UTC · original

Environment

  • Commit: 940d32f
  • GPU: NVIDIA GeForce RTX 4080
  • CPU: Intel Core i5-13600KF
  • OS: Windows 11 (10.0.26300)
  • Title build: Series 1.0.2.1

Description

Running the title on an NVIDIA GPU triggers a 0x887A0001 (DXGI_ERROR_INVALID_CALL) host GPU device removal.

Running a diagnostics build with VICTORY_D3D12_DEBUG=1 points to a texture with format B5G5R5A1_UNORM being created with D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS.

Error log

2026-11-25T12:28:18.876354Z ERROR victory_gpu::host: host GPU device removed after a submission of 1 lists; no breadcrumbs (0x887A0004); device removed (0x887A0001); debug layer: ID3D12Device::GetResourceAllocationInfo: A texture that has D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS set in D3D12_RESOURCE_DESC::Flags must be created with a format that either can be used as unordered access, or cast to a format that could be used as unordered access. FeatureLevel is D3D_FEATURE_LEVEL_12_2. D3D12_RESOURCE_DESC::Format is B5G5R5A1_UNORM.
**@⁠xClemson** on GitHub · 2026-11-25 12:38 UTC · [original](https://github.com/Marvisak/VIctory/issues/2391) ### Environment - **Commit:** `940d32f` - **GPU:** NVIDIA GeForce RTX 4080 - **CPU:** Intel Core i5-13600KF - **OS:** Windows 11 (10.0.26300) - **Title build:** Series 1.0.2.1 ### Description Running the title on an NVIDIA GPU triggers a `0x887A0001` (`DXGI_ERROR_INVALID_CALL`) host GPU device removal. Running a diagnostics build with `VICTORY_D3D12_DEBUG=1` points to a texture with format `B5G5R5A1_UNORM` being created with `D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS`. ### Error log ```text 2026-11-25T12:28:18.876354Z ERROR victory_gpu::host: host GPU device removed after a submission of 1 lists; no breadcrumbs (0x887A0004); device removed (0x887A0001); debug layer: ID3D12Device::GetResourceAllocationInfo: A texture that has D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS set in D3D12_RESOURCE_DESC::Flags must be created with a format that either can be used as unordered access, or cast to a format that could be used as unordered access. FeatureLevel is D3D_FEATURE_LEVEL_12_2. D3D12_RESOURCE_DESC::Format is B5G5R5A1_UNORM. ```
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:04:25 +00:00
Author
Owner

@⁠Calvix2k on GitHub · 2026-11-25 13:58 UTC · original

This is #2291/#2307's report with a third card (RTX 4080), and it is already fixed: #2319 drops D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS in host_desc for exactly this case — a format with no typeless family to stand in and no typed UAV on the device — with a one-time warning naming the format. The texture is then created, the device stays up, and an unordered view of it is refused in fits instead (#1763 covers that half).

The debug layer message is the same one #2291 quotes, and the reason it is NVIDIA-only is measurable: on the AMD card here CheckFeatureSupport(D3D12_FEATURE_FORMAT_SUPPORT) answers yes for typed UAV stores in 85/86/115, so the allocation is legal there and the drop never happens. That is also why the regression test skips on this machine — it needs an NVIDIA (or WARP) device to exercise the arm.

If you want to confirm on the 4080: build #2319's branch (codex/gpu-uav-format-fallback-2307), run once with VICTORY_LOG=info, and look for no unordered access for this format with format=86 before the account selector. A run that reaches it without device removed is the check.

**@⁠Calvix2k** on GitHub · 2026-11-25 13:58 UTC · [original](https://github.com/Marvisak/VIctory/issues/2391#issuecomment-7164553156) This is #2291/#2307's report with a third card (RTX 4080), and it is already fixed: **#2319** drops `D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS` in `host_desc` for exactly this case — a format with no typeless family to stand in and no typed UAV on the device — with a one-time warning naming the format. The texture is then created, the device stays up, and an unordered view of it is refused in `fits` instead (#1763 covers that half). The debug layer message is the same one #2291 quotes, and the reason it is NVIDIA-only is measurable: on the AMD card here `CheckFeatureSupport(D3D12_FEATURE_FORMAT_SUPPORT)` answers *yes* for typed UAV stores in 85/86/115, so the allocation is legal there and the drop never happens. That is also why the regression test skips on this machine — it needs an NVIDIA (or WARP) device to exercise the arm. If you want to confirm on the 4080: build #2319's branch (`codex/gpu-uav-format-fallback-2307`), run once with `VICTORY_LOG=info`, and look for `no unordered access for this format` with `format=86` before the account selector. A run that reaches it without `device removed` is the check.
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 16:01 UTC · original · edited 2026-11-26 03:46 UTC

Automated triage for the maintainers.

Run report: RTX 4080, driver 621.24, Windows 11 build 26300, VIctory 940d32f. This is the known NVIDIA failure for B5G5R5A1_UNORM (format 86) with unordered access, discussed in #1753 (also #2258, #2291, #2307, #2563).

Main has only half a fix so far. #2462 (merged, ea488a9) stops typed unordered views in a format the host cannot store to (crates/victory-gpu/src/descriptor/host.rs). The texture itself is still created with ALLOW_UNORDERED_ACCESS, though: host_desc in crates/victory-gpu/src/resource.rs keeps the flag for such formats, and that is the GetResourceAllocationInfo message quoted here. Open PRs #2319, #2459 and #2442 drop the flag in that case. The reporter confirms #2319 removes this removal on the 4080.

With #2319 the run gets further and then hangs the GPU (0x887A0006). DRED names compute f607780aa8e502d0, and after that one is skipped, 00167d58cc5a78d7. Both programs are in the world hangs discussed in #898 (the oldest report naming them) and #1968 (RTX 5060 Ti, the same programs skipped). 00167d58cc5a78d7 is also the dispatch named on #1760.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 16:01 UTC · [original](https://github.com/Marvisak/VIctory/issues/2391#issuecomment-7167529828) · edited 2026-11-26 03:46 UTC <!-- victory-issue-triage v1 verdict=tracked seen=2026-11-26T03:09:21Z at=2026-11-26T03:54:00Z --> Automated triage for the maintainers. Run report: RTX 4080, driver 621.24, Windows 11 build 26300, VIctory 940d32f. This is the known NVIDIA failure for B5G5R5A1_UNORM (format 86) with unordered access, discussed in #1753 (also #2258, #2291, #2307, #2563). Main has only half a fix so far. #2462 (merged, `ea488a9`) stops typed unordered views in a format the host cannot store to (`crates/victory-gpu/src/descriptor/host.rs`). The texture itself is still created with `ALLOW_UNORDERED_ACCESS`, though: `host_desc` in `crates/victory-gpu/src/resource.rs` keeps the flag for such formats, and that is the `GetResourceAllocationInfo` message quoted here. Open PRs #2319, #2459 and #2442 drop the flag in that case. The reporter confirms #2319 removes this removal on the 4080. With #2319 the run gets further and then hangs the GPU (`0x887A0006`). DRED names compute `f607780aa8e502d0`, and after that one is skipped, `00167d58cc5a78d7`. Both programs are in the world hangs discussed in #898 (the oldest report naming them) and #1968 (RTX 5060 Ti, the same programs skipped). `00167d58cc5a78d7` is also the dispatch named on #1760. --- _Generated by [Claude Code](https://claude.ai/code)_
Author
Owner

@⁠xClemson on GitHub · 2026-11-26 03:09 UTC · original

NVIDIA driver version: 621.24

I already tested PR #2319 on my RTX 4080 and can confirm it fixes the B5G5R5A1_UNORM (0x887A0001) crash.

With #2319, the title progresses further (into 25–27 command lists), but then hits a GPU hang / TDR (0x887A0006). DRED points to compute shader f607780aa8e502d0 (and after skipping it with VICTORY_SKIP_PIPELINES, to 00167d58cc5a78d7).

**@⁠xClemson** on GitHub · 2026-11-26 03:09 UTC · [original](https://github.com/Marvisak/VIctory/issues/2391#issuecomment-7181444922) **NVIDIA driver version:** 621.24 I already tested PR `#2319` on my RTX 4080 and can confirm it fixes the `B5G5R5A1_UNORM` (`0x887A0001`) crash. With `#2319`, the title progresses further (into 25–27 command lists), but then hits a GPU hang / TDR (`0x887A0006`). DRED points to compute shader `f607780aa8e502d0` (and after skipping it with `VICTORY_SKIP_PIPELINES`, to `00167d58cc5a78d7`).
Author
Owner

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

This should be fixed on current main (63bcca4). The GetResourceAllocationInfo rejection quoted here came from shared_texture() querying with the title's description; #2286 (bac1364) now queries the live host texture's description instead. The typed view in that format is refused since #2462 (ea488a9). The tracking issue #1753 was closed as fixed after a debug-layer run on an RTX 5080 at 63bcca4, so this looks like a duplicate of it.

AI-assisted (Claude)

**@⁠potatoe0100** on GitHub · 2026-11-26 14:12 UTC · [original](https://github.com/Marvisak/VIctory/issues/2391#issuecomment-7194424089) This should be fixed on current `main` (`63bcca4`). The `GetResourceAllocationInfo` rejection quoted here came from `shared_texture()` querying with the title's description; #2286 (bac1364) now queries the live host texture's description instead. The typed view in that format is refused since #2462 (ea488a9). The tracking issue #1753 was closed as fixed after a debug-layer run on an RTX 5080 at `63bcca4`, so this looks like a duplicate of it. 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#2391
No description provided.