Host GPU failure: "a host command list did not close" (0x80070057) on two builds, RTX 4090 #3911

Open
opened 2026-11-30 11:18:51 +00:00 by github-bot · 6 comments
Owner

@⁠thenomangod on GitHub · 2026-11-30 11:18 UTC · original

What happened:

The game window closes without a message after a while of normal play. Same error on two different builds, in different places of the game:

VIctory: host GPU failure: a host command list did not close (0x80070057): a command recorded into it was invalid; a diagnostics build with VICTORY_D3D12_DEBUG=1 names the command

  • Run 1 (main ZIP from 2026-11-29 ~18:40 UTC): crashed after ~19 min, open world, driving a boat on open water during a mission.
  • Run 2 (main ZIP from 2026-11-30 ~09:06 UTC): crashed after ~63 min in game, [describe what you were doing right before].

Not memory related according to Play-MyRig -Summary: 0 memory-pressure warnings, 0 out-of-memory errors, at least 84.1 GB of commit free at the lowest point, the game held up to 45.1 GB.
Not tested yet whether it reproduces at the same spot after loading the last save.

GPU and driver:

NVIDIA GeForce RTX 4090 24 GB, driver 621.01, hardware-accelerated GPU scheduling on

CPU, RAM and Windows version:

Intel Core i9-14900K, 96 GB DDR5-6000, Windows 11 build 26300, page file fixed at 96 GB (commit limit 191.7 GB), game on NVMe (Samsung 990 PRO), power plan Ultimate Performance

VIctory release or commit:

Built from source: main downloaded as ZIP on 2026-11-30 ~09:06 UTC (newer than v2026.11.29.04), built 10:10 UTC with cargo build --release --locked -p victory. F3 shows BUILD UNKNOWN (ZIP, no git history). Earlier crash on main ZIP from 2026-11-29 ~18:40 UTC.

Settings:

Started with Play-MyRig.cmd -NoFullscreen: Series X, native 1440p, DLSS Performance, DLSS frame generation 2x, ray tracing off, VICTORY_TEXTURE_ROOM_PERCENT=89, pipeline workers chosen by the layer, shader preload done.

Logs:

Attached: victory-nvidia-play-20261130-101051-6836.log (run 2) and victory-nvidia-play-20261129-190347-20680.log (run 1).

Play-MyRig -Summary of run 2:
length 63:03, 3682 s in game; median 26.5 fps rendered, slowest 5% 12.7 fps, 47 s under 10 fps; 0 memory-pressure warnings, 0 out-of-memory errors.[

](url)

**@⁠thenomangod** on GitHub · 2026-11-30 11:18 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3911) What happened: The game window closes without a message after a while of normal play. Same error on two different builds, in different places of the game: VIctory: host GPU failure: a host command list did not close (0x80070057): a command recorded into it was invalid; a diagnostics build with VICTORY_D3D12_DEBUG=1 names the command - Run 1 (main ZIP from 2026-11-29 ~18:40 UTC): crashed after ~19 min, open world, driving a boat on open water during a mission. - Run 2 (main ZIP from 2026-11-30 ~09:06 UTC): crashed after ~63 min in game, [describe what you were doing right before]. Not memory related according to Play-MyRig -Summary: 0 memory-pressure warnings, 0 out-of-memory errors, at least 84.1 GB of commit free at the lowest point, the game held up to 45.1 GB. Not tested yet whether it reproduces at the same spot after loading the last save. GPU and driver: NVIDIA GeForce RTX 4090 24 GB, driver 621.01, hardware-accelerated GPU scheduling on CPU, RAM and Windows version: Intel Core i9-14900K, 96 GB DDR5-6000, Windows 11 build 26300, page file fixed at 96 GB (commit limit 191.7 GB), game on NVMe (Samsung 990 PRO), power plan Ultimate Performance VIctory release or commit: Built from source: main downloaded as ZIP on 2026-11-30 ~09:06 UTC (newer than v2026.11.29.04), built 10:10 UTC with cargo build --release --locked -p victory. F3 shows BUILD UNKNOWN (ZIP, no git history). Earlier crash on main ZIP from 2026-11-29 ~18:40 UTC. Settings: Started with Play-MyRig.cmd -NoFullscreen: Series X, native 1440p, DLSS Performance, DLSS frame generation 2x, ray tracing off, VICTORY_TEXTURE_ROOM_PERCENT=89, pipeline workers chosen by the layer, shader preload done. Logs: Attached: victory-nvidia-play-20261130-101051-6836.log (run 2) and victory-nvidia-play-20261129-190347-20680.log (run 1). Play-MyRig -Summary of run 2: length 63:03, 3682 s in game; median 26.5 fps rendered, slowest 5% 12.7 fps, 47 s under 10 fps; 0 memory-pressure warnings, 0 out-of-memory errors.[ <!-- Failed to upload "victory-nvidia-play-20261130-101051-6836.log" --> ](url)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 11:18:51 +00:00
Author
Owner

