Palworld (PPSA23126): next start-up stop is unresolved import oiOi7vgPfAY (sceAudioOut2EnableChat) #2648
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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-10T09:57:55Z.
Palworld (PPSA23126, content version 01.102.999): start-up now stops on
oiOi7vgPfAY(sceAudioOut2EnableChat), imported by the title'slibdiscord_partner_sdk.prxFollow-up to #2598 (fixed by #2623). With that export in place, the next start-up stop is:
The name comes from the aerolib list used by
tools/nid_names.py.libSceAudioOuthas no export for it. The importer islibdiscord_partner_sdk.prx(prx/, registry entry at0x8732B0), a module the title ships; the missing export is in the system library.Setup
mainat1138fa96, no local changes; fresh relink with--windows --registry, libraries fromlibs, MinGW runtime DLLs next to themImport audit across the executable and all 38 bundled modules (
tools/import_audit.pyrun with all 39 registries; the executable's registry alone does not list the modules' imports, which is why a single run shows only 289 absent): 2985 unique imports.aerolib names 9 of the 298 absent imports:
oiOi7vgPfAYsceAudioOut2EnableChatlibdiscord_partner_sdk.prxYfaXPnc8PJEsceHttp2WebSocketSetPingIntervallibdiscord_partner_sdk.prxJxJ4tfgKlXAsceKernelDeleteReadEventlibdiscord_partner_sdk.prxR-tyYMpYaxYsceKernelAddWriteEventlibdiscord_partner_sdk.prxRW-GEfpnsqgkeventlibdiscord_partner_sdk.prxUmXngHKB6issceKernelDeleteFileEventlibdiscord_partner_sdk.prxVHCS3rCd0PMsceKernelAddReadEventlibdiscord_partner_sdk.prxcBGTk8S92XMsceKernelDeleteWriteEventlibdiscord_partner_sdk.prxcG3t15OK4OwsceKernelAddFileEventlibdiscord_partner_sdk.prxI can list the unnamed NIDs if useful.
No game files are shared, only the log line and NIDs. AI-assisted.
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-10T10:15:16Z.
A tested fix is on my fork, based on current main (
a29ef592):https://github.com/xXPBSXx/AnyPS5/tree/fix/audioout2-enable-chat-export
It exports
sceAudioOut2EnableChat(oiOi7vgPfAY) without an implementation, since its signature is unknown: it throwsNotImplementedlikesceSaveDataCancelin #2623. New testaudio_out2_enable_chat, TechnicalDebt entry for PPSA23126.Windows 10 (19045), MinGW-w64 GCC 15.2.0 (WinLibs r7), Release: the new test and the 14 audio tests pass,
check_conventions.pyandcheck_test_registration.pypass. With the rebuilt libraries Palworld no longer stops atoiOi7vgPfAY; the next stop isunresolved ELF import YfaXPnc8PJE from libSceHttp2.prx(sceHttp2WebSocketSetPingInterval). Linux not tested. AI-assisted.Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-10T10:21:07Z.
A tested fix for the next import is on my fork, based on current main (
a29ef592):https://github.com/xXPBSXx/AnyPS5/tree/fix/http2-websocket-ping-interval-export
It exports
sceHttp2WebSocketSetPingInterval(YfaXPnc8PJE) without an implementation, since its signature is unknown: it throwsNotImplementedlikesceSaveDataCancelin #2623. New testguest_http2_websocket_ping_interval, TechnicalDebt entry for PPSA23126. It is independent of thesceAudioOut2EnableChatbranch above (separate topic).Windows 10 (19045), MinGW-w64 GCC 15.2.0 (WinLibs r7), Release: the new test and
guest_http2pass, the rebuiltlibSceHttp2.prxexportsYfaXPnc8PJE,check_conventions.pyandcheck_test_registration.pypass. I did not run Palworld with this branch alone: it stops atsceAudioOut2EnableChatfirst. Linux not tested. AI-assisted.Imported from boykopovar/AnyPS5. Originally posted by ArjenS-LA on 2026-10-10T10:46:45Z.
@xXPBSXx There’s existing work covering four more imports in your audit: #1091 implements
sceKernelAddReadEvent,sceKernelDeleteReadEvent,sceKernelAddWriteEventandsceKernelDeleteWriteEventfor guest sockets. It remains open, although its latest review requests a rebase for aSocketRuntime.hppconflict. It does not coverkevent,sceKernelAddFileEventorsceKernelDeleteFileEvent.The linked #2659 overlaps with your AudioOut2 branch: both declare
sceAudioOut2EnableChatas a throwing stub. That PR was automatically closed under the intake pause, so it hasn’t landed.Your AudioOut2 run establishes that the loader advances to
sceHttp2WebSocketSetPingInterval. With the separate HTTP2 branch now available, could you report the first remaining blocker with both branches applied, including the base and branch commits? That would establish the next step without assuming which audited import the loader encounters next.AI-assisted review of the issue and linked PRs; I have not independently tested Palworld or these branches.
Imported from boykopovar/AnyPS5. Originally posted by husseinkad on 2026-10-10T11:10:00Z.
I have a change for this: #2659 declares
sceAudioOut2EnableChat(NIDoiOi7vgPfAY) as a throwing stub solibdiscord_partner_sdk.prxresolves. The intake check closed the PR automatically; the branch ishusseinkad:feat/audioout2-enable-chat-import(one commit onmain) for anyone who wants to carry it. It resolves only this import; the other absent imports in the issue need their own changes. I'm working on this one, so please say here before starting the same change.AI-assisted: yes.
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-10T11:10:17Z.
@ArjenS-LA thanks. With both branches applied the first remaining blocker is:
VHCS3rCd0PMissceKernelAddReadEvent(aerolib), which #1091 covers, as you noted. So the loader now gets throughsceAudioOut2EnableChatandsceHttp2WebSocketSetPingIntervaland stops at the first event call.Base and commits
mainatb5f5362dfix/audioout2-enable-chat-export(6ea62191, built ona29ef592), applied as05f4d6ddfix/http2-websocket-ping-interval-export(a32f01bb, built ona29ef592), applied as5ea2c9a1TechnicalDebt.mdat the same spot; the second cherry-pick conflicts there and keeping both lines resolves it. The test branch itself is local, not pushed.Still not covered by #1091 (per your list, all imported by
libdiscord_partner_sdk.prx):kevent(RW-GEfpnsqg),sceKernelAddFileEvent(cG3t15OK4Ow),sceKernelDeleteFileEvent(UmXngHKB6is).sceKernelDeleteReadEvent,sceKernelAddWriteEvent,sceKernelDeleteWriteEventare the other three of #1091's four.Windows 10 (19045), MinGW-w64 GCC 15.2.0 (WinLibs r7), Release, libraries rebuilt with the
libstarget and copied next toapp.exe. I did not go past this stop: I have no verified signature for the event calls, so I am not proposing code for them. Linux not tested. AI-assisted.Imported from boykopovar/AnyPS5. Originally posted by husseinkad on 2026-10-10T11:13:51Z.
Correction to my earlier comment: @xXPBSXx's branch
fix/audioout2-enable-chat-export(10:15 UTC) predates mine and makes the same change (a throwingsceAudioOut2EnableChatstub, plus a test and a TechnicalDebt entry for PPSA23126), and I had not seen it when I opened #2659. Please treat that branch as the one to carry; there is nothing to add from mine, and I am not working on this issue further. Thank you @ArjenS-LA for pointing out the overlap, and @xXPBSXx for tracing the next stops (sceHttp2WebSocketSetPingInterval, then the event calls covered by #1091).AI-assisted: yes.
Imported from boykopovar/AnyPS5. Originally posted by ArjenS-LA on 2026-10-10T11:42:15Z.
@xXPBSXx Thanks for the combined run and pinned commits. That establishes
VHCS3rCd0PMas the next loader blocker; it does not yet establish that the event function is called.I rechecked #1091 at
96eb4ade: itsAddDescriptorEventsupports guest sockets, but explicitly rejects non-socket descriptors and asize(low watermark) above 1. The PR is still open and currently has merge conflicts.Once #1091 has been rebased and its calling convention/signature checked for this importer, the useful next result is the first remaining unresolved import. If loading completes and execution actually reaches
sceKernelAddReadEvent, the descriptor,size, and return value or exception would tell us whether this title fits the supported socket path. No need to guess a signature to force the test forward.AI-assisted source review; I have not independently run Palworld or the combined branches.
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-10T11:52:39Z.
@ArjenS-LA I rebased #1091 locally onto current
mainand ran Palworld with it. The first remaining unresolved import is now:cG3t15OK4OwissceKernelAddFileEvent(aerolib), which #1091 does not cover, as you noted.VHCS3rCd0PM(sceKernelAddReadEvent) is resolved.kevent(RW-GEfpnsqg) andsceKernelDeleteFileEvent(UmXngHKB6is) are the other two imports outside #1091; I do not know in which order the loader reports them.Base and commits (local branch, not pushed)
mainatb5f5362dfix/audioout2-enable-chat-export(6ea62191) andfix/http2-websocket-ping-interval-export(a32f01bb)96eb4ade:ebf9884dand96eb4ade, cherry-picked in that orderSocketRuntime.hpp(kept both sides:main's<cstddef>,Family,Read,Writeand #1091'sReady) andTechnicalDebt.md(the second #1091 commit replaces the polling line it added in the first,shm_openfrommainkept)Checks
libstarget builds without errors with all four commits appliedguest_socket_events,guest_equeue_events,guest_socket_read_write,guest_socket_pair,guest_udp,guest_tcp,guest_kernel_syncandguest_http2_websocket_ping_intervalpassWhat this does not show: the loader stops before the title runs, so I cannot say whether Palworld calls
sceKernelAddReadEvent, or with which descriptor,sizeand return value. That needs the three remaining imports resolved first. I have not reviewed #1091's semantics beyond building it and running its tests, and I am not proposing code for the file-event calls: I have no verified signature for them.Windows 10 (19045), MinGW-w64 GCC 15.2.0 (WinLibs r7), Release. Linux not tested. AI-assisted.
Imported from boykopovar/AnyPS5. Originally posted by Rohan03x on 2026-10-11T00:21:54Z.
A branch for the three imports left in this audit, based on current main (
942a174e):Rohan03x:feat/ppsa23126-unimplemented-exports, one commit (dec3b0b0). The intake check would close a PR from me, so it is here for anyone who can carry it.It declares
sceKernelAddFileEvent(cG3t15OK4Ow),sceKernelDeleteFileEvent(UmXngHKB6is) andkevent(RW-GEfpnsqg) inlibkernel/Unimplemented.cppas unimplemented exports: signatures unknown, declared without parameters, they throw with their name. Plus one TechnicalDebt line for PPSA23126. I checked the three names by hashing them to the NIDs.Tested: Windows 11 22621, GCC 15.2.0 UCRT Release.
check_conventionspasses and the builtlibkernel.prxexports the three NIDs. ctest: 758 tests, 5 skipped, 756 pass.guest_filesystemfails at its Windows symbolic-linklstatcheck (line 296) and fails the same way on unmodified942a174eon this machine;agc_driver_draw_cache_reusefailed once in the parallel run and passes when rerun.With the title (Palworld PPSA23126 v01.102.999, on an earlier main,
292ecfb0, with the same three declarations plus the other imports from this issue): all imports bind, 0 unresolved of 3,096 across the executable and the 38 modules, and start-up runs for more than ten seconds without any of the three being called.What it stops on after binding, in case it saves someone the runs:
FD_SETon a libkernel socket descriptor (0x10000005) and writes 32 MB past itsfd_set; details in https://github.com/boykopovar/AnyPS5/issues/1794#issuecomment-6098818206.sceHttp2WaitAsync: waiting for an operation that has not completed, called fromlibdiscord_partner_sdk.prx. A static read traces it tosceKernelWaitEqueuereporting one level-triggered user event several times in a single wait, which is what the closed #2703 changes; I have not yet confirmed that with the title.AI-assisted: yes.
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-11T00:52:46Z.
@Rohan03x thanks for the branch. One overlap to know about: my branch https://github.com/xXPBSXx/AnyPS5/tree/fix/export-ppsa01530-ppsa23827-ppsa13356-imports (issue #3177) contains a small implementation of
kqueueandkeventinlibkernel/Equeue/src/Kqueue.cppfor Cloudberry Kingdom (PPSA23827): it acceptsEVFILT_VNODEregistrations that never fire and throws on any other filter. Cloudberry registers exactly one vnode watch on a file descriptor and the title then runs on. Sokeventshould be declared in only one of the two; if Palworld needs another filter, it would throw "only the vnode filter is supported" with the filter number, which would be useful to know.sceKernelAddFileEventandsceKernelDeleteFileEventare not in my branch, so your declarations for those two don't overlap.AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by queeeef on 2026-10-11T17:20:20Z.
Palworld (PPSA23126, 01.102.999) on current
maina11c8f7f7: past start-up to character creation with open PRs; the stops in orderWith the open PRs below and three local workarounds, the title reaches the main menu, the world list, world settings and the character creation screen, then stops in title code (item 10).
mainalone stops at item 1.Branch with everything applied, in this order:
queeeef/AnyPS5:palworld/integration. The threeWIP(local)commits on it are experiments for finding the next stops, not proposals.FAIL: unresolved ELF import cG3t15OK4Ow from libkernel.prx(sceKernelAddFileEvent;keventandsceKernelDeleteFileEventalso absent)blawesom:verify/3461(35b3628e), cherry-picks cleanly; every import then bindsunhandled exception 0xc0000005 on thread 'RtcNetworkThread',eossdk-ps5-shipping.prx.guest.prx+0xdea2be:FD_SETon libkernel socket0x100000058081a8e1(details in #1794)packed pixel ancillary input has an unsupported live use (used by SelectU32 ? ?), pixel shader0x1b40e70000color views of several array slices are unsupportedmipmapped or DCC 3D color targets are unsupported: a layered draw into a DCC 48x48x48 volumeab6e3a3d)storage image access to depth/stencil surface 0x30264b0000 is not implemented(159x90, guest format 7, same extent as the surface)47e79b06)storage access to a depth surface's stencil plane is not implemented, during presentationb8321ec8: an ordinary storage image over guest memory, so the stencil data that shader reads is wrongv_readlane_b32 of lane 63 is outside the 32-lane host subgroup(vertex programs0x1843cb4000,0x1843dfc000)incomplete rect-list primitive(4 vertices × 9 instances)917fd308unhandled exception 0xc0000005 on thread 'Background Worker #2',rip app.exe+0x575bdc0,read of 0x48Item 10. Title code
mov rax,[rbp-0x48]; mov rax,[rax+0x48]with a null pointer, in a loop over an array of pointers (null entries are skipped). Frame chainapp.exe+0x575c2b1,+0x57cd1fa,+0x57cdf7e,+0x57c9186,+0x57c90cb,+0x57dcf8d,+0xcb4c3f,+0x1fb7e,+0x2d79114,+0x2d7a4b7,+0x2d86c8f,+0xa83d64,+0x2dd26fc,+0x2d81e91(task worker entry). I have not traced where the null comes from. It may be downstream of workaround 7 (a compute shader reads guest memory where the stencil plane belongs), so it needs a run with #2076 instead of that workaround before it is worth its own issue. #2076 shows as mergeable again; I have not tested it.Performance (RTX 2080 Ti). About 13 FPS on the main menu and 12 FPS in world settings. On character creation the frame rate falls to 0.07-3.4 FPS and sound plays in fragments. Up to that screen every shader comes from the disk cache (665 hits, 0 misses); on it the cache reports 150 misses in about 2 minutes, so about 150 programs are prepared while the screen is displayed. Device-local memory use stays at 6.5 of 10 GB.
Other observations
dirNameSearch user=268435456 pattern=(all) hit=1 set=1 -> 0, thenmount3 … dir=UserOption mode=0x1 … -> 0x809f0008. I have not checked whether this is the correct result for a first run.sceSysmoduleLoadModule: unknown id: 267(returns 0).[gpu] layer/viewport index vertex exports are ignored (PA_CL_VS_OUT_CNTL=0x01240000)is still printed with #1077, because bit 24 is outside itslayerExports; the layered draw itself is routed.FAIL: AMD-only instruction without Intel lowering: MONITORX (offset 0x2d2fcb0).mainlowers it.Setup
--windows --to-intel --registrylibs, MinGW runtime DLLs beside them.app0/palandapp0/sce_sysare directory junctions to the game files; the relinked modules are real files.No game files are shared, only log lines, addresses and register values. AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-11T17:45:22Z.
Small update for item 1 in the stop table: open PR #3764 now implements
sceKernelAddFileEvent,sceKernelDeleteFileEvent, andkevent(along with the kqueue calls). Its applicable intake, conventions, register-context, write-watch and relinker checks currently pass; full Linux/Windows jobs are skipped under the repository's manual-dispatch policy.This is not on
mainyet, so it should be treated as a candidate fix until it merges and is tested with the title stack. It may let the next run progress to item 2 in your table.Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-11T23:33:17Z.
Status on
mainf9905068b(checked by reading the code and an import audit, plus a Windows run of Palworld's relinked modules):sceAudioOut2EnableChatis exported now, so the stop in the title of this issue is past. The current first stop onmainisFAIL: unresolved ELF import cG3t15OK4Ow(sceKernelAddFileEvent; 38 modules, 2 named absent imports in the audit:sceKernelAddFileEvent,sceKernelDeleteFileEvent), which PR #3764 (open) implements. Further stops with open PRs are listed in queeeef's comment above, so this issue stays open as the tracking issue for Palworld.AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-12T02:10:32Z.
Test with #3764 (kqueue) on main, Windows 10, GCC, 150 s limit: stop 1 (
sceKernelAddFileEvent) is gone, 0 unresolved imports. The next stop reproduces queeeef's item 2:unhandled exception 0xc0000005 on thread 'RtcNetworkThread',eossdk-ps5-shipping.prx.guest.prx+0xdea2be, write fault,rcx=0x10000005(libkernel socket,FD_SET, #1794). The game directory has to be linked intoapp0(pal,sce_sys,uecommandline.txt), otherwise the title stops earlier atGEngineLoop.PreInit Failed!becausepal.uprojectis not found. Comment on the PR: https://github.com/boykopovar/AnyPS5/pull/3764AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-14T00:08:23Z.
Closing:
sceAudioOut2EnableChatis exported since #2890, and #3764 and #4391 are in too. Further Palworld stops go in a Game bring-up discussion. If this import still fails on current main, comment here.