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
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#2719
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?
@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.logis attached.Environment
Crash breakdown
0x887A0001(INVALID_CALL)0x887A0006(DEVICE_HUNG)mesh 40x887A0004then0x887A0005(One extra entry in group C has 2 lists; totals: 14 + 3 + 3 = 20.)
A — Invalid resource creation (debug layer output)
ID3D12Device::GetResourceAllocationInfo— texture withALLOW_UNORDERED_ACCESScreated with formatB5G5R5A1_UNORM, which can't be used (or cast) for UAV access. FeatureLevel is 12_2.ID3D12Device::CreateCommittedResource3—ALLOW_RENDER_TARGETset butD3D12_CLEAR_VALUE::FormatisB4G4R4A4_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]VICTORY_D3D12_DEBUG=1is 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 byThe GPU device instance has been suspended (0x887A0005).Expected behavior
No device removal. Unsupported texture formats should be checked via
CheckFeatureSupportand 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
crashes.log(~277 KB; the three DEVICE_HUNG entries are ~85–95 KB each because of the breadcrumb/resource dumps).VICTORY_D3D12_DEBUG=1and the D3D12 debug layer enabled if that helps.@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.
DEVICE_HUNGat 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.0x887A0004then0x887A0005): 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 doctorfrom #2678 sorts a log andcrashes.loginto groups like yours and links each group to the issues that already report it.@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).
@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 ordiagbuild. #2725 (same machine) gives the title's version, not the VIctory commit. A rerun on currentmain(61bfc77) would also help, because #1273 merged after this report (see below).Where each group is tracked:
maintoday, makesfitsincrates/victory-gpu/src/descriptor/host.rsrefuse an unordered view in a format the host cannot store, which covers theCreateUnorderedAccessViewpart.host_descincrates/victory-gpu/src/resource.rsstill keeps the UAV flag on B5G5R5A1 and passes B4G4R4A4 through, so theGetResourceAllocationInfo/CreateCommittedResource3errors 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.DEVICE_HUNGat 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). AVICTORY_D3D12_DRED=1run of a diagnostics build would add the most useful detail there.0x887A0004, then0x887A0005). 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
@potatoe0100 on GitHub · 2026-11-26 14:12 UTC · original
An update on where this stands on current
main(63bcca4). TheB5G5R5A1_UNORMunordered access removal is fixed. #2462 (ea488a9) refuses the typed view, and #2286 (bac1364) stops theGetResourceAllocationInfoquery 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 onmain; #89 and #2767 are the open PRs for it. A rerun on63bcca4would show whether anything fatal is left.AI-assisted (Claude)