@⁠github-actions[bot] on GitHub · 2026-11-30 11:18 UTC · original

Please attach both logs from the run that went wrong. Without them we can only guess. Paste %LOCALAPPDATA% into the address bar of File Explorer to get there.

  1. The play log, in %LOCALAPPDATA%\victory\logs\: the newest victory-nvidia-play-<date>-<time>-<number>.log (from victory.exe) or victory-nvidia-<date>-<time>.log (from the script launcher). The window shows its path at the start, on the line Log: ....
  2. The crash log: %LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newest victory-<date>-<time>-<number>.crash.log in %LOCALAPPDATA%\VIctory\data\7952987A\temp\.

Also say which GPU, Windows version (10 or 11)

**@⁠github-actions[bot]** on GitHub · 2026-11-30 11:18 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3911#issuecomment-7276835075) Please attach both logs from the run that went wrong. Without them we can only guess. Paste `%LOCALAPPDATA%` into the address bar of File Explorer to get there. 1. The play log, in `%LOCALAPPDATA%\victory\logs\`: the newest `victory-nvidia-play-<date>-<time>-<number>.log` (from `victory.exe`) or `victory-nvidia-<date>-<time>.log` (from the script launcher). The window shows its path at the start, on the line `Log: ...`. 2. The crash log: `%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log`, and, if there is one from that run, the newest `victory-<date>-<time>-<number>.crash.log` in `%LOCALAPPDATA%\VIctory\data\7952987A\temp\`. Also say which GPU, Windows version (10 or 11)
Author
Owner

@⁠thenomangod on GitHub · 2026-11-30 11:20 UTC · original

victory-crash-20261130.zip

**@⁠thenomangod** on GitHub · 2026-11-30 11:20 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3911#issuecomment-7276888381) [victory-crash-20261130.zip](https://github.com/user-attachments/files/35612941/victory-crash-20261130.zip)
Author
Owner

@⁠thenomangod on GitHub · 2026-11-30 11:21 UTC · original

Thanks. Attached victory-issue.zip with:

victory-nvidia-play-20261130-101051-6836.log: play log of the run that crashed (started with victory.exe play through Play-MyRig.cmd, crash at 2026-11-30 11:13:55 UTC after 63 min),
crashes.log from %LOCALAPPDATA%\VIctory\data\7952987A,
the newest *.crash.log from ...\7952987A\temp\ [delete this line if there was none].

GPU: NVIDIA GeForce RTX 4090 24 GB, driver 621.01, hardware-accelerated GPU scheduling on.
Windows: Windows 11, build 26300.
CPU: Intel Core i9-14900K, RAM: 96 GB, fixed 96 GB page file.

victory-issue.zip

