libSceAgcDriver debt: note how titles call sceAgcDriverSubmitAcb #10190

Closed
opened 2026-10-23 12:25:38 +00:00 by xXPBSXx · 0 comments
xXPBSXx commented 2026-10-23 12:25:38 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-23T12:25:38Z.


The debt entry in docs/dev/debt/libSceAgcDriver.md does not record how titles call the function. Title call sites add this (call-site addresses included so the reading can be checked).

The changed entry now reads:

sceAgcDriverSubmitAcb, sceAgcDriverSubmitMultiAcbs (libSceAgcDriver) accept compute queues 0x20 to 0x57 and throw for any other. On a PS5 (firmware 13.40, measured 2026-10-19 from inside a retail title) sceAgcDriverSubmitAcb returned 0 and ran a label-only buffer on queues 0x20, 0x30, 0x40, 0x50, 0x57 and also 0x58, which throws here; queue 0x1F faulted inside the console's driver (SIGSEGV in libkernel on the calling thread), which throws here too. Queues above 0x58 and sceAgcDriverSubmitMultiAcbs were not measured. Closes when: the console's highest accepted compute queue is measured. Four titles (PPSA15246 at 0x71dc9b, PPSA13356 at 0xd0c7b, PPSA21480 at 0xa920b, PPSA35169 at 0x6d08bb) disassembled for this entry call it once each from the same small wrapper, with queue 0x20 + 8 * the low byte of its argument | the next byte, and return the result unchanged; which values occur is not shown.

Fix: branch docs/debt-agcdriver-submitacb-title.

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5997706725 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/10190). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-23T12:25:38Z. --- The debt entry in `docs/dev/debt/libSceAgcDriver.md` does not record how titles call the function. Title call sites add this (call-site addresses included so the reading can be checked). The changed entry now reads: > [sceAgcDriverSubmitAcb, sceAgcDriverSubmitMultiAcbs](../../../core/libs/prx/libSceAgcDriver/Submit/src/Acb.cpp) (libSceAgcDriver) accept compute queues 0x20 to 0x57 and throw for any other. On a PS5 (firmware 13.40, measured 2026-10-19 from inside a retail title) `sceAgcDriverSubmitAcb` returned 0 and ran a label-only buffer on queues 0x20, 0x30, 0x40, 0x50, 0x57 and also 0x58, which throws here; queue 0x1F faulted inside the console's driver (SIGSEGV in libkernel on the calling thread), which throws here too. Queues above 0x58 and `sceAgcDriverSubmitMultiAcbs` were not measured. Closes when: the console's highest accepted compute queue is measured. Four titles (PPSA15246 at 0x71dc9b, PPSA13356 at 0xd0c7b, PPSA21480 at 0xa920b, PPSA35169 at 0x6d08bb) disassembled for this entry call it once each from the same small wrapper, with queue 0x20 + 8 * the low byte of its argument | the next byte, and return the result unchanged; which values occur is not shown. Fix: branch `docs/debt-agcdriver-submitacb-title`. AI-assisted (Claude Code).
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#10190
No description provided.