Reproducible 0x80070057 (command list did not close) ~2 min into the world (v2026.11.29.01, RTX 5070 Ti) #2237
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 Wazzabeee on 2026-11-29T10:53:31Z.
Environment
829188e), series-x profile, DLSS quality, VICTORY_NATIVE_SIZE=2560x1440 (the #2073 ultrawide workaround, ultrawide 3440x1440 monitor)victory-nvidia-play-20261129-100019-13880.log
victory-nvidia-play-20261129-100711-3004.log
Symptom
The game starts, reaches the world at ~40 fps, runs fine for ~2-2.5 minutes (frame ~21,000-22,000), then dies:
ERROR victory_gpu::host: a host command list did not close (Paramètre incorrect. (0x80070057)): a command recorded into it was invalid; a diagnostics build with VICTORY_D3D12_DEBUG=1 names the commandReproduced twice, at the same place in the game (first cutscene → world entry), with the same mesh pipeline first bound ~200 ms before the failure, both runs:
Why this does not look like #452 / #999
WARN victory_gpu::pool: no block of texture memorybefore the failure (0 occurrences in both logs). VRAM at the crash: ~11.1 GB used of a 14 GB budget; system RAM ~600-900 MB free, no0x8007000Eanywhere.d06e62a) is in829188e(verified locally:git merge-base --is-ancestor d06e62a HEADsucceeds).Ruled out
Next step from my side
Building the diagnostics profile (
cargo build --locked --profile diag -p victory --features diagnostics, see PR #2208) and rerunning withVICTORY_D3D12_DEBUG=1to get the named command. I will post the named command here.Questions
Both full run logs attached.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by oVolkra on 2026-11-29T11:11:09Z.
Thanks for the detailed report. I read the v2026.11.28.03 →
829188echanges invictory-gputhat touch this path. I didn't find a definitive cause by reading the code, but there is a strong lead, and two switches that already exist can confirm it.Why the
-maskpipeline matters. Pixel shaders ending in-maskare new in this release (0938dd9b, "Sample mask: masked draws discard the pixels OMSetSampleMaskX leaves out"). Before it, list slot 142 (OMSetSampleMaskX) was ignored. Now, a draw under a mask that leaves pixels out takes a "masked twin" of its pipeline, built on first use on a pipeline worker. That build is whenhost mesh pipeline shaders=[..., pixel ...-mask]is logged. So the crash coincides with the first LOD-fade mesh draws under a sample mask after the cutscene → world transition. The same release also started deduplicating host root signatures (815f58ce), which changes whenSetGraphicsRootSignatureis recorded.What I checked and found consistent: the masked bind (
State::prepare_for/State::bind) sets the masked pipeline's own root signature, PSO and root arguments. Mesh dispatch grids stay within the D3D12 limits (d84252e1). The Arc rest pipeline (VICTORY_MESH_REST) is off on NVIDIA.Could you try these, one at a time:
VICTORY_SAMPLE_MASK=0: masked twins are never used (the plain pipeline draws, as before #1407). If the crash goes away, the cause is in the sample-mask path.VICTORY_ROOT_CACHE=0: a fresh root signature per pipeline, as before815f58ce. This rules the dedup in or out.Also useful:
a sample mask that leaves samples out: masked draws discard those pixelsshortly before the error. It's logged once, at the first such mask.VICTORY_D3D12_DEBUG=1diagnostics run. The debug layer should name the exact command that madeClosefail withE_INVALIDARG.With that we can make a targeted fix instead of a guess.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by grosterr on 2026-11-29T11:23:36Z.
Another data point, from an RTX 3060 12 GB (driver as of 29.11), Ryzen 7 5700X, 32 GB RAM, Windows 11. Build:
829188eplus two local changes that don't touch the list path (the loader withoutconsole_insn, and #961VICTORY_AMBIENT_LEAN). Series S, DLSS Quality preset K, FSR 3 FG 2x,VICTORY_WAIT_RESIDENT=textures,VICTORY_CARD_AWAKE=0.The same
a host command list did not close (0x80070057), about 24 minutes in, during the boat mission:a sample mask that leaves samples out: masked draws discard those pixels mask=0xffffffffffff0000was logged early, about 25 s after start, well before the crash.-maskpixel pipelines were built during the run. The last ones (ce6c326aa0ed4e08-mask,126b708a47bba959-mask,8429a5ab281af82a-mask,bed1acf89bfed46a-mask) came 20 s before the error.So here it isn't tied to the first masked draws. I'll try
VICTORY_SAMPLE_MASK=0next and report back whether it still happens.Posted by Claude Code on behalf of the machine's owner.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Wazzabeee on 2026-11-29T11:33:09Z.
Tested both switches, one at a time, each from
victory-settings.txt, all on the release binary and the same scene (cutscene to world, crash point about 2 min in):VICTORY_SAMPLE_MASK=0: still crashed, same place. The switch was on and the log confirms no-maskpipelines were built. So the masked twins look cleared.VICTORY_ROOT_CACHE=0: no crash, two clean runs well past the point. The first one ran right after the sample mask crash, so the crash window looked open at the time. Two runs is still small given how intermittent this is, but both went clean while every run without the switch in the same window crashed. This points at the root signature dedup (815f58c).For completeness: the crash also went away on 3 runs with
VICTORY_GPU_TIMING=1on a diagnostics build, and it came back intermittently over the day (4 crashes in a row in the morning, then nothing for a while, then back).Happy to run it more or send any of the logs.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Wazzabeee on 2026-11-29T11:48:59Z.
fix up in #2305: the tracking of what a host list already has bound is now anchored to the list and its epoch, so a new recording cannot skip a
Set*RootSignatureit needs. Details and reasoning in the PR.Running a locally built release with the fix, on the faulty config (root cache on, no workaround switches). First run passed the crash scene where it had failed five times today, and the log is clean!
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by mia03ther on 2026-11-29T16:03:19Z.
Thanks for documenting this. I saw the same final error on the same release and driver with a different configuration:
v2026.11.29.01, NVIDIA 621.24, Windows 11 build 26300, Ryzen 9 8940HX, RTX 5070 Ti Laptop GPU (12 GB), 16 GB system RAM.This run used Series S, 540p internal, DLSS Performance, frame generation and ray tracing off, two pipeline workers, and on-demand texture levels off. The final log line came about 5m 32s after the first timestamp, including startup:
This was one occurrence, and I haven't identified the particular D3D12 command or confirmed that it matches the scene in the original report. Sharing it as a second hardware/configuration data point.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by CubeB on 2026-11-29T17:18:33Z.
Another data point: same
0x80070057"a host command list did not close". Setup:VICTORY_ROOT_CACHE=0already set.It still crashes with
ROOT_CACHE=0, just later. The last three runs ended 21, 16 and 30 minutes into play, each in a different place.Ruled out here, one at a time:
VICTORY_ALIAS_TARGETS: crashed with it at 0.D3D12 debug layer: I couldn't get it running to name the call.
D3D12GetDebugInterfacefails with0x887A002Dwith the OS runtime.D3D12Corebut still fails with0x887A002D.Warning about that Agility test: having an Agility runtime beside
victory.exemade the driver reject the saved pipeline library and overwrite it on exit. That run dropped to about 4 fps, and rebuilding with-Preloadfixed it.My next attempt is the debug layer with Streamline off, in case it is what blocks the layer. If someone already has the layer running on this crash, the name of the failing call would settle it. Logs available on request.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by tillo88 on 2026-11-30T12:44:44Z.
Same crash, same hardware, still there on v2026.11.29.05, and neither #2305 nor #3792 makes it go away on this route.
Data from an unattended replay bench, so the timing is comparable between runs: the same save is restored before every run (start of the game), and the controller input is played back with
VICTORY_INPUT_REPLAY(prison cutscene, plane cutscene, first boat section, about 6 minutes). Release builds, Series X 1440p, DLSS Quality, frame generation off, ray tracing off, no workaround switches. Ryzen 7 9800X3D, RTX 5070 Ti 16 GB (driver 621.40), 32 GB RAM, Windows 11.523485b)"list close" is
a host command list did not close (0x80070057), "device lost" isrelay: the device was lost. Runs include the warm-up runs, as only crashes are counted here; one #3792 launch that ended after 3 s is left out.When it happens, counted from the first log line:
[mesh 480d53fc48107a50, pixel f41ec9d9437c021c-mask]is made (+2:15) at the cut from the prison cutscene to the plane cutscene (the pipeline from the original report). That pipeline is made at the same second in every run, crashed or not. The three crashes with #3792 came at exactly this second too.With these counts none of the differences between the three rows is beyond chance. #3792's log line
a copy into a view placed over a texture the host copied into is left outdid not appear in any of its 14 runs, so the log doesn't show whether the held-copy level case it fixes happens on this route at all; either way, the list still fails to close at the same second.Separate from this: twice the game itself stopped on
unhandled exception 0xc0000005 at victory-image-...dll+0x2ab96f (read 0xffffffffffffffff), once with #2305 and once with #3792, both in the boat section.I can run the same route with
VICTORY_SAMPLE_MASK=0or any other switch that helps narrow it down. A diagnostics build with the debug layer would name the command; I haven't got that running yet.Measured unattended on a replay bench (same save, recorded controller input via VICTORY_INPUT_REPLAY); numbers and text prepared with Claude.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by tillo88 on 2026-11-30T21:17:10Z.
This was closed as fixed by #2305, but on my replay bench the same failure is still there on the releases that include it, at the same point:
a host command list did not close (0x80070057)at the prison → plane cutscene cut, +2:14 to +2:17 after the log starts, right after the masked twin[mesh 480d53fc48107a50, pixel f41ec9d9437c021c-mask]is made.Runs include warm-up runs, since only stops are counted here. One v2026.11.30.03 run where the route never started is left out.
Two switches from the thread above, on v2026.11.29.05:
VICTORY_SAMPLE_MASK=0: the masked twin is never made (no-maskpipeline in the logs), and the list still fails to close: 3 of 13 runs (2 at the cut, 1 at +2:36). So the masked twin seems to mark the moment rather than cause it.VICTORY_ROOT_CACHE=0: queued, not measured yet.Could this be reopened, or should it go to a new issue? I can keep running the route on each release and with any switch or PR that helps narrow it down.
Ryzen 7 9800X3D, RTX 5070 Ti 16 GB (driver 621.40), 32 GB RAM, Windows 11, release builds, Series X 1440p, DLSS Quality, frame generation off, ray tracing off. Same save restored before every run, controller input played back with
VICTORY_INPUT_REPLAY(prison cutscene, plane cutscene, first boat section, about 6 minutes).Measured unattended on a replay bench (same save, recorded controller input via VICTORY_INPUT_REPLAY); numbers and text prepared with Claude.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by tillo88 on 2026-12-01T12:09:57Z.
Follow-up on v2026.11.30.03 with more base runs, the four open PRs that fix the cross-family
CopyTextureRegioninto placed twins (BC3 → BC5/BC7, #3901), and #4453 (VICTORY_UAV_FOLDoff). Same bench and route as above.Warm-up runs are included, since only stops are counted; one #4453 launch that failed before the game started is left out. Base errors:
a host command list did not close (0x80070057)2 times,relay: the device was lost ... (0x887A0006)3 times. Both #4453 stops at the cut weredid not close (0x80070057).0 of 30 runs with any of the four copy fixes, against 5 of 27 on the bare release. If the fixes did nothing, that split would come by chance about 2% of the time (Fisher's exact test).
The PRs' own log lines appear at or before the failure points:
bounced cross-format texture copyat +2:16 in 2 runs: BC3_UNORM_SRGB (78) → BC5_UNORM (83) in one, 78 → BC7_UNORM/BC7_UNORM_SRGB (98/99) in the other;a copy into a placed twin of another format family ... through_a_buffer=true(78 → 98/99) at +2:37 in 1 run;... is left out ... why="other format family"12–16 times in every run, between +0:41 and +1:53 (it logs only the first 16).All of those runs went on to the end of the route.
With
VICTORY_UAV_FOLDoff (#4453) and no copy fix, the list still failed to close at the cut in 2 of 7 runs, so on this bench the fold is not the cause.The masked twin
[mesh 480d53fc48107a50, pixel f41ec9d9437c021c-mask]is still made at +2:14/+2:15 in every run, with or without a fix.So on this bench, the crash in this issue looks like the cross-family texture copy of #3901, not the masked-twin pipeline, which is made about a second earlier at the same cut. Linking this issue to #3901 / #4080 may help others who land here.
VICTORY_ROOT_CACHE=0, suggested earlier in this issue as a way around the crash: 12 runs plus a warm-up on v2026.11.30.03 with no PR, against the bare release (now 33 runs: the 27 above plus 6 more control runs).VICTORY_ROOT_CACHE=0a host command list did not close (0x80070057), about a second after the masked twin was made, and 1 wasrelay: the device was lost ... (0x887A0006), before the twin was logged. So on this benchVICTORY_ROOT_CACHE=0does not avoid this crash: 3 of 13 at the cut against 3 of 33 on the bare release (too few runs to call it worse).VICTORY_ROOT_CACHE=0: 32.00 fps mean over 8 complete runs, against 31.99 for the release (18 runs): no difference.Ryzen 7 9800X3D, RTX 5070 Ti 16 GB (driver 621.40), 32 GB RAM, Windows 11, release builds, Series X 1440p, DLSS Quality, frame generation off, ray tracing off. Same save restored before every run (prison cutscene, plane cutscene, first boat section, about 6 minutes).
Measured unattended on a replay bench (same save, recorded controller input via VICTORY_INPUT_REPLAY); numbers and text prepared with Claude.