AGC: since #25434, APS5_ASYNC_PIPELINE_WORDS no longer defers a slow first-visit pipeline; Afterglow (PPSA47770) exits again on NVIDIA #26186
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 Jazeupoi on 2026-11-23T12:27:49Z.
What happens
Since #25434,
APS5_ASYNC_PIPELINE_WORDSno longer defers a slow first-visit graphics pipeline:commitDrawcallsPrebuildGraphicsLibrariesOnFirstVisiton the draw-commit thread before the draw reaches the deferral check, so the driver compile runs there first. Afterglow (PPSA47770) on NVIDIA exits again with[ps5-agc] submission retirement failed; terminating application before cleanup.Title, test or build step
Afterglow (PPSA47770), catalog 01.000.006,
APS5_ASYNC_PIPELINE_WORDS=100000, with no NVIDIA shader cache entry for its large pixel shader (c6482fe5).AnyPS5 commit
mainf5b7e1d1ac. Comparison tree: the same commit with #25434's merge (9369da66f8) reverted (git revert --no-commit -m 1), and no other change.System
Windows 11 Pro (build 26300), AMD Ryzen 5 3400G, NVIDIA GeForce RTX 2060 (driver 621.24, Vulkan 1.4.357), WinLibs GCC 15.2.0 r7, Release.
Host report
Steps to reproduce
%LOCALAPPDATA%\NVIDIA\DXCacheandGLCache), so the driver has not compiled the title's large pixel shader.APS5_ASYNC_PIPELINE_WORDS=100000andAPS5_PROFILE_DRAW=1. Onmainit exits about 2 s after its first draw.Log
On
main, the title's own log (download0/hui/dev/app.log) ends with:With #25434 reverted, AnyPS5's log shows the deferral, then frames:
What was checked
mainf5b7e1d1ac,APS5_ASYNC_PIPELINE_WORDS=100000submission retirement failed, 0 framesAPS5_ASYNC_PIPELINE_WORDS=100000Without
APS5_ASYNC_PIPELINE_WORDS, the title stops in the same way with and without #25434. #25434 does not cause the default stop. It breaks the switch that avoids it.Where
mainwaits:mainrun shows thedraw-committhread insidenvgpucomp64.dll, called fromAgcDriver::Graphics::LinkPipelineFromLibraries.LinkPipelineFromLibrariesshows that call haspartsOnly=1. Its caller resolves toGraphics::Pipeline::Pipeline, on theprebuildingpath, whichPipeline::Prebuildreaches fromPrebuildGraphicsLibraries.PrebuildGraphicsLibrariesOnFirstVisitis called at the top ofDriver::commitDraw(Execution/src/Driver/Draw/Draw.cpp), before the draw gets toDefersPipelineBuildinGraphics/src/Draw.cpp.Graphics/src/Draw.cppshows that, onmain, the draw with the 1,814,000-word pixel shader never reaches it before the exit. With a warm driver cache it does reach it, withdefers=1.How long the compile takes on this card: with the title's wait raised in a local copy of the executable,
Vulkan.GraphicsPipelineLibrarytook 40,185 ms (details in the thread).Possibly relevant: #26084 also changes this part of
commitDraw(it moves the final link out of the GPU mutex), but it still builds the pipeline on the draw-commit thread.AI-assisted: yes (Claude Code)