Host GPU device removed (0x887A0001) shortly after no host texture for Xbox-only format 115 (title 7952987A) #1781

Open
opened 2026-11-26 04:44:29 +00:00 by github-bot · 5 comments
Owner

@⁠mikebigboots-web on GitHub · 2026-11-24 22:27 UTC · original

The title runs for about 11 seconds, then the host D3D12 device is removed with DXGI_ERROR_INVALID_CALL (0x887A0001). About one second earlier, the host fails to create a texture for format 115, and a descriptor heap cap is hit repeatedly.

Environment

Victory build: b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93
Title: 7952987A (game_scarlett_master.exe), emulated console: Xbox Series X
CPU: AMD Ryzen 5 9600X, 32 GB RAM
GPU: NVIDIA RTX 5070 Ti, driver 617.42
OS: Windows x64 (AtlasOS)
D3D debug layer: not installed (no D3D debug layer, SDK component missing or mismatched)

Observed behavior

Startup is normal: all DLL imports bind with missing=0, and the shader cache and virtual drives are set up.
Warnings that appear before the crash (full lines are in the attached log):
victory_gpu::descriptor::host: host view heap capped at N error=The parameter is incorrect.
victory_gpu::descriptor::host: no room for the null buffer views (2 occurrences)
victory_gpu::descriptor::host: title slot past the host heap ... for_draw=false (about 310,700 occurrences)
victory_gpu::queue: a black frame after a frame that was not ...
At 22:22:51.994 the failure sequence begins:

WARN victory_gpu::resource: the host refuses castable formats: textures of one memory
in other formats get their own host texture
error=The parameter is incorrect. (0x80070057)
desc=ResourceDesc { dimension: 3, width: 2560, height: 1440, depth_or_array_size: 1,
mip_levels: 1, format: 115, sample_count: 1, layout: 0, flags: 1 }
WARN victory_gpu::resource: no host texture error=The parameter is incorrect. (0x80070057)
(same desc)

About 0.9 s later, at 22:22:52.870:

ERROR victory_gpu::host: host GPU device removed after a submission of 1 lists;
breadcrumbs (done/count, list) []; device removed: ... (0x887A0001)

Breadcrumbs are empty, so the failing command isn't identified.

Suspected cause
Format 115 appears to be R10G10B10_7E3_A2_FLOAT, an Xbox-only format with no PC D3D12 equivalent. When the host can't create the texture, later submissions seem to reference a missing resource, which leads to the invalid call and device removal. I haven't confirmed this. The descriptor heap cap and the very large number of "slot past the host heap" warnings may be a separate issue or may contribute to the invalid state.

Questions

Is format 115 supposed to be mapped to a host format, such as a fallback like R10G10B10A2_UNORM or R16G16B16A16_FLOAT? Is it a known unsupported format?
Is the heap cap (host view heap capped at N) expected on this hardware, and could it cause the invalid state?
Would you accept a log from a VICTORY_D3D12_DEBUG=1 build with the D3D debug layer enabled? I can provide one.

Attachments: log_nvidia.txt (311,431 lines, session 2026-11-24T22:22:39Z to 22:22:52Z)

