Tomba! 2 (PPSA29866): VR/VideoOut imports and AGC workload packets block start-up #3646

Closed
opened 2026-10-11 14:43:17 +00:00 by xXPBSXx · 5 comments
xXPBSXx commented 2026-10-11 14:43:17 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-11T14:43:17Z.


AI-assisted (Claude Code), reviewed by the contributor.

Tomba! 2: The Evil Swine Return Special Edition (PPSA29866, from the owner's own dump), Windows. Relinked from the reconstructed ELFs (a 4f153d1d container); without changes the title does not load, and with the changes below it runs for the 60 s I allowed on a local test build (renders a 1920x1080 storage image, compiles shaders, no error line; I did not look at the picture or hear the sound).

What it needed, in the order the stops came:

  1. Eleven imports that no library exports: eight sceHmd2Reprojection*, sceVrTracker2Finalize, sceVideoOutSetFlipMaster, sceVideoOutClearFlipMaster. Seven of the Hmd2 ones and the VrTracker2 one are in my RE4 export branch https://github.com/xXPBSXx/AnyPS5/tree/fix/export-ppsa07411-imports-v3 (issue #2776); the other three are in https://github.com/xXPBSXx/AnyPS5/tree/fix/export-ppsa29866-imports-v2 (stacked on it; declared without parameters and throwing, signatures unknown, listed in TechnicalDebt.md).
  2. After that it stops at sceAgcDcbSetWorkloadsActive not implemented: https://github.com/xXPBSXx/AnyPS5/tree/fix/agc-workload-nop-packets writes a plain two-dword NOP for it and for sceAgcDcbSetWorkloadComplete (the signatures already exist in the file; the test agc_commands fails without the change). The real packet the console writes is unknown; no workload state is kept, as listed in TechnicalDebt.md.

Not established: what the workload calls are for (profiling markers, as far as the names suggest), and whether sceAgcDcbSetWorkloadComplete is called at all (it was not observed). All branches sit on current main (a11c8f7f7); the conventions check passes on each.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5802077746 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3646). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-11T14:43:17Z. --- AI-assisted (Claude Code), reviewed by the contributor. **Tomba! 2: The Evil Swine Return Special Edition (PPSA29866, from the owner's own dump), Windows.** Relinked from the reconstructed ELFs (a `4f153d1d` container); without changes the title does not load, and with the changes below it runs for the 60 s I allowed on a local test build (renders a 1920x1080 storage image, compiles shaders, no error line; I did not look at the picture or hear the sound). What it needed, in the order the stops came: 1. Eleven imports that no library exports: eight `sceHmd2Reprojection*`, `sceVrTracker2Finalize`, `sceVideoOutSetFlipMaster`, `sceVideoOutClearFlipMaster`. Seven of the Hmd2 ones and the VrTracker2 one are in my RE4 export branch https://github.com/xXPBSXx/AnyPS5/tree/fix/export-ppsa07411-imports-v3 (issue #2776); the other three are in https://github.com/xXPBSXx/AnyPS5/tree/fix/export-ppsa29866-imports-v2 (stacked on it; declared without parameters and throwing, signatures unknown, listed in `TechnicalDebt.md`). 2. After that it stops at `sceAgcDcbSetWorkloadsActive not implemented`: https://github.com/xXPBSXx/AnyPS5/tree/fix/agc-workload-nop-packets writes a plain two-dword NOP for it and for `sceAgcDcbSetWorkloadComplete` (the signatures already exist in the file; the test `agc_commands` fails without the change). The real packet the console writes is unknown; no workload state is kept, as listed in `TechnicalDebt.md`. Not established: what the workload calls are for (profiling markers, as far as the names suggest), and whether `sceAgcDcbSetWorkloadComplete` is called at all (it was not observed). All branches sit on current `main` (a11c8f7f7); the conventions check passes on each.
xXPBSXx commented 2026-10-11 23:35:14 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-11T23:35:14Z.


Status on main f9905068b and open PRs (no title run for this comment): the export part is in #3819 (open, mergeable; the first export PR #3801 for the same title was closed as a duplicate). The AGC workload part is #3789 (open; changes were requested, I reworked it to the KytyPS5 packets, and it now conflicts with main, so it needs a rebase before it can merge). Both are still needed for the title to pass its first stops, so this issue stays open.

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6115163252 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3646#issuecomment-6115163252). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-11T23:35:14Z. --- Status on `main` f9905068b and open PRs (no title run for this comment): the export part is in #3819 (open, mergeable; the first export PR #3801 for the same title was closed as a duplicate). The AGC workload part is #3789 (open; changes were requested, I reworked it to the KytyPS5 packets, and it now conflicts with `main`, so it needs a rebase before it can merge). Both are still needed for the title to pass its first stops, so this issue stays open. AI-assisted (Claude Code).
xXPBSXx commented 2026-10-12 07:30:31 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-12T07:30:31Z.


Longer run of PPSA29866 (Tomba! 2 SE), Windows 10, GCC, RTX 4080 SUPER, a local stack of current main d06c06565 with the open PRs of this series (#3819, #3789 for the workload calls, #3814, #4044, #3952 and others) merged: 300 s under the run limit, ended by the limit, no abort or exception, 0 absent imports.

What the logs contain (stdout 384 lines, stderr 18): shader disk cache lines (first 10 s: 135 hits, then 2 hits, 2 misses), a pipeline cache load, two save data mounts (mount3 ... dir=SAVEDATA ... -> 0x00000000), storage-image texture creations, and two notices: [gpu] layer/viewport index vertex exports are ignored (PA_CL_VS_OUT_CNTL=0x01240000) and Rect-list draw of shader ... has no rectangle for fragment shader ...; preparing it at draw. No line with fail, error, unsupported or not implemented. The last stdout line is at about 230 s into the run and the last stderr line about 237 s, so the log goes quiet for the last minute; I cannot tell from the logs whether that is a steady rendering loop or a stall, and I did not look at the picture, so nothing is claimed about what is on screen.

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6119768735 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3646#issuecomment-6119768735). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-12T07:30:31Z. --- Longer run of PPSA29866 (Tomba! 2 SE), Windows 10, GCC, RTX 4080 SUPER, a local stack of current `main` `d06c06565` with the open PRs of this series (#3819, #3789 for the workload calls, #3814, #4044, #3952 and others) merged: 300 s under the run limit, ended by the limit, no abort or exception, 0 absent imports. What the logs contain (stdout 384 lines, stderr 18): shader disk cache lines (first 10 s: 135 hits, then 2 hits, 2 misses), a pipeline cache load, two save data mounts (`mount3 ... dir=SAVEDATA ... -> 0x00000000`), storage-image texture creations, and two notices: `[gpu] layer/viewport index vertex exports are ignored (PA_CL_VS_OUT_CNTL=0x01240000)` and `Rect-list draw of shader ... has no rectangle for fragment shader ...; preparing it at draw`. No line with fail, error, unsupported or not implemented. The last stdout line is at about 230 s into the run and the last stderr line about 237 s, so the log goes quiet for the last minute; I cannot tell from the logs whether that is a steady rendering loop or a stall, and I did not look at the picture, so nothing is claimed about what is on screen. AI-assisted (Claude Code).
oneandonlydean commented 2026-10-13 02:08:50 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-13T02:08:50Z.


#3819 and #3789 are on main now. Does PPSA29866 start on plain main without the local stack? If it does, this can close.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6136636017 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3646#issuecomment-6136636017). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-13T02:08:50Z. --- #3819 and #3789 are on main now. Does PPSA29866 start on plain main without the local stack? If it does, this can close.
oneandonlydean commented 2026-10-16 23:53:54 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-16T23:53:54Z.


Reminder on my question from 10-13: #3819 and #3789 are on main now. Does PPSA29866 start on plain main without the local stack? If it does, this can close; if not, post the first stop.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6226917801 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3646#issuecomment-6226917801). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-16T23:53:54Z. --- Reminder on my question from 10-13: #3819 and #3789 are on main now. Does PPSA29866 start on plain main without the local stack? If it does, this can close; if not, post the first stop.
oneandonlydean commented 2026-10-17 22:23:35 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-17T22:23:35Z.


Closing this for now. #3819 and #3789 are on main, and your last run on a local stack with them (10-12) went 300 s with no abort and no missing imports. If PPSA29866 still stops on current main, please reopen or open a new issue with the first stop and the log line.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6242185822 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3646#issuecomment-6242185822). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-17T22:23:35Z. --- Closing this for now. #3819 and #3789 are on main, and your last run on a local stack with them (10-12) went 300 s with no abort and no missing imports. If PPSA29866 still stops on current main, please reopen or open a new issue with the first stop and the log line.
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#3646
No description provided.