fix(agc): count REWIND tail flips as capture frame boundaries and retry a busy capture start #12565

Merged
chitters2004 merged 11 commits from upstream-pr/12565 into main 2026-11-10 00:14:23 +00:00
chitters2004 commented 2026-10-28 20:44:26 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by chitters2004 on 2026-10-28T20:44:26Z.


What

Frame capture never started on a title that presents through REWIND tails (#12235):

  • A flip that executeRewindTail attaches to a released REWIND tail never reached FrameRecorder::FrameBoundary. The driver now counts tails that carry a flip (Driver::RewindTailFlips), and the recorder takes the count as frame boundaries, under its lock, at the title's next Submit, ReserveEopFlip or SubmitFlip. The baseline is taken once the driver is idle, before the snapshot, so tail flips that drained before the capture started are not counted as captured frames.
  • start() waited up to 10 s for idle at each boundary and gave up after five, so a queue parked on memory only the title stores blocked the title for 10 s per boundary and the capture never started. WaitIdleUnlessTitleWaitsFor stops waiting as soon as a queue waits on memory only the title can store (awaitsTitle), and the start is retried at the next boundary, up to 600.

The BUILD.md frame capture section and the debt entry describe the new start.

Overlap: #10760, #11447 and #12452 edit the same lines of docs/dev/debt/libSceAgcDriver.md (L82-83 on main). As agreed with @lgqdaxia (comment), #10760 merges first and this PR rebases onto it, keeping both edits. As agreed with @Tehshortbus, #12452 merges next and this PR keeps both edits when it rebases onto it. As agreed with @iamthehimansh (comment), #11447 merges after this PR and keeps both edits when it rebases; its Depends on line lists this PR. The BUILD.md tests are in a paragraph of their own, so this does not conflict with #11435 and #11436.

Tested

Windows 11 Pro 26220, WinLibs GCC, Ninja Release, NVIDIA GeForce RTX 3080 (driver 621.01).

New tests in agc_driver_frame_capture_eop_tests:

  • agc_driver_frame_capture_rewind makes the six EOP flips from REWIND tails and checks that they start the capture and that it holds three frames. With main's Execution/ sources it fails: flips made by rewind tails did not reach the frame recorder, so the capture did not start. With this PR it passes in 0.2 s.
  • agc_driver_frame_capture_rewind_held releases each REWIND only after its thread's next call returns, then checks that no call waits at a busy boundary and that the capture starts at the first idle one. With the tail-flip count but main's start(), it fails after 40 s: a driver call waited 10017 ms at a frame boundary for a REWIND its thread releases after the call. With this PR it passes in 0.3 s.

Paired run on main and this branch merged into it, same machine and GPU, full builds with submodules at their pinned commits, ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation ctest --test-dir build -R "frame_(capture|replay)|sample_multisample_target" -V: main at 1a217758a5: 12 tests, all passed, 0 VUID- lines; this branch at 1587cb79ea (main 1a217758a5 merged in, including the HostOnlySampleRanges capture reads in FrameRecorder.cpp) merged into it (ab7bfc7b1f, same tree): 14 tests, all passed, 0 VUID- lines. Neither log contains was not found but was requested by env var VK_INSTANCE_LAYERS.

GTA V (PPSA04263, North Yankton prologue), with this PR and the other three of this series applied (host-only multisample snapshot, settled deltas, GPU stores in deltas): a capture triggered during gameplay starts at the first boundary after the trigger (3.3 GiB snapshot in 5.3 s) and records 3 frames. On main it does not start, as #12235 reports.

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 (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: #10760, #12452
  • Fixes: Fixes #12235
  • Unblocks: none
  • GPUs tested: NVIDIA GeForce RTX 3080, driver 621.01, Windows 11 Pro 26220
  • AI-assisted: yes

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5057418398 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12565). Originally posted by [chitters2004](https://github.com/chitters2004) on 2026-10-28T20:44:26Z. --- ### What Frame capture never started on a title that presents through REWIND tails (#12235): - A flip that `executeRewindTail` attaches to a released REWIND tail never reached `FrameRecorder::FrameBoundary`. The driver now counts tails that carry a flip (`Driver::RewindTailFlips`), and the recorder takes the count as frame boundaries, under its lock, at the title's next `Submit`, `ReserveEopFlip` or `SubmitFlip`. The baseline is taken once the driver is idle, before the snapshot, so tail flips that drained before the capture started are not counted as captured frames. - `start()` waited up to 10 s for idle at each boundary and gave up after five, so a queue parked on memory only the title stores blocked the title for 10 s per boundary and the capture never started. `WaitIdleUnlessTitleWaitsFor` stops waiting as soon as a queue waits on memory only the title can store (`awaitsTitle`), and the start is retried at the next boundary, up to 600. The BUILD.md frame capture section and the debt entry describe the new start. Overlap: #10760, #11447 and #12452 edit the same lines of `docs/dev/debt/libSceAgcDriver.md` (L82-83 on `main`). As agreed with @lgqdaxia ([comment](https://github.com/boykopovar/AnyPS5/pull/12565#issuecomment-6482353084)), #10760 merges first and this PR rebases onto it, keeping both edits. As agreed with @Tehshortbus, #12452 merges next and this PR keeps both edits when it rebases onto it. As agreed with @iamthehimansh ([comment](https://github.com/boykopovar/AnyPS5/pull/11447#issuecomment-6512613987)), #11447 merges after this PR and keeps both edits when it rebases; its Depends on line lists this PR. The BUILD.md tests are in a paragraph of their own, so this does not conflict with #11435 and #11436. ### Tested <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> Windows 11 Pro 26220, WinLibs GCC, Ninja Release, NVIDIA GeForce RTX 3080 (driver 621.01). New tests in `agc_driver_frame_capture_eop_tests`: - `agc_driver_frame_capture_rewind` makes the six EOP flips from REWIND tails and checks that they start the capture and that it holds three frames. With `main`'s `Execution/` sources it fails: `flips made by rewind tails did not reach the frame recorder, so the capture did not start`. With this PR it passes in 0.2 s. - `agc_driver_frame_capture_rewind_held` releases each REWIND only after its thread's next call returns, then checks that no call waits at a busy boundary and that the capture starts at the first idle one. With the tail-flip count but `main`'s `start()`, it fails after 40 s: `a driver call waited 10017 ms at a frame boundary for a REWIND its thread releases after the call`. With this PR it passes in 0.3 s. Paired run on `main` and this branch merged into it, same machine and GPU, full builds with submodules at their pinned commits, `ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation ctest --test-dir build -R "frame_(capture|replay)|sample_multisample_target" -V`: `main` at `1a217758a5`: 12 tests, all passed, 0 `VUID-` lines; this branch at `1587cb79ea` (`main` `1a217758a5` merged in, including the `HostOnlySampleRanges` capture reads in `FrameRecorder.cpp`) merged into it (`ab7bfc7b1f`, same tree): 14 tests, all passed, 0 `VUID-` lines. Neither log contains `was not found but was requested by env var VK_INSTANCE_LAYERS`. GTA V (PPSA04263, North Yankton prologue), with this PR and the other three of this series applied (host-only multisample snapshot, settled deltas, GPU stores in deltas): a capture triggered during gameplay starts at the first boundary after the trigger (3.3 GiB snapshot in 5.3 s) and records 3 frames. On `main` it does not start, as #12235 reports. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [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](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: #10760, #12452 - [x] Fixes: Fixes #12235 - [x] Unblocks: none - [x] GPUs tested: NVIDIA GeForce RTX 3080, driver 621.01, Windows 11 Pro 26220 - [x] AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code)
MarcZX10 commented 2026-10-28 20:59:46 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-28T20:59:46Z.

Review: CHANGES_REQUESTED


Findings

Blocking: overlapping debt-entry edits have no agreed merge order or declared dependency

The PR body identifies overlapping edits to docs/dev/debt/libSceAgcDriver.md with open PRs #10760, #11447 and #12452, but its checklist says Depends on: none. I checked that all three are still open, and found no discussion agreeing which change should merge first. The repository contribution rules say to agree on the order with the overlapping PR authors and declare the dependency on the checklist.

Please coordinate the order with the affected authors and update the checklist to name the PR(s) that must land first. If the intended order is that this PR lands before the others, record that agreement in the overlap discussion; otherwise rebase after the agreed predecessor(s). I am not requesting any change to the implementation based on this finding.

Checks

  • The exact PR head's Windows job passed; eligibility, conventions, intake, labels and report checks passed. Linux product tests were skipped by the workflow.
  • I read the last-commit implementation and regression tests. I have not independently built or run the AGC/Vulkan tests.
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5689621783 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12565#pullrequestreview-5689621783). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-28T20:59:46Z. **Review:** CHANGES_REQUESTED --- ## Findings ### Blocking: overlapping debt-entry edits have no agreed merge order or declared dependency The PR body identifies overlapping edits to `docs/dev/debt/libSceAgcDriver.md` with open PRs #10760, #11447 and #12452, but its checklist says `Depends on: none`. I checked that all three are still open, and found no discussion agreeing which change should merge first. The repository contribution rules say to agree on the order with the overlapping PR authors and declare the dependency on the checklist. Please coordinate the order with the affected authors and update the checklist to name the PR(s) that must land first. If the intended order is that this PR lands before the others, record that agreement in the overlap discussion; otherwise rebase after the agreed predecessor(s). I am not requesting any change to the implementation based on this finding. ## Checks - The exact PR head's Windows job passed; eligibility, conventions, intake, labels and report checks passed. Linux product tests were skipped by the workflow. - I read the last-commit implementation and regression tests. I have not independently built or run the AGC/Vulkan tests.
MarcZX10 commented 2026-10-29 07:24:53 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-29T07:24:53Z.

Review: CHANGES_REQUESTED


Re-checked — changes requested

The author has recorded the agreed #10760-first order, and #10760’s author confirmed it. The two other open overlaps, #11447 and #12452, still have not confirmed the proposed order. Current main has also changed this PR’s CMake and debt files since its base.

What I ran

  • Refreshed current PR metadata, comments and hosted checks.
  • Compared the PR with current main and pairwise merge previews with #10760, #11447 and #12452.
  • Ran git diff --check.
  • Did not run a local build or test.

Results

Check Result
Current-main merge preview Clean
Pairwise preview with #10760 Debt-file conflict
Pairwise preview with #11447 Debt-file conflict
Pairwise preview with #12452 Debt-file conflict
git diff --check Pass
Hosted Windows, conventions, eligibility, intake, labels and report Passed
Hosted Linux product and specialized jobs Skipped
Author-reported NVIDIA test run Previously reviewed; not rerun here
Unedited local check output
$ git merge-base upstream/main refs/review/upstream-12565
319621ba2e578bd053b0baba2877fe70520e0737
$ git rev-list --left-right --count upstream/main...refs/review/upstream-12565
270 1
$ git merge-tree --write-tree upstream/main refs/review/upstream-12565
375684f2b237342beb0771df182a8d6f8e552225
$ git merge-tree --write-tree refs/review/upstream-12565 refs/review/upstream-10760
CONFLICT (content): docs/dev/debt/libSceAgcDriver.md
$ git merge-tree --write-tree refs/review/upstream-12565 refs/review/upstream-11447
CONFLICT (content): docs/dev/debt/libSceAgcDriver.md
$ git merge-tree --write-tree refs/review/upstream-12565 refs/review/upstream-12452
CONFLICT (content): docs/dev/debt/libSceAgcDriver.md
$ git diff --check upstream/main...refs/review/upstream-12565
(no output; exit status 0)
$ git diff --name-status <merge-base>..upstream/main -- PR-touched CMake/debt paths
M core/libs/prx/libSceAgcDriver/CMakeLists.txt
M docs/dev/debt/libSceAgcDriver.md

Findings

Blocking

  • Rebase onto current main and rerun the focused checks; current main has since changed the touched AGC CMake and debt files.
  • Confirm and record the proposed order with #11447 and #12452 as well as the already-agreed #10760 order. The current PR lists Depends on: #10760, but the other two conflicting debt edits still need agreement before the combined stack is clear.

Non-blocking

  • The code and hosted Windows check have no new issue identified in this re-check.

Sources

Not verified

I did not independently reproduce the author’s GPU tests.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5694182861 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12565#pullrequestreview-5694182861). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-29T07:24:53Z. **Review:** CHANGES_REQUESTED --- # Re-checked — changes requested The author has recorded the agreed #10760-first order, and #10760’s author confirmed it. The two other open overlaps, #11447 and #12452, still have not confirmed the proposed order. Current `main` has also changed this PR’s CMake and debt files since its base. ## What I ran - Refreshed current PR metadata, comments and hosted checks. - Compared the PR with current `main` and pairwise merge previews with #10760, #11447 and #12452. - Ran `git diff --check`. - Did not run a local build or test. ## Results | Check | Result | |---|---| | Current-main merge preview | Clean | | Pairwise preview with #10760 | Debt-file conflict | | Pairwise preview with #11447 | Debt-file conflict | | Pairwise preview with #12452 | Debt-file conflict | | `git diff --check` | Pass | | Hosted Windows, conventions, eligibility, intake, labels and report | Passed | | Hosted Linux product and specialized jobs | Skipped | | Author-reported NVIDIA test run | Previously reviewed; not rerun here | <details><summary>Unedited local check output</summary> ```text $ git merge-base upstream/main refs/review/upstream-12565 319621ba2e578bd053b0baba2877fe70520e0737 $ git rev-list --left-right --count upstream/main...refs/review/upstream-12565 270 1 $ git merge-tree --write-tree upstream/main refs/review/upstream-12565 375684f2b237342beb0771df182a8d6f8e552225 $ git merge-tree --write-tree refs/review/upstream-12565 refs/review/upstream-10760 CONFLICT (content): docs/dev/debt/libSceAgcDriver.md $ git merge-tree --write-tree refs/review/upstream-12565 refs/review/upstream-11447 CONFLICT (content): docs/dev/debt/libSceAgcDriver.md $ git merge-tree --write-tree refs/review/upstream-12565 refs/review/upstream-12452 CONFLICT (content): docs/dev/debt/libSceAgcDriver.md $ git diff --check upstream/main...refs/review/upstream-12565 (no output; exit status 0) $ git diff --name-status <merge-base>..upstream/main -- PR-touched CMake/debt paths M core/libs/prx/libSceAgcDriver/CMakeLists.txt M docs/dev/debt/libSceAgcDriver.md ``` </details> ## Findings ### Blocking - Rebase onto current `main` and rerun the focused checks; current `main` has since changed the touched AGC CMake and debt files. - Confirm and record the proposed order with #11447 and #12452 as well as the already-agreed #10760 order. The current PR lists `Depends on: #10760`, but the other two conflicting debt edits still need agreement before the combined stack is clear. ### Non-blocking - The code and hosted Windows check have no new issue identified in this re-check. ## Sources - [Current PR head `03ffe1f35b581d7981e8af21eb7924bf4749c7fc`](https://github.com/boykopovar/AnyPS5/commit/03ffe1f35b581d7981e8af21eb7924bf4749c7fc) - [Current upstream `main` `edf6804cf52c62eacafc592dd6142cb4efe5bd05`](https://github.com/boykopovar/AnyPS5/commit/edf6804cf52c62eacafc592dd6142cb4efe5bd05) - [Author’s proposed #10760-first order and response](https://github.com/boykopovar/AnyPS5/pull/12565#issuecomment-6482465609) - [Repository overlap-order rule](https://github.com/boykopovar/AnyPS5/blob/edf6804cf52c62eacafc592dd6142cb4efe5bd05/CONTRIBUTING.md#L67-L71) ## Not verified I did not independently reproduce the author’s GPU tests.
MarcZX10 commented 2026-10-30 01:09:29 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-30T01:09:29Z.

Review: CHANGES_REQUESTED


Re-checked — new head, changes requested

The author’s Windows comparison addresses the prior test report, but current main has since changed frame-capture code and the proposed merge order with #11447 is still unconfirmed by that PR’s author.

What I ran

  • Exact PR head: 4284e7715b6b08ca5e755347e0b2ab9cc8e39b6d; recorded PR base and author-tested main: bb04a4f1ea0175e9e4f149f0359a764d62ff3296; current main: f6fddd60d826831f70f7c62e25423610ee742bcc.
  • Environment: Linux x86_64, Git 2.39.5, Python 3.11.2. No project build, CTest, or GPU test was run locally.
  • The merge preview against current main is clean, but main changed FrameRecorder.cpp and its header since the tested base. The added readGuest path samples host-only multisample ranges during capture, so the existing capture/replay results do not cover the combined current-main implementation.
  • Pairwise merge previews with both #11447 and #12452 conflict in docs/dev/debt/libSceAgcDriver.md.
git merge-tree --write-tree upstream/main 4284e7715b6b08ca5e755347e0b2ab9cc8e39b6d
git diff --check upstream/main 4284e7715b6b08ca5e755347e0b2ab9cc8e39b6d
python3 tools/check_conventions.py --base upstream/main --head 4284e7715b6b08ca5e755347e0b2ab9cc8e39b6d
git diff --stat bb04a4f1ea0175e9e4f149f0359a764d62ff3296 upstream/main -- core/libs/prx/libSceAgcDriver/Execution/src/FrameRecorder.cpp
git merge-tree --write-tree 4284e7715b6b08ca5e755347e0b2ab9cc8e39b6d 0b8115c2c7f6608f614c004bcff660d4cfd2afe8

Results

Check Result
Current-main merge preview Clean; tree 669beb6e7b7460f8514a2f2dbc8161cb2bc6e3d7
git diff --check Passed; no output
Conventions Passed
Current-main capture code since tested base FrameRecorder.cpp and its header changed; readGuest now routes snapshot/delta reads through HostOnlySampleRanges and records host-only sample bytes
Pairwise overlap with #11447 Debt-file conflict; the PR author’s proposed order is not confirmed in #11447’s discussion
Pairwise overlap with #12452 Debt-file conflict; #12452’s author agreed it goes before #12565, and #12565 now lists it as a dependency
Author-reported GPU tests On Windows RTX 3080, 12/12 focused tests pass on main bb04a4f1ea and 14/14 on this head merged with it; no VUID lines or missing-layer message reported
Hosted checks on exact PR head Windows, conventions, labels, eligibility and report pass; Linux product and specialized jobs were skipped
Unedited local command output
$ git merge-tree --write-tree upstream/main 4284e7715b6b08ca5e755347e0b2ab9cc8e39b6d
669beb6e7b7460f8514a2f2dbc8161cb2bc6e3d7
$ git diff --stat bb04a4f1ea0175e9e4f149f0359a764d62ff3296 upstream/main -- core/libs/prx/libSceAgcDriver/Execution/src/FrameRecorder.cpp
 .../prx/libSceAgcDriver/Execution/src/FrameRecorder.cpp | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)
$ python3 tools/check_conventions.py --base upstream/main --head 4284e7715b6b08ca5e755347e0b2ab9cc8e39b6d
All conventions checks passed.
$ git merge-tree --write-tree 4284e7715b6b08ca5e755347e0b2ab9cc8e39b6d 0b8115c2c7f6608f614c004bcff660d4cfd2afe8
61e1b56e4f3b056d210b7b73f761c4cf844799e2
100644 6b6b0ca77e6e1d60ff8c59ba08a838382496beea 1 docs/dev/debt/libSceAgcDriver.md
100644 7a039e5ff16e65af3cf038eeba26cf7805efe82c 2 docs/dev/debt/libSceAgcDriver.md
100644 63e8a32a95fe39b5e53bffd1fe21ef73a8f0284f 3 docs/dev/debt/libSceAgcDriver.md
Auto-merging core/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cpp
Auto-merging core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp
Auto-merging docs/dev/debt/libSceAgcDriver.md
CONFLICT (content): Merge conflict in docs/dev/debt/libSceAgcDriver.md

git diff --check produced no output and exited 0.

Findings

Blocking

  • Refresh the current-main capture/replay comparison. The author tested against bb04a4f1ea, but current main changes FrameRecorder.cpp, which this PR also changes. The intervening code routes capture snapshot/delta reads through HostOnlySampleRanges; please integrate current main and rerun the focused capture/replay comparison on the combined tree. The merge preview is clean; this request is about coverage of the changed capture path.
  • Record the agreed order with #11447. The #12452 author has agreed that #12452 goes before this PR, and that dependency is listed. I found the proposed #12565-before-#11447 order in this PR’s checklist, but no confirmation from #11447’s author in that PR’s discussion. Please get that confirmation and record the agreed order on both PRs before approval.

Non-blocking

The author’s reported Windows comparison is useful and has no reported test failures. I found no new source defect in the merge-only update.

Sources

Not verified

I did not build or run capture/replay tests locally. The Windows test results are author-reported. Linux product and specialized CI jobs were skipped.

To get this to a good state

Update the branch and rerun the focused capture/replay comparison on current main, then record an agreed order with #11447. I will rerun the same non-build checks on the updated head.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5706947444 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12565#pullrequestreview-5706947444). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-30T01:09:29Z. **Review:** CHANGES_REQUESTED --- # Re-checked — new head, changes requested The author’s Windows comparison addresses the prior test report, but current `main` has since changed frame-capture code and the proposed merge order with #11447 is still unconfirmed by that PR’s author. ## What I ran - Exact PR head: `4284e7715b6b08ca5e755347e0b2ab9cc8e39b6d`; recorded PR base and author-tested `main`: `bb04a4f1ea0175e9e4f149f0359a764d62ff3296`; current `main`: `f6fddd60d826831f70f7c62e25423610ee742bcc`. - Environment: Linux x86_64, Git 2.39.5, Python 3.11.2. No project build, CTest, or GPU test was run locally. - The merge preview against current `main` is clean, but main changed `FrameRecorder.cpp` and its header since the tested base. The added `readGuest` path samples host-only multisample ranges during capture, so the existing capture/replay results do not cover the combined current-main implementation. - Pairwise merge previews with both #11447 and #12452 conflict in `docs/dev/debt/libSceAgcDriver.md`. ```sh git merge-tree --write-tree upstream/main 4284e7715b6b08ca5e755347e0b2ab9cc8e39b6d git diff --check upstream/main 4284e7715b6b08ca5e755347e0b2ab9cc8e39b6d python3 tools/check_conventions.py --base upstream/main --head 4284e7715b6b08ca5e755347e0b2ab9cc8e39b6d git diff --stat bb04a4f1ea0175e9e4f149f0359a764d62ff3296 upstream/main -- core/libs/prx/libSceAgcDriver/Execution/src/FrameRecorder.cpp git merge-tree --write-tree 4284e7715b6b08ca5e755347e0b2ab9cc8e39b6d 0b8115c2c7f6608f614c004bcff660d4cfd2afe8 ``` ## Results | Check | Result | |---|---| | Current-main merge preview | Clean; tree `669beb6e7b7460f8514a2f2dbc8161cb2bc6e3d7` | | `git diff --check` | Passed; no output | | Conventions | Passed | | Current-main capture code since tested base | `FrameRecorder.cpp` and its header changed; `readGuest` now routes snapshot/delta reads through `HostOnlySampleRanges` and records host-only sample bytes | | Pairwise overlap with #11447 | Debt-file conflict; the PR author’s proposed order is not confirmed in #11447’s discussion | | Pairwise overlap with #12452 | Debt-file conflict; #12452’s author agreed it goes before #12565, and #12565 now lists it as a dependency | | Author-reported GPU tests | On Windows RTX 3080, 12/12 focused tests pass on `main` `bb04a4f1ea` and 14/14 on this head merged with it; no VUID lines or missing-layer message reported | | Hosted checks on exact PR head | Windows, conventions, labels, eligibility and report pass; Linux product and specialized jobs were skipped | <details> <summary>Unedited local command output</summary> ```text $ git merge-tree --write-tree upstream/main 4284e7715b6b08ca5e755347e0b2ab9cc8e39b6d 669beb6e7b7460f8514a2f2dbc8161cb2bc6e3d7 $ git diff --stat bb04a4f1ea0175e9e4f149f0359a764d62ff3296 upstream/main -- core/libs/prx/libSceAgcDriver/Execution/src/FrameRecorder.cpp .../prx/libSceAgcDriver/Execution/src/FrameRecorder.cpp | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) $ python3 tools/check_conventions.py --base upstream/main --head 4284e7715b6b08ca5e755347e0b2ab9cc8e39b6d All conventions checks passed. $ git merge-tree --write-tree 4284e7715b6b08ca5e755347e0b2ab9cc8e39b6d 0b8115c2c7f6608f614c004bcff660d4cfd2afe8 61e1b56e4f3b056d210b7b73f761c4cf844799e2 100644 6b6b0ca77e6e1d60ff8c59ba08a838382496beea 1 docs/dev/debt/libSceAgcDriver.md 100644 7a039e5ff16e65af3cf038eeba26cf7805efe82c 2 docs/dev/debt/libSceAgcDriver.md 100644 63e8a32a95fe39b5e53bffd1fe21ef73a8f0284f 3 docs/dev/debt/libSceAgcDriver.md Auto-merging core/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cpp Auto-merging core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp Auto-merging docs/dev/debt/libSceAgcDriver.md CONFLICT (content): Merge conflict in docs/dev/debt/libSceAgcDriver.md ``` `git diff --check` produced no output and exited 0. </details> ## Findings ### Blocking - **Refresh the current-main capture/replay comparison.** The author tested against `bb04a4f1ea`, but current `main` changes `FrameRecorder.cpp`, which this PR also changes. The intervening code routes capture snapshot/delta reads through `HostOnlySampleRanges`; please integrate current `main` and rerun the focused capture/replay comparison on the combined tree. The merge preview is clean; this request is about coverage of the changed capture path. - **Record the agreed order with #11447.** The #12452 author has agreed that #12452 goes before this PR, and that dependency is listed. I found the proposed #12565-before-#11447 order in this PR’s checklist, but no confirmation from #11447’s author in that PR’s discussion. Please get that confirmation and record the agreed order on both PRs before approval. ### Non-blocking The author’s reported Windows comparison is useful and has no reported test failures. I found no new source defect in the merge-only update. ## Sources - [Current-main `FrameRecorder.cpp` capture path](https://github.com/boykopovar/AnyPS5/blob/f6fddd60d826831f70f7c62e25423610ee742bcc/core/libs/prx/libSceAgcDriver/Execution/src/FrameRecorder.cpp) - [Current-main overlap and test requirements](https://github.com/boykopovar/AnyPS5/blob/f6fddd60d826831f70f7c62e25423610ee742bcc/CONTRIBUTING.md#L67-L71) - [#11447 merge-order proposal awaiting confirmation](https://github.com/boykopovar/AnyPS5/pull/11447#issuecomment-6505983252) - [Author’s current-main test report](https://github.com/boykopovar/AnyPS5/pull/12565#issuecomment-6505981411) ## Not verified I did not build or run capture/replay tests locally. The Windows test results are author-reported. Linux product and specialized CI jobs were skipped. ## To get this to a good state Update the branch and rerun the focused capture/replay comparison on current `main`, then record an agreed order with #11447. I will rerun the same non-build checks on the updated head.
MarcZX10 commented 2026-10-30 01:37:37 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-30T01:37:37Z.

Review: APPROVED


Re-checked — looks good

On exact head 1587cb79ea50dc5610daecd4dcb39496134e772f, the earlier validation and overlap blockers are resolved; the recorded order is #10760, #12452, #12565, then #11447.

The author reports a clean full build and 14/14 focused Windows/Vulkan checks on the merged tree, with zero validation messages and both new regression tests failing in the stated negative controls. The code and tests were already reviewed, and this head adds the current-main integration; GitHub reports it mergeable. Hosted conventions pass, Windows is still pending, and Linux/specialized jobs are skipped. I did not run local tests or a build. Exact-head test report, #11447 order confirmation.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5707114548 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12565#pullrequestreview-5707114548). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-30T01:37:37Z. **Review:** APPROVED --- # Re-checked — looks good On exact head `1587cb79ea50dc5610daecd4dcb39496134e772f`, the earlier validation and overlap blockers are resolved; the recorded order is #10760, #12452, #12565, then #11447. The author reports a clean full build and 14/14 focused Windows/Vulkan checks on the merged tree, with zero validation messages and both new regression tests failing in the stated negative controls. The code and tests were already reviewed, and this head adds the current-main integration; GitHub reports it mergeable. Hosted conventions pass, Windows is still pending, and Linux/specialized jobs are skipped. I did not run local tests or a build. [Exact-head test report](https://github.com/boykopovar/AnyPS5/pull/12565#issuecomment-6512706806), [#11447 order confirmation](https://github.com/boykopovar/AnyPS5/pull/11447#issuecomment-6512613987).
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!12565
No description provided.