NVIDIA RTX 4080 Super: device removed in the world; B4G4R4A4 / B5G5R5A1 not usable as render target / UAV, and view heap limited to 1,000,000 descriptors #1916

Closed
opened 2026-11-25 00:55:57 +00:00 by MikeyYeh · 1 comment
MikeyYeh commented 2026-11-25 00:55:57 +00:00 (Migrated from github.com)
Contributor

Imported from Marvisak/VIctory. Originally posted by MikeyYeh on 2026-11-25T00:55:57Z.


On an NVIDIA GPU the run reaches the world and then ends with "host GPU device removed". With the D3D12 debug layer on, the cause is named: the title uses 16-bit packed formats (B4G4R4A4_UNORM, B5G5R5A1_UNORM) for render targets and typed UAVs, and the driver doesn't support them for those uses. Host texture creation fails, a later CreateUnorderedAccessView on the missing format is invalid, and the device is removed. Separately, the host view heap is refused at the size the title asks for.

What the log shows (diag build, VICTORY_D3D12_DEBUG=1, VICTORY_D3D12_DRED=1, VICTORY_GPU_TIMING=1)

Host texture creation fails for a 2560x1440 render target:

WARN victory_gpu::resource: no host texture error=The parameter is incorrect. (0x80070057) desc=ResourceDesc { dimension: 3, ... width: 2560, height: 1440, ... format: 115, ... flags: 1 }

Debug layer, immediately before the removal:

D3D12: ID3D12Device::CreateCommittedResource: A texture that has D3D12_RESOURCE_FLAG_ALLOW_RENDER_TARGET set ... must be created with a format that either can be used as a render target, or cast to a format that could be used as a render target. FeatureLevel is D3D_FEATURE_LEVEL_12_2. D3D12_RESOURCE_DESC::Format is B4G4R4A4_UNORM.
D3D12: ID3D12Device::GetResourceAllocationInfo: A texture that has D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS set ... Format is B5G5R5A1_UNORM.
D3D12: ID3D12Device::CreateUnorderedAccessView: The format (0x56, B5G5R5A1_UNORM) cannot be used with a Typed Unordered Access View. This is because the current graphics implementation does not even support this Format.
D3D12: ID3D12Device::RemoveDevice: Device removal has been triggered ... (DXGI_ERROR_INVALID_CALL ...)
ERROR victory_gpu::host: host GPU device removed after a submission of 1 lists; ... (0x887A0001)

(In the release build the same point gives 0x887A0004 then 0x887A0005/0x887A0001.)

Descriptor heap limit, also from the debug layer:

