feat(libSceVideoOut): declare 13 qualified later callable exports #15653
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/15653"
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 B-Howell on 2026-11-04T00:03:56Z.
What
Declare 13
libSceVideoOutfunction exports as throwing placeholders. They appear only in the 13.60-labelled image, under logical libraries other than the primary one: 12 underlibSceVideoOut_nosubmissionand-7inAKRfvfEunderlibSceVideoOutHdrScopes_nosubmission. With them declared, imports resolve and stop with an explicit diagnostic instead of failing at load. Signatures and behavior are unverified and no VideoOut functionality is implemented; every entry callsNotImplemented_nid_no_patch.The relinker resolves a qualified import (
NID#library#module) by its module ID only (DeclaredImportModuleincore/relinker/domain/include/domain/ImportModule.hpp), so one export fromlibSceVideoOut.prxserves every logical library of the module. #15347 already relies on this forsceVideoOutDebugLatencyMeasureGetLatestLatency, which is also exported under thelibSceVideoOut_nosubmissionandlibSceVideoOutLatency_nosubmissionqualifiers. Both logical libraries belong to thelibSceVideoOutmodule in the revision-pinned identity inventory that the debt file already cites. Qualified guest import resolution is unverified.tools/nid_names.py --name:sceVideoOutSysAddFlipEventgivesNMhOpB9KTqA,sceVideoOutSysDeleteFlipEventgivesagXH3kcyi+A, andsceVideoOutSysSetBusTransfergivesUgFHQ3TjeXQ.tools/nid_names.py --name:sceVideoOutLatencyMeasureSetStartPointAutogivesowjymCzlZSE, andsceVideoOutSetDrrMonitorCapabilitygivesdcIKDMzAcUQ. The first issceVideoOutLatencyMeasureSetStartPoint(MCJ8SkzsQxY, onmain) with theAutosuffix ofsceVideoOutLatencyMeasureSetFrameStartAuto(Hs+c89SeUYI, pinned database). The second isSetDrrfromsceVideoOutDebugSetDrrunder thesceVideoOutprefix, followed by the wordsMonitorandCapability.intfunctions whose names give the NIDs, each declared once inLaterExports.hpp.tools/nid_names.pyresolves none of them. About 53 million candidate names were hashed and none matched. The candidates were everyscesymbol in the pinned database, the 13.60 inventory and its verified name map, the public 3.20 catalogue, the ps5rs NID list, andcore/anddocs/onmain. They also included everysceVideoOutname from those sources under thesceVideoOut,Sys,Debug,Driver,SysDebugandsceDbgVideoOutprefixes, withGet/Set/Is/Add/Deleteand other verb counterparts, 32 suffixes (_,Ex,2,Native,Privilege,ByBusand others), and one or two CamelCase words from those names added. They use literal NID aliases (libSceVideoOutUnknown_<NID>_nid_no_patch,-as_minus_and+as_plus_) as in #13123 and #15452.The new
extern "C"block goes before #15347's block inInventoryExports.cpp, the declarations go at the top ofLaterExports.hpp, and the debt entry goes before #15347's entry. #15452 appends to the end of all three files, so this branch and #15452 merge cleanly.Not included:
kGVLc3htQE8(sceVideoOutGetDeviceCapabilityInfo_) andpjkDsgxli6c(sceVideoOutModeSetAny_), the other twolibSceVideoOut_nosubmissiongaps, which #9880 declares.libSceVideoOutSecondaryNIDs, whichmainalready exports from that library's own module (core/libs/prx/libSceVideoOutSecondary).libSceVideoOutServer,libSceVideoOutSubEx,libSceVideoOutOverlay64bpp,libSceVideoOutSwitchBusFor64bppand the twoAspectRatio*Trial_nosubmissionlibraries. No source I have places these libraries in thelibSceVideoOutmodule, andlibSceVideoOutSecondaryshows that a library with this kind of name can be a module of its own.With this change, every function export that the inventory lists for
libSceVideoOut_nosubmissionis either exported or declared by an open PR. The image label does not authenticate a retail firmware version. No game unblock is claimed.sceVideoOutLatencyMeasureSetStartPointAutoowjymCzlZSElibSceVideoOut_nosubmissionsceVideoOutSetDrrMonitorCapabilitydcIKDMzAcUQlibSceVideoOut_nosubmissionsceVideoOutSysAddFlipEventNMhOpB9KTqAlibSceVideoOut_nosubmissionsceVideoOutSysDeleteFlipEventagXH3kcyi+AlibSceVideoOut_nosubmissionsceVideoOutSysSetBusTransferUgFHQ3TjeXQlibSceVideoOut_nosubmissionUnknown-7inAKRfvfElibSceVideoOutHdrScopes_nosubmissionUnknown24GHCH4jyzUlibSceVideoOut_nosubmissionUnknown9jqDAT2tPAglibSceVideoOut_nosubmissionUnknownDFNafp+tWs8libSceVideoOut_nosubmissionUnknownG0FPxnpizUclibSceVideoOut_nosubmissionUnknownJpVPYbAVxRQlibSceVideoOut_nosubmissionUnknownKEOpdUvfQHQlibSceVideoOut_nosubmissionUnknownkoLWa3yaO-8libSceVideoOut_nosubmissionTested
Original submission
libsand thelibSceVideoOuttest executables at this commit, on top ofmain1c8c0efc8c. I then ranpublic_headersand the 56 tests registered bylibSceVideoOut's CMake (video_out_*,guest_video_out_*,guest_buffer_reuseand thepad_*tests there) three times. On every run, 16 of these 57 tests passed, 41 were skipped and none failed. Another job was using the host GPU, so I pointed the Vulkan driver list at a missing file and the Vulkan tests skipped, as they do on Linux. The other skipped tests arepad_sdl,pad_port0, the fourpad_identify_*tests andguest_video_out_wqhd_detection_no_vulkan. The change adds no GPU path.public_headersthat makes 59. On every run, 22 of these 59 passed, 37 were skipped (the Vulkan tests; WSL has no Vulkan device) and none failed.conventions_unknown_nids,conventions_debt_length,conventions_doc_linksanddebt_split) ran in the same ctest invocations. They passed on every run on both systems and none were skipped, so each run had 61 tests on Windows and 63 on Linux. They test the convention checker itself, not these declarations.objdump -pon Windows andnm -Don Linux show that the patchedlibSceVideoOut.prxexports all 13 NIDs.python3 tools/check_conventions.py --base origin/mainpassed with this title and description, andgit diff --checkis clean.tools/pr_overlap.py --branchfound no open pull request that changes the same exports. It failed closed on 10 older PRs that share a file with this branch and do not merge cleanly withmain: #4040, #6977, #9673, #9676, #10112, #12863, #12930, #13486, #13994 and #14212. I checked the lines each of them adds to these files by hand, and none adds any of these NIDs, names or aliases. A search of all 1,810 open PR heads finds none of them either.Current refreshed candidate —
6d70bb97(baseline36c80cf)36c80cf5324fd777b35dbfb4bdb322abc3e215b9and candidate6d70bb97ede679e7b2fc693d66f117eb329aca3a. Across the pair,guest_padpassed 20/20 on each tree;guest_video_out_firmware_answers,video_out_flip_decode,guest_pad_trigger_effects, anddualsense_statuspassed 3/3 each on each tree (32 focused test executions per tree).^public_headers($|_compile_)passed 65/65 on each tree.VUID-diagnostic. Both logs confirm instance and device layer insertion and contain no missing-layer warning.python tools/check_conventions.py --base origin/mainpassed on candidate6d70bb97withorigin/mainat04ab293bc21d3d005125a9675f34cbb5c088fa12. The exact latest-main merge preview is clean at treee12ee486e907bb136679115c9410f51d04d03a21; its main-relative delta remains the same three VideoOut declaration/debt paths, stable patch IDb47dbdc18f87cd3fae7ac4b482a1bb4e4308c976.6d70bb97. All five focused selectors passed 3/3 (15 runs total) and public headers passed 65/65.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code
🤖 Generated with Codex
Imported from boykopovar/AnyPS5. Originally posted by XairRrR on 2026-11-04T00:16:42Z.
Review: APPROVED
Reviewed — approved
The PR adds 13 throwing placeholder exports for the
libSceVideoOut_nosubmissionandlibSceVideoOutHdrScopes_nosubmissionlibraries, plus a matching debt entry. The checks pass and the built.prxexports all 13 NIDs.What I ran
Head
24e83bcb941a86694bd8293e8c78899cf7895642merged intomain1c8c0efc8c41314402e6966da5bef6ea3d639d10(merged treebe01985faaeb517d1e61673c5fc7ada0bbf5e3a4). Debian 13 VM, GCC 14.2.0, Release, Ninja, lavapipe.Results
git diff --checkcheck_conventions.pylibs(script)unwrap_self_..._destination_directory_group) also fails onmainnid_names.py --namefor the 5 namesowjymCzlZSE,dcIKDMzAcUQ,NMhOpB9KTqA,agXH3kcyi+A,UgFHQ3TjeXQ, all as the PR claimsnm -DonlibSceVideoOut.prxT)public_headers,debt_split,conventions_unknown_nids,video_out_*video_out_port0_presencewas Not Run because its executable was not part of the selected build. After building it, it passesVUID-lines are inagc_driver_image_gather_volume, marked "test not run on main" against the older baseline1e658521a0. This PR does not touch the AGC driver, samplers or shaders, so they do not come from this changenm excerpt
Negative control
None. The PR adds no tests, and the rules forbid tests that only check that a symbol is exported.
Findings
Blocking
None.
Non-blocking
None.
Not verified
NID#libSceVideoOut_nosubmission#...,NID#libSceVideoOutHdrScopes_nosubmission#...) against this module. No guest import exercises it. The debt entry already records this.libSceVideoOutmodule. I have no network, so I could not open the pinned inventory gist the PR cites.agc_driver_image_gather_volumeVUIDs against currentmain. I did not rerun that test, because the PR cannot affect it.