fix(agc): release a parked REWIND in frame replay with its whole memory group, and write REWIND control words last #12318

Merged
Tehshortbus merged 3 commits from upstream-pr/12318 into main 2026-11-06 11:56:57 +00:00
Tehshortbus commented 2026-10-28 09:19:27 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Tehshortbus on 2026-10-28T09:19:27Z.


What

A title that parks a queue on a REWIND writes the tail's command buffers while the queue waits, and only then sets the control word's valid bit. GTA V does this for every submission: each one chains through REWIND-linked segments that the CPU fills in. agc_frame_replay mishandled this in two ways:

  • The breaker released the wait with the control word alone. When the driver makes no progress for --release-after-ms, the replay copies the awaited dword from a later memory group. For a REWIND that sets the valid bit while the tail's INDIRECT_BUFFER is still null in replay memory, so the tail fails with null or misaligned address.
  • A memory group was restored in chunk order. A valid control word could become visible to a parked worker before the buffers its tail chains to were written.

The change in tools/FrameReplay.cpp:

  • releaseRewind: a REWIND wait (AwaitedWait with function == 0 and bytes == 0; WaitMemory always sets a shape, and a function-0 WAIT_REG_MEM never blocks) is released by applying the first later memory group whose recorded control word has Pm4::RewindValid set, through restoreGroup. Other waits are released as before.
  • restoreGroup: the Memory call and releaseRewind both apply a group through it. It holds back a valid REWIND control word, writes the rest of the group, then publishes the held words with release stores. A word is held back when the word before it in the recorded chunk is a REWIND header, or when it is the address of a REWIND a queue is parked on. Holding a word back only changes the order of the writes, so a data word that happens to follow a REWIND-looking header still gets its recorded value.

Tested

