v2026.11.30.03: 0x80070057 CopyTextureRegion call (BC3_TYPELESS -> BC7_TYPELESS) #4934

Open
opened 2026-12-01 14:39:07 +00:00 by github-bot · 12 comments
Owner

@⁠hrk1337 on GitHub · 2026-12-01 14:35 UTC · original

Description

The game crashed after about 1 hour of gameplay. Overall performance on this build is great — my minimum FPS stays around 17 FPS (excluding brief drops during runtime shader compilation).

System Specs & Build

  • Build / Version: v2026.11.30.03
  • GPU: NVIDIA GeForce RTX 5080
  • CPU: AMD Ryzen 7 9800X3D
  • RAM: 32 GB

Logs

crashcut.log

The full log file is 76 MB, so GitHub won't let me attach it directly. I can upload the full log to Google Drive and share the link if needed!

**@⁠hrk1337** on GitHub · 2026-12-01 14:35 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4933) ### Description The game crashed after about **1 hour of gameplay**. Overall performance on this build is great — my minimum FPS stays around **17 FPS** (excluding brief drops during runtime shader compilation). ### System Specs & Build - **Build / Version:** *v2026.11.30.03* - **GPU:** NVIDIA GeForce RTX 5080 - **CPU:** AMD Ryzen 7 9800X3D - **RAM:** 32 GB ### Logs [crashcut.log](https://github.com/user-attachments/files/35687813/crashcut.log) The full log file is 76 MB, so GitHub won't let me attach it directly. I can upload the full log to Google Drive and share the link if needed!
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 14:39:07 +00:00
Author
Owner

@⁠hyperland956-lgtm on GitHub · 2026-12-01 14:37 UTC · original

Could be a memory issue — Please share the full log for proper analysis.

**@⁠hyperland956-lgtm** on GitHub · 2026-12-01 14:37 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4933#issuecomment-7314554519) Could be a memory issue — Please share the full log for proper analysis.
Author
Owner

@⁠p18835133-sys on GitHub · 2026-12-01 14:49 UTC · original

I have the same problem

**@⁠p18835133-sys** on GitHub · 2026-12-01 14:49 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4933#issuecomment-7314891098) I have the same problem
Author
Owner

@⁠hrk1337 on GitHub · 2026-12-01 14:55 UTC · original

part_001.log
part_002.log
part_003.log
part_004.log
part_005.log
part_006.log
part_007.log
part_008.log

Sorry, I couldn't upload it any other way.

**@⁠hrk1337** on GitHub · 2026-12-01 14:55 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4933#issuecomment-7315053751) [part_001.log](https://github.com/user-attachments/files/35688752/part_001.log) [part_002.log](https://github.com/user-attachments/files/35688755/part_002.log) [part_003.log](https://github.com/user-attachments/files/35688753/part_003.log) [part_004.log](https://github.com/user-attachments/files/35688758/part_004.log) [part_005.log](https://github.com/user-attachments/files/35688757/part_005.log) [part_006.log](https://github.com/user-attachments/files/35688756/part_006.log) [part_007.log](https://github.com/user-attachments/files/35688759/part_007.log) [part_008.log](https://github.com/user-attachments/files/35688754/part_008.log) Sorry, I couldn't upload it any other way.
Author
Owner

@⁠andrewpozdnakov7-jpg on GitHub · 2026-12-01 15:05 UTC · original

Thanks for splitting the log. The last part reaches Close() with 0x80070057 at 14:19:59 UTC. About one second earlier, local GPU memory was 13,895 of 14,748 MiB, with 6,749 MiB in shared use. The final part contains neither an E_OUTOFMEMORY line nor a D3D12 validation message that names the invalid command. Those memory figures alone cannot identify the cause.

If you can reproduce it with D3D12 validation enabled in a diagnostics build, the first D3D12 error before Close() fails would be enough. There's no need to upload the full log again for that check.

