Skip to content

docs(debt): name what the emulators do when a video bus is opened twice - #12929

Merged
adriadam10 merged 1 commit into
boykopovar:mainfrom
xXPBSXx:docs/videoout-open-busy-sources
Oct 29, 2026
Merged

adriadam10 merged 1 commit into
boykopovar:mainfrom
xXPBSXx:docs/videoout-open-busy-sources

Conversation

@xXPBSXx

@xXPBSXx xXPBSXx commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

What

The sceVideoOutOpen debt entry for opening a bus that is already open cited only shadPS4's PS4 driver. It now names what KytyPS5 (PS5) and fpPS4 (PS4) do; they disagree:

sceVideoOutOpen (libSceVideoOut) - opening a bus that is already open returns SCE_VIDEO_OUT_ERROR_RESOURCE_BUSY (0x80290009), as shadPS4's PS4 driver does for its main port; the PS5 result is unverified. PPSA99764 opens the main bus twice and carries on, presenting through the first handle. KytyPS5 (PS5) returns the same error for an already open bus; fpPS4 (PS4) opens another handle instead

Changed: docs/dev/debt/libSceVideoOut.md, one existing entry. No code change; the current behaviour (SCE_VIDEO_OUT_ERROR_RESOURCE_BUSY) matches shadPS4 and KytyPS5.

Method: both implementations were read at the linked commits; only their behaviour is described, no code was taken over. KytyPS5 targets the PS5, fpPS4 the PS4, so neither answer is a console measurement and the PS5 result stays unverified.

Overlap

Open PRs that change docs/dev/debt/libSceVideoOut.md (file sets from git diff --name-only against each PR head's merge base, all 1408 open pull requests as of 2026-10-29 15:00): none changes this entry. #11948 adds a new sceVideoOutIsOutputSupported entry directly above it; the two changes touch adjacent lines, so whichever merges second needs a one-line rebase (the texts do not overlap). Against the other heads git merge-tree gives the same result with and without this commit. Re-checked when opening against the open PRs created since then: none of them changes this file.

Tested

Documentation only. tools/check_conventions.py --base upstream/main passes; based on current main bb04a4f1ea. Not built, not run.

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: feat(libSceVideoOut): limit the guest display to the host resolution #11948 (landing order only; adjacent lines in libSceVideoOut.md)
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

AI-assisted (Claude Code).

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

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 4040 docs/dev/debt/libSceVideoOut.md
PR 6977 docs/dev/debt/libSceVideoOut.md
PR 9432 docs/dev/debt/libSceVideoOut.md
PR 9880 docs/dev/debt/libSceVideoOut.md

@adriadam10 adriadam10 self-assigned this Oct 29, 2026
@adriadam10
adriadam10 merged commit 0535f87 into boykopovar:main Oct 29, 2026
10 checks passed
@adriadam10

Copy link
Copy Markdown
Collaborator

Checked the KytyPS5 and fpPS4 links at the pinned commits: KytyPS5 returns VIDEO_OUT_ERROR_RESOURCE_BUSY for an already open bus, fpPS4 creates another handle, and the line ranges match; merged.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants