feat(libs): add the sceG2PDialogClose and sceNpSetTimeout exports #2872
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2872"
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 CouchRiv on 2026-10-10T17:14:00Z.
What
A retail title fails eager binding on two imports that no library exports. No open pull request adds them. Same scope as #2074.
sceG2PDialogCloseNotImplemented_nid_no_patch), like the other G2P exports; assumedint(void)signaturesceNpSetTimeoutINVALID_ARGUMENT, unknown or deleted IDs returnREQUEST_NOT_FOUND, live requests return 0Names come from the aerolib NID list. Close's signature is assumed from sceLoginDialogClose. Timeout's signature and validation follow shadPS4; request creation/deletion now tracks live IDs. There is no network I/O, so accepted timeouts are not stored. TechnicalDebt records the G2P signature assumption and timeout behavior that has not been checked on a console.
Tested
CachyOS Linux, RTX 4070 Ti (NVIDIA 615.78.08) and Radeon 610M (RADV), based on main
57f96fd2b.Full Release build and library targets passed.
Full ctest on both GPUs (701 registered): NVIDIA has the existing
agc_driver_dcc_keys_first_writefailure, 4 skipped. RADV has anagc_driversegfault, 7 skipped; it passes alone but fails again in a full rerun. Both NP guest tests pass on both GPUs.Lavapipe CI environment:
guest_np_managerandguest_np_reachability, 2/2 passed. Timeout checks cover argument limits, default values, live/unknown/deleted requests and synchronous/asynchronous creation.check_conventions.py --base origin/mainandgit diff --checkpassed.The title on main
57f96fd2bstops at:This branch's audit finds no absent imports in the executable or bundled modules. It passes eager binding and reaches guest initialization, then stops at:
G2P Close invocation, console ABI/timeout behavior, Windows and gameplay were not verified.
Checklist
57f96fd2b; 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-10T17:14:21Z.
Progress report (
57f96fd→2a67559)📉 System libraries: 84.5% (-0.02%, +1 implemented, +1 declared functions)
✅ 1 implemented
sceNpSetTimeout🆕 1 declared as stubs
sceG2PDialogCloseImported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-10T17:53:43Z.
Windows result for Returnal (PPSA01285 v03.000.005), on top of this PR.
The import audit before start-up (executable and all 6 modules, all registries) on
mainat57f96fd2shows 2606 unique imports: 924 implemented, 52 stubs, 2 absent. The two absent imports are exactlysceG2PDialogCloseandsceNpSetTimeout, so the list here is complete on Windows as well.I tested this branch plus the commit of #2658 (
pthread_attr_setsolosched_np, closed by the intake pause) as a local branch. On Windows the title then passes eager binding and guest initialization, opens files under/app0/engine/and/app0/tourist/and starts its threads. It runs for about 8 minutes with 0 frames presented, compiling shaders (about 14 GB of shader cache), and then aborts with:That is the open problem of #2548. Before the abort, 6 shaders were refused with that error, and 1 more with
CFG shared merge splitting exceeded budget: originalBlocks=19 currentBlocks=95 splitBudget=76.Windows 10 (19045), NVIDIA GeForce RTX 4080 SUPER, MinGW-w64 GCC 15.2.0 (WinLibs r7), Release. The executable and modules were relinked from ELF files rebuilt from the dump's containers (each file's SHA-256 matches the digest stored in its container). Dump from my own digital copy; no game files shared. AI-assisted.