test(agc): share the pipelined fill blocker with its lambda and end each case on an empty pipeline #9697

Merged
EagleBearerYS merged 2 commits from upstream-pr/9697 into main 2026-10-22 20:22:18 +00:00
EagleBearerYS commented 2026-10-22 08:55:38 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-22T08:55:38Z.


What

This applies #9647's blocker fix (adriadam10, for agc_driver_pipelined_indirect_draw) to the pipelined fill test, and fixes the race that actually makes that test fail.

Under CPU load, agc_driver_pipelined_fill fails with "a satisfied WAIT_REG_MEM skipped an overlapping queued write". Its blocker has the same [this] lambda #9647 replaced, but the failure comes from somewhere else:

  • A completion item outlives WaitIdle. With ordered completion, a submission with nothing left open queues a completion item instead of draining (Driver::deferCompletion, QueueWorker.cpp:73-75). That item's commit wakes WaitIdle. The committer pops it and decrements Outstanding() only after the commit returns (DrawPipeline.cpp:179-184). So Finish() can return while Outstanding() still counts it, for about 0.2 ms.
  • The next case reads that count too early. SatisfiedWaitDrainsOverlappingQueuedWork starts right after the previous case, and its wait ends as soon as Outstanding() >= 2. With the previous case's completion item still counted, its own blocker makes 2 at once. So it checks before the WAIT_REG_MEM has asked for a drain.

The change (test only, PipelinedFill.cpp):

  • The fix for the failure: Finish() waits until DrawPipeline::Queue0().Outstanding() is 0 after WaitIdle returns, so each case starts on an empty pipeline.
  • #9647's blocker shape: the blocker's state is shared with the queued lambda, and each case joins its blocker before its assertions.
  • The 500 ms sleep in SubmitBehind stays. It lets the queue worker reach the fill while the pipeline is still empty, and nothing the test can read marks that point. Without it, every loaded run fails with "the queue worker never reached the fill".
  • Every assertion and message is unchanged.

The other two [this] blockers are fine as they are:

  • PipelinedPrefetch.cpp queues its blocker before the submission.
  • ImageTableCacheBounds.cpp's queued-draw case waits for all three items.

So neither can return before its lambdas have run, and both passed 72 of 72 under the same load.

#9508's agc_driver_pipelined_fill_gpu_heap variant runs the same binary, and we saw this failure there under load too.

