fix(libSceAgcDriver): skip queue-0 dispatch while compute pipeline builds #24815
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/24815"
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 rolling-codes on 2026-11-21T04:13:01Z.
What
Cold NVIDIA Vulkan pipeline builds of 1.2–2.6 M-word SPIR-V block the queue-0 worker 106–506 s while
nvgpucomp64.dllJIT-compiles the shader (CreateComputePipeline). The queue-0 worker is the only thread that processes GPU submissions, so stalling it stalls all GPU work.Add
ComputePipelineBuilt(checks onlycomputePipelines, not the in-progresscomputePipelinesBuildingmap) and a guard inDispatch::dispatchthat:SubmitComputePrebuildon the first miss so the pipeline builds off the queue-0 thread.Subsequent dispatches for the same shader proceed normally once the entry appears in
computePipelines.Tested
Not tested — no GPU available to run the AGC test suite. The diagnostic data in issue #24525 was used to identify the root cause; the fix reuses the existing
SubmitComputePrebuildandHasComputePipelinepatterns already present in the driver.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repositoryPull request closed