WARN victory_gpu::descriptor::host: host view heap capped at 1000000 error=The parameter is incorrect. (0x80070057) count=1245184
D3D12: CreateDescriptorHeap: NumDescriptors 2097152, but the limit for shader visible view heaps is 1000000
D3D12: CreateDescriptorHeap: NumDescriptors 1310720, but the limit for shader visible view heaps is 1000000
WARN victory_gpu::descriptor::host: title slot past the host heap index=934464 count=934464 for_draw=false   (310,720 of these in one short run)
<!-- greyfinch-sync:Marvisak/VIctory:issue:6594623771 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1918). Originally posted by [MikeyYeh](https://github.com/MikeyYeh) on 2026-11-25T00:55:57Z. --- On an NVIDIA GPU the run reaches the world and then ends with "host GPU device removed". With the D3D12 debug layer on, the cause is named: the title uses 16-bit packed formats (`B4G4R4A4_UNORM`, `B5G5R5A1_UNORM`) for render targets and typed UAVs, and the driver doesn't support them for those uses. Host texture creation fails, a later `CreateUnorderedAccessView` on the missing format is invalid, and the device is removed. Separately, the host view heap is refused at the size the title asks for. ## What the log shows (diag build, `VICTORY_D3D12_DEBUG=1`, `VICTORY_D3D12_DRED=1`, `VICTORY_GPU_TIMING=1`) Host texture creation fails for a 2560x1440 render target: ``` WARN victory_gpu::resource: no host texture error=The parameter is incorrect. (0x80070057) desc=ResourceDesc { dimension: 3, ... width: 2560, height: 1440, ... format: 115, ... flags: 1 } ``` Debug layer, immediately before the removal: ``` D3D12: ID3D12Device::CreateCommittedResource: A texture that has D3D12_RESOURCE_FLAG_ALLOW_RENDER_TARGET set ... must be created with a format that either can be used as a render target, or cast to a format that could be used as a render target. FeatureLevel is D3D_FEATURE_LEVEL_12_2. D3D12_RESOURCE_DESC::Format is B4G4R4A4_UNORM. D3D12: ID3D12Device::GetResourceAllocationInfo: A texture that has D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS set ... Format is B5G5R5A1_UNORM. D3D12: ID3D12Device::CreateUnorderedAccessView: The format (0x56, B5G5R5A1_UNORM) cannot be used with a Typed Unordered Access View. This is because the current graphics implementation does not even support this Format. D3D12: ID3D12Device::RemoveDevice: Device removal has been triggered ... (DXGI_ERROR_INVALID_CALL ...) ERROR victory_gpu::host: host GPU device removed after a submission of 1 lists; ... (0x887A0001) ``` (In the release build the same point gives `0x887A0004` then `0x887A0005`/`0x887A0001`.) Descriptor heap limit, also from the debug layer: ``` WARN victory_gpu::descriptor::host: host view heap capped at 1000000 error=The parameter is incorrect. (0x80070057) count=1245184 D3D12: CreateDescriptorHeap: NumDescriptors 2097152, but the limit for shader visible view heaps is 1000000 D3D12: CreateDescriptorHeap: NumDescriptors 1310720, but the limit for shader visible view heaps is 1000000 WARN victory_gpu::descriptor::host: title slot past the host heap index=934464 count=934464 for_draw=false (310,720 of these in one short run) ```
0xSAW commented 2026-11-25 02:05:51 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by 0xSAW on 2026-11-25T01:18:53Z.


Can confirm the exact same B5G5R5A1_UNORM UAV failure on NVIDIA GeForce RTX 2060 6GB (Turing / TU106) running commit 70564ae.

With VICTORY_D3D12_DEBUG=1 and VICTORY_D3D12_DRED=1, the D3D12 Debug Layer specifically identifies the failure inside crates/victory-gpu/src/resource.rs (shared_texture calling GetResourceAllocationInfo on host desc around line 1113):

VIctory: host GPU failure: host GPU device removed after a submission of 1 lists; breadcrumbs (done/count, list) []; device removed: (0x887A0001); debug layer: ID3D12Device::GetResourceAllocationInfo: A texture that has D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS set in D3D12_RESOURCE_DESC::Flags 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.

This confirms the issue reproduces identically across both Turing and Ada Lovelace architectures when host_desc() preserves UAV flags on formats unsupported for unordered access on PC D3D12.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7149420746 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1918#issuecomment-7149420746). Originally posted by [0xSAW](https://github.com/0xSAW) on 2026-11-25T01:18:53Z. --- Can confirm the exact same `B5G5R5A1_UNORM` UAV failure on **NVIDIA GeForce RTX 2060 6GB (Turing / TU106)** running commit `70564ae`. With `VICTORY_D3D12_DEBUG=1` and `VICTORY_D3D12_DRED=1`, the D3D12 Debug Layer specifically identifies the failure inside `crates/victory-gpu/src/resource.rs` (`shared_texture` calling `GetResourceAllocationInfo` on host desc around line 1113): ```text VIctory: host GPU failure: host GPU device removed after a submission of 1 lists; breadcrumbs (done/count, list) []; device removed: (0x887A0001); debug layer: ID3D12Device::GetResourceAllocationInfo: A texture that has D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS set in D3D12_RESOURCE_DESC::Flags 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. ``` This confirms the issue reproduces identically across both Turing and Ada Lovelace architectures when `host_desc()` preserves UAV flags on formats unsupported for unordered access on PC D3D12.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Marvisak/VIctory#1916
No description provided.