**@⁠andrewpozdnakov7-jpg** on GitHub · 2026-12-01 15:05 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4933#issuecomment-7315329258) Thanks for splitting the log. The last part reaches `Close()` with `0x80070057` at 14:19:59 UTC. About one second earlier, local GPU memory was 13,895 of 14,748 MiB, with 6,749 MiB in shared use. The final part contains neither an `E_OUTOFMEMORY` line nor a D3D12 validation message that names the invalid command. Those memory figures alone cannot identify the cause. If you can reproduce it with D3D12 validation enabled in a diagnostics build, the first D3D12 error before `Close()` fails would be enough. There's no need to upload the full log again for that check.
Author
Owner

@⁠hrk1337 on GitHub · 2026-12-01 15:24 UTC · original

Спасибо за разделение лога. Последняя часть достигает Close()отметки 0x80070057в 14:19:59 UTC. Примерно за секунду до этого локальная память графического процессора составляла 13 895 из 14 748 МиБ, при этом 6 749 МиБ находились в общем доступе. В последней части нет ни строки, E_OUTOFMEMORYни сообщения проверки D3D12, указывающего на недопустимую команду. Одних этих данных о памяти недостаточно для определения причины.

Если вам удастся воспроизвести проблему с включенной проверкой D3D12 в диагностической сборке, то первой ошибки D3D12 перед Close()сбоем будет достаточно. Нет необходимости повторно загружать полный лог для этой проверки.

Could you please explain how to do this?

Also, I noticed that the crash consistently happens at the exact same moment during the Day Release mission.

**@⁠hrk1337** on GitHub · 2026-12-01 15:24 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4933#issuecomment-7315845392) > Спасибо за разделение лога. Последняя часть достигает `Close()`отметки `0x80070057`в 14:19:59 UTC. Примерно за секунду до этого локальная память графического процессора составляла 13 895 из 14 748 МиБ, при этом 6 749 МиБ находились в общем доступе. В последней части нет ни строки, `E_OUTOFMEMORY`ни сообщения проверки D3D12, указывающего на недопустимую команду. Одних этих данных о памяти недостаточно для определения причины. > > Если вам удастся воспроизвести проблему с включенной проверкой D3D12 в диагностической сборке, то первой ошибки D3D12 перед `Close()`сбоем будет достаточно. Нет необходимости повторно загружать полный лог для этой проверки. Could you please explain how to do this? Also, I noticed that the crash consistently happens at the exact same moment during the **Day Release** mission.
Author
Owner

@⁠andrewpozdnakov7-jpg on GitHub · 2026-12-01 15:28 UTC · original

Thanks for pinning it to Day Release. The downloadable v2026.11.30.03 executable was built without the diagnostics feature, so the flag needs a separate build.

  1. Install the Windows optional feature Graphics Tools if it is missing. Microsoft's instructions

  2. From a separate checkout of the source at tag v2026.11.30.03, run the documented diagnostics build command. Build prerequisites

    cargo build --locked --profile diag -p victory --features diagnostics
    
  3. Use target\diag\victory.exe in your usual play command with the same settings. Add --set VICTORY_D3D12_DEBUG=1. If the title executable was found automatically beside your release EXE, pass its path as the argument immediately after play when using the new EXE.

If Day Release still crashes, please paste the first D3D12 error near the failed Close(). A few lines are enough. If the diagnostic build gets through that exact moment, that result is also useful.

**@⁠andrewpozdnakov7-jpg** on GitHub · 2026-12-01 15:28 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4933#issuecomment-7315965618) Thanks for pinning it to Day Release. The downloadable v2026.11.30.03 executable was built without the diagnostics feature, so the flag needs a separate build. 1. Install the Windows optional feature **Graphics Tools** if it is missing. [Microsoft's instructions](https://learn.microsoft.com/en-us/windows/ai/directml/dml-debug-layer) 2. From a separate checkout of the source at tag `v2026.11.30.03`, run the documented diagnostics build command. [Build prerequisites](https://github.com/trustno1-coder/VIctory-NVIDIA/blob/v2026.11.30.03/docs/README-nvidia.md#build) ```powershell cargo build --locked --profile diag -p victory --features diagnostics ``` 3. Use `target\diag\victory.exe` in your usual `play` command with the same settings. Add `--set VICTORY_D3D12_DEBUG=1`. If the title executable was found automatically beside your release EXE, pass its path as the argument immediately after `play` when using the new EXE. If Day Release still crashes, please paste the first D3D12 error near the failed `Close()`. A few lines are enough. If the diagnostic build gets through that exact moment, that result is also useful.
Author
Owner

