AGC: Intel Iris Xe (Windows) driver crashes in vkGetPipelineCacheData from the pipeline cache saver thread about 10 s after start #4781
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 iDiesIrae-Req on 2026-10-12T21:38:00Z.
What happens
With
ANYPS5_GPU=Intel, DOOM Native Port (PPSA99666) and ccleste (PPSA59322) crash 3 of 3 runs at about 10.7 s. Both render at 60 FPS for 120 s on the NVIDIA GPU of the same machine. DOOM's report:The AnyPS5 frames on the stack resolve to:
AgcDriver::Graphics::PipelineCache::save(bool) + 256AgcDriver::Graphics::PipelineCache::run() + 113So the fault is inside the Intel driver during
vkGetPipelineCacheData(core/libs/prx/libSceAgcDriver/Graphics/src/PipelineCache.cpp:109-111). The call comes from the saver thread's first periodic save (SaveIntervalSeconds = 10), while the title's threads keep creating pipelines with the sameVkPipelineCache.Checks
ANYPS5_NO_SHADER_CACHE=1, so no cache directory and no saver thread, DOOM on the Intel GPU runs past 40 s (27 FPS) instead of crashing at 10.7 s.VkLayer_khronos_validation.dll.The cache is created without
VK_PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT, so concurrentvkGetPipelineCacheDataand pipeline creation is valid usage. This looks like an Intel driver bug that AnyPS5 runs into. A workaround could serialize the save against pipeline creation on Intel, or merge into a separate cache before reading it.Separately
ccleste with
ANYPS5_NO_SHADER_CACHE=1on the Intel GPU gets past 10.7 s but then stops withVkResult is ERROR_DEVICE_LOSTfrom the title's own Vulkan code at about 12.7 s. That is not caused by the saver. I will look at it separately.Environment
main1acfa7f78, Release, WinLibs GCC 15.2.0 r7.0x8086:0x46a6).apps/PPSA99666.json,apps/PPSA59322.json), unpacked from their fake-signed SELF and converted withrelinker --windows.Measured and written with Claude Code assistance.
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-14T02:41:08Z.
Closing: fixed on main by #4795 (pipeline cache snapshots are serialized against pipeline creation). If it still happens on current main, comment here with the title ID and the log line.