NVIDIA: device removed — B5G5R5A1_UNORM texture created with ALLOW_UNORDERED_ACCESS flag #2258
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#2258
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?
@user2472194366 on GitHub · 2026-11-25 09:10 UTC · original
Environment
Repro
Run the game into the world. It crashes at frame ~116-120 in a compute stage.
Error (debug layer)
host GPU device removed after a submission of 1 lists.
GetDeviceRemovedReason: DXGI_ERROR_INVALID_CALL (0x887A0001)
ID3D12Device::GetResourceAllocationInfo: A texture that has
D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS set 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.
Analysis
B5G5R5A1_UNORM is not UAV-compatible under D3D12. On AMD this combination is
silently tolerated, but NVIDIA (strictly, with the debug layer) removes the
device. Likely fix: drop the UAV flag on this texture, or use a castable format
for its UAV view.
pipeline hash at crash: 4c0ac499ad613809
@NuraadGit on GitHub · 2026-11-25 09:25 UTC · original
This is the same failure as #1753 (DXGI format 86, B5G5R5A1_UNORM: NVIDIA has no typed UAV for it).
fxceless/victory-fork already does the #89 substitution. On an RTX 2080 its log shows
the host does not render to this format: 8-bit RGBA stands in format=86(andformat=115), and the run goes on into the world.@Marvisak on GitHub · 2026-11-25 15:53 UTC · original · edited 2026-11-25 18:48 UTC
Automated triage for the maintainers.
Run report (RTX 4060 Laptop, driver 621.24, Windows 11 build 26300). This is the known NVIDIA failure for
B5G5R5A1_UNORM(format 86) with unordered access, discussed in #1753. It is still inmain(13f91ca):host_descincrates/victory-gpu/src/resource.rskeepsALLOW_UNORDERED_ACCESSwhether or not the host can store to the format. The open PRs are:R8G8B8A8_UNORMNew data points:
940d32f: the removal reproduces on every run at about frame 116–120, in compute pipeline4c0ac499ad613809(another tester).da82e44: a guard that drops the flag for format 86 stops the removal, and the run keeps rendering at 30 fps. The tester first suspected a second removal on aB4G4R4A4_UNORM(115) render target but retracted it. Theno host texture ... format: 115warning shows up on earlier commits too and is not fatal on its own. AB4G4R4A4_UNORMrender-target clear value that the debug layer does flag is reported in #97.Generated by Claude Code
@roon9e on GitHub · 2026-11-25 15:55 UTC · original
A second, different device removal on
main(da82e44, 81 commits past940d32f), on the same machine (GTX 1660 SUPER, driver 610.88, Turing, FL 12.1). It is not theB5G5R5A1_UNORM+ALLOW_UNORDERED_ACCESScase this issue is about — the texture here has no unordered access — and it is reproduced with and without ahost_descguard (plainorigin/main).It happens during the load, before any frame is presented:
DXGI_FORMAT_B4G4R4A4_UNORM(115) render target (flags: 1).CreateCommittedResource3with the cast list is refused0x80070057, and the plainCreateCommittedResourcefallback then fails too; the device is removed right after the depth twins.940d32f+ the UAV guard (PR #2459) is the last build I have that is stable past this (25 min, reaches the account picker →Game Running→ the codec stop of #1063). Onda82e44the run dies ~40 s in, before the menu.mainbuild (it is gated behind thediagnosticsfeature, whichmainlacks), so the offending call is inferred from the two creation failures above.Looks like it is in the newer texture-creation path (placement heaps / cast list / committed fallback) for a render target in an unusual format on FL 12.1. I can bisect the 81 commits if that helps.
AI-assisted; measured on the physical GTX 1660 SUPER above.
@user2472194366 on GitHub · 2026-11-25 16:29 UTC · original
Ran on commit
940d32f(VIctory main, pulled fromffe310e— the 514-commit updateon 2026-11-25).
For the record: the B5G5R5A1_UNORM + UAV device-removed crash reproduced on every
run at frame ~116-120, compute stage, pipeline hash 4c0ac499ad613809.
@roon9e on GitHub · 2026-11-25 16:56 UTC · original
Correction to my comment above — I misattributed this. Re-tested on
da82e44:format: 115line is a pre-existing, non-fatal create warning: it appears on940d32ftoo, and the run continues past it.ALLOW_UNORDERED_ACCESSfor a format whose own family takes no typed UAV (B5G5R5A1_UNORM = 86),da82e44no longer removes — it runs on (30 fps, stable) instead of dying ~40 s in. So this is the sameB5G5R5A1case as the issue, not a separateformat-115bug. My "second, different removal" was wrong; apologies.So there is no new regression in
da82e44— the removal is the one this issue tracks, and ahost_descfix that actually drops the flag for 86 clears it on both940d32fandda82e44. (On940d32f+ that guard the run reaches the codec stop of #1063; onda82e44+ the guard it does not hit that stop and keeps rendering — the 80 commits since may have changed the streaming path — which I'm still checking with captures.)AI-assisted; measured on the physical GTX 1660 SUPER.
@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)