host command list did not close (0x80070057) still on v2026.11.29.05: the failed list is a decoration bake (diagnostics notes) #3901
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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ShalakZ on 2026-11-30T10:57:18Z.
Version: v2026.11.29.05 (main
41adb551) + two local commits that do not touch recording. Also on v2026.11.29.02.GPU: RTX 4080 16 GB, driver 621.40, Windows 11, i9-14900K, 64 GB. Series X profile, 2560x1440, DLSS off, frame generation off.
What happens:
a host command list did not close (0x80070057), the same as #452 (closed, asked to reopen as a new issue if it still happens on .05). In scripted runs from a new game it happens at about 200 s, at a scene change in the opening (also seen once at 74 s and once at 81 s). Rate on .02: diagnostics build 3 of 4 runs,--features abbuild 2 of 2; release build: scripted runs on defaults survived 3 of 3, runs with some switches changed crashed 2 of 3, and a hand-played run on defaults crashed at 368 s. On .05: diagnostics 1 of 1 at 209 s; ab and release 900 s runs survived.VRAM is not the trigger: crashed and surviving runs sit at the same card use (13.5-14.0 GB of a ~14.4 GB budget) at that moment, with no
host memory pressurewarning in the scripted crashes.Which list fails: without the debug layer (no Graphics Tools here), I made a diagnostics build log the list's notes (
note_op/note_read, kept withVICTORY_D3D12_DRED=1) beforefail()at the Close, and added both subresource indices and the source's host description to the title texture copy note (list.rs). In all 4 diagnostics crashes the failed list was a decoration-bake list:CopyTextureRegionsubresource to subresource, no box, BC1/BC3/BC7 (formats 71, 77, 78, 98, 99) from a 512x512 10-level host texture, level i+1, into a 256x256 9-level one, level i (18 to 108 notes per list). Every noted copy checks out (indices in range, source level no larger than destination level, same format), so the invalid command is one that writes no note, recorded in that same bake list: a barrier, an upload,readable, zeros, orcard_writeson the path frombring_bake_sources(draw.rs).VICTORY_BAKE_SOURCES=0did not stop it (crash at 410 s).VICTORY_TEXTURE_BACK=0did not stop it (crash at 74 s).Next I can try: add notes on those unnoted records and post which one it is. The log-the-notes change is small and diagnostics-only; I can open it as a PR if useful.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by github-actions[bot] on 2026-11-30T10:57:28Z.
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)
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by andrewpozdnakov7-jpg on 2026-11-30T11:04:11Z.
@ShalakZ, I checked the copies listed in your report in isolation on Windows WARP, in a diagnostics build from
41adb551. I used generated committed textures with the same 512Г—512 / 10-level source and 256Г—256 / 9-level destination, with source and destination already in their copy states. One direct command list copied each whole source leveli+1to destination leveliacross formats 71, 77, 78, 98 and 99.All 45 copies recorded,
Close()returnedS_OK, and the queue completed without device removal. That confirms the recorded size, format and mip pairing works in isolation on WARP. This fixture covered neither the rest of the bake list nor RTX behavior. The D3D12 debug layer did not activate on my system.Your proposed extra notes would help isolate the unrecorded commands. Could you post the notes from one failing list in recording order, including which operations come immediately before and after the texture copies? Barrier state before and after and a label for each upload or clear would be useful. #3880 reports the same
Closeerror on .05, but we would need matching command evidence to connect the two.AI-assisted with OpenAI Codex.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ShalakZ on 2026-11-30T12:04:05Z.
Named it. The command the runtime refuses is the placed-twin copy in
crates/victory-gpu/src/list.rs(copy_texture_region, the loop overcrate::resource::placed_twins(dst.resource), on by default viaVICTORY_PLACED_COPIED). It had no note, which is why every noted copy looked valid. Correction to my report: the list that failsCloseis the title's own copy list (host_list(this)), not the decoration-bake list.Evidence (diagnostics build,
VICTORY_D3D12_DRED=1, RTX 4080, driver 621.40, Windows 11, base v2026.11.29.05 + notes on every barrier, twin copy, zero fill and card write): the failing list had 112 notes (all kept). The only commands flagged as invalid were 7 twin copies:SUBRESOURCE_INDEX2..8 of a 1024x1024, 11-level, 1-layerDXGI_FORMAT_BC3_UNORM_SRGB(78) textureSUBRESOURCE_INDEX0..6 of the twin, 256x256, 7 levels, 1 layer,DXGI_FORMAT_BC7_UNORM_SRGB(99), at (0,0,0), null boxTwins in the same list with the same family (BC1 into BC1, 71/72) were fine.
placed_twinsmatches the block size only (element(pc_format(..))), so BC3 and BC7 (both 16-byte blocks) pair up, and the copy then goes texture to texture across typeless families.Repro in isolation (RTX 4080, no debug layer, a unit test):
Close()=0x80070057.Close()=S_OK.GetCopyableFootprintsgives the same offsets, sizes and row pitches for both halves (16-byte blocks). Texture (BC3) to buffer with footprint format 78, buffer to texture (BC7) with footprint format 99:S_OK, executed, and the BC7 levels read back bit-exact equal to the BC3 source levels. Footprint formats of the other family are refused on either side.So a fix that keeps the twins: when
family(src) != family(twin), send the twin copy through a buffer (out with the source format's footprints, in with the twin's), astexture::aliasalready does for views read in another format (that function itself needs equal level counts and the same index on both sides, so it cannot be reused as is). Skipping cross-family twins would also stop the crash but leaves those views stale. I have not yet confirmed in game that the crash stops (it hits about 1 run in 2-3 at a scene change ~200 s in); will report when I have.This likely is #3880 too, if its failing list has twin copies.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ShalakZ on 2026-11-30T15:41:17Z.
Fix posted as #4080: placed-twin copies across BC families now go through a buffer.
GetCopyableFootprints), then into the twin in the twin's format, with the title's box and place.In game (RTX 4080, driver 621.40, Win 11, v2026.11.29.05 + the fix, 2560x1440, DLSS off, RT off):
VICTORY_D3D12_DRED=1, 420 s: copies BC3_UNORM_SRGB (78) -> BC7_UNORM (98) went through a buffer at 69 s and 200 s. The lists closed and the run survived.Close2 times in 4, at about 206 s): all three survived, with nodid not close. One of them sent BC3_UNORM_SRGB (78) -> BC7_UNORM_SRGB (99) copies through a buffer at 69 s; the other two made no cross-family copy.Closeat 199-206 s in 11 runs and at 69-72 s in 2. Those are the times the copies now go through.D3D12 notes from the unit tests (RTX 4080):
right = 2on a 2x2 level) is valid texture to texture, butCloserefuses it on a 4x4 BC buffer footprint (0x80070057). Round it to whole blocks there.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by mindtao on 2026-12-01T06:12:10Z.
Independent confirmation of this
Close()failure on v2026.11.30.03 (RTX 5060 Ti 16 GB, driver 621.24, Windows 11 26100, Ryzen 5 9600X, 32 GB RAM). Profile: series-x, native 2560x1440 output, DLSS performance, frame generation off,VICTORY_TEXTURE_SOFT_MB=2048,VICTORY_TEXTURE_ROOM_PERCENT=70.crashes.logholds 7 entries of the same0x80070057:plus one
0x8007000Eat 2026-11-30 14:48:07Z and one device-removed at 2026-11-30 15:48:01Z.It is deterministic on this machine: my save sits directly before one specific story scene, so the game reaches the failing command list in 2-15 minutes every time, and it is the same place each run. In the one run where the release build logged the error itself:
Ruled out on this machine (none moved the crash):
VICTORY_D3D12_DEBUG=1on the release build: prints nothing, the release carries no command namingVICTORY_SKIP_PIPELINES=480d53fc48107a50,f41ec9d9437c021c: ignored by the release buildQuestion: is the #4080 twin route part of v2026.11.30.03? The PR is still open, and this looks like the same placed-twin copy across format families. Meanwhile I am testing
VICTORY_PLACED_COPIED=0on .03 to see whether the scene passes at all, and will report back either way.Full play log (5 MB) and
crashes.logavailable on request.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by andrewpozdnakov7-jpg on 2026-12-01T11:23:10Z.
I checked the
v2026.11.30.03tag. It does not include #4080.0x80070057alone doesn’t identify the failing command. Could you share the D3D12 validation line that names it from a diagnostics build withVICTORY_D3D12_DEBUG=1? That would let us check whether this is the placed-twin copy fixed by #4080.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ShalakZ on 2026-12-01T15:14:52Z.
@mindtao right, .03 doesn't have #4080 yet, the PR is still open. Two things you can try in the meantime:
VICTORY_PLACED_COPIED=0should get you past it if it's the same twin copy. It skips the copies into placed twins, so a few textures can end up stale, but it's a quick way to tell whether this is the same bug.I don't think the two "first bind" lines right before the error matter much here. They're just the last pipelines that got made before the list was closed. The command that gets refused is a texture copy in the title's copy list. If you can run a diagnostics build with
VICTORY_D3D12_DEBUG=1, the debug layer should print something like "The source format is BC3_TYPELESS and the destination format is BC7_TYPELESS" if it's this one.