@⁠hrk1337 on GitHub · 2026-12-01 16:06 UTC · original

On this diagnostic build, my FPS dropped by half. I have the log file, though it ended up being 500 MB.
Searching for Close() in this log file returns nothing.

**@⁠hrk1337** on GitHub · 2026-12-01 16:06 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4933#issuecomment-7317038474) On this diagnostic build, my FPS dropped by half. I have the log file, though it ended up being 500 MB. Searching for `Close()` in this log file returns nothing.
Author
Owner

@⁠hrk1337 on GitHub · 2026-12-01 16:09 UTC · original

However, I grabbed the very last lines right before the crash at the exact same spot in Day Release, and it caught the incompatible CopyTextureRegion call (BC3_TYPELESS -> BC7_TYPELESS):

2026-12-01T16:03:03.795203Z  WARN victory_gpu::host: D3D12: ID3D12CommandList::DrawInstanced: Using Draw on Command List (0x000001E651584E50:'Unnamed ID3D12GraphicsCommandList Object'): Resource state (0xC0: D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE|D3D12_RESOURCE_STATE_PIXEL_SHADER_RESOURCE) of resource (0x000001E38875A360:'Unnamed ID3D12Resource Object') (subresource: 0) is invalid for use as a depth-read.  Expected State Bits (all): 0x20: D3D12_RESOURCE_STATE_DEPTH_READ, Actual State: 0xC0: D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE|D3D12_RESOURCE_STATE_PIXEL_SHADER_RESOURCE, Missing State: 0x20: D3D12_RESOURCE_STATE_DEPTH_READ. id=538 severity=1
2026-12-01T16:03:03.795212Z  WARN victory_gpu::host: D3D12: ID3D12CommandList::CopyBufferRegion: Using CopyBufferRegion on Command List (0x000001E648ABC990:'Unnamed ID3D12GraphicsCommandList Object'): Resource state (0x400: D3D12_RESOURCE_STATE_COPY_DEST) (assumed at first use) of resource (0x000001E26E37ED50:'Unnamed ID3D12Resource Object') (subresource: 0) is invalid for use as a source buffer.  Expected State Bits (all): 0x800: D3D12_RESOURCE_STATE_COPY_SOURCE, Assumed Actual State: 0x400: D3D12_RESOURCE_STATE_COPY_DEST, Missing State: 0x800: D3D12_RESOURCE_STATE_COPY_SOURCE. id=538 severity=1
2026-12-01T16:03:03.805575Z  WARN victory_gpu::host: D3D12: ID3D12CommandQueue1::ExecuteCommandLists: Using SetComputeRootShaderResourceView on Command List (0x000001E4F834CF40:'Unnamed ID3D12GraphicsCommandList Object'): Resource state (0x400: D3D12_RESOURCE_STATE_COPY_DEST) (promoted from COMMON state) of resource (0x000001E26E37ED50:'Unnamed ID3D12Resource Object') (subresource: 0) is invalid for use as a root shader resource.  Expected State Bits (all): 0x40: D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE, Assumed Actual State: 0x400: D3D12_RESOURCE_STATE_COPY_DEST, Missing State: 0x40: D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE. id=538 severity=1
2026-12-01T16:03:03.816752Z  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
2026-12-01T16:03:03.816761Z  WARN victory_gpu::host: D3D12: ID3D12CommandQueue1::ExecuteCommandLists: Using SetComputeRootShaderResourceView on Command List (0x000001E635DFB470:'Unnamed ID3D12GraphicsCommandList Object'): Resource state (0x400: D3D12_RESOURCE_STATE_COPY_DEST) (promoted from COMMON state) of resource (0x000001E1A3B58360:'Unnamed ID3D12Resource Object') (subresource: 0) is invalid for use as a root shader resource.  Expected State Bits (all): 0x40: D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE, Assumed Actual State: 0x400: D3D12_RESOURCE_STATE_COPY_DEST, Missing State: 0x40: D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE. id=538 severity=1
2026-12-01T16:03:03.822180Z  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
**@⁠hrk1337** on GitHub · 2026-12-01 16:09 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4933#issuecomment-7317118912) However, I grabbed the very last lines right before the crash at the exact same spot in **Day Release**, and it caught the incompatible `CopyTextureRegion` call (`BC3_TYPELESS` -> `BC7_TYPELESS`): ```text 2026-12-01T16:03:03.795203Z WARN victory_gpu::host: D3D12: ID3D12CommandList::DrawInstanced: Using Draw on Command List (0x000001E651584E50:'Unnamed ID3D12GraphicsCommandList Object'): Resource state (0xC0: D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE|D3D12_RESOURCE_STATE_PIXEL_SHADER_RESOURCE) of resource (0x000001E38875A360:'Unnamed ID3D12Resource Object') (subresource: 0) is invalid for use as a depth-read. Expected State Bits (all): 0x20: D3D12_RESOURCE_STATE_DEPTH_READ, Actual State: 0xC0: D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE|D3D12_RESOURCE_STATE_PIXEL_SHADER_RESOURCE, Missing State: 0x20: D3D12_RESOURCE_STATE_DEPTH_READ. id=538 severity=1 2026-12-01T16:03:03.795212Z WARN victory_gpu::host: D3D12: ID3D12CommandList::CopyBufferRegion: Using CopyBufferRegion on Command List (0x000001E648ABC990:'Unnamed ID3D12GraphicsCommandList Object'): Resource state (0x400: D3D12_RESOURCE_STATE_COPY_DEST) (assumed at first use) of resource (0x000001E26E37ED50:'Unnamed ID3D12Resource Object') (subresource: 0) is invalid for use as a source buffer. Expected State Bits (all): 0x800: D3D12_RESOURCE_STATE_COPY_SOURCE, Assumed Actual State: 0x400: D3D12_RESOURCE_STATE_COPY_DEST, Missing State: 0x800: D3D12_RESOURCE_STATE_COPY_SOURCE. id=538 severity=1 2026-12-01T16:03:03.805575Z WARN victory_gpu::host: D3D12: ID3D12CommandQueue1::ExecuteCommandLists: Using SetComputeRootShaderResourceView on Command List (0x000001E4F834CF40:'Unnamed ID3D12GraphicsCommandList Object'): Resource state (0x400: D3D12_RESOURCE_STATE_COPY_DEST) (promoted from COMMON state) of resource (0x000001E26E37ED50:'Unnamed ID3D12Resource Object') (subresource: 0) is invalid for use as a root shader resource. Expected State Bits (all): 0x40: D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE, Assumed Actual State: 0x400: D3D12_RESOURCE_STATE_COPY_DEST, Missing State: 0x40: D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE. id=538 severity=1 2026-12-01T16:03:03.816752Z 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 2026-12-01T16:03:03.816761Z WARN victory_gpu::host: D3D12: ID3D12CommandQueue1::ExecuteCommandLists: Using SetComputeRootShaderResourceView on Command List (0x000001E635DFB470:'Unnamed ID3D12GraphicsCommandList Object'): Resource state (0x400: D3D12_RESOURCE_STATE_COPY_DEST) (promoted from COMMON state) of resource (0x000001E1A3B58360:'Unnamed ID3D12Resource Object') (subresource: 0) is invalid for use as a root shader resource. Expected State Bits (all): 0x40: D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE, Assumed Actual State: 0x400: D3D12_RESOURCE_STATE_COPY_DEST, Missing State: 0x40: D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE. id=538 severity=1 2026-12-01T16:03:03.822180Z 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 ```
Author
Owner

