fix(agc): synchronize frame capture memory deltas #11185
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/11185"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by Sumaiter on 2026-10-25T20:56:49Z.
What
FrameRecorder::writeDelta()now waits up to 10 seconds for already accepted submissions before reading memory deltas, preventing stale guest bytes from overwriting a completed DMA copy during replay. A timeout throws instead of producing an inconsistent capture. The accepted/completed serials are read after the wait.This also removes the Windows quarantine from
agc_driver_frame_replay, deletes its resolved debt entry and documents the synchronized capture behavior. This should land before #11157, which will then register the Linux replay test beside the Windows test without its quarantine changes.Tested
Windows 11, AMD Radeon RX 9070 XT (driver 32.0.32015.7029), WinLibs GCC 15.2.0, Release with
BUILD_TESTING=ON. No title or console run.agc_frame_capture,agc_driver_frame_capture_eopandagc_driver_frame_replaypassed onmainand on the change withANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1andVK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation. Khronos 1.4.363.0 loaded; noVUID-or missing-layer message.agc_driver_frame_replaypassed 100/100 repetitions on the pre-rebase change; the three focused tests passed again on the rebased commit.main:guest_wide_formatting,agc_host_import_cut_lifetime,agc_driver_depth_plane_partial_store,agc_driver_division_output_modifiers,agc_driver_division_result_modifiers,agc_driver_f64_conversions,agc_driver_f64_transcendental,agc_driver_sample_order_grid_reference,pad_sdl.check_conventions.py,check_test_registration.py --scripts,git diff --checkandpr_overlap.pypass. The overlap with #11157 is coordinated as this fix first, with no dependency needed.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Pull request closed