fix(exports): export the calls PPSA29866 imports #3819
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3819"
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 xXPBSXx on 2026-10-11T17:12:22Z.
What
Tomba! 2 (PPSA29866) fails to load because three imports have no export. This PR declares them without parameters as throwing stubs (signatures unknown), as #1347 did for PPSA01317:
libSceHmd2sceHmd2ReprojectionQuerySeeThroughBufferSizeAlignlibSceVideoOutsceVideoOutSetFlipMaster,sceVideoOutClearFlipMasterNames come from the aerolib NID list (
tools/nid_names.py). No test is added, since CONTRIBUTING says not to test that a symbol is exported; a TechnicalDebt entry lists the stubs. The title's other missing imports are covered by #3773 (PPSA07411) and #3537 (PS VR2). It replaces #3801, which was stacked on #3799 and so repeated its exports.Tested
libSceHmd2andlibSceVideoOutbuild;tools/check_conventions.py --base upstream/mainpasses. I searched the open PRs for these three names and found none.sceAgcDcbSetWorkloadsActiveis a separate matter).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-11T17:12:44Z.
Progress report (
2f4cc89→0485570)📉 System libraries: 86.29% (-0.07%, +3 declared functions)
🆕 3 declared as stubs
sceHmd2ReprojectionQuerySeeThroughBufferSizeAlignsceVideoOutClearFlipMastersceVideoOutSetFlipMasterImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T22:55:30Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)sceVideoOutClearFlipMastersceVideoOutSetFlipMasterImported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-12T01:57:20Z.
Run of PPSA29866 (Tomba! 2 SE), Windows, GCC, RTX 4080 SUPER, 150 s limit, on current main + this PR (#3819) + #3789 (
sceAgcDcbSetWorkloadsActive, merged locally): 0 unresolved imports. With #3819 alone the run stops atsceAgcDcbSetWorkloadsActive not implemented(#3789 covers it). With both, no abort or exception for the whole 150 s; the log shows draws and storage-image textures being created, shader disk cache hits and misses, and extra threads started. I did not judge the picture, so that the title renders correctly is not claimed.AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-12T07:30:28Z.
Longer run of PPSA29866 (Tomba! 2 SE), Windows 10, GCC, RTX 4080 SUPER, a local stack of current
maind06c06565with 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)andRect-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).
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-12T15:18:51Z.
Played by hand (not only a log run): PPSA29866 (Tomba! 2: The Evil Swine Return Special Edition), Windows 10, GCC, RTX 4080 SUPER, 600 s, with the same local stack as in the earlier comment (current
maind06c06565plus open PRs of this account, this PR among them, and #3791, #3737, #3840).What was seen (by eye and ear, frame counter and FPS from the window title):
Not isolated: which of the stacked PRs are needed besides this one (earlier finding: #3789 for
sceAgcDcbSetWorkloadsActive). Linux not tested.AI-assisted (Claude Code).