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

Closed
mazen320 wants to merge 2 commits from upstream-pr/6253 into main
mazen320 commented 2026-10-15 08:06:47 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by mazen320 on 2026-10-15T08:06:47Z.


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 #3646 (FlipMaster stop; Hmd2/workload follow-ups remain)
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4870184720 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6253). Originally posted by [mazen320](https://github.com/mazen320) on 2026-10-15T08:06:47Z. --- ### 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 - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Unblocks: PPSA29866 #3646 (FlipMaster stop; Hmd2/workload follow-ups remain) - [x] GPUs tested: n/a - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-15 08:07:23 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T08:07:23Z.


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
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6187506174 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6253#issuecomment-6187506174). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-15T08:07:23Z. --- <!-- progress-report --> ### Progress report (db81992 → dec83ee) 📈 **System libraries**: 88.77% (+0.06%, +2 implemented functions) <details> <summary>✅ 2 implemented</summary> | Library | Name | | - | - | | libSceVideoOut | `sceVideoOutClearFlipMaster` | | libSceVideoOut | `sceVideoOutSetFlipMaster` | </details> <details> <summary>⚪ 2 behaviourally empty (constant return or throw)</summary> | Library | Name | | - | - | | libSceVideoOut | `sceVideoOutClearFlipMaster` | | libSceVideoOut | `sceVideoOutSetFlipMaster` | </details>
github-actions[bot] commented 2026-10-15 08:35:29 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T08:35:29Z.


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
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6187974748 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6253#issuecomment-6187974748). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-15T08:35:29Z. --- <!-- pr-overlap --> 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](https://www.github.com/boykopovar/AnyPS5/pull/5960) | `docs/dev/debt/libSceHmd2.md` [L9](https://github.com/boykopovar/AnyPS5/blob/940eba9a26ec363eef9a461b24e94576317a4955/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](https://www.github.com/boykopovar/AnyPS5/pull/674) | `core/libs/prx/libSceVideoOut/CMakeLists.txt` | | [PR 3891](https://www.github.com/boykopovar/AnyPS5/pull/3891) | `core/libs/prx/libSceVideoOut/CMakeLists.txt` | | [PR 4040](https://www.github.com/boykopovar/AnyPS5/pull/4040) | `docs/dev/debt/libSceVideoOut.md` | | [PR 4156](https://www.github.com/boykopovar/AnyPS5/pull/4156) | `core/libs/prx/libSceVideoOut/CMakeLists.txt` | | [PR 4396](https://www.github.com/boykopovar/AnyPS5/pull/4396) | `core/libs/prx/libSceVideoOut/CMakeLists.txt` | | [PR 4397](https://www.github.com/boykopovar/AnyPS5/pull/4397) | `core/libs/prx/libSceVideoOut/CMakeLists.txt` | | [PR 4422](https://www.github.com/boykopovar/AnyPS5/pull/4422) | `core/libs/prx/libSceVideoOut/CMakeLists.txt` | | [PR 4423](https://www.github.com/boykopovar/AnyPS5/pull/4423) | `core/libs/prx/libSceVideoOut/CMakeLists.txt` | | [PR 4424](https://www.github.com/boykopovar/AnyPS5/pull/4424) | `core/libs/prx/libSceVideoOut/CMakeLists.txt` | | [PR 4520](https://www.github.com/boykopovar/AnyPS5/pull/4520) | `core/libs/prx/libSceVideoOut/CMakeLists.txt` | | [PR 4521](https://www.github.com/boykopovar/AnyPS5/pull/4521) | `core/libs/prx/libSceVideoOut/CMakeLists.txt` | | [PR 4522](https://www.github.com/boykopovar/AnyPS5/pull/4522) | `core/libs/prx/libSceVideoOut/CMakeLists.txt` | | [PR 4523](https://www.github.com/boykopovar/AnyPS5/pull/4523) | `core/libs/prx/libSceVideoOut/CMakeLists.txt` | | [PR 4566](https://www.github.com/boykopovar/AnyPS5/pull/4566) | `core/libs/prx/libSceVideoOut/CMakeLists.txt` | | [PR 4599](https://www.github.com/boykopovar/AnyPS5/pull/4599) | `core/libs/prx/libSceVideoOut/CMakeLists.txt` | | [PR 4718](https://www.github.com/boykopovar/AnyPS5/pull/4718) | `core/libs/prx/libSceVideoOut/CMakeLists.txt` | | [PR 4740](https://www.github.com/boykopovar/AnyPS5/pull/4740) | `core/libs/prx/libSceVideoOut/CMakeLists.txt` | | [PR 4749](https://www.github.com/boykopovar/AnyPS5/pull/4749) | `core/libs/prx/libSceVideoOut/CMakeLists.txt` | | [PR 4760](https://www.github.com/boykopovar/AnyPS5/pull/4760) | `core/libs/prx/libSceVideoOut/CMakeLists.txt` | | [PR 4813](https://www.github.com/boykopovar/AnyPS5/pull/4813) | `core/libs/prx/libSceVideoOut/CMakeLists.txt` | | [PR 5021](https://www.github.com/boykopovar/AnyPS5/pull/5021) | `core/libs/prx/libSceVideoOut/CMakeLists.txt` | | [PR 5877](https://www.github.com/boykopovar/AnyPS5/pull/5877) | `docs/dev/debt/libSceVideoOut.md` | | [PR 6044](https://www.github.com/boykopovar/AnyPS5/pull/6044) | `core/libs/prx/libSceVideoOut/CMakeLists.txt` |
mazen320 commented 2026-10-15 09:33:32 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by mazen320 on 2026-10-15T09:33:32Z.


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.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6188997495 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6253#issuecomment-6188997495). Originally posted by [mazen320](https://github.com/mazen320) on 2026-10-15T09:33:32Z. --- ### 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 commented 2026-10-15 15:36:14 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by mazen320 on 2026-10-15T15:36:14Z.


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.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6195947630 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6253#issuecomment-6195947630). Originally posted by [mazen320](https://github.com/mazen320) on 2026-10-15T15:36:14Z. --- 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 commented 2026-10-15 15:36:16 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by mazen320 on 2026-10-15T15:36:16Z.


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

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6195948573 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6253#issuecomment-6195948573). Originally posted by [mazen320](https://github.com/mazen320) on 2026-10-15T15:36:16Z. --- Closing: silent stub withdrawn; export(s) throw again pending UI-only / never-called evidence.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!6253
No description provided.