D3D12 ID 1334 during CopyResource on a depth texture in DEPTH_STENCIL_WRITE #686

Open
opened 2026-12-06 01:36:34 +00:00 by Ondra · 0 comments
Contributor

Observed on v2026.12.05.01-test in Series X mode at 2560×1440 output with DLSS Quality, configured 2× DLSS frame generation, and the RTX 40 MFG unlocker enabled. Windows 11 build 26300.10075, RTX 4070 Ti SUPER, NVIDIA driver 621.40, Agility SDK 1.620.2, DARNER_D3D12_DEBUG=1, and DARNER_D3D12_DRED=1.

About eight minutes into gameplay, the debug layer started reporting ID 1334 for a 1728×960 depth texture on a direct command list. The texture was still in D3D12_BARRIER_LAYOUT_DEPTH_STENCIL_WRITE when CopyResource required D3D12_BARRIER_ACCESS_COPY_SOURCE or D3D12_BARRIER_ACCESS_COPY_DEST. The first cluster includes both access types on subresources 0 and 1.

Over about four minutes, the log recorded 1,613 source-access errors and 1,602 destination-access errors for the same texture. These counts are debug-layer messages, which can include multiple subresources for a copy. The log leaves the issuing code path and its connection to any visible artifact unresolved.

PR #600 is related work on alias-copy layout handling on pre-merge.

Observed on `v2026.12.05.01-test` in Series X mode at 2560×1440 output with DLSS Quality, configured 2× DLSS frame generation, and the RTX 40 MFG unlocker enabled. Windows 11 build 26300.10075, RTX 4070 Ti SUPER, NVIDIA driver 621.40, Agility SDK 1.620.2, `DARNER_D3D12_DEBUG=1`, and `DARNER_D3D12_DRED=1`. About eight minutes into gameplay, the debug layer started reporting ID 1334 for a 1728×960 depth texture on a direct command list. The texture was still in `D3D12_BARRIER_LAYOUT_DEPTH_STENCIL_WRITE` when `CopyResource` required `D3D12_BARRIER_ACCESS_COPY_SOURCE` or `D3D12_BARRIER_ACCESS_COPY_DEST`. The first cluster includes both access types on subresources 0 and 1. Over about four minutes, the log recorded 1,613 source-access errors and 1,602 destination-access errors for the same texture. These counts are debug-layer messages, which can include multiple subresources for a copy. The log leaves the issuing code path and its connection to any visible artifact unresolved. [PR #600](https://git.gtahub.st/TrustNo1/Darner/pulls/600) is related work on alias-copy layout handling on `pre-merge`.
TrustNo1 changed title from [rendering] D3D12 ID 1334 during CopyResource on a depth texture in DEPTH_STENCIL_WRITE to D3D12 ID 1334 during CopyResource on a depth texture in DEPTH_STENCIL_WRITE 2026-12-06 03:18:03 +00:00
Sign in to join this conversation.
No milestone
No project
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
TrustNo1/Darner#686
No description provided.