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

Closed
oneandonlydean wants to merge 1 commit from upstream-pr/14757 into main
oneandonlydean commented 2026-11-01 17:46:46 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-11-01T17:46:46Z.


What

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 are a separate issue on this machine.

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:5109932285 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14757). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-11-01T17:46:46Z. --- ### What 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 are a separate issue on this machine. ### 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 17:57:32 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-01T17:57:32Z.

Review: CHANGES_REQUESTED


Reviewed — changes requested

The revert is supported by the reported Linux reproduction, but the PR title and revert commit subject both fail the repository’s required Conventional Commits check.

What I ran

Reviewed head 68d19c564b06d490a8216f76aa269743b8fdcec0 against base f2d874c1fdccf781c0fa5d86619bb5dd8894b958; the merge preview is clean. Environment: Linux x86-64, GCC 12.2.0, Python 3.11.2. I inspected the full revert diff and discussion, but did not build or run the AGC tests.

python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 14757
git diff --check f2d874c1fdccf781c0fa5d86619bb5dd8894b958...68d19c564b06d490a8216f76aa269743b8fdcec0
python3 tools/check_conventions.py --base f2d874c1fdccf781c0fa5d86619bb5dd8894b958 --head 68d19c564b06d490a8216f76aa269743b8fdcec0 --title 'Revert "fix(agc): order DCC clear fills against GPU writes in resident present" (#13879)' --body /tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-14757-68d19c564b06/pr-body.md
python3 tools/pr_stack_check.py 14757 --repo boykopovar/AnyPS5

Results

