libSceVideoOut: sceVideoOutSetFlipMaster and sceVideoOutClearFlipMaster are absent (Tomba! 2); branch ready #3762
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 screamm on 2026-10-11T16:33:08Z.
libSceVideoOut lacks
sceVideoOutSetFlipMaster(WkYtyOg30do) andsceVideoOutClearFlipMaster(T0ynQY3mH-0). Tomba! 2 (PPSA29866, #3646) imports both: "Eleven imports that no library exports: eightsceHmd2Reprojection*,sceVrTracker2Finalize,sceVideoOutSetFlipMaster,sceVideoOutClearFlipMaster." Neither was called in the 60 s run, so what the title needs back is unobserved; the only prior art is xXPBSXx's declare-only branch. (sce_net_in6addr_linklocal_allnodesfrom the same research pass is already covered by the open #3707, so it was skipped.)Branch ready:
screamm:feat/videoout-flipmaster-net-in6addr(d33e2a4b, one commit onmaina11c8f7f). I cannot open it as a PR because of the intake check; anyone eligible is welcome to carry it, keeping the commit as is.sceVideoOutSetFlipMaster(int slave, int master)with two handles andsceVideoOutClearFlipMaster(int slave): KytyPS5src/graphics/presentation/videoOut.cpp:785-808(16a7fe68) for Set and theUNSUPPORTED_OPERATIONcode0x8029001C(errno.h, fpPS4 agrees), SharpProsperoVideoOut.csfor the Clear signature (fact only, GPL-3.0). The repository's model holds several ports at once (main, overlay, sub), so a tie between two real ports is recorded: unknown or closed handleINVALID_HANDLE; the same handle twice, a slave that already has a master or slaves, or a master with its own masterUNSUPPORTED_OPERATION(new constant); a pending flip on either portRESOURCE_BUSY; otherwise the tie is recorded on both ports (a master may have several slaves) and Set returns 0; Clear removes it; closing a slave drops its tie as Kyty does.video_out_flip_flipmastermode intests/Flip.cpp(registered in the existingforeach): invalid handles for all three arguments, Set(h, h), Clear without a master,RESOURCE_BUSYwhile a flip is pending, tying overlay to main, double and reverse ties, flips on a tied port and closing a tied master throwing, Clear followed by a completed flip, re-tie then closing the slave followed by a completed flip.Tested on Windows 11 Pro 26220, WinLibs MinGW-w64 GCC 15.2.0 r7, Ninja, Release,
BUILD_TESTING=ON, full build includinglibs: under ctest thevideo_out_flip_*tests skip here as they always do (the SDL offscreen driver has no Vulkan), sovideo_out_flip_flipmasterwas run against the real display (NVIDIA RTX 4070,ANYPS5_REQUIRE_DISPLAY=1,SDL_VIDEODRIVER=windows): passed 3/3, withoverlayandlifetimepassing once each;ctest -j8 -E "^agc_driver_|^video_out_flip"533/536, the failures being the knownwindows_exceptions(#3411, fixed by #3415),guest_kernel_sys(#3510) andguest_filesystem(#3518);tools/check_conventions.py --base mainandgit diff --checkpass. Not run on Linux.Written with Claude Code assistance (implementation by a subagent, reviewed and validated in this session).
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-13T02:19:26Z.
Closing: both calls are exported on main since #3819, so PPSA29866 loads; they throw when called and no run calls them. Reopen with the log line when a title reaches the throw.