RTX 5080 (wave32): device removed 8 s after start on 70564ae (castable formats refused); older builds hang the GPU in the world #1758

Open
opened 2026-11-26 04:43:45 +00:00 by github-bot · 4 comments
Owner

@⁠B0rm0t0s on GitHub · 2026-11-24 22:01 UTC · original

Setup: RTX 5080 16 GB (32-lane waves), Ryzen 7 7800X3D, 32 GB DDR5, Windows 11, NVIDIA Studio driver 621.40 (clean install with DDU), BIOS at defaults. No WHEA errors in the last 30 days. VIctory main @ 70564ae, release build. translate --cache --pipelines finished: 28,164 in the pack, 23,544 made, 3,120 already in the library, 395 skipped as "the host refuses it", 852 "rasteriser state not named".

1. On 70564ae: device removed about 8 s after start, on the first submission. Just before it:

WARN victory_gpu::resource: the host refuses castable formats: textures of one memory in other formats get their own host texture error=E_INVALIDARG (0x80070057) desc=ResourceDesc { dimension: 3, width: 2560, height: 1440, mip_levels: 1, format: 115, flags: 1 }
WARN victory_gpu::resource: no host texture error=E_INVALIDARG (0x80070057) desc=... format: 115 ... flags: 1
ERROR victory_gpu::host: host GPU device removed after a submission of 1 lists; no breadcrumbs (0x887A0004) ... (0x887A0001)

Format 115 (B4G4R4A4_UNORM) with ALLOW_RENDER_TARGET looks like what PR #1281 strips. #1281 merges cleanly onto 70564ae; I have not tested that combination yet. The same 8 s also wrote about 310,000 victory_gpu::descriptor::host "title ..." lines (a 67 MB log).

2. On ffe310e (earlier today): world reached, then the GPU hangs. Menus at 30 fps, world in about 50-60 s at 0.7-1.9 fps, then "host GPU device removed" 20-60 s into the world. Once the driver recovered (nvlddmkm event 153 plus about 45× event 13). Several times it did not, and the whole system froze, which needed a hard reset. A diagnostics build with VICTORY_D3D12_DRED=1 showed one list stopped at command 3 of 70, with mesh 4adfa13bea1c556a and compute 12eae112b559091c in flight. The captured frames from the world were black.

3. PR #1281 on ffe310e: device removed about 46 s in, during loading, before the world. It happened on a copy into a BC1 (format 71) 5808×5808 texture at (5544, 5016) with a 66×66 box, which is not a multiple of the 4×4 block. The same build without #1281 got past this point. #1133 alone on ffe310e still hung the GPU in the world.

Logs available on request (no game data).