**@⁠thenomangod** on GitHub · 2026-11-30 11:21 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3911#issuecomment-7276920820) Thanks. Attached victory-issue.zip with: victory-nvidia-play-20261130-101051-6836.log: play log of the run that crashed (started with victory.exe play through Play-MyRig.cmd, crash at 2026-11-30 11:13:55 UTC after 63 min), crashes.log from %LOCALAPPDATA%\VIctory\data\7952987A\, the newest *.crash.log from ...\7952987A\temp\ [delete this line if there was none]. GPU: NVIDIA GeForce RTX 4090 24 GB, driver 621.01, hardware-accelerated GPU scheduling on. Windows: Windows 11, build 26300. CPU: Intel Core i9-14900K, RAM: 96 GB, fixed 96 GB page file. [victory-issue.zip](https://github.com/user-attachments/files/35613164/victory-issue.zip)
Author
Owner

@⁠lyufeng000 on GitHub · 2026-11-30 19:15 UTC · original

Adding another RTX 4090 data point on e1251c31 (v2026.11.30.03, release build) — this also strongly aligns with the over the room line (black face fix) sequence reported in #3320.

Environment & Settings

  • Commit: e1251c31 (release)
  • Hardware: Ryzen 9 9950X, RTX 4090 (24 GB VRAM), 32 GB RAM
  • OS / Driver: Windows 11 (10.0.26300), NVIDIA driver 621.14.0, Streamline SDK 2.14.16
  • Launch options: Series X, --res 4k, --dlss quality (VICTORY_DLSS_PRESET=k), --framegen 2 (--fg-type dlss), defaults (VICTORY_TEXTURE_ROOM_PERCENT=80, VICTORY_SLOT_EVICT=1, VICTORY_SAMPLED_EVICT=0)

Failure & Preceding ~1.5s Timeline

Crashed after ~15 minutes of normal play (no TDR / DEVICE_REMOVED):

ERROR victory_gpu::host: a host command list did not close (0x80070057): a command recorded into it was invalid; a diagnostics build with VICTORY_D3D12_DEBUG=1 names the command

Key log sequence immediately before HostList::close() failed:

  • 19:09:00.676Z — memory now: committed 38184 MB, the card's own 18332 MB in use of a budget of 21454 MB, the PC's shared with the card 5793 MB in use (~85.4% of budget, over the 80% FG room line).
  • 19:09:00.956Z (0.47s before crash) — first VICTORY_SLOT_EVICT trigger of the entire session (1 textures (5 MB), 4 slots put back to waiting).
  • 19:08:59.926Z – 19:09:01.217Z — rapid burst of a first host texture was admitted just over the room line (black face fix) (so_far=500 -> 1000, then 1 -> 250).
  • 19:09:00.977Z — depth texture with unordered access (lazy twin) (128x128x6, format: 53).
  • 19:09:01.230Z — new vertex+pixel pipeline translated and bound at frame=57888.
  • 19:09:01.430Z — a host command list did not close (0x80070057).

(Note: host RAM was also under pressure at 37766 MB committed / 16090 MB resident / 951 MB free, though 22431 MB remained available to commit.)

**@⁠lyufeng000** on GitHub · 2026-11-30 19:15 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3911#issuecomment-7289106547) Adding another RTX 4090 data point on `e1251c31` (`v2026.11.30.03`, `release` build) — this also strongly aligns with the `over the room line (black face fix)` sequence reported in #3320. ### Environment & Settings - **Commit:** `e1251c31` (`release`) - **Hardware:** Ryzen 9 9950X, RTX 4090 (24 GB VRAM), 32 GB RAM - **OS / Driver:** Windows 11 (`10.0.26300`), NVIDIA driver `621.14.0`, Streamline SDK `2.14.16` - **Launch options:** Series X, `--res 4k`, `--dlss quality` (`VICTORY_DLSS_PRESET=k`), `--framegen 2` (`--fg-type dlss`), defaults (`VICTORY_TEXTURE_ROOM_PERCENT=80`, `VICTORY_SLOT_EVICT=1`, `VICTORY_SAMPLED_EVICT=0`) ### Failure & Preceding ~1.5s Timeline Crashed after ~15 minutes of normal play (no TDR / `DEVICE_REMOVED`): ```text ERROR victory_gpu::host: a host command list did not close (0x80070057): a command recorded into it was invalid; a diagnostics build with VICTORY_D3D12_DEBUG=1 names the command ``` Key log sequence immediately before `HostList::close()` failed: - `19:09:00.676Z` — `memory now: committed 38184 MB, the card's own 18332 MB in use of a budget of 21454 MB, the PC's shared with the card 5793 MB in use` (~85.4% of budget, over the 80% FG room line). - `19:09:00.956Z` (0.47s before crash) — **first** `VICTORY_SLOT_EVICT` trigger of the entire session (`1 textures (5 MB), 4 slots put back to waiting`). - `19:08:59.926Z` – `19:09:01.217Z` — rapid burst of `a first host texture was admitted just over the room line (black face fix)` (`so_far=500 -> 1000`, then `1 -> 250`). - `19:09:00.977Z` — `depth texture with unordered access (lazy twin)` (`128x128x6`, `format: 53`). - `19:09:01.230Z` — new `vertex+pixel` pipeline translated and bound at `frame=57888`. - `19:09:01.430Z` — `a host command list did not close (0x80070057)`. (Note: host RAM was also under pressure at `37766 MB` committed / `16090 MB` resident / `951 MB` free, though `22431 MB` remained available to commit.)
Author
Owner

@⁠MrGaleo on GitHub · 2026-11-30 19:24 UTC · original

Same crash here on v2026.11.30.03 (official release), RTX 5070 Ti. Logs attached.

crashes.log entry for the run (process 34612):

VIctory: host GPU failure: a host command list did not close (The parameter is incorrect. (0x80070057)): a command recorded into it was invalid; a diagnostics build with VICTORY_D3D12_DEBUG=1 names the command

What happened: the game closed by itself about 23 minutes into normal play (run started 18:54:25 UTC, last log line 19:17:27 UTC, frame ~32340). The play log has no error line; it just stops. Windows logged no Application Error and wrote no dump. The same error ended an earlier run today (process 1788, ~15:23 UTC; that log is no longer kept). Runs on older releases ended with device removed (0x887A0006) instead (also in crashes.log).

From the log:

  • Frame times were steady right before the end (median ~38 ms, nothing over 100 ms in the last seconds).
  • 9 host pipeline not made: D3D12 returned E_OUTOFMEMORY warnings during the run (last at 19:13:17).
  • Process commit was ~53.6 GB at the last memory line (fixed page file, commit limit ~71 GB), so not commit exhaustion.
  • a first host texture was admitted just over the room line (black face fix) shows up 0.07 s before the end, like in the 4090 report above, but it appears 2339 times in this run, so it may just be common.

System: Ryzen 7 9700X, 32 GB, Windows 11 Pro 10.0.26300. NVIDIA GeForce RTX 5070 Ti 16 GB, driver 621.40, hardware GPU scheduling on (AMD iGPU also present).

Settings: Series X, 2560x1440 native output, fullscreen, DLSS Super Resolution balanced, DLSS Frame Generation on (2x), 30 fps cap. VICTORY_LEAVE_OUT=02384a60fda6f2d0,731a39171b568298 set. All switches are on the first line of the play log.

Attached victory-crash-20261130-34612.zip:

  • victory-nvidia-play-20261130-185425-34612.log: play log of the run that crashed
  • crashes.log from %LOCALAPPDATA%\VIctory\data\7952987A\
  • No *.crash.log was written in ...\7952987A\temp\ for this run.

(Windows username replaced with USER in paths; nothing else changed.)