CachyOS Linux (kernel 7.3.0-4-cachyos), GCC 16.2.1, Release, NVIDIA GeForce RTX 4070 SUPER (615.78.08). Author-reported GPU tests (hosted CI does not run them).

  • agc_driver_frame_replay_rewind (new):
    • The test starts a capture at the first flip and submits a DCB of a REWIND whose control word is 0, followed by a chained INDIRECT_BUFFER with a null target. It waits until AgcDriverAwaitedWaits reports the queue parked on that control word.
    • Then, like the title, it writes a DMA copy plus label segment 64 KiB away, points the INDIRECT_BUFFER at it, and sets the valid bit.
    • It replays the capture with --strict and compares the copy target.
    • With main's tools/FrameReplay.cpp it fails as GTA V did: [gpu] driver failure: AGC driver: null or misaligned address, then a pacing timeout. With this change it passes.
  • Focused tests: main e322066f82 and this change merged with it (head 748c64ea17), in the same build, with ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation ctest --test-dir build-tests -V -R '^agc_driver_frame_replay'. The 21 existing replay tests pass on both, _rewind fails only with main's tool, and neither log has a VUID- line or a missing-layer message.
  • What the test reaches:
    • The new test reaches releaseRewind and the held-word path of restoreGroup for a parked REWIND. Its control word follows the header in the same chunk, so both conditions hold.
    • No test reaches a valid REWIND that is not yet parked when its group is applied (header condition only), or a control word at the first dword of a chunk (parked condition only).
  • GTA V (PPSA04264 01.011.001):
    • The capture is a 4-frame capture in the first Story cutscene. On main a capture does not start in GTA V gameplay (#12235); this one was recorded with local, unsubmitted recorder changes, which chitters2004's announced PRs on #12235 cover.
    • Before this change, agc_frame_replay failed on its first submission with the same null or misaligned address.
    • With it, the capture replays all 4 frames: 0 pacing timeouts, 4 waits released early from later recorded writes, exit 0. The replayed frames show the reference shot.
  • python3 tools/check_conventions.py --base origin/main and git diff --check pass.

Overlap:

  • #12696 merged on 11-05 and brought #11436 at 752958c135 into main. 748c64ea17 resolves the argument-check conflict in tests/FrameReplay.cpp by adding rewind beside main's pipelines and reservation_error. #11435 and #11436 are still open with later commits. Against their current heads (ce3b9a8bf6, a110d7694a), this branch conflicts in the same files main does and in no others.
  • Merge order, agreed with Sam-mon7 (comment): #11435, then #11436 (stacked on it), then this PR. Once theirs merge, I rebase this onto main and add its rewind mode to their argument check in tests/FrameReplay.cpp.
  • tools/pr_overlap.py lists #11435 and #11436 (Sam-mon7), which conflict with this PR only in main() of tests/FrameReplay.cpp (L263–273). All three add a mode to its argument check, so whichever merges second adds its mode to the other's.
  • It also lists #12696 (chitters2004) at the same lines. #12696 merges in #11436 at 752958c135, and its tests/FrameReplay.cpp is #11436's unchanged. Its own commits (df74f29c46, 89db2b5ae2) add a relaunch check above run() in tools/FrameReplay.cpp and a line in docs/dev/ENVIRONMENT.md, away from the wait release and the group restore. Its conflict is #11436's, and the rebase onto #11436 resolves it.
  • #12567 and #12568 (chitters2004) are stacked on this PR and list it in Depends on.
  • In tools/FrameReplay.cpp their changes do not touch the wait release or the restore of memory groups:
    • #11436's CapturedMemory::Apply serves its new shader-listing mode;
    • its AgcDriverAwaitedWaits call only describes blocked waits in the progress line.
  • The 53 pull requests it could not compare share only core/libs/prx/libSceAgcDriver/CMakeLists.txt. I checked their hunks there (#5021's through the files API): none touches the frame replay tests.
  • On #12235 chitters2004 announced recorder-side delta changes (deltas that wait for idle-or-parked queues and hold the workers), not a change to how the replay releases a parked REWIND. I asked there whether their branch also covers this.

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: #11436
  • Fixes: none
  • Unblocks: none
  • GPUs tested: NVIDIA GeForce RTX 4070 SUPER, driver 615.78.08, CachyOS Linux (kernel 7.3.0-4-cachyos)
  • AI-assisted: yes (Claude Code)

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5048073048 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12318). Originally posted by [Tehshortbus](https://github.com/Tehshortbus) on 2026-10-28T09:19:27Z. --- ### What A title that parks a queue on a REWIND writes the tail's command buffers while the queue waits, and only then sets the control word's valid bit. GTA V does this for every submission: each one chains through REWIND-linked segments that the CPU fills in. `agc_frame_replay` mishandled this in two ways: - **The breaker released the wait with the control word alone.** When the driver makes no progress for `--release-after-ms`, the replay copies the awaited dword from a later memory group. For a REWIND that sets the valid bit while the tail's `INDIRECT_BUFFER` is still null in replay memory, so the tail fails with `null or misaligned address`. - **A memory group was restored in chunk order.** A valid control word could become visible to a parked worker before the buffers its tail chains to were written. The change in `tools/FrameReplay.cpp`: - **`releaseRewind`:** a REWIND wait (`AwaitedWait` with `function == 0` and `bytes == 0`; `WaitMemory` always sets a shape, and a function-0 WAIT_REG_MEM never blocks) is released by applying the first later memory group whose recorded control word has `Pm4::RewindValid` set, through `restoreGroup`. Other waits are released as before. - **`restoreGroup`:** the `Memory` call and `releaseRewind` both apply a group through it. It holds back a valid REWIND control word, writes the rest of the group, then publishes the held words with release stores. A word is held back when the word before it in the recorded chunk is a REWIND header, or when it is the address of a REWIND a queue is parked on. Holding a word back only changes the order of the writes, so a data word that happens to follow a REWIND-looking header still gets its recorded value. ### 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. --> CachyOS Linux (kernel 7.3.0-4-cachyos), GCC 16.2.1, Release, NVIDIA GeForce RTX 4070 SUPER (615.78.08). Author-reported GPU tests (hosted CI does not run them). - **`agc_driver_frame_replay_rewind` (new):** - The test starts a capture at the first flip and submits a DCB of a REWIND whose control word is 0, followed by a chained `INDIRECT_BUFFER` with a null target. It waits until `AgcDriverAwaitedWaits` reports the queue parked on that control word. - Then, like the title, it writes a DMA copy plus label segment 64 KiB away, points the `INDIRECT_BUFFER` at it, and sets the valid bit. - It replays the capture with `--strict` and compares the copy target. - With `main`'s `tools/FrameReplay.cpp` it fails as GTA V did: `[gpu] driver failure: AGC driver: null or misaligned address`, then a pacing timeout. With this change it passes. - **Focused tests:** `main` `e322066f82` and this change merged with it (head `748c64ea17`), in the same build, with `ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation ctest --test-dir build-tests -V -R '^agc_driver_frame_replay'`. The 21 existing replay tests pass on both, `_rewind` fails only with `main`'s tool, and neither log has a `VUID-` line or a missing-layer message. - **What the test reaches:** - The new test reaches `releaseRewind` and the held-word path of `restoreGroup` for a parked REWIND. Its control word follows the header in the same chunk, so both conditions hold. - No test reaches a valid REWIND that is not yet parked when its group is applied (header condition only), or a control word at the first dword of a chunk (parked condition only). - **GTA V** (PPSA04264 01.011.001): - The capture is a 4-frame capture in the first Story cutscene. On `main` a capture does not start in GTA V gameplay (#12235); this one was recorded with local, unsubmitted recorder changes, which chitters2004's announced PRs on #12235 cover. - Before this change, `agc_frame_replay` failed on its first submission with the same `null or misaligned address`. - With it, the capture replays all 4 frames: 0 pacing timeouts, 4 waits released early from later recorded writes, exit 0. The replayed frames show the reference shot. - `python3 tools/check_conventions.py --base origin/main` and `git diff --check` pass. **Overlap:** - #12696 merged on 11-05 and brought #11436 at `752958c135` into `main`. `748c64ea17` resolves the argument-check conflict in `tests/FrameReplay.cpp` by adding `rewind` beside `main`'s `pipelines` and `reservation_error`. #11435 and #11436 are still open with later commits. Against their current heads (`ce3b9a8bf6`, `a110d7694a`), this branch conflicts in the same files `main` does and in no others. - **Merge order, agreed with Sam-mon7** ([comment](https://github.com/boykopovar/AnyPS5/pull/11435#issuecomment-6468294060)): #11435, then #11436 (stacked on it), then this PR. Once theirs merge, I rebase this onto `main` and add its `rewind` mode to their argument check in `tests/FrameReplay.cpp`. - `tools/pr_overlap.py` lists #11435 and #11436 (Sam-mon7), which conflict with this PR only in `main()` of `tests/FrameReplay.cpp` (L263–273). All three add a mode to its argument check, so whichever merges second adds its mode to the other's. - It also lists #12696 (chitters2004) at the same lines. #12696 merges in #11436 at `752958c135`, and its `tests/FrameReplay.cpp` is #11436's unchanged. Its own commits (`df74f29c46`, `89db2b5ae2`) add a relaunch check above `run()` in `tools/FrameReplay.cpp` and a line in `docs/dev/ENVIRONMENT.md`, away from the wait release and the group restore. Its conflict is #11436's, and the rebase onto #11436 resolves it. - #12567 and #12568 (chitters2004) are stacked on this PR and list it in `Depends on`. - In `tools/FrameReplay.cpp` their changes do not touch the wait release or the restore of memory groups: - #11436's `CapturedMemory::Apply` serves its new shader-listing mode; - its `AgcDriverAwaitedWaits` call only describes blocked waits in the progress line. - The 53 pull requests it could not compare share only `core/libs/prx/libSceAgcDriver/CMakeLists.txt`. I checked their hunks there (#5021's through the files API): none touches the frame replay tests. - On #12235 chitters2004 announced recorder-side delta changes (deltas that wait for idle-or-parked queues and hold the workers), not a change to how the replay releases a parked REWIND. I asked there whether their branch also covers this. ### 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: #11436 - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: NVIDIA GeForce RTX 4070 SUPER, driver 615.78.08, CachyOS Linux (kernel 7.3.0-4-cachyos) - [x] AI-assisted: yes (Claude Code) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
MarcZX10 commented 2026-10-28 09:47:57 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-28T09:47:57Z.

Review: CHANGES_REQUESTED


The focused replay evidence is thorough, including the same-machine main/change validation-layer runs and a negative control. I did find one remaining integration item in the PR's own overlap disclosure: #11435 and #11436 are both still open, and this change overlaps their argument-mode handling in tests/FrameReplay.cpp; the description says whichever merges second must add its mode to the other. CONTRIBUTING asks authors to agree on overlap order and record that order with Depends on where needed. Could you coordinate with Sam-mon7 and update the checklist to show the agreed order (or explain why no dependency is needed)? I have not independently run the GPU tests reported in the description.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5680679034 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12318#pullrequestreview-5680679034). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-28T09:47:57Z. **Review:** CHANGES_REQUESTED --- The focused replay evidence is thorough, including the same-machine main/change validation-layer runs and a negative control. I did find one remaining integration item in the PR's own overlap disclosure: #11435 and #11436 are both still open, and this change overlaps their argument-mode handling in `tests/FrameReplay.cpp`; the description says whichever merges second must add its mode to the other. CONTRIBUTING asks authors to agree on overlap order and record that order with `Depends on` where needed. Could you coordinate with Sam-mon7 and update the checklist to show the agreed order (or explain why no dependency is needed)? I have not independently run the GPU tests reported in the description.
adriadam10 commented 2026-10-28 11:46:26 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-28T11:46:26Z.

Review: CHANGES_REQUESTED


Checked the diff: the parked-REWIND release through restoreGroup (FrameReplay.cpp:445, :476, :557) and the held valid control words look correct, the lock is already held by releaseAwaited, and agc_driver_frame_replay_rewind fails with main's tool. maskym's Windows/NVIDIA run also passes.

  • The only open point is the overlap order with #11435/#11436 requested by @MarcZX10 (all three add a mode to the check in tests/FrameReplay.cpp main()). Please record the agreed order in Depends on once Sam-mon7 confirms, or rebase onto them and list them there.

Once that is recorded this is ready to merge.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5682077072 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12318#pullrequestreview-5682077072). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-28T11:46:26Z. **Review:** CHANGES_REQUESTED --- Checked the diff: the parked-REWIND release through `restoreGroup` (`FrameReplay.cpp:445`, `:476`, `:557`) and the held valid control words look correct, the lock is already held by `releaseAwaited`, and `agc_driver_frame_replay_rewind` fails with `main`'s tool. maskym's Windows/NVIDIA run also passes. - The only open point is the overlap order with #11435/#11436 requested by @MarcZX10 (all three add a mode to the check in `tests/FrameReplay.cpp` `main()`). Please record the agreed order in `Depends on` once Sam-mon7 confirms, or rebase onto them and list them there. Once that is recorded this is ready to merge.
MarcZX10 commented 2026-10-28 23:56:12 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-28T23:56:12Z.

Review: CHANGES_REQUESTED


Re-checked — changes requested for current-main integration

The overlap sequence is now documented with the relevant authors, but this branch is still based on an older main and needs the required current-base check before approval.

What I ran

  • Reviewed head 8e6bcba04d2247a75bb546c6c7e1a7410f133ca3; current main is 3a2b91981651569163768854a1fcdc7193b6667b.
  • git merge-tree --write-tree upstream/main upstream/pr-12318 — clean preview, tree ae3ed04466737f3d256c07745fe8803c972e8a7d.
  • python3 tools/check_conventions.py --base upstream/main --head upstream/pr-12318 — passed.
  • git diff --check upstream/main...upstream/pr-12318 — passed.
  • I did not rerun the GPU replay tests. The PR reports focused Vulkan-validation runs on its earlier tested base.

Results

Check Result
Current-main merge preview Clean
Convention and whitespace checks Passed
Focused Vulkan replay tests on current main Not verified by me
PR branch base 284a487cd978824f442955918ec0f99ab9c556d3, behind current main

Findings

The previously requested overlap order is now clear: #11435, then #11436, then this PR. The linked confirmation with Sam-mon7 and the Depends on: #11436 entry document that sequence; #12567 also now records its dependency on this PR. I consider that blocker resolved.

The remaining integration item is the base. CONTRIBUTING.md says to keep the branch up to date with main. Since the tested head predates current main, and core/libs/prx/libSceAgcDriver/CMakeLists.txt changed on both sides after the merge base, please rebase onto 3a2b91981651569163768854a1fcdc7193b6667b and rerun the focused agc_driver_frame_replay suite on the updated tree. The merge preview is clean, but that does not replace testing the current merged tree.

Sources

Not verified

I did not run Vulkan/GPU tests on this host, run GTA V, or verify behavior on another GPU. The PR's reported GPU tests apply to its earlier tested base, not current main.

To get this to a good state

Rebase onto current main, rerun the focused replay tests with the validation layer enabled, and attach the exact head and output. I can then complete the re-review.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5691215345 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12318#pullrequestreview-5691215345). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-28T23:56:12Z. **Review:** CHANGES_REQUESTED --- # Re-checked — changes requested for current-main integration The overlap sequence is now documented with the relevant authors, but this branch is still based on an older `main` and needs the required current-base check before approval. ## What I ran - Reviewed head `8e6bcba04d2247a75bb546c6c7e1a7410f133ca3`; current `main` is `3a2b91981651569163768854a1fcdc7193b6667b`. - `git merge-tree --write-tree upstream/main upstream/pr-12318` — clean preview, tree `ae3ed04466737f3d256c07745fe8803c972e8a7d`. - `python3 tools/check_conventions.py --base upstream/main --head upstream/pr-12318` — passed. - `git diff --check upstream/main...upstream/pr-12318` — passed. - I did not rerun the GPU replay tests. The PR reports focused Vulkan-validation runs on its earlier tested base. ## Results | Check | Result | |---|---| | Current-main merge preview | Clean | | Convention and whitespace checks | Passed | | Focused Vulkan replay tests on current `main` | Not verified by me | | PR branch base | `284a487cd978824f442955918ec0f99ab9c556d3`, behind current `main` | ## Findings The previously requested overlap order is now clear: #11435, then #11436, then this PR. The linked confirmation with Sam-mon7 and the `Depends on: #11436` entry document that sequence; #12567 also now records its dependency on this PR. I consider that blocker resolved. The remaining integration item is the base. `CONTRIBUTING.md` says to keep the branch up to date with `main`. Since the tested head predates current `main`, and `core/libs/prx/libSceAgcDriver/CMakeLists.txt` changed on both sides after the merge base, please rebase onto `3a2b91981651569163768854a1fcdc7193b6667b` and rerun the focused `agc_driver_frame_replay` suite on the updated tree. The merge preview is clean, but that does not replace testing the current merged tree. ## Sources - [Current PR head](https://github.com/boykopovar/AnyPS5/commit/8e6bcba04d2247a75bb546c6c7e1a7410f133ca3) - [Documented order confirmation with Sam-mon7](https://github.com/boykopovar/AnyPS5/pull/11435#issuecomment-6468294060) - [Contribution rule on keeping branches current](https://github.com/boykopovar/AnyPS5/blob/3a2b91981651569163768854a1fcdc7193b6667b/CONTRIBUTING.md#L60) ## Not verified I did not run Vulkan/GPU tests on this host, run GTA V, or verify behavior on another GPU. The PR's reported GPU tests apply to its earlier tested base, not current `main`. ## To get this to a good state Rebase onto current `main`, rerun the focused replay tests with the validation layer enabled, and attach the exact head and output. I can then complete the re-review.
MarcZX10 commented 2026-10-29 08:30:22 +00:00 (Migrated from github.com)

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

Review: APPROVED


Re-reviewed exact head 6ed6c2ba2a65e1873101267f40f409d9179956b0 against current upstream/main 4c7d275bef89d309313d16bc2bc05d37a1b50be2. The author reports all 11 focused frame-replay tests passing on the exact head, including the new REWIND regression; the test fails with the prior main implementation, and the validation-layer log has no VUID or missing-layer message. The declared order through #11435 and #11436 is recorded. My current-main merge preview is clean; git diff --check and python3 tools/check_conventions.py --base upstream/main --head refs/review/upstream-12318 pass. I did not run the GPU tests locally.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5694803250 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12318#pullrequestreview-5694803250). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-29T08:30:22Z. **Review:** APPROVED --- Re-reviewed exact head `6ed6c2ba2a65e1873101267f40f409d9179956b0` against current `upstream/main` `4c7d275bef89d309313d16bc2bc05d37a1b50be2`. The author reports all 11 focused frame-replay tests passing on the exact head, including the new REWIND regression; the test fails with the prior `main` implementation, and the validation-layer log has no VUID or missing-layer message. The declared order through #11435 and #11436 is recorded. My current-main merge preview is clean; `git diff --check` and `python3 tools/check_conventions.py --base upstream/main --head refs/review/upstream-12318` pass. I did not run the GPU tests locally.
MarcZX10 commented 2026-11-01 02:28:22 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-01T02:28:22Z.

Review: APPROVED


Re-checked — new head, looks good

I reviewed head d3faa75d4aa9e44196409cdbbe524b0ce81d56a9; the replay implementation and regression assertions are unchanged from the previously reviewed head, and the current-main preview is clean.

What I ran

GitHub records PR base 613f9b8edf056318b14ff96fe3aceda59a419323; current main is cf79276fee2f042feb6a7c71d0d6a27e9cfe2592. The no-build precheck reports a clean preview against current main. Environment: Debian 12 x86-64, Python 3.11.2, GCC 12.2.0.

python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 12318
gh pr checks 12318
gh api repos/boykopovar/AnyPS5/pulls/12318/files --paginate --jq '.[] | [.filename,.additions,.deletions]|@tsv'

Results

Check Result
Diff and conventions Passed in the precheck and hosted conventions job.
Current-main merge preview Clean against cf79276fee2f042feb6a7c71d0d6a27e9cfe2592.
Changed files Three: replay test, its CMake registration, and FrameReplay.cpp; implementation and test source match the previously reviewed head.
Hosted checks Windows, conventions, labels, report, eligibility, and library portability passed. Linux and specialized jobs were skipped.
Latest NVIDIA report The author reports 1,360 passes, four failures also present on main, and no new validation IDs on head d3faa75d; the attached broad-run logs do not include agc_driver_frame_replay_rewind.
Focused REWIND test A prior author-reported 11/11 focused run on head 6ed6c2ba2a65e1873101267f40f409d9179956b0 included the REWIND regression and reported that it fails with the prior replay implementation. Test and implementation source are unchanged since that head; I did not reproduce the run.
Selected unedited output
All conventions checks passed.

PR #12318: clean against current base; head `d3faa75d4aa9e44196409cdbbe524b0ce81d56a9`
windows	pass	4m37s	https://github.com/boykopovar/AnyPS5/actions/runs/41235472555/job/124638864849
linux	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41235472555/job/124638865928

Negative control

Assertion Change to code under test Did the new test fail?
A parked REWIND must release only after its full memory group is restored The prior author report says the focused regression fails with the prior FrameReplay.cpp implementation. Author-reported on head 6ed6c2ba2a65e1873101267f40f409d9179956b0; not independently repeated on d3faa75d.

Sources

Not verified

No local build, CTest, or GPU run. The latest broad NVIDIA run did not list the new CTest by name; the focused REWIND result is author-reported from the unchanged source on the earlier reviewed head. The current #11436 dependency head is not included yet; the PR records that it will be rebased and integrated after the dependency lands.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5726044912 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12318#pullrequestreview-5726044912). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-01T02:28:22Z. **Review:** APPROVED --- # Re-checked — new head, looks good I reviewed head `d3faa75d4aa9e44196409cdbbe524b0ce81d56a9`; the replay implementation and regression assertions are unchanged from the previously reviewed head, and the current-main preview is clean. ## What I ran GitHub records PR base `613f9b8edf056318b14ff96fe3aceda59a419323`; current `main` is `cf79276fee2f042feb6a7c71d0d6a27e9cfe2592`. The no-build precheck reports a clean preview against current `main`. Environment: Debian 12 x86-64, Python 3.11.2, GCC 12.2.0. ```sh python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 12318 gh pr checks 12318 gh api repos/boykopovar/AnyPS5/pulls/12318/files --paginate --jq '.[] | [.filename,.additions,.deletions]|@tsv' ``` ## Results | Check | Result | |---|---| | Diff and conventions | Passed in the precheck and hosted conventions job. | | Current-main merge preview | Clean against `cf79276fee2f042feb6a7c71d0d6a27e9cfe2592`. | | Changed files | Three: replay test, its CMake registration, and `FrameReplay.cpp`; implementation and test source match the previously reviewed head. | | Hosted checks | Windows, conventions, labels, report, eligibility, and library portability passed. Linux and specialized jobs were skipped. | | Latest NVIDIA report | The author reports 1,360 passes, four failures also present on main, and no new validation IDs on head `d3faa75d`; the attached broad-run logs do not include `agc_driver_frame_replay_rewind`. | | Focused REWIND test | A prior author-reported 11/11 focused run on head `6ed6c2ba2a65e1873101267f40f409d9179956b0` included the REWIND regression and reported that it fails with the prior replay implementation. Test and implementation source are unchanged since that head; I did not reproduce the run. | <details><summary>Selected unedited output</summary> ```text All conventions checks passed. ``` ```text PR #12318: clean against current base; head `d3faa75d4aa9e44196409cdbbe524b0ce81d56a9` ``` ```text windows pass 4m37s https://github.com/boykopovar/AnyPS5/actions/runs/41235472555/job/124638864849 linux skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41235472555/job/124638865928 ``` </details> ## Negative control | Assertion | Change to code under test | Did the new test fail? | |---|---|---| | A parked REWIND must release only after its full memory group is restored | The prior author report says the focused regression fails with the prior `FrameReplay.cpp` implementation. | Author-reported on head `6ed6c2ba2a65e1873101267f40f409d9179956b0`; not independently repeated on `d3faa75d`. | ## Sources - [Replay implementation and regression test at the current head](https://github.com/boykopovar/AnyPS5/tree/d3faa75d4aa9e44196409cdbbe524b0ce81d56a9/core/libs/prx/libSceAgcDriver) - [Declared landing sequence and current dependency state](https://github.com/boykopovar/AnyPS5/pull/12318) ## Not verified No local build, CTest, or GPU run. The latest broad NVIDIA run did not list the new CTest by name; the focused REWIND result is author-reported from the unchanged source on the earlier reviewed head. The current #11436 dependency head is not included yet; the PR records that it will be rebased and integrated after the dependency lands.
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!12318
No description provided.