Check Result Note
Diff check passed No whitespace errors.
Conventional Commit rules failed Both the PR title and commit subject are rejected.
Merge preview passed Clean against current main.
Hosted CI not run Six checks remain pending on this head.
AGC runtime tests not run Requires a build and Vulkan GPU; the PR’s Linux and Windows runs are author/contributor-reported.
Raw check output
(pull request): error: [commit-subject] Commit subject is not Conventional Commits: 68d19c564b Revert "Merge pull request #13879 from sktharunbalaji13-cmd/feat/dcc-clear-write-order"
(pull request): error: [pr-title] Pull request title is not Conventional Commits: Revert "fix(agc): order DCC clear fills against GPU writes in resident present" (#13879)
2 findings, 2 errors; GitHub shows at most 10 error annotations, the job summary lists all

git diff --check exited successfully and printed nothing.

The stack checker wrote:

/tmp/anyps5-pr-stack/boykopovar-AnyPS5-pr-14757-68d19c564b06/stack-report.md
/tmp/anyps5-pr-stack/boykopovar-AnyPS5-pr-14757-68d19c564b06/stack-report.json

Its report says the merge preview is clean and no dependency was declared. The precheck itself concluded checks failed; its isolated checkout does not contain the local-only pr_abi_audit.py or pr_test_quality.py helpers. Those launch failures are not findings against the revert. The convention failure above was confirmed separately using the workspace checker.

Negative control

Not run: testing whether the reverted AGC behavior fails requires building and running the GPU test.

Findings

Blocking

  • PR title and commit subject violate the required format. The repository checker rejects both Revert "fix(agc): ..." (#13879) and the generated Revert "Merge pull request ..." subject. This makes the conventions check fail. Rename the PR with a Conventional Commit title and amend the revert commit subject to a valid revert(agc): ... subject; then rerun the conventions check.

Non-blocking

None found in the reviewed diff. The PR reports the focused regression 3/3 on Linux main and 2/2 after the revert; a contributor reports the same test passing on Windows with #13879 present. I read those reports but did not reproduce either run here.

Sources

Not verified

I did not build or run the test on Linux or Windows, exercise the validation-layer configuration, or test on a console. The contributor’s run reports are read-only evidence, not checks I ran.

To get this to a good state

Change the PR title and commit subject to valid Conventional Commit forms, then I will rerun the conventions check and review the updated head. The reported test evidence supports the revert; hosted checks are still pending.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5729458889 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14757#pullrequestreview-5729458889). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-01T17:57:32Z. **Review:** CHANGES_REQUESTED --- # Reviewed — changes requested The revert is supported by the reported Linux reproduction, but the PR title and revert commit subject both fail the repository’s required Conventional Commits check. ## What I ran Reviewed head `68d19c564b06d490a8216f76aa269743b8fdcec0` against base `f2d874c1fdccf781c0fa5d86619bb5dd8894b958`; the merge preview is clean. Environment: Linux x86-64, GCC 12.2.0, Python 3.11.2. I inspected the full revert diff and discussion, but did not build or run the AGC tests. ```sh python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 14757 git diff --check f2d874c1fdccf781c0fa5d86619bb5dd8894b958...68d19c564b06d490a8216f76aa269743b8fdcec0 python3 tools/check_conventions.py --base f2d874c1fdccf781c0fa5d86619bb5dd8894b958 --head 68d19c564b06d490a8216f76aa269743b8fdcec0 --title 'Revert "fix(agc): order DCC clear fills against GPU writes in resident present" (#13879)' --body /tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-14757-68d19c564b06/pr-body.md python3 tools/pr_stack_check.py 14757 --repo boykopovar/AnyPS5 ``` ## Results | Check | Result | Note | |---|---|---| | Diff check | passed | No whitespace errors. | | Conventional Commit rules | failed | Both the PR title and commit subject are rejected. | | Merge preview | passed | Clean against current `main`. | | Hosted CI | not run | Six checks remain pending on this head. | | AGC runtime tests | not run | Requires a build and Vulkan GPU; the PR’s Linux and Windows runs are author/contributor-reported. | <details><summary>Raw check output</summary> ```text (pull request): error: [commit-subject] Commit subject is not Conventional Commits: 68d19c564b Revert "Merge pull request #13879 from sktharunbalaji13-cmd/feat/dcc-clear-write-order" (pull request): error: [pr-title] Pull request title is not Conventional Commits: Revert "fix(agc): order DCC clear fills against GPU writes in resident present" (#13879) 2 findings, 2 errors; GitHub shows at most 10 error annotations, the job summary lists all ``` `git diff --check` exited successfully and printed nothing. The stack checker wrote: ```text /tmp/anyps5-pr-stack/boykopovar-AnyPS5-pr-14757-68d19c564b06/stack-report.md /tmp/anyps5-pr-stack/boykopovar-AnyPS5-pr-14757-68d19c564b06/stack-report.json ``` Its report says the merge preview is clean and no dependency was declared. The precheck itself concluded `checks failed`; its isolated checkout does not contain the local-only `pr_abi_audit.py` or `pr_test_quality.py` helpers. Those launch failures are not findings against the revert. The convention failure above was confirmed separately using the workspace checker. </details> ## Negative control Not run: testing whether the reverted AGC behavior fails requires building and running the GPU test. ## Findings ### Blocking - **PR title and commit subject violate the required format.** The repository checker rejects both `Revert "fix(agc): ..." (#13879)` and the generated `Revert "Merge pull request ..."` subject. This makes the conventions check fail. Rename the PR with a Conventional Commit title and amend the revert commit subject to a valid `revert(agc): ...` subject; then rerun the conventions check. ### Non-blocking None found in the reviewed diff. The PR reports the focused regression 3/3 on Linux `main` and 2/2 after the revert; a contributor reports the same test passing on Windows with #13879 present. I read those reports but did not reproduce either run here. ## Sources - [Conventional Commits requirement](https://github.com/boykopovar/AnyPS5/blob/f2d874c1fdccf781c0fa5d86619bb5dd8894b958/docs/dev/CONVENTIONS.md#L15) - [Checker’s accepted commit-title format](https://github.com/boykopovar/AnyPS5/blob/f2d874c1fdccf781c0fa5d86619bb5dd8894b958/tools/check_conventions.py#L52) - [The reverted DCC behavior at the reviewed base](https://github.com/boykopovar/AnyPS5/blob/f2d874c1fdccf781c0fa5d86619bb5dd8894b958/core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp#L3420) - [Additional Windows/Linux discussion and the supplied Linux stderr](https://github.com/boykopovar/AnyPS5/pull/14757#issuecomment-6561700244) ## Not verified I did not build or run the test on Linux or Windows, exercise the validation-layer configuration, or test on a console. The contributor’s run reports are read-only evidence, not checks I ran. ## To get this to a good state Change the PR title and commit subject to valid Conventional Commit forms, then I will rerun the conventions check and review the updated head. The reported test evidence supports the revert; hosted checks are still pending.

Pull request closed

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!14757
No description provided.