agc_driver_gated_dispatch_capture hangs the GPU on Intel UHD 620 (i915 preemption timeout) #3345
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 boykopovar/AnyPS5. Originally posted by benadizd on 2026-10-11T08:22:56Z.
agc_driver_gated_dispatch_capturehangs the GPU on Intel UHD 620 (i915). The kernel resets the render ring after a preemption timeout and the test fails withVK_ERROR_DEVICE_LOST.Environment
6a8f0ebb(main); the test was added ine802fd40(#1864)8086:3ea0mesa-vulkan-drivers-26.2.4-1.fc44), Vulkan 1.4.354Reproduce
Fails every time, both alone and in a full parallel run (4 of 4 standalone runs). It passed once alone at the earlier commit
1690db9a.Test output
After about 10 seconds:
Kernel log
Notes
The gated dispatch waits on a label that another queue writes. On this GPU, the wait does not finish before i915's preemption timeout, so the kernel resets the context. #2832 (
WAIT_REG_MEMtiming out while the label is pending on another queue) may share a cause.All other 786 tests passed, apart from 2 precision checks (
sin_cos_near_zero,vop1_float_unary; the latter is also listed for UHD 770 in #2114).AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by Silverash-i8 on 2026-10-11T08:28:52Z.
Same failure on Windows with an Arrow Lake iGPU (Core Ultra 9 275HX, Intel driver 101.8991), WinLibs GCC 15.2.0 r7, Release,
ANYPS5_GPU=Intel:after about 10.5 s, with a burst of
LiveKernelEvent 141(the Windows GPU watchdog, the counterpart of the i915 reset here) at the same second. It fails on currentmain(3 of 3 just now) and on961b25feandd31b57a4. Some runs exit with0xc0000374instead, which I've been following on #3171; those die right after the samedropped 1 queued labelsline.It hasn't always failed here, though. Earlier the same night it passed on this iGPU (
d31b57a4in a full run; on961b25fe, 2 of the first 3 runs passed in about 3.4 s), and it only started failing consistently after a series of watchdog resets while I was testing #2985 (#2832). I took that for a driver stuck in a bad state. With your report showing the same thing on a UHD 620 under Linux, the dispatch simply running longer than the watchdog allows on a slow iGPU seems at least as likely, so pass or fail may depend on clocks and load. The RTX 5060 in the same machine passes it 10/10 in about 1.8 s.AI-assisted (Claude Code); I ran all of this on my machine.
Imported from boykopovar/AnyPS5. Originally posted by Silverash-i8 on 2026-10-11T13:45:22Z.
Follow-up on my Arrow Lake report above, now that the iGPU behaves again: on current
maina11c8f7f(Windows 11, Intel driver 101.8991, WinLibs GCC 15.2.0 r7, Release,ANYPS5_GPU=Intel,ANYPS5_NO_SHADER_CACHE=1),agc_driver_gated_dispatch_capturepasses 19 of 20 direct runs, each in about 3.4 to 3.6 s.The one failure is the same as before:
dropped 1 queued labels: their record failed, thenvkWaitForFences recorder: Vulkan result -4, and the Windows event log has a burst ofLiveKernelEvent 141(GPU watchdog) at 16:43:46 to 16:43:47 local time, the run having ended at 16:43:48. None of the passing runs has a 141 event.So on this iGPU it's intermittent rather than consistent; the 3 of 3 failures in my first comment came after a long series of watchdog resets that night. The occasional failure still fits a slow iGPU occasionally taking the dispatch past the watchdog limit, as with your UHD 620, but these runs don't establish that.
AI-assisted (Claude Code); I ran all of this on my machine.
Imported from boykopovar/AnyPS5. Originally posted by David-cmrg on 2026-10-11T17:21:26Z.
Reproduced on Intel HD Graphics 520 (SKL GT2), Mesa 26.2.4 ANV, Fedora 44, kernel 6.19.10 (i915,
preempt_timeout_ms640),maina11c8f7f: fails 3 of 3 with the sameResetting rcs0 for preemption time outandGPU HANG: ecode 9:1:85ddfffa. The producer's single 2^26-iteration dispatch runs for about 3.1 s here.Fix in #3833: the same iterations as 64 dispatches of 2^20 (50 ms each). It passes 23 of 23 runs with no reset.
AI-assisted: yes (Claude Opus 5.5)