revert(agc): order DCC clear fills against GPU writes in resident present (#13879) #14823
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/14823"
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-01T18:46:28Z.
What
Replaces #14757 (same change; the commit subject now follows the conventional
revert(...)form the conventions check requires).Reverts #13879 (merge
541b8515df). Since it merged,agc_driver_dcc_keys_first_writefails on main with "AGC graphics: resident snapshot size mismatch", which matches what #14473 reports.Bisected over the first-parent merges between
26fa1212b8(pass) ande67cc81869(fail):e6f57307fa(541b8515df's first parent): pass 2/2541b8515df(#13879): fail 2/2f2d874c1fd: fail 3/3f2d874c1fdplusgit revert -m 1 541b8515df): pass 2/2This is a plain revert so main is green again. @sktharunbalaji13-cmd, the write-order fix is welcome back in a new PR once the resident snapshot path keeps its size; happy to help look at it.
Tested
CachyOS (Linux 7.2.3), NVIDIA GeForce RTX 4090, driver 610.57.04.
agc_driver_dcc_keys_first_write2/2 on this branch. The fullagc_driversuite has the same 10 failures on this branch as on main with #13879 still in (compared test by test), so the revert adds no new failures; those 10 come from #13931 and are handled separately.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 repositoryImported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-01T19:02:09Z.
Review: COMMENTED
Reviewed — no blocking findings
This exact-head review found no source-level blocker in the revert; the hosted Windows check is still pending, so I am withholding approval.
What I ran
Reviewed head
395d9bac5c43415bf63006a23c68d4f647f46a1fagainst basef2d874c1fdccf781c0fa5d86619bb5dd8894b958; the PR stack check reports a clean merge preview. Environment: Debian 12, Linux 6.1, Python 3.11.2, GCC 12.2.0, Git 2.39.5. I did not build or run C++ tests locally.Results
Precheck table and hosted check output
Unedited precheck check table:
The precheck deliberately does not configure, build, or compile AnyPS5.git diff --check f2d874c1fdccf781c0fa5d86619bb5dd8894b958...395d9bac5c43415bf63006a23c68d4f647f46a1f/usr/bin/python3 tools/check_conventions.py --base f2d874c1fdccf781c0fa5d86619bb5dd8894b958 --head 395d9bac5c43415bf63006a23c68d4f647f46a1f --title revert(agc): order DCC clear fills against GPU writes in resident present (#13879) --body /tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-14823-395d9bac5c43/pr-body.md/usr/bin/python3 tools/pr_abi_audit.py --base f2d874c1fdccf781c0fa5d86619bb5dd8894b958 --head 395d9bac5c43415bf63006a23c68d4f647f46a1f --jsonNo changed Python implementation files.No changed tools/ module has an existing sibling tools/tests/test_<module>.py suite.No changed test_*.py files./usr/bin/python3 /marc/AnyPS5/tools/pr_stack_check.py 14823 --repo boykopovar/AnyPS5 --output-dir /tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-14823-395d9bac5c43/stackNot run: C++ tests need exact-head binaries, which require a build; the precheck does not build./usr/bin/python3 /tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-14823-395d9bac5c43/head-395d9bac5c43-d0cac275/tools/pr_test_quality.py --root /tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-14823-395d9bac5c43/head-395d9bac5c43-d0cac275 --json core/libs/prx/libSceAgcDriver/Execution/include/DisplayBuffer.hpp core/libs/prx/libSceAgcDriver/Execution/src/DisplayBuffer.cpp core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp core/libs/prx/libSceAgcDriver/tests/DisplayBufferDcc.cpp core/libs/prx/libSceAgcDriver/tests/execution/DccKeysFirstWrite.cppNo changed Python test module in tools/ can be run as a no-build base-source control.Raw output for the two helper failures:
gh pr checksoutput at review time:Negative control
The PR removes the DCC regression tests introduced with the reverted change. I did not run those tests against this head because doing so requires a build.
Findings
Blocking
None found in the reviewed revert.
Non-blocking
The author reports that
agc_driver_dcc_keys_first_writepassed 2/2 on this branch on an RTX 4090; I did not independently reproduce that result. Linux and GPU-specific hosted jobs were skipped.Sources
Not verified
I did not build locally, run the AGC tests, verify the author's GPU result, or test Linux, Windows, or console runtime behavior. Hosted Windows CI had not completed; Linux and specialized jobs were skipped.
To get this to a good state
Please let the pending Windows check finish. I will refresh CI and, if it passes, recheck this same head before deciding whether approval is warranted.