Skip to content

nids: Agc/AgcDriver/Ssl aliasing + Verneed library attribution + glslang Debug fix - #30

Closed
Pouare514 wants to merge 3 commits into
boykopovar:mainfrom
Pouare514:idea/alias-agc-ssl
Closed

Pouare514 wants to merge 3 commits into
boykopovar:mainfrom
Pouare514:idea/alias-agc-ssl

Conversation

@Pouare514

Copy link
Copy Markdown
Contributor

Canonical provider aliasing (Agc/AgcDriver->libSceAgc, Ssl versions->libSceSsl, NID-verified: 65/91 fixed), Verneed/Versym parsing fills NidReference::Library so ValidateNidBelongsToLibrary fires, missing-NID doc list. Also fixes Debug glslang libSPIRV.a so target libs builds (718/718).

Agc_v1/AgcDriver_v1 resolve to libSceAgc/libSceAgcDriver, Ssl_v2.1 to libSceSsl with version tolerance. NIDs verified by recomputation (SHA1+custom base64): Agc 60/69 match (57 computed + 3 raw), Driver 5/17 match, Ssl 0/5 match existing exports. Missing Agc/Driver/Ssl NIDs need real implementations later. Wires ValidateNidBelongsToLibrary into relink pipeline.
…slang Debug postfix; note 26 missing NIDs

RelinkerPipeline now decodes SCE NID suffixes (#lib#mod via DT_SCE_IMPORT_LIB order, 0-based into modules) and GNU DT_VERSYM/DT_VERNEED when present, so ValidateNidBelongsToLibrary fires on real eboots (tested PPSA02929 esbak READ-ONLY: 815 refs, passes, outputs to %TEMP%). ValidationPolicy: general .prx stripping, _native normalization, libScePosix->libkernel, keeping Agc/Driver/Ssl aliases. glslang: clear DEBUG_POSTFIX on vendored targets (AgcDriver + recompiler) so single-config Ninja empty-BUILD_TYPE expects libSPIRV.a (was libSPIRVd.a, no rule, broke every libs build); verified cmake --build build --target libs --parallel 4 completes 718/718. docs/alias-agc-ssl-missing-nids.md lists the 26 missing bodies (Agc 9, Driver 12, Ssl 5 from Legends JSON) without implementing them (needs Sony DB).
@boykopovar

Copy link
Copy Markdown
Owner

Why we need CanonicalNidProvider?

@boykopovar boykopovar closed this Sep 29, 2026
Kikoarl pushed a commit to Kikoarl/AnyPS5 that referenced this pull request Nov 18, 2026
…s not know

The command processor stops on a write to a context, shader or uconfig
register that is not in its tables, in a SET_*_REG packet, an indirect
register list or an indirect draw offset, and on an EVENT_WRITE type it does
not list. Planet Zoo stopped on an unknown register (boykopovar#30), and LEGO Builders
Journey on an unknown indirect context register (boykopovar#21).

The empty entries of the three register tables now point to handlers that
ignore the write and report it with one [HACK] line per register, so the
loops that apply the known registers are unchanged. An unknown event type is
ignored the same way, one line per type. The packet lengths come from the
headers, so the rest of the stream is read as before. KYTY_FALLBACKS=0
stops on them as before, naming the register or event; a write of 0 to
context register 0x24a, which Kyty already ignored in indirect lists, is now
ignored in a direct SET_CONTEXT_REG too.

CONTEXT_CONTROL (opcode 0x28) had no handler, so it stopped with
"unknown op". With register loading and shadowing off it is a no-op on the
console, and AnyPS5's driver accepts it that way; it is now accepted, and
stops with its two control words when either is on.
Kikoarl pushed a commit to Kikoarl/AnyPS5 that referenced this pull request Nov 18, 2026
…s not know

The command processor stops on a write to a context, shader or uconfig
register that is not in its tables, in a SET_*_REG packet, an indirect
register list or an indirect draw offset, and on an EVENT_WRITE type it does
not list. Planet Zoo stopped on an unknown register (boykopovar#30), and LEGO Builders
Journey on an unknown indirect context register (boykopovar#21).

The empty entries of the three register tables now point to handlers that
ignore the write and report it with one [HACK] line per register, so the
loops that apply the known registers are unchanged. An unknown event type is
ignored the same way, one line per type. The packet lengths come from the
headers, so the rest of the stream is read as before. KYTY_FALLBACKS=0
stops on them as before, naming the register or event; a write of 0 to
context register 0x24a, which Kyty already ignored in indirect lists, is now
ignored in a direct SET_CONTEXT_REG too.

CONTEXT_CONTROL (opcode 0x28) had no handler, so it stopped with
"unknown op". With register loading and shadowing off it is a no-op on the
console, and AnyPS5's driver accepts it that way; it is now accepted, and
stops with its two control words when either is on.
Celegans12 pushed a commit to Celegans12/AnyPS5-Ghost-of-Yotei that referenced this pull request Nov 21, 2026
…ows up to date

The help-wanted list still named boykopovar#31, closed on 19 Nov and fixed by
dae70b8 (merged hull programs run), and described boykopovar#30 by its start-up
stop, which boykopovar#41 fixed; boykopovar#30's title now says the 3D scene is drawn wrongly.
It also lacked boykopovar#98, the open 007 First Light GPU hang on RADV. The 007 row
said the first cutscene stops on a merged hull program and runs at 1 to 3
FPS; boykopovar#31 is fixed, and boykopovar#32 reports the cutscene at about 29 FPS on an RX
9070 XT with RADV since the image-heap texture tables (5b1fe32), with the
hang after it in boykopovar#98. The Planet Zoo row said it still stops later; the
status on boykopovar#30 lists those stops as fixed and leaves the wrong 3D rendering.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants