RTX 4060 New build – Crash during opening cutscene (DX12 error 0x80070057) #4245

Open
opened 2026-11-30 17:44:19 +00:00 by Jaad626 · 2 comments
Jaad626 commented 2026-11-30 17:44:19 +00:00 (Migrated from github.com)
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Jaad626 on 2026-11-30T17:44:19Z.


Hello!

I've been testing the new build and restarted the game from scratch to check whether the facial rendering issues had improved. Unfortunately, the game crashed during the opening cutscene.

My configuration:

  • GPU: RTX 4060 8GB
  • CPU: Intel Core i7-11700KF
  • RAM: 32GB DDR4 3200 MHz
  • Windows 11 26H2 (26300.9974)
  • NVIDIA driver: 621.40

Settings:

  • Series S profile
  • Internal resolution: 960x540
  • DLSS Performance
  • Frame Generation 2x

Crash error:
0x80070057 — a host command list did not close: a command recorded into it was invalid.

VRAM usage was also close to the available memory budget before the crash.

I'm attaching both the play log and crash log to help investigate the issue.

Let me know if you need me to test a diagnostics build with VICTORY_D3D12_DEBUG=1 or any other specific settings.

Thanks again for your work

crashes.log

victory-nvidia-play-20261130-172229-15604.log

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:6702540826 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4245). Originally posted by [Jaad626](https://github.com/Jaad626) on 2026-11-30T17:44:19Z. --- Hello! I've been testing the new build and restarted the game from scratch to check whether the facial rendering issues had improved. Unfortunately, the game crashed during the opening cutscene. **My configuration:** - GPU: RTX 4060 8GB - CPU: Intel Core i7-11700KF - RAM: 32GB DDR4 3200 MHz - Windows 11 26H2 (26300.9974) - NVIDIA driver: 621.40 **Settings:** - Series S profile - Internal resolution: 960x540 - DLSS Performance - Frame Generation 2x **Crash error:** `0x80070057 — a host command list did not close: a command recorded into it was invalid.` VRAM usage was also close to the available memory budget before the crash. I'm attaching both the play log and crash log to help investigate the issue. Let me know if you need me to test a diagnostics build with `VICTORY_D3D12_DEBUG=1` or any other specific settings. Thanks again for your work [crashes.log](https://github.com/user-attachments/files/35632439/crashes.log) [victory-nvidia-play-20261130-172229-15604.log](https://github.com/user-attachments/files/35632482/victory-nvidia-play-20261130-172229-15604.log)
tyr0nsur commented 2026-11-30 18:23:10 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by tyr0nsur on 2026-11-30T18:23:10Z.


Thanks for the two logs. The last local-memory sample I found before the failure was 7,042 MB used against a 7,189 MB DXGI budget at 17:34:54 UTC. At 17:35:00 UTC the host command list returned 0x80070057 (E_INVALIDARG) from Close(). The D3D12 debug message would help identify the recorded command that triggered it.

Since you offered to try the debug layer, could you repeat the opening with the same Series S, DLSS Performance and 2× FG settings on a diagnostics build and add -More VICTORY_D3D12_DEBUG=1 to the source PowerShell launcher arguments? If it crashes again, the first debug layer: message in the resulting failure line is the most useful part. If it logs no D3D12 debug layer, that line is useful too. Host error reporting

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7287772623 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4245#issuecomment-7287772623). Originally posted by [tyr0nsur](https://github.com/tyr0nsur) on 2026-11-30T18:23:10Z. --- Thanks for the two logs. The last local-memory sample I found before the failure was **7,042 MB used against a 7,189 MB DXGI budget** at 17:34:54 UTC. At 17:35:00 UTC the host command list returned `0x80070057` (`E_INVALIDARG`) from `Close()`. The D3D12 debug message would help identify the recorded command that triggered it. Since you offered to try the debug layer, could you repeat the opening with the same Series S, DLSS Performance and 2× FG settings on a diagnostics build and add `-More VICTORY_D3D12_DEBUG=1` to the source PowerShell launcher arguments? If it crashes again, the first `debug layer:` message in the resulting failure line is the most useful part. If it logs `no D3D12 debug layer`, that line is useful too. [Host error reporting](https://github.com/trustno1-coder/VIctory-NVIDIA/blob/e1251c3199465565147711887351d80359162bb0/crates/victory-gpu/src/host.rs#L1432-L1448)
tyr0nsur commented 2026-11-30 19:29:38 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by tyr0nsur on 2026-11-30T19:29:38Z.


A likely cause, now reproduced in isolation on an RTX 4060: #3901 traced this exact Close() failure to the placed-twin copy in list.rs (copy_texture_region). placed_twins pairs twins by block size only, so a BC3 texture can be copied into a BC7 twin, and D3D12 refuses that copy across format families when the list closes (0x80070057). The fix is #4080 (the copy goes through a buffer). Its unit test fails Close() the same way on an RTX 4060 and passes with the fix (results).

Until it is merged, a run with the placed-twin copies off should avoid the crash, if this is the cause: victory.exe play --set VICTORY_PLACED_COPIED=0 (or -More VICTORY_PLACED_COPIED=0 on the script launcher). It is the behaviour from before those copies were ported, so a few textures that share memory may be stale. If the crash still happens with it, the debug-layer message is still the way to name the command, as asked above.

AI-assisted with Claude Code.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7289483801 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4245#issuecomment-7289483801). Originally posted by [tyr0nsur](https://github.com/tyr0nsur) on 2026-11-30T19:29:38Z. --- A likely cause, now reproduced in isolation on an RTX 4060: #3901 traced this exact `Close()` failure to the placed-twin copy in `list.rs` (`copy_texture_region`). `placed_twins` pairs twins by block size only, so a BC3 texture can be copied into a BC7 twin, and D3D12 refuses that copy across format families when the list closes (`0x80070057`). The fix is #4080 (the copy goes through a buffer). Its unit test fails `Close()` the same way on an RTX 4060 and passes with the fix ([results](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4080)). Until it is merged, a run with the placed-twin copies off should avoid the crash, if this is the cause: `victory.exe play --set VICTORY_PLACED_COPIED=0` (or `-More VICTORY_PLACED_COPIED=0` on the script launcher). It is the behaviour from before those copies were ported, so a few textures that share memory may be stale. If the crash still happens with it, the debug-layer message is still the way to name the command, as asked above. AI-assisted with Claude Code.
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
trustno1-coder/VIctory-NVIDIA#4245
No description provided.