Tested

  • Linux (Mesa llvmpipe, Ubuntu 24.04, gcc 13, CI's configure flags), under #9647's load: 12 copies at once, each pinned to 2 cores.
    • main d6eafa54d0: 15 of 144 runs fail with "a satisfied WAIT_REG_MEM skipped an overlapping queued write". None hangs.
    • This change:
      • 144 of 144 pass under load, and 20 of 20 unloaded;
      • ctest -R 'pipelined|image_table_cache_bounds' passes 9 of 9.
    • #9647's blocker shape alone, without the case-end wait: 5 of 72 still fail.
    • An instrumented build (not part of this PR): every failing run started its case with the previous case's completion item still counted, and the leftover cleared in 0.15-0.38 ms.
  • ec95b59c08, main 8b3a6ba88d merged in (clean; the PR's own diff is unchanged):
    • Under the same load, on a cloud Linux machine (Ubuntu 24.04.5, gcc 13.3.0, Mesa llvmpipe with LLVM 20.1.2, 4-core Xeon): 12 copies at once, each pinned to 2 cores, wrapped onto the 4 cores, 144 runs. This head passes 144 of 144. main 8b3a6ba88d fails 18 of 144 with "AGC graphics: a satisfied WAIT_REG_MEM skipped an overlapping queued write". Neither hangs.
    • Unloaded, this head passes 20 of 20, and ctest -R 'pipelined|image_table_cache_bounds' passes 9 of 9.
    • GitHub's runners (run): agc_driver_pipelined_fill, agc_driver_pipelined_prefetch, agc_driver_pipelined_indirect_draw and agc_driver_image_table_vouch_queued_draws pass 10 of 10 on both. The libc and libkernel suites pass on both.
  • GitHub's Linux and Windows runners (run): agc_driver_pipelined_fill, agc_driver_pipelined_prefetch, agc_driver_pipelined_indirect_draw and agc_driver_image_table_vouch_queued_draws pass 20 times each on Linux, and don't fail on Windows, where the Vulkan tests skip.
  • Validation layer, main against this PR (CONTRIBUTING's AGC rule), on one GitHub Linux runner (run). Both runs used VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, ANYPS5_NO_SHADER_CACHE=1, ANYPS5_REQUIRE_VULKAN=1 and ctest -V, with VK_LOADER_DEBUG=layer to show the layer loading. The device was llvmpipe (LLVM 20.1.2) on Mesa 25.2.8, Ubuntu 24.04.5, Khronos validation layers 1.3.275.
    • Tests: the same four on both trees, main's once and this PR's three times.
    • The loader inserted VK_LAYER_KHRONOS_validation 5 times on main and 15 with this PR, and neither log has was not found but was requested by env var VK_INSTANCE_LAYERS.
    • Both logs report the same single message, VUID-VkDeviceCreateInfo-pNext-pNext, for a device-creation structure newer than that layer version. This PR adds no VUID- message.
  • jotitadev's run on an RTX 3070 and lavapipe (review): Ubuntu 26.04, i7-8700, GCC 15.2, Release, with a busy loop pinned to each of the 12 threads and each agc_driver_pipelined_fill run pinned to cores 0 and 1, one at a time.
    • main's PipelinedFill.cpp: 13 of 23 runs fail on the RTX 3070 (driver 595.99.02) and 8 of 20 on lavapipe (Mesa 26.0.3), all with "a satisfied WAIT_REG_MEM skipped an overlapping queued write".
    • This PR (9587c4467): 0 of 30 fail on each.
    • Without load, ctest -R "pipelined|image_table_cache_bounds" (9 tests) passes 3 of 3 on both.
  • clairtonmichel's run (comment): AMD Radeon RX 7900 XTX, Mesa 26.2.5, Fedora Linux. It builds, and the AGC suite (639 tests) keeps its baseline results there.
  • check_test_registration.py and check_conventions.py pass, with no comment lines added.
  • Test-only; no title run.

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: none
  • Fixes: none (related: #9647)
  • Unblocks: none
  • GPUs tested: Mesa llvmpipe (LLVM 20.1.2), Ubuntu 24.04, on a cloud Linux machine and GitHub's Linux runner, with the validation comparison (Mesa 25.2.8) on GitHub's runner; AMD Radeon RX 7900 XTX (Mesa 26.2.5), Fedora Linux, in clairtonmichel's run; NVIDIA GeForce RTX 3070 (595.99.02) and lavapipe (Mesa 26.0.3, LLVM 21.1.8), Ubuntu 26.04, in jotitadev's run
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4964744403 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9697). Originally posted by [EagleBearerYS](https://github.com/EagleBearerYS) on 2026-10-22T08:55:38Z. --- ### What This applies #9647's blocker fix (adriadam10, for `agc_driver_pipelined_indirect_draw`) to the pipelined fill test, and fixes the race that actually makes that test fail. Under CPU load, `agc_driver_pipelined_fill` fails with "a satisfied WAIT_REG_MEM skipped an overlapping queued write". Its blocker has the same `[this]` lambda #9647 replaced, but the failure comes from somewhere else: - **A completion item outlives `WaitIdle`.** With ordered completion, a submission with nothing left open queues a completion item instead of draining (`Driver::deferCompletion`, `QueueWorker.cpp:73-75`). That item's commit wakes `WaitIdle`. The committer pops it and decrements `Outstanding()` only after the commit returns (`DrawPipeline.cpp:179-184`). So `Finish()` can return while `Outstanding()` still counts it, for about 0.2 ms. - **The next case reads that count too early.** `SatisfiedWaitDrainsOverlappingQueuedWork` starts right after the previous case, and its wait ends as soon as `Outstanding() >= 2`. With the previous case's completion item still counted, its own blocker makes 2 at once. So it checks before the WAIT_REG_MEM has asked for a drain. **The change** (test only, `PipelinedFill.cpp`): - **The fix for the failure:** `Finish()` waits until `DrawPipeline::Queue0().Outstanding()` is 0 after `WaitIdle` returns, so each case starts on an empty pipeline. - **#9647's blocker shape:** the blocker's state is shared with the queued lambda, and each case joins its blocker before its assertions. - **The 500 ms sleep in `SubmitBehind` stays.** It lets the queue worker reach the fill while the pipeline is still empty, and nothing the test can read marks that point. Without it, every loaded run fails with "the queue worker never reached the fill". - Every assertion and message is unchanged. **The other two `[this]` blockers are fine as they are:** - `PipelinedPrefetch.cpp` queues its blocker before the submission. - `ImageTableCacheBounds.cpp`'s queued-draw case waits for all three items. So neither can return before its lambdas have run, and both passed 72 of 72 under the same load. #9508's `agc_driver_pipelined_fill_gpu_heap` variant runs the same binary, and we saw this failure there under load too. ### Tested - **Linux** (Mesa llvmpipe, Ubuntu 24.04, gcc 13, CI's configure flags), under #9647's load: 12 copies at once, each pinned to 2 cores. - **`main` d6eafa54d0:** 15 of 144 runs fail with "a satisfied WAIT_REG_MEM skipped an overlapping queued write". None hangs. - **This change:** - 144 of 144 pass under load, and 20 of 20 unloaded; - `ctest -R 'pipelined|image_table_cache_bounds'` passes 9 of 9. - **#9647's blocker shape alone,** without the case-end wait: 5 of 72 still fail. - **An instrumented build (not part of this PR):** every failing run started its case with the previous case's completion item still counted, and the leftover cleared in 0.15-0.38 ms. - **ec95b59c08, `main` 8b3a6ba88d merged in** (clean; the PR's own diff is unchanged): - **Under the same load**, on a cloud Linux machine (Ubuntu 24.04.5, gcc 13.3.0, Mesa llvmpipe with LLVM 20.1.2, 4-core Xeon): 12 copies at once, each pinned to 2 cores, wrapped onto the 4 cores, 144 runs. This head passes 144 of 144. `main` 8b3a6ba88d fails 18 of 144 with "AGC graphics: a satisfied WAIT_REG_MEM skipped an overlapping queued write". Neither hangs. - Unloaded, this head passes 20 of 20, and `ctest -R 'pipelined|image_table_cache_bounds'` passes 9 of 9. - **GitHub's runners** ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/39778798003)): `agc_driver_pipelined_fill`, `agc_driver_pipelined_prefetch`, `agc_driver_pipelined_indirect_draw` and `agc_driver_image_table_vouch_queued_draws` pass 10 of 10 on both. The libc and libkernel suites pass on both. - **GitHub's Linux and Windows runners** ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/39748528802)): `agc_driver_pipelined_fill`, `agc_driver_pipelined_prefetch`, `agc_driver_pipelined_indirect_draw` and `agc_driver_image_table_vouch_queued_draws` pass 20 times each on Linux, and don't fail on Windows, where the Vulkan tests skip. - **Validation layer, `main` against this PR** (CONTRIBUTING's AGC rule), on one GitHub Linux runner ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/39751868456)). Both runs used `VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation`, `ANYPS5_NO_SHADER_CACHE=1`, `ANYPS5_REQUIRE_VULKAN=1` and `ctest -V`, with `VK_LOADER_DEBUG=layer` to show the layer loading. The device was llvmpipe (LLVM 20.1.2) on Mesa 25.2.8, Ubuntu 24.04.5, Khronos validation layers 1.3.275. - Tests: the same four on both trees, `main`'s once and this PR's three times. - The loader inserted `VK_LAYER_KHRONOS_validation` 5 times on `main` and 15 with this PR, and neither log has `was not found but was requested by env var VK_INSTANCE_LAYERS`. - Both logs report the same single message, `VUID-VkDeviceCreateInfo-pNext-pNext`, for a device-creation structure newer than that layer version. This PR adds no `VUID-` message. - **jotitadev's run on an RTX 3070 and lavapipe** ([review](https://github.com/boykopovar/AnyPS5/pull/9697#pullrequestreview-5612364711)): Ubuntu 26.04, i7-8700, GCC 15.2, Release, with a busy loop pinned to each of the 12 threads and each `agc_driver_pipelined_fill` run pinned to cores 0 and 1, one at a time. - `main`'s `PipelinedFill.cpp`: 13 of 23 runs fail on the RTX 3070 (driver 595.99.02) and 8 of 20 on lavapipe (Mesa 26.0.3), all with "a satisfied WAIT_REG_MEM skipped an overlapping queued write". - This PR (9587c4467): 0 of 30 fail on each. - Without load, `ctest -R "pipelined|image_table_cache_bounds"` (9 tests) passes 3 of 3 on both. - **clairtonmichel's run** ([comment](https://github.com/boykopovar/AnyPS5/pull/9697#issuecomment-6336930314)): AMD Radeon RX 7900 XTX, Mesa 26.2.5, Fedora Linux. It builds, and the AGC suite (639 tests) keeps its baseline results there. - `check_test_registration.py` and `check_conventions.py` pass, with no comment lines added. - Test-only; no title run. ### 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: none - [x] Fixes: none (related: #9647) - [x] Unblocks: none - [x] GPUs tested: Mesa llvmpipe (LLVM 20.1.2), Ubuntu 24.04, on a cloud Linux machine and GitHub's Linux runner, with the validation comparison (Mesa 25.2.8) on GitHub's runner; AMD Radeon RX 7900 XTX (Mesa 26.2.5), Fedora Linux, in clairtonmichel's run; NVIDIA GeForce RTX 3070 (595.99.02) and lavapipe (Mesa 26.0.3, LLVM 21.1.8), Ubuntu 26.04, in jotitadev's run - [x] AI-assisted: yes
clairtonmichel commented 2026-10-22 09:01:59 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by clairtonmichel on 2026-10-22T09:01:59Z.


Tested on AMD Ryzen 7 9800X3D and AMD Radeon RX 7900 XTX (Fedora Linux, Mesa 26.2.5):

  • Built cleanly with zero errors.
  • Ran the AGC driver test suite (639 tests): passed successfully, maintaining identical baseline behavior (with the known pre-existing environment-specific test quirks).
  • Pipelined fill blocker changes are stable. Ready to merge!
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6336930314 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9697#issuecomment-6336930314). Originally posted by [clairtonmichel](https://github.com/clairtonmichel) on 2026-10-22T09:01:59Z. --- Tested on AMD Ryzen 7 9800X3D and AMD Radeon RX 7900 XTX (Fedora Linux, Mesa 26.2.5): - Built cleanly with zero errors. - Ran the AGC driver test suite (639 tests): passed successfully, maintaining identical baseline behavior (with the known pre-existing environment-specific test quirks). - Pipelined fill blocker changes are stable. Ready to merge!
EagleBearerYS commented 2026-10-22 09:26:13 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-22T09:26:13Z.


@clairtonmichel thanks for running it on the RX 7900 XTX. It's in Tested and on the GPUs tested line now. This change only shows up under load: on main the test fails 15 of 144 runs with 12 copies running at once on 2 cores each, and with this PR it passes 144 of 144. A plain suite run passes on both.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6337402413 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9697#issuecomment-6337402413). Originally posted by [EagleBearerYS](https://github.com/EagleBearerYS) on 2026-10-22T09:26:13Z. --- @clairtonmichel thanks for running it on the RX 7900 XTX. It's in Tested and on the GPUs tested line now. This change only shows up under load: on `main` the test fails 15 of 144 runs with 12 copies running at once on 2 cores each, and with this PR it passes 144 of 144. A plain suite run passes on both.
jotitadev commented 2026-10-22 09:53:45 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-22T09:53:45Z.

Review: COMMENTED


Reproduced on NVIDIA, where the failure is more frequent than in the PR's runs, and this change fixes it there too.

Ubuntu 26.04, i7-8700 (12 threads), GCC 15.2, Release, ANYPS5_REQUIRE_VULKAN=1. GPUs: NVIDIA GeForce RTX 3070 (595.99.02) and lavapipe (Mesa 26.0.3, LLVM 21.1.8), picked with ANYPS5_GPU. The load is one busy loop pinned to each of the 12 threads, with every ctest -R "^agc_driver_pipelined_fill$" run pinned to cores 0 and 1 (taskset -c 0,1), one run at a time.

agc_driver_pipelined_fill under load RTX 3070 lavapipe
main (PipelinedFill.cpp as on d6eafa54d and 7e2ba73e4) 13 of 23 failed 8 of 20 failed
this PR, head 9587c4467 0 of 30 failed 0 of 30 failed

Every failure on main is a satisfied WAIT_REG_MEM skipped an overlapping queued write, the failure the PR describes, on both devices. Without load, ctest -R "pipelined|image_table_cache_bounds" (9 tests) passes 3 of 3 with this PR on both.

GPUs tested: NVIDIA GeForce RTX 3070, driver 595.99.02, Ubuntu 26.04; lavapipe (Mesa 26.0.3, LLVM 21.1.8), Ubuntu 26.04

Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5612364711 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9697#pullrequestreview-5612364711). Originally posted by [jotitadev](https://github.com/jotitadev) on 2026-10-22T09:53:45Z. **Review:** COMMENTED --- Reproduced on NVIDIA, where the failure is more frequent than in the PR's runs, and this change fixes it there too. Ubuntu 26.04, i7-8700 (12 threads), GCC 15.2, Release, `ANYPS5_REQUIRE_VULKAN=1`. GPUs: NVIDIA GeForce RTX 3070 (595.99.02) and lavapipe (Mesa 26.0.3, LLVM 21.1.8), picked with `ANYPS5_GPU`. The load is one busy loop pinned to each of the 12 threads, with every `ctest -R "^agc_driver_pipelined_fill$"` run pinned to cores 0 and 1 (`taskset -c 0,1`), one run at a time. | `agc_driver_pipelined_fill` under load | RTX 3070 | lavapipe | |---|---|---| | `main` (`PipelinedFill.cpp` as on d6eafa54d and 7e2ba73e4) | 13 of 23 failed | 8 of 20 failed | | this PR, head `9587c4467` | 0 of 30 failed | 0 of 30 failed | Every failure on `main` is `a satisfied WAIT_REG_MEM skipped an overlapping queued write`, the failure the PR describes, on both devices. Without load, `ctest -R "pipelined|image_table_cache_bounds"` (9 tests) passes 3 of 3 with this PR on both. GPUs tested: NVIDIA GeForce RTX 3070, driver 595.99.02, Ubuntu 26.04; lavapipe (Mesa 26.0.3, LLVM 21.1.8), Ubuntu 26.04 Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.
github-actions[bot] commented 2026-10-22 09:55:36 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-22T09:55:36Z.


Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 6188 core/libs/prx/libSceAgcDriver/tests/execution/PipelinedFill.cpp
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6337943362 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9697#issuecomment-6337943362). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-22T09:55:36Z. --- <!-- pr-overlap --> Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap. | Pull request | Shared files not compared | |---|---| | [PR 6188](https://www.github.com/boykopovar/AnyPS5/pull/6188) | `core/libs/prx/libSceAgcDriver/tests/execution/PipelinedFill.cpp` |
EagleBearerYS commented 2026-10-22 09:58:10 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-22T09:58:10Z.


@jotitadev thanks for reproducing it on the RTX 3070, under a load that makes it fail more often than in our runs, with lavapipe alongside. 13 of 23 on main against 0 of 30 with this PR is the hardware red/green this PR didn't have. It's in Tested and on the GPUs tested line now.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6337990582 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9697#issuecomment-6337990582). Originally posted by [EagleBearerYS](https://github.com/EagleBearerYS) on 2026-10-22T09:58:10Z. --- @jotitadev thanks for reproducing it on the RTX 3070, under a load that makes it fail more often than in our runs, with lavapipe alongside. 13 of 23 on `main` against 0 of 30 with this PR is the hardware red/green this PR didn't have. It's in Tested and on the GPUs tested line now.
MarcZX10 commented 2026-10-22 12:22:10 +00:00 (Migrated from github.com)

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

Review: CHANGES_REQUESTED


I reviewed the shared blocker lifetime, the post-WaitIdle Outstanding() drain, and the overlapping-write test sequence. Capturing shared state removes the queued lambda’s dependence on the stack Blocker, and joining after completion makes the target lifetime explicit. The independent RTX 3070/lavapipe loaded red/green report is strong; I found no code defect in the reviewed diff.

Please update the branch to current main (8b3a6ba88d8fc74e768f1a7e8e9e36fb69842768); this head is based on 7e2ba73e4c, 15 commits behind. Re-run agc_driver_pipelined_fill with the reported loaded setup after the update. The test file has no reported conflict in the merge-tree, but the repository requires PR branches to stay based on current main. I could not independently build or execute the C++ test in this checkout.

Local checks on the exact PR head: conventions passed with the actual PR body and git diff --check passed. Hosted conventions, eligibility, intake, labels and report pass; full Linux/Windows builds are skipped by the repository gates.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5614041990 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9697#pullrequestreview-5614041990). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-22T12:22:10Z. **Review:** CHANGES_REQUESTED --- I reviewed the shared blocker lifetime, the post-`WaitIdle` `Outstanding()` drain, and the overlapping-write test sequence. Capturing shared state removes the queued lambda’s dependence on the stack `Blocker`, and joining after completion makes the target lifetime explicit. The independent RTX 3070/lavapipe loaded red/green report is strong; I found no code defect in the reviewed diff. Please update the branch to current `main` (`8b3a6ba88d8fc74e768f1a7e8e9e36fb69842768`); this head is based on `7e2ba73e4c`, 15 commits behind. Re-run `agc_driver_pipelined_fill` with the reported loaded setup after the update. The test file has no reported conflict in the merge-tree, but the repository requires PR branches to stay based on current main. I could not independently build or execute the C++ test in this checkout. Local checks on the exact PR head: conventions passed with the actual PR body and `git diff --check` passed. Hosted conventions, eligibility, intake, labels and report pass; full Linux/Windows builds are skipped by the repository gates.
EagleBearerYS commented 2026-10-22 12:57:33 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-22T12:57:33Z.


Thanks, @MarcZX10. The branch now has main at 8b3a6ba88d merged in (ec95b59c08), with the PR's own diff unchanged. Rerun on that head with the reported load, 12 copies at once on 2 cores each, 144 runs: agc_driver_pipelined_fill passes 144 of 144, while main 8b3a6ba88d fails 18 of 144 under the same load with "a satisfied WAIT_REG_MEM skipped an overlapping queued write". Unloaded it passes 20 of 20, and the four pipelined tests pass 10 of 10 on GitHub's Linux and Windows runners (run). It's in Tested.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6341317373 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9697#issuecomment-6341317373). Originally posted by [EagleBearerYS](https://github.com/EagleBearerYS) on 2026-10-22T12:57:33Z. --- Thanks, @MarcZX10. The branch now has `main` at 8b3a6ba88d merged in (ec95b59c08), with the PR's own diff unchanged. Rerun on that head with the reported load, 12 copies at once on 2 cores each, 144 runs: `agc_driver_pipelined_fill` passes 144 of 144, while `main` 8b3a6ba88d fails 18 of 144 under the same load with "a satisfied WAIT_REG_MEM skipped an overlapping queued write". Unloaded it passes 20 of 20, and the four pipelined tests pass 10 of 10 on GitHub's Linux and Windows runners ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/39778798003)). It's in Tested.
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!9697
No description provided.