revert(agc): order DCC clear fills against GPU writes in resident present (#13879) #14823

Merged
oneandonlydean merged 1 commit from upstream-pr/14823 into main 2026-11-01 19:19:21 +00:00
oneandonlydean commented 2026-11-01 18:46:28 +00:00 (Migrated from github.com)

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_write fails on main with "AGC graphics: resident snapshot size mismatch", which matches what #14473 reports.

Bisected over the first-parent merges between 26fa1212b8 (pass) and e67cc81869 (fail):

This 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_write 2/2 on this branch. The full agc_driver suite 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

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none (see #14473)
  • Unblocks: none
  • GPUs tested: NVIDIA GeForce RTX 4090, driver 610.57.04, CachyOS Linux 7.2.3
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5110436283 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14823). Originally posted by [oneandonlydean](https://github.com/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_write` fails on main with "AGC graphics: resident snapshot size mismatch", which matches what #14473 reports. Bisected over the first-parent merges between 26fa1212b8 (pass) and e67cc81869 (fail): - e6f57307fa (541b8515df's first parent): pass 2/2 - 541b8515df (#13879): fail 2/2 - main f2d874c1fd: fail 3/3 - this branch (main f2d874c1fd plus `git revert -m 1 541b8515df`): pass 2/2 This 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_write` 2/2 on this branch. The full `agc_driver` suite 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 - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except technical debt - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's technical debt file - [x] No notes, investigation `.md` files or images added to the repository - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none (see #14473) - [x] Unblocks: none - [x] GPUs tested: NVIDIA GeForce RTX 4090, driver 610.57.04, CachyOS Linux 7.2.3 - [x] AI-assisted: yes
MarcZX10 commented 2026-11-01 19:02:09 +00:00 (Migrated from github.com)

Imported 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 395d9bac5c43415bf63006a23c68d4f647f46a1f against base f2d874c1fdccf781c0fa5d86619bb5dd8894b958; 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.

python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 14823
git diff --check f2d874c1fdccf781c0fa5d86619bb5dd8894b958...395d9bac5c43415bf63006a23c68d4f647f46a1f
python3 tools/pr_stack_check.py 14823 --repo boykopovar/AnyPS5
gh pr checks 14823 --repo boykopovar/AnyPS5

Results

Check Result Note
Diff check passed No whitespace errors.
Conventions and PR template passed Precheck passed.
Merge preview passed Clean against the recorded base.
Hosted checks not run Windows is pending; Linux and specialized jobs were skipped.
Focused C++ tests not run No local build was made.
Precheck table and hosted check output

Unedited precheck check table:

Check Status Command / reason
build_and_compile not_applicable The precheck deliberately does not configure, build, or compile AnyPS5.
diff_check passed git diff --check f2d874c1fdccf781c0fa5d86619bb5dd8894b958...395d9bac5c43415bf63006a23c68d4f647f46a1f
conventions_and_pr_template passed /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
changed_export_abi_audit failed /usr/bin/python3 tools/pr_abi_audit.py --base f2d874c1fdccf781c0fa5d86619bb5dd8894b958 --head 395d9bac5c43415bf63006a23c68d4f647f46a1f --json
python_syntax not_applicable No changed Python implementation files.
related_python_unit_tests not_applicable No changed tools/ module has an existing sibling tools/tests/test_<module>.py suite.
python_test_registration not_applicable No changed test_*.py files.
live_dependency_and_mergeability_check passed /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/stack
build_dependent_cpp_tests not_applicable Not run: C++ tests need exact-head binaries, which require a build; the precheck does not build.
test_quality_heuristics failed /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.cpp
negative_controls not_applicable No changed Python test module in tools/ can be run as a no-build base-source control.

Raw output for the two helper failures:

/usr/bin/python3: can't open file '/tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-14823-395d9bac5c43/head-395d9bac5c43-d0cac275/tools/pr_abi_audit.py': [Errno 2] No such file or directory
/usr/bin/python3: can't open file '/tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-14823-395d9bac5c43/head-395d9bac5c43-d0cac275/tools/pr_test_quality.py': [Errno 2] No such file or directory

gh pr checks output at review time:

conventions pass 21s
labels pass 5s
windows pending 0
linux skipping 0
register-context skipping 0
relinker skipping 0
relinker-asan skipping 0
write-watch skipping 0
eligibility pass 4s
intake pass 3s
library-portability pass 1m20s
report pass 1m26s

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_write passed 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.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5729764362 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14823#pullrequestreview-5729764362). Originally posted by [MarcZX10](https://github.com/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 `395d9bac5c43415bf63006a23c68d4f647f46a1f` against base `f2d874c1fdccf781c0fa5d86619bb5dd8894b958`; 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. ```sh python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 14823 git diff --check f2d874c1fdccf781c0fa5d86619bb5dd8894b958...395d9bac5c43415bf63006a23c68d4f647f46a1f python3 tools/pr_stack_check.py 14823 --repo boykopovar/AnyPS5 gh pr checks 14823 --repo boykopovar/AnyPS5 ``` ## Results | Check | Result | Note | |---|---|---| | Diff check | passed | No whitespace errors. | | Conventions and PR template | passed | Precheck passed. | | Merge preview | passed | Clean against the recorded base. | | Hosted checks | not run | Windows is pending; Linux and specialized jobs were skipped. | | Focused C++ tests | not run | No local build was made. | <details><summary>Precheck table and hosted check output</summary> Unedited precheck check table: | Check | Status | Command / reason | |---|---|---| | build_and_compile | not_applicable | `The precheck deliberately does not configure, build, or compile AnyPS5.` | | diff_check | passed | `git diff --check f2d874c1fdccf781c0fa5d86619bb5dd8894b958...395d9bac5c43415bf63006a23c68d4f647f46a1f` | | conventions_and_pr_template | passed | `/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` | | changed_export_abi_audit | failed | `/usr/bin/python3 tools/pr_abi_audit.py --base f2d874c1fdccf781c0fa5d86619bb5dd8894b958 --head 395d9bac5c43415bf63006a23c68d4f647f46a1f --json` | | python_syntax | not_applicable | `No changed Python implementation files.` | | related_python_unit_tests | not_applicable | `No changed tools/ module has an existing sibling tools/tests/test_<module>.py suite.` | | python_test_registration | not_applicable | `No changed test_*.py files.` | | live_dependency_and_mergeability_check | passed | `/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/stack` | | build_dependent_cpp_tests | not_applicable | `Not run: C++ tests need exact-head binaries, which require a build; the precheck does not build.` | | test_quality_heuristics | failed | `/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.cpp` | | negative_controls | not_applicable | `No changed Python test module in tools/ can be run as a no-build base-source control.` | Raw output for the two helper failures: ```text /usr/bin/python3: can't open file '/tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-14823-395d9bac5c43/head-395d9bac5c43-d0cac275/tools/pr_abi_audit.py': [Errno 2] No such file or directory /usr/bin/python3: can't open file '/tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-14823-395d9bac5c43/head-395d9bac5c43-d0cac275/tools/pr_test_quality.py': [Errno 2] No such file or directory ``` `gh pr checks` output at review time: ```text conventions pass 21s labels pass 5s windows pending 0 linux skipping 0 register-context skipping 0 relinker skipping 0 relinker-asan skipping 0 write-watch skipping 0 eligibility pass 4s intake pass 3s library-portability pass 1m20s report pass 1m26s ``` </details> ## 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_write` passed 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 - [PR revert commit](https://github.com/boykopovar/AnyPS5/commit/395d9bac5c43415bf63006a23c68d4f647f46a1f) - [Reverted merge commit](https://github.com/boykopovar/AnyPS5/commit/541b8515df4ecf7d8e07545291a438f922c7348c) ## 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.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!14823
No description provided.