[NVIDIA] Host GPU device removed (0x887A0001): B5G5R5A1_UNORM created with ALLOW_UNORDERED_ACCESS #2391
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#2391
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@xClemson on GitHub · 2026-11-25 12:38 UTC · original
Environment
940d32fDescription
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=1points to a texture with formatB5G5R5A1_UNORMbeing created withD3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS.Error log
@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_ACCESSinhost_descfor 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 infitsinstead (#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 withVICTORY_LOG=info, and look forno unordered access for this formatwithformat=86before the account selector. A run that reaches it withoutdevice removedis the check.@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 withALLOW_UNORDERED_ACCESS, though:host_descincrates/victory-gpu/src/resource.rskeeps the flag for such formats, and that is theGetResourceAllocationInfomessage 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 computef607780aa8e502d0, 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).00167d58cc5a78d7is also the dispatch named on #1760.Generated by Claude Code
@xClemson on GitHub · 2026-11-26 03:09 UTC · original
NVIDIA driver version: 621.24
I already tested PR
#2319on my RTX 4080 and can confirm it fixes theB5G5R5A1_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 shaderf607780aa8e502d0(and after skipping it withVICTORY_SKIP_PIPELINES, to00167d58cc5a78d7).@potatoe0100 on GitHub · 2026-11-26 14:12 UTC · original
This should be fixed on current
main(63bcca4). TheGetResourceAllocationInforejection quoted here came fromshared_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 at63bcca4, so this looks like a duplicate of it.AI-assisted (Claude)