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

Open
opened 2026-11-30 18:09:22 +00:00 by github-bot · 2 comments
Owner

@⁠Jaad626 on GitHub · 2026-11-30 17:44 UTC · original

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

**@⁠Jaad626** on GitHub · 2026-11-30 17:44 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4245) 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)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 18:09:22 +00:00
Author
Owner

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

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

**@⁠tyr0nsur** on GitHub · 2026-11-30 18:23 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4245#issuecomment-7287772623) 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)
Author
Owner

@⁠tyr0nsur on GitHub · 2026-11-30 19:29 UTC · original

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.

**@⁠tyr0nsur** on GitHub · 2026-11-30 19:29 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4245#issuecomment-7289483801) 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://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/pulls/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.
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#4246
No description provided.