Skip to content

fix(libSceVideoOut): silent stubs for Set/ClearFlipMaster - #6253

Closed
mazen320 wants to merge 2 commits into
boykopovar:mainfrom
mazen320:fix/videoout-flip-master-silent-stubs
Closed

mazen320 wants to merge 2 commits into
boykopovar:mainfrom
mazen320:fix/videoout-flip-master-silent-stubs

Conversation

@mazen320

Copy link
Copy Markdown
Contributor

What

sceVideoOutSetFlipMaster and sceVideoOutClearFlipMaster no longer call NotImplemented_nid_no_patch. They return 0 with no flip-master state.

PPSA29866 (Tomba! 2) imports both with unknown signatures and stops when they throw (#3646). The host has no flip-master ownership to transfer, so this matches other VideoOut UI-only silent stubs. Debt moved from libSceHmd2 unknown imports into libSceVideoOut Silent stubs. New guest_video_out_flip_master covers both exports.

Tested

Windows 11. python tools/check_conventions.py --base upstream/main passed. Rebuilt libSceVideoOut with the silent stubs (compiles/links). Full guest_video_out_flip_master run needs a configure that picks up the new CMake test target (not re-run here against the dirty main build tree).

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Unblocks: PPSA29866 Tomba! 2 (PPSA29866): VR/VideoOut imports and AGC workload packets block start-up #3646 (FlipMaster stop; Hmd2/workload follow-ups remain)
  • GPUs tested: n/a
  • AI-assisted: yes

PPSA29866 imports these with unknown signatures and stops when they throw. Return 0 with no flip-master state, matching other VideoOut UI-only silent stubs, and cover with guest_video_out_flip_master.
@github-actions

Copy link
Copy Markdown

Progress report (db81992 → dec83ee)

📈 System libraries: 88.77% (+0.06%, +2 implemented functions)

✅ 2 implemented
Library Name
libSceVideoOut sceVideoOutClearFlipMaster
libSceVideoOut sceVideoOutSetFlipMaster
⚪ 2 behaviourally empty (constant return or throw)
Library Name
libSceVideoOut sceVideoOutClearFlipMaster
libSceVideoOut sceVideoOutSetFlipMaster

@github-actions

github-actions Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

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.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 5960 docs/dev/debt/libSceHmd2.md L9

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.

Pull request Shared files not compared
PR 674 core/libs/prx/libSceVideoOut/CMakeLists.txt
PR 3891 core/libs/prx/libSceVideoOut/CMakeLists.txt
PR 4040 docs/dev/debt/libSceVideoOut.md
PR 4156 core/libs/prx/libSceVideoOut/CMakeLists.txt
PR 4396 core/libs/prx/libSceVideoOut/CMakeLists.txt
PR 4397 core/libs/prx/libSceVideoOut/CMakeLists.txt
PR 4422 core/libs/prx/libSceVideoOut/CMakeLists.txt
PR 4423 core/libs/prx/libSceVideoOut/CMakeLists.txt
PR 4424 core/libs/prx/libSceVideoOut/CMakeLists.txt
PR 4520 core/libs/prx/libSceVideoOut/CMakeLists.txt
PR 4521 core/libs/prx/libSceVideoOut/CMakeLists.txt
PR 4522 core/libs/prx/libSceVideoOut/CMakeLists.txt
PR 4523 core/libs/prx/libSceVideoOut/CMakeLists.txt
PR 4566 core/libs/prx/libSceVideoOut/CMakeLists.txt
PR 4599 core/libs/prx/libSceVideoOut/CMakeLists.txt
PR 4718 core/libs/prx/libSceVideoOut/CMakeLists.txt
PR 4740 core/libs/prx/libSceVideoOut/CMakeLists.txt
PR 4749 core/libs/prx/libSceVideoOut/CMakeLists.txt
PR 4760 core/libs/prx/libSceVideoOut/CMakeLists.txt
PR 4813 core/libs/prx/libSceVideoOut/CMakeLists.txt
PR 5021 core/libs/prx/libSceVideoOut/CMakeLists.txt
PR 5877 docs/dev/debt/libSceVideoOut.md
PR 6044 core/libs/prx/libSceVideoOut/CMakeLists.txt

mazen320 added a commit to mazen320/AnyPS5 that referenced this pull request Oct 15, 2026
That entry links libSceVideoOut, so debt-file requires it live in
libSceVideoOut.md (boykopovar#6253). Keep only the Hmd2 SeeThrough silent stub here.
mazen320 added a commit to mazen320/AnyPS5 that referenced this pull request Oct 15, 2026
That entry links libSceVideoOut, so debt-file requires it live in
libSceVideoOut.md (boykopovar#6253). Keep only the Hmd2 SeeThrough silent stub here.
@mazen320

Copy link
Copy Markdown
Contributor Author

Overlap

Bot flagged debt-file adjacency with #5960 (docs/dev/debt/libSceHmd2.md). This PR only adds VideoOut Set/ClearFlipMaster silent stubs + their debt lines. No shared exports. Depends on: none.

@mazen320

Copy link
Copy Markdown
Contributor Author

Agree with the silent-stub bar from #6274 / CONTRIBUTING: need UI-only (or safe-to-ignore / never-called) evidence, not only a load stop.

This PR only established that the title fails to load without the export. Restored throwing and closing until that evidence exists.

@mazen320

Copy link
Copy Markdown
Contributor Author

Closing: silent stub withdrawn; export(s) throw again pending UI-only / never-called evidence.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant