feat(libSceVideoOut): stub sceVideoOutUnknown_YNw9Xk5iNWo as silent success #6866
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/6866"
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 pushkarreddyy on 2026-10-16T14:58:52Z.
What
Exports
sceVideoOutUnknown_YNw9Xk5iNWo(NIDYNw9Xk5iNWo) inlibSceVideoOut/Unimplemented.cppas a silent success stub returning0, and documents it under silent stubs indocs/dev/debt/libSceVideoOut.md.In Wobbly Life (PPSA29413), the title previously required a local re-add of
YNw9Xk5iNWo(Discussion #2211) to reach streaming without failing at start-up, observed called with arguments(67072176, 0x1). In Dreaming Sarah (PPSA02929), the earlier throwing stub in #5608 aborted start-up about 2 s in ("YNw9Xk5iNWo not implemented", reverted in #5738). Stubbing it as success allows start-up to progress without aborting.Adds unit tests in
core/libs/tests/GuestVideoOutUnknown.cppverifying success on null status, valid pointer, non-zero handle, and negative handle.Tested
python tools/check_conventions.py --base origin/mainpasses with 0 findings and 0 errors.core/libs/tests/GuestVideoOutUnknown.cppand registered inlibSceVideoOut/CMakeLists.txt.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-16T14:59:34Z.
Progress report (
896e1b2→76b8547)➖ System libraries: 88.83% (+0.0%, +1 implemented functions)
✅ 1 implemented
sceVideoOutUnknown_YNw9Xk5iNWo⚪ 1 behaviourally empty (constant return or throw)
sceVideoOutUnknown_YNw9Xk5iNWoImported from boykopovar/AnyPS5. Originally posted by pushkarreddyy on 2026-10-16T15:05:30Z.
@oneandonlydean @adriadam10 All CI checks are green (conventions, intake, eligibility, report) and ready for review whenever convenient!
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-16T15:12:17Z.
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
core/libs/prx/libSceVideoOut/CMakeLists.txtdocs/dev/debt/libSceVideoOut.mdcore/libs/prx/libSceVideoOut/CMakeLists.txtcore/libs/prx/libSceVideoOut/CMakeLists.txtcore/libs/prx/libSceVideoOut/Unimplemented.cppcore/libs/prx/libSceVideoOut/CMakeLists.txtdocs/dev/debt/libSceVideoOut.mdImported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-16T16:22:21Z.
Review: COMMENTED
YNw9Xk5iNWolooks like the NID of AnyPS5's own formerMouseIsOpenhelper, not of a console function. If so, this export would not be reached on currentmain.tools/nid_names.py:compute_nid("MouseIsOpen")isYNw9Xk5iNWo.f6e9cd6ea, merged 10-14 18:00 UTC),libSceVideoOut/src/MouseInput.cppcalledMouseIsOpen_nid_postfix(), which libSceMouse exported. So every build hadlibSceVideoOutimportingYNw9Xk5iNWo. This is the cause #5608's revert and #6268 describe: Dreaming Sarah's 2 s abort came from VideoOut's own call reaching the stub.main66f8947at 10:20 UTC on 10-14, before #5936. That66f8947still hasMouseIsOpen_nid_postfixin both files. The(67072176, 0x1)arguments would then be leftover registers:MouseIsOpentakes no arguments.main452494439(Linux, full build), none of the 129 patched.prxunderbuild/core/libs/libs/import or exportYNw9Xk5iNWo. With this PR,libSceVideoOut.prxexports it (FUNC GLOBAL ... YNw9Xk5iNWo), and nothing in the tree imports it.So on current
main, Wobbly Life and Dreaming Sarah should not stop on this NID, with or without the stub. Could you check whether either title still stops onYNw9Xk5iNWoon a build that includes #5936? If one does, the module list from that run would show which module imports it.Test run: Intel i7-8700, Ubuntu 26.04, GCC 15.2, CMake 4.2.3, Release. Head
76b854744ba6e8d8832e8591d3fb5ab2508b525bmerged on452494439.guest_video_out_unknownpasses. The non-GPU suite is 648/650, the same asmain: onlyfile_writer_binaryandfile_writer_textfail, and they also fail onmainhere. I did not run any title.Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.
Imported from boykopovar/AnyPS5. Originally posted by blawesom on 2026-10-16T17:43:41Z.
History worth having in view for review: this NID (
YNw9Xk5iNWo) was previously implemented as a throwing stub in #5608 (a3aeaf884) and then reverted by6b4d3c8aebecause the throw aborted Dreaming Sarah at startup. This PR retries it as a silent-success stub, which would not have that failure mode — so it is a different answer to the same problem rather than a straight reverts-of-a-revert. The prior revert's rationale (a throwing stub is worse than an unimplemented call for this title) is the context a reviewer may want when choosing what this stub should do.Imported from boykopovar/AnyPS5. Originally posted by pushkarreddyy on 2026-10-16T18:01:42Z.
@blawesom Thank you for providing that valuable context and history! Exactly � returning silent success (0) ensures titles probing this display/video-out attribute (like Dreaming Sarah) do not abort, while allowing titles halting on the unresolved symbol to proceed past startup without fatal regressions.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-17T00:26:49Z.
I checked this against current
main. #5936 (f6e9cd6ea) is an ancestor of the current branch; it renamed the internal helper toMouseIsOpen_nid_no_patch, andMouseInput.cppnow calls that helper directly. The repository's NID tool confirmsMouseIsOpenhashes toYNw9Xk5iNWo, and current source no longer imports or exports that helper NID.The Wobbly Life observation cited here was from
main66f8947, before #5936, and the Dreaming Sarah abort followed the same internal-helper collision. The added tests call the proposed stub directly; they don't show that a current-main title imports this NID. Could you confirm an affected title/module still importsYNw9Xk5iNWoon currentmainbefore adding the export? As submitted, this appears to restore the accidental helper NID that #5936 removed, while the cited runs don't establish that the titles still need it.Imported from boykopovar/AnyPS5. Originally posted by pushkarreddyy on 2026-10-17T10:39:42Z.
@MarcZX100 Thank you for the thorough check and trace back to #5936 (6e9cd6ea)! You're completely right � the stop was an artifact of the earlier internal helper name hashing to YNw9Xk5iNWo, which #5936 resolved by using _nid_no_patch. Since current main no longer has that internal collision and titles do not import this symbol natively, this stub is not needed. Closing this PR.
Pull request closed