Two invalid commands named by the D3D12 debug layer (CopyBufferRegion: COPY_DEST read as a source; CopyTextureRegion: BC7 256x256 destination vs R32G32B32A32 source) - host GPU failure in Chapter 2, Girls Trip, Delights Cabaret, RTX 5060 Ti #3539
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#3539
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?
@arbuzproject on GitHub · 2026-11-30 00:41 UTC · original
Host GPU failures on RTX 5060 Ti in Chapter 2, "Girls' Trip" (Delights Cabaret): two invalid commands named by the D3D12 debug layer
Repro on v2026.11.29.05 (release
victory.exe, SHA-25680612b22a3cb76503a361caf241afd54d110c64ffc2a6e0efd9b7edb30415a3f),Windows 11 26200, RTX 5060 Ti 8 GB, driver 32.0.16.2101, Ryzen 5 7500F, 32 GB.
Settings:
series-s,--res 1440, Series S picture 360 (640x360), DLSS ultraperformance(and one run with DLSS fully off: same crash), frame generation off,
VICTORY_RELAY=2,VICTORY_RELAY_COPY=1,VICTORY_TEXTURE_ROOM_PERCENT=90,VICTORY_LEVELS_ON_DEMAND=0,VICTORY_PANEL=0,VICTORY_FPS_LINE=0, 30 fps cap.Repro: one specific spot. In Chapter 2, the mission "Girls' Trip", in the location
Delights Cabaret: continue from the autosave (the game saves a checkpoint there) and play
8-10 minutes. The same spot failed on every attempt: 9 crashes, five of them this failure, on
v2026.11.29.01 and v2026.11.29.05, with DLSS on and off, at every texture room tried.
1.
Close()fails:CopyBufferRegionreads a shadow buffer that is a copy destinationAppears 37 seconds into a run (before any crash), in the relay's landing path:
crates/victory-gpu/src/host.rs,fn card_back(the stage-2 landing) doeswith no transition of
shadow.buffertoCOPY_SOURCE, and the same in the stage-1fetch (
check.as_ref().map_or(&pieces, |c| &c.copies)).A local patch that transitions each touched shadow buffer
COPY_DEST -> COPY_SOURCEbefore the copies and back afterwards made this message disappear and moved the crash
from ~8 to ~7 minutes with a different, later command (below). The patch used
crate::barstat::rb(list, &barriers)withtransition(...):(
let&listborrow fix in the stage-1 site: itslistis owned there.)2. Device removed:
CopyTextureRegionwith mismatched formatsWith the patch above, the next fatal command (7 minutes in) is:
So a 256x256
R32G32B32A32_TYPELESSsource is copied into a 256x256BC7_TYPELESSdestination; with BC7's 4x4 blocks the API reads the box in blocks, so the box has to be
64x64 blocks (or the copy has to go through a conversion). Whatever produces this copy
uses a host copy whose format differs from the title texture's.
Earlier runs without the debug layer showed the same failure as a device removal:
3. Scale of the state problem
A 7-minute run with
VICTORY_D3D12_DEBUG=1logs 126,000 validation messages:78,991 from
ID3D12CommandQueue1(mostly "Using SetComputeRootShaderResourceView ...Resource state (0x400: COPY_DEST) (promoted from COMMON state) ... is invalid"),
46,777 from
ID3D12CommandList, 195 fromCGraphicsCommandList, 71 fromID3D12PipelineLibrary, 2 fromID3D12Device(CreateReservedResource: layout64KB_UNDEFINED_SWIZZLE with format R32G8X24_TYPELESS is not tiled-capable).
Excluded
DLSS (a run with DLSS fully off crashed the same way), frame generation, resolution/picture
size (540/360),
VICTORY_TEXTURE_ROOM_PERCENT76/86/90,VICTORY_SAMPLED_EVICT0/1 (itreleased 0 textures of 68,593 idle ones — the eviction pass is a no-op here),
VICTORY_PIPELINE_BOOK=0/1,VICTORY_RELAY=1/2.Logs
Ready to attach: the play logs (
victory-nvidia-play-*.log, 73-79 MB with the debug layer,4-7 MB without) and
crashes.logwith 9 entries, 5 of them this failure.Attachments
Secret gist (link-accessible): https://gist.github.com/arbuzproject/a81569a183504d21e08131f2ca1c3491
crashes.log- all nine crash entries of this machine.debug-layer-summary.txt- the 79 MB play log of the run withVICTORY_D3D12_DEBUG=1, reduced: the settings line, every message category with counts, the distinct messages, theseverity=1(ERROR) ones, and the last 120 lines of the run.Related: #3493 (GPU removed on an RTX 5060), #3479 (device removed at the same spot, RTX 3060 6 GB).
@github-actions[bot] on GitHub · 2026-11-30 00:41 UTC · original
Please attach both logs from the run that went wrong. Without them we can only guess. Paste
%LOCALAPPDATA%into the address bar of File Explorer to get there.%LOCALAPPDATA%\victory\logs\: the newestvictory-nvidia-play-<date>-<time>-<number>.log(fromvictory.exe) orvictory-nvidia-<date>-<time>.log(from the script launcher). The window shows its path at the start, on the lineLog: ....%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newestvictory-<date>-<time>-<number>.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\.Also say which GPU, Windows version (10 or 11)
@arbuzproject on GitHub · 2026-11-30 00:42 UTC · original
GPU: NVIDIA GeForce RTX 5060 Ti, 8 GB (driver 32.0.16.2101). Windows: 11, build 26200. CPU: Ryzen 5 7500F, 32 GB RAM (the title commits ~26 GB in this scene).
Both logs are attached, plus the debug-layer summary, all in this gist: https://gist.github.com/arbuzproject/a81569a183504d21e08131f2ca1c3491
play-log-full-nondebug.log- the full play logvictory-nvidia-play-20261129-231549-360.log(v2026.11.29.05, 5 MB): the run that failed witha host command list did not close (0x80070057)and no debug layer, so it is the clean one.crashes.log- all nine crash entries of this machine.debug-layer-summary.txt- the 79 MB log of the run withVICTORY_D3D12_DEBUG=1(the one where the two named commands came from), reduced: the settings line, every message category with counts, the distinct messages, theseverity=1(ERROR) ones, and the last 120 lines of the run. The full 79 MB is too large for a gist - say the word and I will upload it in parts.Where it happens: Chapter 2, mission "Girls' Trip", location Delights Cabaret - the same spot every attempt, 8-10 minutes after resuming the autosave at that checkpoint. It is not DLSS (a run with DLSS fully off failed the same way), not frame generation, not
VICTORY_TEXTURE_ROOM_PERCENT(76/86/90), notVICTORY_SAMPLED_EVICT(it released 0 of 68,593 idle textures), notVICTORY_PIPELINE_BOOK, notVICTORY_RELAY=1/2.One detail that may narrow it down: with the relay landing copies given
COPY_DEST -> COPY_SOURCE -> COPY_DESTbarriers around them (patch in section 1), theCopyBufferRegionmessage disappears and the run then fails on theCopyTextureRegionone (section 2) instead. So the two are independent, and the second one is the one that still stops play.@Birdstappen223 on GitHub · 2026-11-30 23:56 UTC · original · edited 2026-12-01 02:11 UTC
I have the same issue. 0x887a0005
RTX 5080 Laptop (16GB VRAM) (NVIDIA Driver Version 596.49)
CPU: Intel Core Ultra 9 275HX
RAM: 32 GB
Windows 11
VILauncher 1.2.2
VIctory-NVIDIA
Series X
1080p
NO DLSS.
Commit:
e1251c3Mission: Girls' Trip
Crash 1: approaching the guys/Dunk rescue
Crash 2: same area
Crash 3: inside Delights Cabaret following Vicki
0x887A0005
Same crash occurs at multiple points in the mission.
victory-nvidia-play-20261130-225848-23756.zip
crashes.log
@Birdstappen223 on GitHub · 2026-12-01 02:14 UTC · original
Something may be accumulating during gameplay, streaming resources, translated pipelines, descriptors, memory/copies, etc.
I have reproduced this 4 times and each crash happened around 21-27 minutes of gameplay.
Another crash happened on the race track side mission.
victory-nvidia-play-20261201-013941-27860.zip