Random crash VICTORY_D3D12_DEBUG=1 #4319
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA#4319
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?
@ideeesign on GitHub · 2026-11-30 18:51 UTC · original
see logs and crash log
victory-nvidia-play-20261130-183012-32560.log
crashes.log
@tyr0nsur on GitHub · 2026-11-30 18:56 UTC · original
The play log identifies this run as
build=release. The final failure at 18:49:06 UTC isE_INVALIDARGfrom D3D12 command-listClose(). It has the same final HRESULT as #4246 and #4301. The debug-layer message is needed to tell whether they fail on the same recorded command.For this repro, please use the source launcher with
-Build diag -More VICTORY_D3D12_DEBUG=1and keep the settings and route the same. The source also acceptsvictory.exe play --set VICTORY_D3D12_DEBUG=1when that executable was built with--features diagnostics. The useful excerpt is the firstD3D12:error near the failure, or theno D3D12 debug layerwarning if Windows could not start it. Launch options · Debug setup@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 inlist.rs(copy_texture_region).placed_twinspairs 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 failsClose()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=0on 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.