NVIDIA RTX 3070 / Windows 10: device removed. B5G5R5A1 typed UAV and B4G4R4A4 render target are unsupported on the host #2561
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?
Imported from Marvisak/VIctory. Originally posted by krcenov on 2026-11-25T15:52:12Z.
Environment
940d32f(2026-11-25), release anddiagbuildsSummary
The title boots and runs its first frames. About 40–65 s in, the host device is removed with
DXGI_ERROR_INVALID_CALL. The D3D12 debug layer traces this to texture formats that the console supports and this host doesn't: B5G5R5A1_UNORM as a typed UAV, and B4G4R4A4_UNORM as a render target.Debug layer output (
diagbuild,VICTORY_D3D12_DEBUG=1 VICTORY_D3D12_DRED=1)The debug layer also reports this, which may be a separate issue:
Related:
GetResourceAllocationInfoon castable texturesBefore that crash, there was an earlier one in
resource.rs(shared_texture, theSAVEDstatistics query). The query is called with a B5G5R5A1_UNORM +ALLOW_UNORDERED_ACCESSdescription and no castable-format list. The debug layer rejects that and removes the device:HostTexture::newmakes the same call. As a local workaround, I query both with the UAV flag cleared, since the result is only used for statistics. A proper fix might useGetResourceAllocationInfo3with the castable list.Windows 10: SM 6.6 root signatures refused without the Agility SDK
On Windows 10, the inbox D3D12 runtime refuses every root signature with
Unsupported bit-flag set (root signature flags c01)(the directly-indexed heap flags).translate --pipelinesthen reports all 27,059 pipelines as "the host refuses it". The README lists Windows 10 as supported.I worked around it locally by exporting
D3D12SDKVersion = 620andD3D12SDKPath = ".\D3D12\"fromvictory.exe(/EXPORT:...,DATA) and shipping Agility SDK 1.620.2. After that, 26,641 pipelines built and 403 were still refused. Adding Agility SDK support upstream would fix Windows 10 hosts.Steps to reproduce
translate --cache --pipelinesonshaders.rpfand the title's executablesvictory run game_scarlett_master.exe --executeThe full log is available on request (about 311k lines).
Imported from Marvisak/VIctory. Originally posted by shawshanker18 on 2026-11-25T18:22:20Z.
This matches earlier reports, so here's what already exists for it:
ALLOW_UNORDERED_ACCESSwhen the host format cannot be a UAV: #2319 and #2459. #2459's thread reports it got an NVIDIA card past this point.target_format: 86 and 115 render as R8G8B8A8). That fork gets NVIDIA cards into the lit world.If you can test #2319 or #2459 on your 3070 and Windows 10, a result on those PRs would help them land.
(I found the matches with
victory doctorfrom #2678, which lists a run's failures and links each one to the reports that already track it.)Imported from Marvisak/VIctory. Originally posted by krcenov on 2026-11-25T18:30:16Z.
PRs #1843 and #1832 when I pulled them and merged them locally fixed this issue
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T18:44:47Z.
Automated triage for the maintainers.
Run report: RTX 3070, driver 32.0.16.1714, Windows 10 22H2, main
940d32f. The device is removed about 40-65 s in. The report is complete, thanks.main(63bcca4): #1273 andea488a9(#2462) makefitsincrates/victory-gpu/src/descriptor/host.rschecktyped_storefor every unordered view, including one in the texture's own format, so that view is refused (slot null, writes dropped) instead of removing the device. Please retry on currentmain; you reported #1843 + #1832 fixed it locally, which is the same view-side change plus dropping the flag.mainstill has no fallback. With #1843 + #1832 it is no longer fatal on your card: the texture is simply not created (no host texture ... format: 115), so what the title draws to it is lost. Open PRs #2767 and #2626 render packed 16-bit colour targets the host cannot write as RGBA8; #2773 drops the flag instead.DXGI_ERROR_DEVICE_HUNGwith DRED pointing at adispatch 16x16x16compute pass. The same dispatch ends an RTX 2070 SUPER run in #1753, and this matches the NVIDIA world-load hang tracked in #71; please add further results there.mainstill does not exportD3D12SDKVersion/D3D12SDKPath, while the README lists Windows 10/11 and shader model 6.6. That is for the maintainers to decide (tracked in #84).Generated by Claude Code
Imported from Marvisak/VIctory. Originally posted by shawshanker18 on 2026-11-25T18:50:05Z.
@krcenov thanks for testing. So on an RTX 3070 with Windows 10, #1843 and #1832 together get past the device removal. Both PRs aim at the same B5G5R5A1 typed-UAV failure as #2319 and #2459, so maintainers now have four candidates for one bug. If you post the same result on #1843 and #1832 (GPU, driver, Windows build, how long it ran), that's what gets one of them merged.
Did the B4G4R4A4 render target (format 115) also stop showing up, or does it still appear in the debug layer output?
Imported from Marvisak/VIctory. Originally posted by krcenov on 2026-11-25T21:51:59Z.
Yes, format 115 still appears with #1843 + #1832, but it's no longer fatal: CreateCommittedResource3 ... D3D12_CLEAR_VALUE::Format is B4G4R4A4_UNORM (id=817) and no host texture ... format: 115, flags: 1. The run then went ~5 min 40 s at 30 fps on menus/loading until DXGI_ERROR_DEVICE_HUNG (TDR) as the world began loading. DRED points at dispatch 16x16x16 [compute 00167d58cc5a78d7] (possibly #71). Results posted on #1843 and #1832.
Imported from Marvisak/VIctory. Originally posted by potatoe0100 on 2026-11-26T14:12:24Z.
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)