**@⁠MrGaleo** on GitHub · 2026-11-30 19:24 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3911#issuecomment-7289352487) Same crash here on **v2026.11.30.03** (official release), RTX 5070 Ti. Logs attached. `crashes.log` entry for the run (process 34612): ``` VIctory: host GPU failure: a host command list did not close (The parameter is incorrect. (0x80070057)): a command recorded into it was invalid; a diagnostics build with VICTORY_D3D12_DEBUG=1 names the command ``` **What happened:** the game closed by itself about 23 minutes into normal play (run started 18:54:25 UTC, last log line 19:17:27 UTC, frame ~32340). The play log has no error line; it just stops. Windows logged no Application Error and wrote no dump. The same error ended an earlier run today (process 1788, ~15:23 UTC; that log is no longer kept). Runs on older releases ended with `device removed (0x887A0006)` instead (also in `crashes.log`). **From the log:** - Frame times were steady right before the end (median ~38 ms, nothing over 100 ms in the last seconds). - 9 `host pipeline not made: D3D12 returned E_OUTOFMEMORY` warnings during the run (last at 19:13:17). - Process commit was ~53.6 GB at the last memory line (fixed page file, commit limit ~71 GB), so not commit exhaustion. - `a first host texture was admitted just over the room line (black face fix)` shows up 0.07 s before the end, like in the 4090 report above, but it appears 2339 times in this run, so it may just be common. **System:** Ryzen 7 9700X, 32 GB, Windows 11 Pro 10.0.26300. NVIDIA GeForce RTX 5070 Ti 16 GB, driver 621.40, hardware GPU scheduling on (AMD iGPU also present). **Settings:** Series X, 2560x1440 native output, fullscreen, DLSS Super Resolution balanced, DLSS Frame Generation on (2x), 30 fps cap. `VICTORY_LEAVE_OUT=02384a60fda6f2d0,731a39171b568298` set. All switches are on the first line of the play log. **Attached** [victory-crash-20261130-34612.zip](https://github.com/user-attachments/files/35638003/victory-crash-20261130-34612.zip): - `victory-nvidia-play-20261130-185425-34612.log`: play log of the run that crashed - `crashes.log` from `%LOCALAPPDATA%\VIctory\data\7952987A\` - No `*.crash.log` was written in `...\7952987A\temp\` for this run. (Windows username replaced with `USER` in paths; nothing else changed.)
Author
Owner

@⁠lyufeng000 on GitHub · 2026-11-30 20:04 UTC · original

