Skip to content

feat(libSceVideoOut): implement sceVideoOutDeleteVrrActiveStatusEvent - #4902

Merged
adriadam10 merged 1 commit into
boykopovar:mainfrom
nicolasfalesy:feat/videoout-delete-vrr-status-event
Oct 13, 2026
Merged

adriadam10 merged 1 commit into
boykopovar:mainfrom
nicolasfalesy:feat/videoout-delete-vrr-status-event

Conversation

@nicolasfalesy

Copy link
Copy Markdown
Contributor

What

Names and implements the libSceVideoOut NID -q-vbO859Tw, declared as sceVideoOutUnknown_q_vbO859Tw for PPSA02530 (#3799). sceVideoOutDeleteVrrActiveStatusEvent hashes to it (listed in sce_symbols aerolib.csv at fe2cc2948e; the copy pinned in tools/nid_names.py predates it).

It is the counterpart of sceVideoOutAddVrrActiveStatusEvent: sceVideoOutDeleteVrrActiveStatusEvent(eq, handle) goes through the same deleteVideoOutEvent path as the other Delete*Event calls, removing the handle's VRR status registration and the queue's event; an unknown handle or queue throws as they do. The signature and behaviour are inferred from the Add call and the other Delete calls, not observed in a title, which is recorded in the libSceVideoOut debt file; PPSA02530's entry in the libSceAcm debt file no longer lists it.

Tested

Linux (Arch, kernel 7.2.5, GCC 16.2.1, Release, Intel Xe on Mesa 26.2.2), on main c13dc7e:

  • video_out_flip_tests controls with a display: passes 5/5 (it skips without a display or Vulkan device). The added checks unsubscribe, check the registration list is empty, unsubscribe again (returns 0, as for the output mode event) and expect a null queue and an invalid handle to throw. With the function body replaced by return 0 the test fails with VRR status unsubscription did not clear registration.
  • nm -D on the built libSceVideoOut.prx shows the export -q-vbO859Tw.
  • tools/check_conventions.py --base upstream/main passes; tools/pr_overlap.py reports no overlap.
  • Not tested on Windows or with a title.

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: none
  • AI-assisted: yes

The NID -q-vbO859Tw, declared as sceVideoOutUnknown_q_vbO859Tw for
PPSA02530, hashes to sceVideoOutDeleteVrrActiveStatusEvent. It removes the
handle's VRR status registration from the queue like the other Delete*Event
calls, the counterpart of sceVideoOutAddVrrActiveStatusEvent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017WeVmjnnPPKdxVTpr2Vjtw
@github-actions

Copy link
Copy Markdown

Progress report (c13dc7e → 6f284b8)

📈 System libraries: 87.95% (+0.03%, +1 implemented, -1 removed functions)

✅ 1 implemented
Library Name
libSceVideoOut sceVideoOutDeleteVrrActiveStatusEvent
🗑️ 1 removed
Library Name
libSceVideoOut sceVideoOutUnknown_q_vbO859Tw

@xXPBSXx

xXPBSXx commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

Windows test: head 6f284b829 merged onto current main ea2bbefb2 (clean merge, no conflicts). Windows 10, MinGW GCC (WinLibs), Ninja Release, -j2: full build 0 errors; ctest with the filter video_out_flip: 6 tests, 0 failed, but 5 of them were skipped on this machine (video_out_flip_lifetime, _reopen, _controls, _overlay, _unopened), so only 1 actually ran; python tools/check_conventions.py --base upstream/main passed. I did not run the new tests against main without the change.

AI-assisted (Claude Code).

@adriadam10

Copy link
Copy Markdown
Collaborator

Checked on Linux with a display: video_out_flip_tests controls passes, the NID -q-vbO859Tw hashes from sceVideoOutDeleteVrrActiveStatusEvent and is exported by libSceVideoOut.prx, and the test no longer builds without the change. Debt entries are consistent and Windows build confirmed by @xXPBSXx; merging.

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.

3 participants