D3D12.X: the GPU hangs after thousands of dispatches put off to the submit (#2118) when the waits are bounded #2607
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 ivall/xcl. Originally posted by iggyvilla on 2026-11-26T02:21:02Z.
On
main08db802, a retail title hangs the GPU (device removed,0x887a0007) some time after its world start. This happens when dispatches whose pipeline is still being built are put off to the submit (#2118) and nothing waits there until the pipeline is built. WithXCL_PSO_WAIT_MS=1it happens onmainalone. #2581 reports the same setting on NVIDIA, ending inClose→E_OUTOFMEMORYand then a device removal; this is an RDNA2 run with noE_OUTOFMEMORY. Turning the put-off off (as #2581 does with a budget, and #2615 does always) made the hang go away in 3 of 3 walks. Its cause inside the put-off path is not found.Steps
main08db802, release build. Retail title, restored save, past the world start.XCL_PSO_WAIT_MS=1,XCL_NETWORK=0, everything else default (warm XCL and driver caches from earlier runs).What we saw (AMD Radeon RX 6650 XT 8 GB, RDNA2, driver 32.0.21045.29003, Ryzen 7 5700X, 32 GB RAM + 64 GB pagefile, Windows 11 26300; 360 s walks, one at a time)
main08db802XCL_PSO_WAIT_MS=1main08db802+ #2615 without itsdefercheck (no bind waits; put-off kept) + #751deferreturns false: no put-off) + #751Close→E_OUTOFMEMORYand the title's int3, not a removal)XCL_PSO_WAIT_MS=200main08db802main, and 659 of 35 326 in one of the others.Write64), with the memory one value short:XCL_DRED=1(one run with the put-off): No breadcrumb lines followed, so no list or pipeline is named.What is known / not known
list_x::deferred_segmentresets and closes each placeholder segment.record_deferredresets the list's own allocator throughalloc_pool, which takes another backing while one is in flight, and records the segments in order.inherit_for_split, thenpass_arenafrom segment to segment). An address left 0 there would fault at 0.mainwith default settings the submit waits until each pipeline is built, so this path is reached rarely: there it stops at the 2.4 MB compile first.Related
XCL_PSO_WAIT_MSis set; NVIDIA,Close→E_OUTOFMEMORY), #2615 (no wait to the end, and so no put-off).AI use