Follow-up with a diag build (e1251c31, --profile diag --features diagnostics) + VICTORY_D3D12_DEBUG=1 + VICTORY_D3D12_DRED=1 on the same RTX 4090 setup — the D3D12 debug layer captured the exact invalid command (same class as the BC7_TYPELESS -> BC6H_TYPELESS failure in #2914):

Debug Layer Output

Fired 7× (id=874, severity=1) on the failing command list immediately before HostList::close() returned 0x80070057:

WARN victory_gpu::host: D3D12: ID3D12CommandList::CopyTextureRegion: The source and destination resource formats are incompatible. The source format is BC3_TYPELESS and the destination format is BC7_TYPELESS. Some non-obvious formats are considered equivalent: BC[1|4] ~= R16G16B16A16|R32G32, BC[2|3|5|6|7] ~= R32G32B32A32, and R9G9B9E5_SHAREDEXP ~= R32. id=874 severity=1
ERROR victory_gpu::host: a host command list did not close (0x80070057): a command recorded into it was invalid; debug layer: ID3D12CommandList::CopyTextureRegion: The source and destination resource formats are incompatible. The source format is BC3_TYPELESS and the destination format is BC7_TYPELESS. ...

Root Cause in Code

  1. crates/victory-gpu/src/resource.rs (placed_twins, ~line 5937) intentionally pairs placed views sharing the same title address and 16-byte block size across different BC format families (as the comment notes: "a BC3 texture of 11 levels the make-up is copied into, a BC7 view of 9 levels over the same memory that the face samples").
  2. crates/victory-gpu/src/list.rs (copy_texture_region, ~lines 1877–1919) then forwards the copy into each twin via a direct list.list.CopyTextureRegion (~line 1910) using the original from location unchanged.
  3. On PC D3D12, CopyTextureRegion rejects direct BC3_TYPELESS -> BC7_TYPELESS (and BC7_TYPELESS -> BC6H_TYPELESS in #2914) copies even though both are 16 bytes/block, poisoning the command list so Close() fails with E_INVALIDARG (0x80070057).

Suggested Fix & Workaround

  • Fix: In copy_texture_region's placed_twins forwarding loop (list.rs:1877-1919), check whether from and the twin other are format-compatible for direct CopyTextureRegion:
    • If from is a PLACED_FOOTPRINT buffer copy, adapt the footprint format to match other's format (when block size/dimensions match).
    • If from is a SUBRESOURCE_INDEX texture-to-texture copy across incompatible BC families (e.g. BC3_TYPELESS vs BC7_TYPELESS), bridge through an intermediate buffer (from -> buffer with source footprint, barrier, buffer -> other with destination footprint), matching the two-step buffer copy already used for cross-format alias copies in crates/victory-gpu/src/texture.rs.
  • Workaround: Setting VICTORY_PLACED_COPIED=0 (resource.rs:5842) bypasses placed_twins forwarding and avoids the crash.
**@⁠lyufeng000** on GitHub · 2026-11-30 20:04 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3911#issuecomment-7290373810) Follow-up with a `diag` build (`e1251c31`, `--profile diag --features diagnostics`) + `VICTORY_D3D12_DEBUG=1` + `VICTORY_D3D12_DRED=1` on the same RTX 4090 setup — the D3D12 debug layer captured the exact invalid command (same class as the `BC7_TYPELESS -> BC6H_TYPELESS` failure in #2914): ### Debug Layer Output Fired 7× (`id=874`, `severity=1`) on the failing command list immediately before `HostList::close()` returned `0x80070057`: ```text WARN victory_gpu::host: D3D12: ID3D12CommandList::CopyTextureRegion: The source and destination resource formats are incompatible. The source format is BC3_TYPELESS and the destination format is BC7_TYPELESS. Some non-obvious formats are considered equivalent: BC[1|4] ~= R16G16B16A16|R32G32, BC[2|3|5|6|7] ~= R32G32B32A32, and R9G9B9E5_SHAREDEXP ~= R32. id=874 severity=1 ERROR victory_gpu::host: a host command list did not close (0x80070057): a command recorded into it was invalid; debug layer: ID3D12CommandList::CopyTextureRegion: The source and destination resource formats are incompatible. The source format is BC3_TYPELESS and the destination format is BC7_TYPELESS. ... ``` ### Root Cause in Code 1. `crates/victory-gpu/src/resource.rs` (`placed_twins`, ~line 5937) intentionally pairs placed views sharing the same title address and 16-byte block size across different BC format families (as the comment notes: *"a BC3 texture of 11 levels the make-up is copied into, a BC7 view of 9 levels over the same memory that the face samples"*). 2. `crates/victory-gpu/src/list.rs` (`copy_texture_region`, ~lines 1877–1919) then forwards the copy into each `twin` via a direct `list.list.CopyTextureRegion` (~line 1910) using the original `from` location unchanged. 3. On PC D3D12, `CopyTextureRegion` rejects direct `BC3_TYPELESS -> BC7_TYPELESS` (and `BC7_TYPELESS -> BC6H_TYPELESS` in #2914) copies even though both are 16 bytes/block, poisoning the command list so `Close()` fails with `E_INVALIDARG (0x80070057)`. ### Suggested Fix & Workaround - **Fix:** In `copy_texture_region`'s `placed_twins` forwarding loop (`list.rs:1877-1919`), check whether `from` and the twin `other` are format-compatible for direct `CopyTextureRegion`: - If `from` is a `PLACED_FOOTPRINT` buffer copy, adapt the footprint format to match `other`'s format (when block size/dimensions match). - If `from` is a `SUBRESOURCE_INDEX` texture-to-texture copy across incompatible BC families (e.g. `BC3_TYPELESS` vs `BC7_TYPELESS`), bridge through an intermediate buffer (`from -> buffer` with source footprint, barrier, `buffer -> other` with destination footprint), matching the two-step buffer copy already used for cross-format alias copies in `crates/victory-gpu/src/texture.rs`. - **Workaround:** Setting `VICTORY_PLACED_COPIED=0` (`resource.rs:5842`) bypasses `placed_twins` forwarding and avoids the crash.
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/trustno1-coder--VIctory-NVIDIA#3911
No description provided.