revert(agc): keep driver pipeline caches and costly compute pipeline binaries across updates (#13931) #14839
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/14839"
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 oneandonlydean on 2026-11-01T19:24:41Z.
What
Reverts #13931 (merge
d8b60b46ed).With the default settings (shader cache enabled), every Vulkan device creation on our NVIDIA test machine segfaults in the
PipelineBinaryStoreconstructor, right aftervkGetPipelineKeyKHRfor the global key (PipelineBinaryStore.cpp:127) returnsVK_SUCCESS. Tenagc_drivertests that set their own environment withoutANYPS5_NO_SHADER_CACHEreach that path and crash on main, for exampleagc_driver_small_copy_syncand the twoagc_driver_address_passestests. CI did not catch it because it runs on lavapipe and most AGC tests disable the shader cache.APS5_NO_PIPELINE_BINARIES=1avoids the crash.Whether the cause is the driver or how the call is made is not established yet. This is a plain revert so main is green on NVIDIA again; @liskeee, the work is welcome back in a new PR, and we're happy to run a candidate on the same machine. Details follow on #13931.
Tested
CachyOS (Linux 7.2.3), NVIDIA GeForce RTX 4090, driver 610.57.04, default shader cache, no
APS5_NO_*variables. Tree identical to this branch (mainf2d874c1fdplus the #13879 revert from #14823 and this revert):agc_drivertests: 10/10 passagc_driver_dcc_keys_first_write: 2/2 passagc_driversuite: 841/841 passChecklist
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 repositoryImported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-01T19:37:26Z.
Review: COMMENTED
Reviewed — approval withheld pending validation evidence
The revert is internally consistent and removes the pipeline-binary path, but I cannot verify the required matched Vulkan validation results from the PR evidence.
What I ran
Reviewed head
d6f1eccfe2a31dc4c0244808f3afd8fd73ed0faaagainst basee0caf1360035286bd22b9f2a3030e97b880ffb28; the exact-head merge preview is clean. Environment: Debian 12 x86_64, Python 3.11.2, GCC 12.2.0; I did not compile or build.Results
core/ordocs/.Precheck table and captured command output
The isolated-checkout helper errors were:
The workspace ABI audit fallback printed:
The full source-reference scan returned no matches (
reference_scan_exit=1);git diff --checkreturneddiff_check_exit=0.gh pr checks 14839 --repo boykopovar/AnyPS5:Negative control
Findings
Blocking
None found in the revert diff. It removes the
vkGetPipelineKeyKHRpipeline-binary path, its device setup, tests, registrations and documentation together. The revert also restores the source-version-scoped driver cache, so that cache is no longer retained across AnyPS5 updates; this is consistent with the stated full rollback.Non-blocking
The repository requires AGC changes to include comparable validation-layer runs on
mainand the change, with no missing-layer message or new VUIDs. The PR reports a 4090 run and says affected tests crash onmain, but I could not verify the required exact commands and logs from the PR description. The Windows hosted job is also pending, so approval is withheld.Sources
Not verified
No local C++ build, CTest run, NVIDIA or other GPU run, console behavior, or validation-layer log comparison was performed. The PR’s hardware test results are author-reported. The hosted Windows job was pending; Linux and specialized jobs were skipped.
To get this to a good state
Please add the focused
ctest -Vresults and validation logs for the affected tests onmainand this head, including the requested-layer and VUID checks, or explain why a matched baseline cannot complete because it crashes. Once the Windows job finishes and that evidence is available, I will recheck the exact head and the same requirements.