**@⁠mikebigboots-web** on GitHub · 2026-11-24 22:27 UTC · [original](https://github.com/Marvisak/VIctory/issues/1781) The title runs for about 11 seconds, then the host D3D12 device is removed with DXGI_ERROR_INVALID_CALL (0x887A0001). About one second earlier, the host fails to create a texture for format 115, and a descriptor heap cap is hit repeatedly. Environment Victory build: b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93 Title: 7952987A (game_scarlett_master.exe), emulated console: Xbox Series X CPU: AMD Ryzen 5 9600X, 32 GB RAM GPU: NVIDIA RTX 5070 Ti, driver 617.42 OS: Windows x64 (AtlasOS) D3D debug layer: not installed (no D3D debug layer, SDK component missing or mismatched) Observed behavior Startup is normal: all DLL imports bind with missing=0, and the shader cache and virtual drives are set up. Warnings that appear before the crash (full lines are in the attached log): victory_gpu::descriptor::host: host view heap capped at N error=The parameter is incorrect. victory_gpu::descriptor::host: no room for the null buffer views (2 occurrences) victory_gpu::descriptor::host: title slot past the host heap ... for_draw=false (about 310,700 occurrences) victory_gpu::queue: a black frame after a frame that was not ... At 22:22:51.994 the failure sequence begins: WARN victory_gpu::resource: the host refuses castable formats: textures of one memory in other formats get their own host texture error=The parameter is incorrect. (0x80070057) desc=ResourceDesc { dimension: 3, width: 2560, height: 1440, depth_or_array_size: 1, mip_levels: 1, format: 115, sample_count: 1, layout: 0, flags: 1 } WARN victory_gpu::resource: no host texture error=The parameter is incorrect. (0x80070057) (same desc) About 0.9 s later, at 22:22:52.870: ERROR victory_gpu::host: host GPU device removed after a submission of 1 lists; breadcrumbs (done/count, list) []; device removed: ... (0x887A0001) Breadcrumbs are empty, so the failing command isn't identified. Suspected cause Format 115 appears to be R10G10B10_7E3_A2_FLOAT, an Xbox-only format with no PC D3D12 equivalent. When the host can't create the texture, later submissions seem to reference a missing resource, which leads to the invalid call and device removal. I haven't confirmed this. The descriptor heap cap and the very large number of "slot past the host heap" warnings may be a separate issue or may contribute to the invalid state. Questions Is format 115 supposed to be mapped to a host format, such as a fallback like R10G10B10A2_UNORM or R16G16B16A16_FLOAT? Is it a known unsupported format? Is the heap cap (host view heap capped at N) expected on this hardware, and could it cause the invalid state? Would you accept a log from a VICTORY_D3D12_DEBUG=1 build with the D3D debug layer enabled? I can provide one. Attachments: log_nvidia.txt (311,431 lines, session 2026-11-24T22:22:39Z to 22:22:52Z) <!-- Failed to upload "log_nvidia.txt" -->
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:44:29 +00:00
Author
Owner

@⁠Calvix2k on GitHub · 2026-11-24 22:42 UTC · original

The report is plausible but not yet actionable: the tree currently treats console format 115 as a 2-byte element (resource.rs and texture.rs), while the suspected R10G10B10_7E3_A2_FLOAT would be 4 bytes, and I could not find an authoritative Xbox format table that maps 115. A fallback to R10G10B10A2_UNORM would change the element size and the tiling layout, so it needs that confirmation first. The attached log_nvidia.txt also failed to upload. Could you provide a debug-layer log or the format table row you used? Then I can map it safely.

**@⁠Calvix2k** on GitHub · 2026-11-24 22:42 UTC · [original](https://github.com/Marvisak/VIctory/issues/1781#issuecomment-7146553492) The report is plausible but not yet actionable: the tree currently treats console format 115 as a **2-byte** element (`resource.rs` and `texture.rs`), while the suspected `R10G10B10_7E3_A2_FLOAT` would be 4 bytes, and I could not find an authoritative Xbox format table that maps 115. A fallback to `R10G10B10A2_UNORM` would change the element size and the tiling layout, so it needs that confirmation first. The attached `log_nvidia.txt` also failed to upload. Could you provide a debug-layer log or the format table row you used? Then I can map it safely.
Author
Owner

@⁠JurajSimicevic on GitHub · 2026-11-24 22:50 UTC · original

On the question of whether format 115 is what removes the device: on an RTX 5080 the same no host texture for format 115 (2560x1440, flags 1) appears on plain 70564ae and with #1775 applied. With #1775 the boot goes on into the world anyway, so the refusal itself isn't the removal. The removal ~1 s later is a typed unordered view on B5G5R5A1_UNORM (debug layer id 342, then DXGI_ERROR_INVALID_CALL), tracked in #1753 and fixed by #1763/#1775. Details in #1758.

AI-assisted.

**@⁠JurajSimicevic** on GitHub · 2026-11-24 22:50 UTC · [original](https://github.com/Marvisak/VIctory/issues/1781#issuecomment-7146711207) On the question of whether format 115 is what removes the device: on an RTX 5080 the same `no host texture` for format 115 (2560x1440, flags 1) appears on plain `70564ae` and with #1775 applied. With #1775 the boot goes on into the world anyway, so the refusal itself isn't the removal. The removal ~1 s later is a typed unordered view on `B5G5R5A1_UNORM` (debug layer id 342, then `DXGI_ERROR_INVALID_CALL`), tracked in #1753 and fixed by #1763/#1775. Details in #1758. AI-assisted.
Author
Owner

@⁠mikebigboots-web on GitHub · 2026-11-24 23:00 UTC · original · edited 2026-11-24 23:02 UTC

here's the log claude resumed

log_nvidia_2_trimmed.txt

**@⁠mikebigboots-web** on GitHub · 2026-11-24 23:00 UTC · [original](https://github.com/Marvisak/VIctory/issues/1781#issuecomment-7146906830) · edited 2026-11-24 23:02 UTC here's the log claude resumed [log_nvidia_2_trimmed.txt](https://github.com/user-attachments/files/35381179/log_nvidia_2_trimmed.txt)
Author
Owner

@⁠mikebigboots-web on GitHub · 2026-11-24 23:46 UTC · original

Root Cause Found via D3D12 Debug Layer (0x887A0001 / B5G5R5A1_UNORM UAV Flag)

I installed the Windows Graphics Tools (D3D12 Debug Layer) and captured the exact validation error causing 0x887A0001 (DXGI_ERROR_INVALID_CALL) on NVIDIA (D3D_FEATURE_LEVEL_12_2):

ERROR victory_gpu::host: host GPU device removed after a submission of 1 lists; breadcrumbs (done/count, list) [];
device removed: The application made a call that is invalid. Either the parameters of the call or the state of some object was incorrect. (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.

Summary for Fix

  • VIctory is setting D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS (flags: 5, i.e. ALLOW_RENDER_TARGET | ALLOW_UNORDERED_ACCESS) on a DXGI_FORMAT_B5G5R5A1_UNORM (format: 86) texture.
  • D3D12 does not allow UAVs (or UAV-compatible typeless casting) on B5G5R5A1_UNORM, causing GetResourceAllocationInfo / resource creation to fail with E_INVALIDARG (0x80070057) and triggering device removal (0x887A0001) on submission.
**@⁠mikebigboots-web** on GitHub · 2026-11-24 23:46 UTC · [original](https://github.com/Marvisak/VIctory/issues/1781#issuecomment-7147771021) ### Root Cause Found via D3D12 Debug Layer (`0x887A0001` / `B5G5R5A1_UNORM` UAV Flag) I installed the Windows Graphics Tools (`D3D12 Debug Layer`) and captured the exact validation error causing `0x887A0001` (`DXGI_ERROR_INVALID_CALL`) on NVIDIA (`D3D_FEATURE_LEVEL_12_2`): ```text ERROR victory_gpu::host: host GPU device removed after a submission of 1 lists; breadcrumbs (done/count, list) []; device removed: The application made a call that is invalid. Either the parameters of the call or the state of some object was incorrect. (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. ``` #### Summary for Fix - VIctory is setting `D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS` (`flags: 5`, i.e. `ALLOW_RENDER_TARGET | ALLOW_UNORDERED_ACCESS`) on a `DXGI_FORMAT_B5G5R5A1_UNORM` (`format: 86`) texture. - D3D12 does not allow UAVs (or UAV-compatible typeless casting) on `B5G5R5A1_UNORM`, causing `GetResourceAllocationInfo` / resource creation to fail with `E_INVALIDARG` (`0x80070057`) and triggering device removal (`0x887A0001`) on submission.
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 12:54 UTC · original

Automated triage for the maintainers. Run report: RTX 5070 Ti, driver 617.42, Windows (AtlasOS). The device is removed with DXGI_ERROR_INVALID_CALL (0x887A0001) about 11 s after start. Your debug-layer comment names the cause: ALLOW_UNORDERED_ACCESS on a B5G5R5A1_UNORM texture, which NVIDIA cannot use for typed UAVs. That is the NVIDIA boot failure tracked in #1753 (confirmed in fits, crates/victory-gpu/src/descriptor/host.rs, still on current main 940d32f), so please follow it there. Open fixes: #1763, #1780, #1843, #1832.

To your questions:

  • format: 115 in that ResourceDesc line is the host (DXGI) format, B4G4R4A4_UNORM, not an Xbox-only format. NVIDIA refuses it as a 2560x1440 render target, so it gets no host texture. As JurajSimicevic measured, that refusal alone does not remove the device. Open PRs #1630 and #1700 handle that target (see #797).
  • The heap cap ("host view heap capped at 1000000", ~310,700 "title slot past the host heap") is expected on NVIDIA and is tracked in #1760.

One detail for future reports: the "Victory build" line you gave is the title image's hash. The VIctory commit is git rev-parse --short HEAD in your checkout.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 12:54 UTC · [original](https://github.com/Marvisak/VIctory/issues/1781#issuecomment-7163016642) <!-- victory-issue-triage v1 verdict=tracked seen=2026-11-24T23:46:02Z at=2026-11-25T12:53:45Z --> Automated triage for the maintainers. Run report: RTX 5070 Ti, driver 617.42, Windows (AtlasOS). The device is removed with `DXGI_ERROR_INVALID_CALL` (0x887A0001) about 11 s after start. Your debug-layer comment names the cause: `ALLOW_UNORDERED_ACCESS` on a `B5G5R5A1_UNORM` texture, which NVIDIA cannot use for typed UAVs. That is the NVIDIA boot failure tracked in **#1753** (confirmed in `fits`, `crates/victory-gpu/src/descriptor/host.rs`, still on current `main` 940d32f), so please follow it there. Open fixes: #1763, #1780, #1843, #1832. To your questions: - `format: 115` in that `ResourceDesc` line is the host (DXGI) format, `B4G4R4A4_UNORM`, not an Xbox-only format. NVIDIA refuses it as a 2560x1440 render target, so it gets no host texture. As JurajSimicevic measured, that refusal alone does not remove the device. Open PRs #1630 and #1700 handle that target (see #797). - The heap cap ("host view heap capped at 1000000", ~310,700 "title slot past the host heap") is expected on NVIDIA and is tracked in #1760. One detail for future reports: the "Victory build" line you gave is the title image's hash. The VIctory commit is `git rev-parse --short HEAD` in your checkout. --- _Generated by [Claude Code](https://claude.ai/code)_
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory#1781
No description provided.