agc_driver_frame_replay fails intermittently on Windows CI #10711

Closed
opened 2026-10-24 18:44:38 +00:00 by oneandonlydean · 0 comments
oneandonlydean commented 2026-10-24 18:44:38 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-24T18:44:38Z.


agc_driver_frame_replay (added in #8740) fails intermittently on the Windows CI lane with "the replay did not reproduce the second copy". On 24 Oct it failed in about 6 unrelated PR runs on current main, and a rerun of the same merge usually passes.

@LeandroLP23 found the cause in https://github.com/boykopovar/AnyPS5/pull/8740#issuecomment-6385315259: the recorder reads a delta block with ReadCommittedUnsynced while the second DMA copy into it is still in flight, so the capture stores zeros for that block. At replay those zeros are written back over the finished copy. It reproduces locally when the ctest process is limited to two contended cores (4 of 40 and 3 of 60 runs).

Plan:

  • Quarantine the test on Windows until the fix lands (PR to follow, linked here).
  • Fix in the recorder, following one of the three options in that comment. Waiting on @Sam-mon7 for which one fits the replay design.
  • Remove the quarantine in the fix PR.
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6016347025 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/10711). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-24T18:44:38Z. --- `agc_driver_frame_replay` (added in #8740) fails intermittently on the Windows CI lane with "the replay did not reproduce the second copy". On 24 Oct it failed in about 6 unrelated PR runs on current `main`, and a rerun of the same merge usually passes. @LeandroLP23 found the cause in https://github.com/boykopovar/AnyPS5/pull/8740#issuecomment-6385315259: the recorder reads a delta block with `ReadCommittedUnsynced` while the second DMA copy into it is still in flight, so the capture stores zeros for that block. At replay those zeros are written back over the finished copy. It reproduces locally when the ctest process is limited to two contended cores (4 of 40 and 3 of 60 runs). Plan: - Quarantine the test on Windows until the fix lands (PR to follow, linked here). - Fix in the recorder, following one of the three options in that comment. Waiting on @Sam-mon7 for which one fits the replay design. - Remove the quarantine in the fix PR.
Sign in to join this conversation.
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#10711
No description provided.