@⁠andrewpozdnakov7-jpg on GitHub · 2026-12-01 16:11 UTC · original

The two CopyTextureRegion errors name BC3_TYPELESS → BC7_TYPELESS. That is the BC3/BC7 format-family mismatch addressed by #4080. Its current head eb981a6d routes that placed-twin copy through a buffer with a format appropriate to each step. The timing immediately before Close() makes this a concrete candidate for the Day Release crash.

The next useful comparison is the same checkpoint with #4080 alone on the release. The first things to compare are whether the incompatible-copy message disappears and whether the run passes that checkpoint. The validation capture you posted already gives us the baseline. Diagnostic excerpt

AI-assisted with OpenAI Codex.

**@⁠andrewpozdnakov7-jpg** on GitHub · 2026-12-01 16:11 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4933#issuecomment-7317193539) The two `CopyTextureRegion` errors name `BC3_TYPELESS → BC7_TYPELESS`. That is the BC3/BC7 format-family mismatch addressed by [#4080](https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/pulls/4080). Its current head `eb981a6d` routes that placed-twin copy through a buffer with a format appropriate to each step. The timing immediately before `Close()` makes this a concrete candidate for the Day Release crash. The next useful comparison is the same checkpoint with #4080 alone on the release. The first things to compare are whether the incompatible-copy message disappears and whether the run passes that checkpoint. The validation capture you posted already gives us the baseline. [Diagnostic excerpt](https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/issues/4934) AI-assisted with OpenAI Codex.
Author
Owner

