libSceVoiceQoS: sceVoiceQoSEnd is a stub (PPSA14632 shutdown, PPSA26344 init failure); fix branch ready #3331

Closed
opened 2026-10-11 07:58:13 +00:00 by screamm · 3 comments
screamm commented 2026-10-11 07:58:13 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by screamm on 2026-10-11T07:58:13Z.


sceVoiceQoSEnd (libSceVoiceQoS, Export.cpp) is a NotImplemented_nid_no_patch stub while sceVoiceQoSInit is implemented. LEGO Horizon Adventures (PPSA14632) calls it at shutdown and Ghost of Yotei (PPSA26344) on its init-failure branch.

Fix branch ready: screamm:feat/voiceqos-end (efe3c70e, one commit on main a4b0b16b). I cannot open it as a PR because of the intake check; anyone eligible is welcome to carry it, keeping the commit as is.

  • End takes the same lock as Init; without a prior Init it returns 0x804E0901, the not-initialised code measured on a PS5 (firmware 13.60) in #1407 (END|without init|rc=804e0901); otherwise it clears the init flag and returns 0, so Init works again. Nothing throws: with no endpoint implemented every call is either initialised or not. The return after a successful Init is assumed (it cannot be measured from a homebrew payload) and recorded in TechnicalDebt together with the unknowns (whether the console's End also stops libSceVoice, and the result while endpoints exist). shadPS4, KytyPS5 and fpPS4 have no sceVoiceQoSEnd; the intake-closed #999 threw where this returns the measured code.
  • guest_voice_qos gains End before any Init, then End, End again, a bad-argument Init, Init again, a second Init, End, End again.

Tested on Windows 11 Pro 26220, WinLibs MinGW-w64 GCC 15.2.0 r7, Ninja, Release, BUILD_TESTING=ON, full build including libs: guest_voice_qos and guest_voice_qos_app_type_0x10000000 3/3; ctest -j8 -E "^agc_driver_|^video_out_flip" 507/507 (with the #3329 test fix applied locally so the tree builds); with main's Export.cpp the extended tests fail; tools/check_conventions.py --base main and git diff --check pass. Not run on Linux.

Written with Claude Code assistance (implementation by a subagent, reviewed and validated in this session).

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5799200183 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3331). Originally posted by [screamm](https://github.com/screamm) on 2026-10-11T07:58:13Z. --- `sceVoiceQoSEnd` (libSceVoiceQoS, [Export.cpp](https://github.com/boykopovar/AnyPS5/blob/main/core/libs/prx/libSceVoiceQoS/Export.cpp)) is a `NotImplemented_nid_no_patch` stub while `sceVoiceQoSInit` is implemented. LEGO Horizon Adventures (PPSA14632) calls it at shutdown and Ghost of Yotei (PPSA26344) on its init-failure branch. **Fix branch ready:** [`screamm:feat/voiceqos-end`](https://github.com/screamm/AnyPS5/tree/feat/voiceqos-end) (`efe3c70e`, one commit on `main` `a4b0b16b`). I cannot open it as a PR because of the intake check; anyone eligible is welcome to carry it, keeping the commit as is. - End takes the same lock as Init; without a prior Init it returns `0x804E0901`, the not-initialised code measured on a PS5 (firmware 13.60) in #1407 (`END|without init|rc=804e0901`); otherwise it clears the init flag and returns 0, so Init works again. Nothing throws: with no endpoint implemented every call is either initialised or not. The return after a successful Init is assumed (it cannot be measured from a homebrew payload) and recorded in TechnicalDebt together with the unknowns (whether the console's End also stops libSceVoice, and the result while endpoints exist). shadPS4, KytyPS5 and fpPS4 have no `sceVoiceQoSEnd`; the intake-closed #999 threw where this returns the measured code. - `guest_voice_qos` gains End before any Init, then End, End again, a bad-argument Init, Init again, a second Init, End, End again. **Tested** on Windows 11 Pro 26220, WinLibs MinGW-w64 GCC 15.2.0 r7, Ninja, Release, `BUILD_TESTING=ON`, full build including `libs`: `guest_voice_qos` and `guest_voice_qos_app_type_0x10000000` 3/3; `ctest -j8 -E "^agc_driver_|^video_out_flip"` 507/507 (with the #3329 test fix applied locally so the tree builds); with `main`'s `Export.cpp` the extended tests fail; `tools/check_conventions.py --base main` and `git diff --check` pass. Not run on Linux. Written with Claude Code assistance (implementation by a subagent, reviewed and validated in this session).
blawesom commented 2026-10-11 09:52:52 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by blawesom on 2026-10-11T09:52:52Z.


Independent verification on Linux (the gap noted in the report): CachyOS, kernel 7.2.9, GCC 16.2.1, Ninja, Release, BUILD_TESTING=ON.

  • Rebased efe3c70e onto current main (the branch was 244 commits behind): one conflict in docs/dev/TechnicalDebt.md, resolved by keeping both this entry and main's newer entries; no code conflicts.
  • tools/check_conventions.py --base origin/main and git diff --check pass.
  • guest_voice_qos and guest_voice_qos_app_type_0x10000000 pass.
  • Full suite mirroring the Windows run (ctest -j8 -E "^agc_driver_|^video_out_flip"): 520/520 passed.

The rebased branch is available at blawesom:verify/3331 for anyone carrying — the commit is otherwise unchanged.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6107769622 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3331#issuecomment-6107769622). Originally posted by [blawesom](https://github.com/blawesom) on 2026-10-11T09:52:52Z. --- Independent verification on **Linux** (the gap noted in the report): CachyOS, kernel 7.2.9, GCC 16.2.1, Ninja, Release, `BUILD_TESTING=ON`. - Rebased `efe3c70e` onto current `main` (the branch was 244 commits behind): one conflict in `docs/dev/TechnicalDebt.md`, resolved by keeping both this entry and main's newer entries; no code conflicts. - `tools/check_conventions.py --base origin/main` and `git diff --check` pass. - `guest_voice_qos` and `guest_voice_qos_app_type_0x10000000` pass. - Full suite mirroring the Windows run (`ctest -j8 -E "^agc_driver_|^video_out_flip"`): **520/520 passed**. The rebased branch is available at [`blawesom:verify/3331`](https://github.com/blawesom/AnyPS5/tree/verify/3331) for anyone carrying — the commit is otherwise unchanged.
MarcZX10 commented 2026-10-11 16:08:25 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-11T16:08:25Z.


Carried David’s ready commit unchanged into #3730, preserving its author metadata. The relevant source, test, and CMake files are unchanged on current main since the commit base; the independently verified test evidence is summarized in the PR description.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6110963659 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3331#issuecomment-6110963659). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-11T16:08:25Z. --- Carried David’s ready commit unchanged into #3730, preserving its author metadata. The relevant source, test, and CMake files are unchanged on current main since the commit base; the independently verified test evidence is summarized in the PR description.
oneandonlydean commented 2026-10-11 23:27:03 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-11T23:27:03Z.


Closing: fixed by #3730.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6115097209 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/3331#issuecomment-6115097209). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-11T23:27:03Z. --- Closing: fixed by #3730.
Sign in to join this conversation.
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#3331
No description provided.