feat(videoout): implement sceVideoOutGetOutputStatusWithVrr #3972
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3972"
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 13hourstilliland on 2026-10-11T20:16:53Z.
What
Implements
sceVideoOutGetOutputStatusWithVrr(int handle, void* status). It writes the 80-byte status described in #2746 (thesceVideoOutGetOutputStatusfields in bytes 0-47, then zeros), returns0x80290002for a nullstatusand0x8029000Bfor an unknown handle, and leaves the buffer unchanged on both. The global-flag (0x8029001C) and object-field (0x8029001B) checks and the offset-52 refresh override test console state AnyPS5 does not model; they are recorded in TechnicalDebt.Ghost of Yōtei (PPSA26344) stops on this export on main (#2746). PRAGMATA (PPSA02530) stops on it too.
This carries ThatsLeo's commit e893efad from
ThatsLeo/AnyPS5:feat/videoout-output-status-vrr, with their authorship kept, rebased onto current main. The only changes are the resolutions of two conflicts, in the test includes and in TechnicalDebt.Tested
Debian 13 x86-64, GCC Release, software Vulkan (lavapipe) with SDL on X11.
guest_video_out_resolution_status,guest_video_out_wqhd_detectionandguest_video_out_output_modepass (3/3). The new rows inguest_video_out_resolution_statusabort withsceVideoOutGetOutputStatusWithVrr not implementedagainst main's VideoOut code. Not tested with a title here; on the original commit rohankmr414 (PPSA26344, Fedora 44) and xXPBSXx (PPSA02530, Windows) report the title passing this call (#2746).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-11T20:17:17Z.
Progress report (
a14ae8e→9828710)📈 System libraries: 88.22% (+0.03%, +1 implemented functions)
✅ 1 implemented
sceVideoOutGetOutputStatusWithVrrImported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-13T07:39:39Z.
Needs a rebase: it conflicts with main in
core/libs/prx/libSceVideoOut/Unimplemented.cppandsrc/Output.cpp, anddocs/dev/TechnicalDebt.mdhas moved todocs/dev/debt/<library>.md(tools/debt_split.py resolvemoves the entries).Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-14T03:28:42Z.
Title evidence for this PR (Windows 10, MinGW-w64 GCC 15.2.0): PPSA02530 stops on this function.
PPSA02530 converted with
relinker --windows --registry --trace-importsfrommaina5f493f90plus #4237 (so that the guest heap initialises; on plainmainthe title first crashes earlier inmalloc, see the #4237 comment) runs its threads, opens/app0/natives/PS5/runtime.argsand then ends with:(log
run_051605.err, lines 109-111). This PR replaces that throw, so it is the next stop for this title. The same stop is reached onmainwith--windows-fixed-base 0x400000000(run_050831.err).Not tested: this PR itself (its head does not merge cleanly any more:
git merge-treeof79fda74d0againstmaina5f493f90conflicts incore/libs/prx/libSceVideoOut/Unimplemented.cpp,core/libs/prx/libSceVideoOut/src/Output.cppanddocs/dev/TechnicalDebt.md).AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-14T03:39:32Z.
Rebased onto main and moved the debt entry to
docs/dev/debt/libSceVideoOut.md; thanks @xXPBSXx for the PPSA02530 run. No other change.Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-14T03:42:38Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)core/libs/prx/libSceVideoOut/Unimplemented.cppL20-24