@⁠hrk1337 on GitHub · 2026-12-01 16:36 UTC · original

I tested v2026.11.30.03 with #4080 (eb981a6d) merged on top (release build, no debug layer). The game passed the exact checkpoint in Day Release without crashing

(I'm still pretty new to GitHub — should I also post this test result directly in #4080, or just leave my issue #4934 open until the PR is merged?)

**@⁠hrk1337** on GitHub · 2026-12-01 16:36 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4933#issuecomment-7317884658) I tested `v2026.11.30.03` with #4080 (`eb981a6d`) merged on top (release build, no debug layer). The game passed the exact checkpoint in **Day Release** without crashing *(I'm still pretty new to GitHub — should I also post this test result directly in #4080, or just leave my issue #4934 open until the PR is merged?)*
Author
Owner

@⁠andrewpozdnakov7-jpg on GitHub · 2026-12-01 16:40 UTC · original

Yes, please post the result in #4080 and link back here. Include v2026.11.30.03 + eb981a6d, release build with the debug layer off, and that it passed the same Day Release checkpoint.

I'd leave this issue open while #4080 is in review. Your run verifies that the checkpoint passed with the patch. The incompatible-copy warning itself still has only the unpatched debug capture.

**@⁠andrewpozdnakov7-jpg** on GitHub · 2026-12-01 16:40 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4933#issuecomment-7318000953) Yes, please post the result in #4080 and link back here. Include `v2026.11.30.03` + `eb981a6d`, release build with the debug layer off, and that it passed the same Day Release checkpoint. I'd leave this issue open while #4080 is in review. Your run verifies that the checkpoint passed with the patch. The incompatible-copy warning itself still has only the unpatched debug capture.
github-bot changed title from v2026.11.30.03: Crush after ~1 hour of gameplay on RTX 5080 0x80070057 to v2026.11.30.03: 0x80070057 CopyTextureRegion call (BC3_TYPELESS -> BC7_TYPELESS) 2026-12-01 16:51:45 +00:00
Author
Owner

@⁠hrk1337 on GitHub · 2026-12-01 16:46 UTC · original

@⁠andrewpozdnakov7-jpg I've posted the test report in #4080 just as you asked. Thank you so much for your help and clear instructions — I couldn't have done it without you!

**@⁠hrk1337** on GitHub · 2026-12-01 16:46 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4933#issuecomment-7318220049) @⁠andrewpozdnakov7-jpg I've posted the test report in #4080 just as you asked. Thank you so much for your help and clear instructions — I couldn't have done it without you!
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#4934
No description provided.