Host GPU device removed (D3D12) on NVIDIA: B4G4R4A4/B5G5R5A1 resources cause DXGI_ERROR_INVALID_CALL; shader-visible descriptor heap capped at 1M; wave64 compute shaders refused #2725
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#2725
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:51 UTC · original
Summary
The host GPU device is removed repeatedly while running title
7952987A(Xbox Series X mode). I collected 20 crashes in ~24 h (2026-11-24 19:43 UTC → 2026-11-25 18:46 UTC). 14 of them areDXGI_ERROR_INVALID_CALL (0x887A0001), and the attached verbose log reproduces one of them ~13 s after launch. The log also shows two other host-side limitations that probably matter on this GPU (descriptor heap size, wave size).Environment
Series 1.0.2.1 (b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93)1. Crash: invalid 16-bit packed formats (14/20 crashes, 0x887A0001)
The verbose log ends with this sequence:
DXGI_FORMAT 115(B4G4R4A4_UNORM, flags=1) fails host creation twice:the host refuses castable formats … (0x80070057), thenno host texture … (0x80070057).ALLOW_RENDER_TARGETandB4G4R4A4_UNORM. The debug layer reportsCreateCommittedResource3: D3D12_CLEAR_VALUE::Format must be valid to be used as a render target(id=817) andCreateCommittedResource(id=599).B5G5R5A1_UNORM+ALLOW_UNORDERED_ACCESShitsGetResourceAllocationInfo(id=599) andCreateUnorderedAccessView: format (0x56, B5G5R5A1_UNORM) cannot be used with a Typed UAV … implementation does not support this Format(id=342).ID3D12Device::RemoveDeviceis triggered (DXGI_ERROR_INVALID_CALL, id=232), thenhost GPU device removed.Proposed fix: query
CheckFeatureSupport(D3D12_FEATURE_FORMAT_SUPPORT)for these formats and, when RTV/UAV usage is unsupported, substitute a supported format (e.g. R8G8B8A8_UNORM / R16_UINT, with a conversion path). The failed host texture creation should not fall through to creating an invalid resource.2. Descriptor heap capped at 1,000,000 (all runs)
NumDescriptors … but the limit for shader visible view heaps is 1000000(id=645).count=934464(alsono room for the null buffer views … total=1000000).title slot past the host heapfollow, with indices 934464 … 1,245,183 (for_draw=falsein all of them). Those slots are dropped.0x887A0006hang (group B in the previous comment/log), since the title reads descriptors beyond the host heap. I haven't confirmed that link.3. Wave size and refused compute pipelines
CreateComputeShader: Shader wants wave lane count of 64 but maximum wave lane count for device is 32(3×, id=622).host pipeline refused … (0x80070057)for shadersb68f0931f1f47e61,88994c3496045f51,13dfdd3b1136e407.Other notes
SetComputeRootSignature: SetDescriptorHeaps must be called to bind a sampler descriptor … SAMPLER_HEAP_DIRECTLY_INDEXED(2×, id=1419).method not implementedondevice(slots 0x218 and 0x1c8).ID3D12PipelineLibrary::Load*Pipeline: not storedwarnings (id=971): expected on a cold shader cache.Other crash types in the earlier log (
crashes.log)0x887A0006(DEVICE_HUNG), always stopping atop 42, mesh 4, same mesh/pixel shader pair, ~4 min apart.0x887A0004followed by0x887A0005(feature level/interface not supported), no breadcrumbs.Steps to reproduce
<fill in: scene/settings, whether it's deterministic, how long until it crashes>
Attachments
log_nvidia_trimmed.txt(ANSI stripped; the 310,720 repeated "slot past the host heap" lines collapsed to 3 examples + a summary)crashes.log(20 crash entries)log_nvidia_trimmed.txt
crashes.log
@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, the log excerpts are clear. One essential detail is missing: the VIctory commit (
git rev-parse --short HEAD). The "Build" line is the title's version, not VIctory's. Please add the commit and say whether it was a release ordiagbuild. A rerun on currentmain(61bfc77) would help, because #1273 merged after this report.All three findings are known failures, still present on
mainexcept where noted:fitsincrates/victory-gpu/src/descriptor/host.rsrefuse an unordered view in a format the host cannot store, which covers theCreateUnorderedAccessView(id 342) step.host_descandpc_formatincrates/victory-gpu/src/resource.rsstill keep the UAV flag on B5G5R5A1 and pass B4G4R4A4 through, so the creation errors (ids 599 and 817) remain. Open PR #2773 was written for this report and drops the uses a format cannot take before creation. #2319, #1832 and #89 address parts of the same problem. A run of #2773 on this card would help it land.HostHeapincrates/victory-gpu/src/descriptor/host.rs). Open PRs: #2121 and #1779.The mesh-draw
DEVICE_HUNGis also tracked in #71. The unfilled device slots0x1c8/0x218are already noted in #1216.Generated by Claude Code
@shawshanker18 on GitHub · 2026-11-26 07:31 UTC · original
I ran your log through victory-doctor to match each failure with where it's already tracked:
title slot past the host heap, count=934464): #1760 has the measurements, and #1808 and #2550 are the same failure. #2898 only rate-limits the warning, it doesn't fix the cap.Load*Pipeline: not storedwarnings are expected on a cold shader cache, as you noted.Nothing in this log is new; all three crash causes already have open fixes. To check your own runs:
@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)