docs(debt): note how titles call sceAgcDriverSubmitAcb #10191

Merged
xXPBSXx merged 1 commit from upstream-pr/10191 into main 2026-10-26 15:30:52 +00:00
xXPBSXx commented 2026-10-23 12:25:42 +00:00 (Migrated from github.com)

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


What

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.

Changed: docs/dev/debt/libSceAgcDriver.md. No code change.

Method: Ghidra 12.1.4 headless on the unwrapped executables of the titles named; the addresses are the call sites in those executables as Ghidra maps them, read from the instruction listing (static reading only, nothing run on a console). The listings and decompiled code are game code and are not attached.

Fixes: #10190

Tested

Documentation only. tools/check_conventions.py --base upstream/main passes; git merge-tree against main is clean. Every number in the sentence was recounted against the instruction listing. Not built, not run, 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 #10190
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

AI-assisted (Claude Code).

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4982692098 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/10191). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-23T12:25:42Z. --- ### What 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. Changed: `docs/dev/debt/libSceAgcDriver.md`. No code change. Method: Ghidra 12.1.4 headless on the unwrapped executables of the titles named; the addresses are the call sites in those executables as Ghidra maps them, read from the instruction listing (static reading only, nothing run on a console). The listings and decompiled code are game code and are not attached. Fixes: #10190 ### Tested Documentation only. `tools/check_conventions.py --base upstream/main` passes; `git merge-tree` against `main` is clean. Every number in the sentence was recounted against the instruction listing. Not built, not run, no title run. ### Checklist - [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 #10190 - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes AI-assisted (Claude Code). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
MarcZX10 commented 2026-10-23 12:27:19 +00:00 (Migrated from github.com)

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

Review: APPROVED


Reviewed the documentation-only update at head 4ee33a5509. It adds the title call-site evidence and addresses from the issue while keeping the known console-vs-implementation difference and unmeasured cases explicit; it does not overstate the queue values observed in titles. The change passes local conventions and diff checks, and the hosted eligibility, conventions, intake and labels checks pass. It appropriately fixes #10190 through the debt entry update.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5628191868 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/10191#pullrequestreview-5628191868). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-23T12:27:19Z. **Review:** APPROVED --- Reviewed the documentation-only update at head 4ee33a5509a684c50cbe5c78b86713d13ff97940. It adds the title call-site evidence and addresses from the issue while keeping the known console-vs-implementation difference and unmeasured cases explicit; it does not overstate the queue values observed in titles. The change passes local conventions and diff checks, and the hosted eligibility, conventions, intake and labels checks pass. It appropriately fixes #10190 through the debt entry update.
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!10191
No description provided.