v2026.11.29.01 / .02: GPU hang in meshlet culling and "host command list did not close" on an RTX 5070 (both gone with the slower debug build) #3222
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 guilhermegomes380-debug on 2026-11-29T20:47:57Z.
Summary
On this PC the two new releases (v2026.11.29.01 at
829188e9and the hotfix v2026.11.29.02 at1082df39) stop within 1 to 3.5 minutes of starting, every time. The oldere1f2eb6(2026-11-29 morning) has never crashed here.There are two failures:
0x887A0006, DXGI_ERROR_DEVICE_HUNG) in an indirect compute dispatch ofmeshlet_culling:CS_BatchCullBatchCSMeshlets_6ab091a7_Wrapped(4fb416369fc50b6e). DRED records no page fault. Leaving the shader out (VICTORY_LEAVE_OUT) stops the hangs.The diagnostics build with
VICTORY_D3D12_DEBUG=1ran 30 minutes (about 28 in the world) with neither failure. The debug layer reports only resource-state errors, never the invalid command. Both failures seem to need full speed: a race between threads or between CPU and GPU.System
VICTORY_WC_NO_BACK=(off),VICTORY_TEXTURE_ROOM_PERCENT=94-Preload) before the runs.Runs
e1f2eb6release829188e9release (v2026.11.29.01)host command list did not close (0x80070057)after ~3 min, twice (once with the small-RAM settings from158d3177, which did not change it)1082df39release (v2026.11.29.02)1082df39diagVICTORY_D3D12_DEBUG=11082df39diagVICTORY_D3D12_DRED=light1082df39releaseVICTORY_INDIRECT_WIDE=01082df39releaseVICTORY_INDIRECT_WIDE=0,VICTORY_UAV_POOL=01082df39releaseVICTORY_LEAVE_OUT=02384a60fda6f2d0,731a39171b568298,4fb416369fc50b6ehost command list did not close (0x80070057)1082df39diagVICTORY_D3D12_DEBUG=1, sameVICTORY_LEAVE_OUTIn the fast release runs I also saw image glitches and wrong textures (a ceiling showing an unrelated poster texture for a moment). The slow debug runs were clean.
1. The hang: DRED (
VICTORY_D3D12_DRED=light)4fb416369fc50b6eismeshlet_culling:CS_BatchCullBatchCSMeshlets_6ab091a7_Wrapped(shaders.rpf@0xc3dd837).788fe236, "guard divergent wave64 loop latches"). It never happens withe1f2eb6's translator.VICTORY_INDIRECT_WIDE=0(6235b60c/ba0cbb7c) andVICTORY_UAV_POOL=0(63f38f15) do not prevent it.2. The close failure
Seen with v2026.11.29.01, and with v2026.11.29.02 once the meshlet shader was left out:
The release suggests the debug layer to name the command. With the debug layer on it does not happen at all (30 minutes), so it could not be named.
3. What the debug layer does report (30-minute run)
Only resource-state errors, all
id=538except three:ExecuteCommandLists/SetComputeRootShaderResourceViewCOPY_DEST(promoted from COMMON) used as a root SRV; expectedNON_PIXEL_SHADER_RESOURCECopyBufferRegionCOPY_DEST(assumed at first use)DrawInstancedNON_PIXEL|PIXEL_SHADER_RESOURCEread as stencil; expectedDEPTH_READSetGraphicsRootDescriptorTablePIXEL_SHADER_RESOURCEonly, used asNON_PIXEL|PIXELDispatch(id=1003)DATA_STATIC_WHILE_SET_AT_EXECUTEchanged to a writable state before the dispatch without being reboundThe first row looks like a missing barrier between a copy into a buffer and a compute read of it in the same
ExecuteCommandLists. At full speed that could make a dispatch read the buffer before the copy lands. The same could give garbage indirect arguments or descriptors, and the glitches seen only in the fast build.4. The diagnostics build of v2026.11.29.02 does not compile
cargo build --locked --profile diag -p victory --features diagnosticsat1082df39fails with 9 errors in two places. This fixed it here:timingis shadowed in that function bylet mut timing = (late && submission_timing()).then(...)(host.rs:8774), andmbis not in scope incopystat.rs.Logs are available on request.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by guilhermegomes380-debug on 2026-11-30T11:40:57Z.
Follow-up: v2026.11.29.04 is stable here. The stretched characters ("spikes") come from card steps, and
VICTORY_CARD_STEPS_LEARN=1fixes themSame PC as above (RTX 5070 12 GB, driver 621.40, Series X profile, 1080to1440, DLSS Quality).
v2026.11.29.04 fixed the hang. I did several sessions on it, the longest 48 minutes, and none hit DEVICE_HUNG.
What remained: stretched triangles on characters. They are long spikes textured with skin, beard or arm hair, coming off faces, arms and hands. They are worst at the start of the boat mission.
e1f2eb6has them too, so they are not new.What it was not
Each of these was tested at the boat. The spikes stayed the same every time:
ExecuteCommandLists(local switch)VICTORY_LDS_MESH_FREE=1(pipelines re-translated)VICTORY_LEAVE_OUT: the 4 hair programs translated as wave64 (CS_HairTileClassify,CS_GenBlurArgs,CS_ShadowRenderTiledMiscHair,CS_CalculateFireVolumes)VICTORY_LEAVE_OUT: all strand drawing (6VS_HairStrandGeometry, 2CS_VisHair)None of the 4,889 ped and skin mesh shaders print a wave64 retry under
VICTORY_WAVE_WHY=1.What it was
card_steps.rs(the doc comment abovemod late) describes this exact bug at the boat. With card steps on, the title rewrites some constant buffers after the submission that reads them was sent, and skinned characters and the boat throw vertices off. The launcher setsVICTORY_CARD_STEPS=2, andVICTORY_CARD_STEPS_LEARNis off by default.CARD_STEPS=2)VICTORY_CARD_STEPS=(off)CARD_STEPS=2+VICTORY_CARD_STEPS_LEARN=1In that last run it learned 12 pages. About 3.6 submissions a frame waited during the cutscene, and none elsewhere.
One caveat: the first run with
LEARN=1ended after about 2 minutes witha host command list did not close (0x80070057). That is the same error as in the report above, which also happened withoutLEARN. Two later runs withLEARN=1(9 and 48 minutes) were fine. I could not find any command in the learn path that would be invalid: the read-backCopyBufferRegionfrom the buffer between looks correct. So I can't say whether it was a coincidence.Proposal
Turn the learning on in the launcher, next to
VICTORY_CARD_STEPS = '2'inscripts/play-foxhound.ps1. Here is the one-commit patch on top oforigin/main(41adb551):Making
late::on()default to on would do the same incard_steps.rsitself, if you prefer.Logs are available on request.