feat(libSceAgc): implement sceAgcAcbSetFlip and sceAgcAcbWaitUntilSafeForRendering #1052
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1052"
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 Kikoarl on 2026-10-07T04:57:11Z.
What
sceAgcDcbSetFlip(PR #494) andsceAgcDcbWaitUntilSafeForRendering. They allocate and write the same Flip (0xc004105c) and RenderingWait (0xc0021018) PM4 packets into the command buffer that the AGC driver consumes across compute and graphics queues (PacketExecution.cpp).docs/dev/TechnicalDebt.mdto note packet parity with DCB.Tested
ninja -C /tmp/anyps5_build -j$(nproc)andctest --test-dir /tmp/anyps5_build -R agc_commands --output-on-failurepass 100%.core/libs/prx/libSceAgc/tests/Commands.cppverifying packet structure, header, arguments, and buffer allocation failure handling for bothsceAgcAcbSetFlipandsceAgcAcbWaitUntilSafeForRendering.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-07T04:57:31Z.
Progress report (
1acbeef→2b1d97d)📈 System libraries: 87.35% (+0.07%, +2 implemented functions)
✅ 2 implemented
sceAgcAcbSetFlipsceAgcAcbWaitUntilSafeForRenderingImported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-07T09:00:23Z.
Thanks for the PR. I'm closing it for now, for the same reason as #970 and #999: no title is shown to reach
sceAgcAcbSetFliporsceAgcAcbWaitUntilSafeForRenderingon main. The description gives DCB symmetry and unit tests, but the owner merges library functions only when a title needs them, shown by the title ID and the log line where it stops on main (heresceAgcAcbSetFlip/sceAgcAcbWaitUntilSafeForRenderinghittingNotImplemented).Two things to settle if it comes back:
sceAgcAcbSetFlip(uint32_t* acb, uint32_t size_dw, vo_handle, buf_idx, vsync)andsceAgcAcbWaitUntilSafeForRendering(uint32_t* acb, uint32_t size_dw), both returningint32_t), so the arguments a title actually passes would decide which is right.If a title stops at one of these on main, please reopen it (or open a new PR) with the title ID, that log line and the arguments it passes.
Pull request closed