**@⁠B0rm0t0s** on GitHub · 2026-11-24 22:01 UTC · [original](https://github.com/Marvisak/VIctory/issues/1758) **Setup:** RTX 5080 16 GB (32-lane waves), Ryzen 7 7800X3D, 32 GB DDR5, Windows 11, NVIDIA Studio driver 621.40 (clean install with DDU), BIOS at defaults. No WHEA errors in the last 30 days. VIctory `main` @ `70564ae`, release build. `translate --cache --pipelines` finished: 28,164 in the pack, 23,544 made, 3,120 already in the library, 395 skipped as "the host refuses it", 852 "rasteriser state not named". **1. On 70564ae: device removed about 8 s after start, on the first submission.** Just before it: WARN victory_gpu::resource: the host refuses castable formats: textures of one memory in other formats get their own host texture error=E_INVALIDARG (0x80070057) desc=ResourceDesc { dimension: 3, width: 2560, height: 1440, mip_levels: 1, format: 115, flags: 1 } WARN victory_gpu::resource: no host texture error=E_INVALIDARG (0x80070057) desc=... format: 115 ... flags: 1 ERROR victory_gpu::host: host GPU device removed after a submission of 1 lists; no breadcrumbs (0x887A0004) ... (0x887A0001) Format 115 (B4G4R4A4_UNORM) with ALLOW_RENDER_TARGET looks like what PR #1281 strips. #1281 merges cleanly onto 70564ae; I have not tested that combination yet. The same 8 s also wrote about 310,000 `victory_gpu::descriptor::host` "title ..." lines (a 67 MB log). **2. On ffe310e (earlier today): world reached, then the GPU hangs.** Menus at 30 fps, world in about 50-60 s at 0.7-1.9 fps, then "host GPU device removed" 20-60 s into the world. Once the driver recovered (nvlddmkm event 153 plus about 45× event 13). Several times it did not, and the whole system froze, which needed a hard reset. A diagnostics build with `VICTORY_D3D12_DRED=1` showed one list stopped at command 3 of 70, with `mesh 4adfa13bea1c556a` and `compute 12eae112b559091c` in flight. The captured frames from the world were black. **3. PR #1281 on ffe310e: device removed about 46 s in, during loading, before the world.** It happened on a copy into a BC1 (format 71) 5808×5808 texture at (5544, 5016) with a 66×66 box, which is not a multiple of the 4×4 block. The same build without #1281 got past this point. #1133 alone on ffe310e still hung the GPU in the world. Logs available on request (no game data).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:43:45 +00:00
Author
Owner

@⁠K3rhos on GitHub · 2026-11-24 22:05 UTC · original

Pretty sure this is the same problem as I have: #1755

**@⁠K3rhos** on GitHub · 2026-11-24 22:05 UTC · [original](https://github.com/Marvisak/VIctory/issues/1758#issuecomment-7145797513) Pretty sure this is the same problem as I have: https://git.gtahub.st/github/Marvisak--VIctory/issues/1755
Author
Owner

@⁠fiestorra on GitHub · 2026-11-24 22:16 UTC · original

The failing description is measured here, and the fix is two open pull requests

The log in this report is the case I have been measuring for a while, and I can now say exactly what refuses and what does not. On an RTX 4090 (driver 32.0.16.2124, Windows 11, agent session 0, no presentable desktop), through the same creation path main uses:

2560x1440, format 115 (B4G4R4A4_UNORM), flags 1 (ALLOW_RENDER_TARGET)

raw CreateCommittedResource, clear value in the resource's own format: E_INVALIDARG
raw CreateCommittedResource, no clear value:                          E_INVALIDARG
as a castable-formats texture (CreateCommittedResource3):             E_INVALIDARG

So on this driver that description is refused, not the clear value and not the castable list — which matches your two lines and ends in main's no host texture, after which the draw that names the target has nothing to render into.

The same description on the integrated GPU of this machine is taken as asked. That is why the reports cluster on NVIDIA.

What is already in the queue for it, both open, rebased on 70564ae, MERGEABLE:

  • #1630 — a ladder of descriptions: the asked one first, then the common state, then without the clear value, then without the unordered-access permission, and finally as plain memory, keeping the depth permission throughout, with a warning naming what was given up. Measured on the RTX 4090 with that pull request applied: the target exists, but as plain memory (flags 0x0 of the 0x1 asked), because this driver will not take it as a render target at all.
  • #1700 — a draw whose target lost the render-target permission now skips it and says so once, instead of binding an empty descriptor (which is the shape a device removal takes), and the depth arm checks its permission the same way.

Together: instead of "no host texture" and a removed device, a texture exists, the draws that need it as a render target are skipped with a line naming the resource, and the frame keeps running. What cannot be recovered is the content of that target on this driver — it is never a render target, so whatever the title draws into it is not drawn (#1600 discusses whether the ladder should stop before plain memory rather than pretend).

I have just added the exact description from your log as a GPU test in #1630 (the_packed_render_target_a_boot_asks_for_still_exists), so the case is covered by a test rather than by a report:

packed target: 2560x1440 format 115 flags 0x0 of the 0x1 asked, state 0x0   (RTX 4090)
packed target: 2560x1440 format 115 flags 0x1 of 0x1 asked, state 0x0       (integrated)

If you can run a build with #1630 and #1700 applied, the two lines to look for in the log are host texture made only as a fallback and render target without the render-target permission; if the device still stops after those appear, the removal has another cause and the log will name the list it happened in.

No game data is involved: descriptions, flags and HRESULTs only.

Written with an AI assistant.

**@⁠fiestorra** on GitHub · 2026-11-24 22:16 UTC · [original](https://github.com/Marvisak/VIctory/issues/1758#issuecomment-7146034239) **The failing description is measured here, and the fix is two open pull requests** The log in this report is the case I have been measuring for a while, and I can now say exactly what refuses and what does not. On an **RTX 4090** (driver `32.0.16.2124`, Windows 11, agent session 0, no presentable desktop), through the same creation path `main` uses: ``` 2560x1440, format 115 (B4G4R4A4_UNORM), flags 1 (ALLOW_RENDER_TARGET) raw CreateCommittedResource, clear value in the resource's own format: E_INVALIDARG raw CreateCommittedResource, no clear value: E_INVALIDARG as a castable-formats texture (CreateCommittedResource3): E_INVALIDARG ``` So on this driver that *description* is refused, not the clear value and not the castable list — which matches your two lines and ends in `main`'s `no host texture`, after which the draw that names the target has nothing to render into. The same description on the integrated GPU of this machine is taken as asked. That is why the reports cluster on NVIDIA. **What is already in the queue for it**, both open, rebased on `70564ae`, `MERGEABLE`: - https://git.gtahub.st/github/Marvisak--VIctory/pulls/1630 — a ladder of descriptions: the asked one first, then the common state, then without the clear value, then without the unordered-access permission, and finally as plain memory, keeping the depth permission throughout, with a warning naming what was given up. Measured on the RTX 4090 with that pull request applied: the target **exists**, but as plain memory (`flags 0x0 of the 0x1 asked`), because this driver will not take it as a render target at all. - https://git.gtahub.st/github/Marvisak--VIctory/pulls/1700 — a draw whose target lost the render-target permission now skips it and says so **once**, instead of binding an empty descriptor (which is the shape a device removal takes), and the depth arm checks its permission the same way. Together: instead of "no host texture" and a removed device, a texture exists, the draws that need it as a render target are skipped with a line naming the resource, and the frame keeps running. What cannot be recovered is the content of that target on this driver — it is never a render target, so whatever the title draws into it is not drawn (https://git.gtahub.st/github/Marvisak--VIctory/issues/1600 discusses whether the ladder should stop before plain memory rather than pretend). I have just added the exact description from your log as a GPU test in #1630 (`the_packed_render_target_a_boot_asks_for_still_exists`), so the case is covered by a test rather than by a report: ``` packed target: 2560x1440 format 115 flags 0x0 of the 0x1 asked, state 0x0 (RTX 4090) packed target: 2560x1440 format 115 flags 0x1 of 0x1 asked, state 0x0 (integrated) ``` If you can run a build with #1630 and #1700 applied, the two lines to look for in the log are `host texture made only as a fallback` and `render target without the render-target permission`; if the device still stops after those appear, the removal has another cause and the log will name the list it happened in. No game data is involved: descriptions, flags and HRESULTs only. Written with an AI assistant.
Author
Owner

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

A data point on the same card (RTX 5080, driver 32.0.16.1742), separating the two refusals in this log:

  • Plain 70564ae: the same two lines (the host refuses castable formats, then no host texture … format: 115 … flags: 1 for 2560x1440), the same ~310,000 descriptor warnings, and the device removed ~6 s in. With VICTORY_D3D12_DEBUG=1 the removal (DXGI_ERROR_INVALID_CALL) comes right after CreateUnorderedAccessView: The format (0x56, B5G5R5A1_UNORM) cannot be used with a Typed Unordered Access View (#1753).
  • 70564ae + #1775 only (typed-store check on every unordered texture view; #1763 does the same): the format-115 no host texture line is still there, but the boot goes on: menus at 30 fps, loading, the world (two runs, 1.5 and 5 minutes in the world), ending in the older world hang (#71).

So on this card the format-115 refusal on its own doesn't remove the device; the typed UAV does. #1630/#1700 still matter for that target (it has no host texture, so whatever renders into it is lost), just not for this removal.

AI-assisted.

**@⁠JurajSimicevic** on GitHub · 2026-11-24 22:50 UTC · [original](https://github.com/Marvisak/VIctory/issues/1758#issuecomment-7146710797) A data point on the same card (RTX 5080, driver 32.0.16.1742), separating the two refusals in this log: - Plain `70564ae`: the same two lines (`the host refuses castable formats`, then `no host texture … format: 115 … flags: 1` for 2560x1440), the same ~310,000 descriptor warnings, and the device removed ~6 s in. With `VICTORY_D3D12_DEBUG=1` the removal (`DXGI_ERROR_INVALID_CALL`) comes right after `CreateUnorderedAccessView: The format (0x56, B5G5R5A1_UNORM) cannot be used with a Typed Unordered Access View` (#1753). - `70564ae` + #1775 only (typed-store check on every unordered texture view; #1763 does the same): the format-115 `no host texture` line is still there, but the boot goes on: menus at 30 fps, loading, the world (two runs, 1.5 and 5 minutes in the world), ending in the older world hang (#71). So on this card the format-115 refusal on its own doesn't remove the device; the typed UAV does. #1630/#1700 still matter for that target (it has no host texture, so whatever renders into it is lost), just not for this removal. AI-assisted.
Author
Owner

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

Automated triage for the maintainers. Complete run report (RTX 5080, driver 621.40, Windows 11, 70564ae, release, pipeline pack built).

  1. Removal ~8 s after start on 70564ae: this is the NVIDIA typed-UAV removal on B5G5R5A1_UNORM tracked in #1753 and still present on current main (940d32f). As JurajSimicevic measured on the same card, the refused 2560x1440 B4G4R4A4_UNORM render target (format 115, no host texture) does not remove the device by itself; with a typed-UAV fix alone (#1775, now closed; #1763 does the same) the boot reaches the world. The missing format-115 target is still a loss of rendering, addressed by open PRs #1630 and #1700 (see #797).
  2. World hang on ffe310e (mesh/compute in flight, sometimes a full system freeze): the NVIDIA world hang tracked in #71.
  3. #1281 on ffe310e: removal on a BC1 copy whose box is not a multiple of 4. That is a regression in that PR, so please also report it on #1281.

Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 12:52 UTC · [original](https://github.com/Marvisak/VIctory/issues/1758#issuecomment-7162986423) <!-- victory-issue-triage v1 verdict=tracked seen=2026-11-24T22:50:42Z at=2026-11-25T12:52:36Z --> Automated triage for the maintainers. Complete run report (RTX 5080, driver 621.40, Windows 11, `70564ae`, release, pipeline pack built). 1. **Removal ~8 s after start on `70564ae`:** this is the NVIDIA typed-UAV removal on `B5G5R5A1_UNORM` tracked in **#1753** and still present on current `main` (940d32f). As JurajSimicevic measured on the same card, the refused 2560x1440 `B4G4R4A4_UNORM` render target (format 115, `no host texture`) does not remove the device by itself; with a typed-UAV fix alone (#1775, now closed; #1763 does the same) the boot reaches the world. The missing format-115 target is still a loss of rendering, addressed by open PRs #1630 and #1700 (see #797). 2. **World hang on `ffe310e`** (mesh/compute in flight, sometimes a full system freeze): the NVIDIA world hang tracked in **#71**. 3. **#1281 on `ffe310e`:** removal on a BC1 copy whose box is not a multiple of 4. That is a regression in that PR, so please also report it on #1281. --- _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#1758
No description provided.