D3D12 Shadows - 4060 ti #751
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#751
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Alz97 on GitHub · 2026-11-24 09:29 UTC · original
There's an additional constraint: the command lists are recorded before being submitted. So tracking can't just read the current GPU state during recording, ignoring the order in which the lists will actually run.
The solution must respect the run order and any prelude lists.
State Conclusion
Initialized shadows in COMMON Demonstrated
Buffers can promote implicitly Documented
Buffers decay to COMMON at the end of submission Documented
Command lists of the same submission share state Documented
Shadows lack general state tracking Demonstrated
indirect::bound() assumes UAV Demonstrated
Possible vertex → UAV conflict Demonstrated as a possible path
This conflict causes the observed TDR Not yet demonstrated
Wave64 and shader incompatibility are separate issues Confirmed by logs
My conclusion: we’ve identified a possible structural cause of ResourceBarrier mismatches, concrete enough to justify an architectural fix. We shouldn’t yet blame it for the entire GPU crash.
The next step should be to examine the HostList code that creates, closes, gathers, and submits the lists, to precisely define where to insert tracking without violating execution order. Only then write.
@Alz97 on GitHub · 2026-11-24 09:31 UTC · original
I've added $env:VICTORY_D3D12_DEBUG="1" and $env:VICTORY_D3D12_DRED="1" .
Command:
.\target\diag\victory.exe run "D:\GTA6-xbox\GTA6.Xbox.v1.0.2.1-CYBERLEEK\game_scarlett_master.exe" --execute 2>&1 |
Tee-Object -FilePath "E:\VIctory\log_debug_completo.txt" on latest commit.
@Alz97 on GitHub · 2026-11-24 09:37 UTC · original
log_debug_completo.txt
@Marvisak on GitHub · 2026-11-25 03:50 UTC · original
Automated triage for the maintainers.
The analysis is right about
main. Shadow buffers (crates/victory-gpu/src/shadow.rs, created inCOMMONbyHost::shared_buffer) have no per-use state tracking.indirect::doneincrates/victory-gpu/src/indirect.rsmoves the argument buffer back toUNORDERED_ACCESSafter each indirect execution. This resource-state mismatch is tracked in #199. Open PRs for it: #1691 (tracks shadow-buffer states) and #334. As you say, it hasn't been shown to cause the device removal.@Alz97, to place the run itself, please add:
git rev-parse --short HEAD; "latest" changes several times a day);host GPU device removed .../crashes.loglines from the attached log.Generated by Claude Code