feat(libSceVideoOut): export the hardware cursor functions as not implemented #6135

Merged
DavidSamir merged 3 commits from upstream-pr/6135 into main 2026-10-18 13:54:56 +00:00
DavidSamir commented 2026-10-14 23:02:31 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by DavidSamir on 2026-10-14T23:02:31Z.


What

Prospero Win (PPSA99995) imports four libSceVideoOut functions that no library exports. On Windows, where a module's imports are bound when it loads, the title stops there:

FAIL: unresolved ELF import fEPEwROdCwM from libSceVideoOut.prx
FAIL: unresolved ELF import u-9bhWQApq8 from libSceVideoOut.prx
FAIL: unresolved ELF import UPZWCH8qTM4 from libSceVideoOut.prx
FAIL: unresolved ELF import N17AK88NdD0 from libSceVideoOut.prx

tools/nid_names.py names them sceVideoOutCursorDisable, sceVideoOutCursorSetImageAddress, sceVideoOutCursorEnable and sceVideoOutCursorSetPosition, the hardware cursor. The title's Vulkan module calls them to show a Windows program's mouse cursor over its frames (pw_vulkan_radv.c); its launcher did not call them in the 60 s runs below.

libSceVideoOut now exports the four next to its other unimplemented exports in Unimplemented.cpp, and each reports <name> not implemented when called. Drawing the cursor would need the image format and size and the console's return values, which are not known; the debt note says so.

Three commits:

  1. feat(libSceVideoOut): export the hardware cursor functions as not implemented.
  2. test(libSceVideoOut): check that the cursor functions report they are not implemented: guest_video_out_cursor calls each with a handle, a cursor index, an image and a position, and requires the error. Without the exports it does not link.
  3. docs(debt): record where the cursor functions' signatures come from, under Unknown function info.

There is no fourth step to split out.

Tested

Windows (10bc2f05a on main 922abe6a4, Windows 11 10.0.26300, WinLibs GCC 15.2.0 r7, Release):

  • Prospero Win (PPSA99995, catalog release), relinked with --trap-sdk-syscall-stubs from a local merge of this branch with #6102 and #6028 on main 922abe6a4:
    • with the four exports taken out of libSceVideoOut, it exits with 0xc0000139 on the four imports above;
    • with them it is still running at 60 s, twice. Its own session log (/data/prospero-win/logs/session-0.log) records the keyboard and mouse opening, an empty game library and launcher video=ok pad=ok hid=ok frame=1 apps=0, the state #6028 reports on Linux.
  • Of the 51 catalog titles that have an ELF, only PPSA99995 imports any of the four (import registries of all of them, converted with the same relinker), so no other title can change.
  • libSceVideoOut.prx exports fEPEwROdCwM, u-9bhWQApq8, UPZWCH8qTM4 and N17AK88NdD0 (objdump). With Unimplemented.cpp as on main, guest_video_out_cursor does not link (undefined references to the four functions); with the change it passes.
  • Each commit alone: the libraries build, and guest_video_out_high_frame_rate and video_out_output_mode_policy pass at every commit, guest_video_out_cursor from the second.
  • Full ctest --parallel 4 on a full build: 1240 of 1241 pass. check_main_sync fails on this machine at a file name with é read back through the console code page; it passes with PYTHONUTF8=1, and the branch changes nothing under tools/.
  • tools/check_conventions.py --base origin/main passes. tools/pr_overlap.py --branch reports no overlap with open pull requests.

Linux (same commit, WSL2 Ubuntu 24.04, GCC 13.3.0, Release): libs builds and guest_video_out_cursor passes.

Not checked on a console.

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: #6102 and #6028 for PPSA99995 to reach these imports on Windows; the change itself builds and passes on main alone
  • Unblocks: PPSA99995 (Prospero Win) on Windows, with #6102 and #6028
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4865729304 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6135). Originally posted by [DavidSamir](https://github.com/DavidSamir) on 2026-10-14T23:02:31Z. --- ### What Prospero Win (PPSA99995) imports four libSceVideoOut functions that no library exports. On Windows, where a module's imports are bound when it loads, the title stops there: ``` FAIL: unresolved ELF import fEPEwROdCwM from libSceVideoOut.prx FAIL: unresolved ELF import u-9bhWQApq8 from libSceVideoOut.prx FAIL: unresolved ELF import UPZWCH8qTM4 from libSceVideoOut.prx FAIL: unresolved ELF import N17AK88NdD0 from libSceVideoOut.prx ``` `tools/nid_names.py` names them `sceVideoOutCursorDisable`, `sceVideoOutCursorSetImageAddress`, `sceVideoOutCursorEnable` and `sceVideoOutCursorSetPosition`, the hardware cursor. The title's Vulkan module calls them to show a Windows program's mouse cursor over its frames ([`pw_vulkan_radv.c`](https://github.com/mpereiraesaa/prospero-win/blob/644e32e400c555e340d507383398c5d21b39b0b0/wine/ps5/pw_vulkan_radv.c#L65-L68)); its launcher did not call them in the 60 s runs below. libSceVideoOut now exports the four next to its other unimplemented exports in `Unimplemented.cpp`, and each reports `<name> not implemented` when called. Drawing the cursor would need the image format and size and the console's return values, which are not known; the debt note says so. Three commits: 1. `feat(libSceVideoOut): export the hardware cursor functions as not implemented`. 2. `test(libSceVideoOut): check that the cursor functions report they are not implemented`: `guest_video_out_cursor` calls each with a handle, a cursor index, an image and a position, and requires the error. Without the exports it does not link. 3. `docs(debt): record where the cursor functions' signatures come from`, under Unknown function info. There is no fourth step to split out. ### Tested Windows (10bc2f05a on `main` 922abe6a4, Windows 11 10.0.26300, WinLibs GCC 15.2.0 r7, Release): - Prospero Win (PPSA99995, catalog release), relinked with `--trap-sdk-syscall-stubs` from a local merge of this branch with #6102 and #6028 on `main` 922abe6a4: - with the four exports taken out of libSceVideoOut, it exits with 0xc0000139 on the four imports above; - with them it is still running at 60 s, twice. Its own session log (`/data/prospero-win/logs/session-0.log`) records the keyboard and mouse opening, an empty game library and `launcher video=ok pad=ok hid=ok frame=1 apps=0`, the state #6028 reports on Linux. - Of the 51 catalog titles that have an ELF, only PPSA99995 imports any of the four (import registries of all of them, converted with the same relinker), so no other title can change. - `libSceVideoOut.prx` exports `fEPEwROdCwM`, `u-9bhWQApq8`, `UPZWCH8qTM4` and `N17AK88NdD0` (objdump). With `Unimplemented.cpp` as on `main`, `guest_video_out_cursor` does not link (undefined references to the four functions); with the change it passes. - Each commit alone: the libraries build, and `guest_video_out_high_frame_rate` and `video_out_output_mode_policy` pass at every commit, `guest_video_out_cursor` from the second. - Full `ctest --parallel 4` on a full build: 1240 of 1241 pass. `check_main_sync` fails on this machine at a file name with `é` read back through the console code page; it passes with `PYTHONUTF8=1`, and the branch changes nothing under `tools/`. - `tools/check_conventions.py --base origin/main` passes. `tools/pr_overlap.py --branch` reports no overlap with open pull requests. Linux (same commit, WSL2 Ubuntu 24.04, GCC 13.3.0, Release): `libs` builds and `guest_video_out_cursor` passes. Not checked on a console. ### 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: #6102 and #6028 for PPSA99995 to reach these imports on Windows; the change itself builds and passes on `main` alone - [x] Unblocks: PPSA99995 (Prospero Win) on Windows, with #6102 and #6028 - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-14 23:03:13 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-14T23:03:13Z.


Progress report (6239cef → 10bc2f0)

📉 System libraries: 88.6% (-0.09%, +4 declared functions)

🆕 4 declared as stubs
Library Name
libSceVideoOut sceVideoOutCursorDisable
libSceVideoOut sceVideoOutCursorEnable
libSceVideoOut sceVideoOutCursorSetImageAddress
libSceVideoOut sceVideoOutCursorSetPosition
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6180409561 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6135#issuecomment-6180409561). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-14T23:03:13Z. --- <!-- progress-report --> ### Progress report (6239cef → 10bc2f0) 📉 **System libraries**: 88.6% (-0.09%, +4 declared functions) <details> <summary>🆕 4 declared as stubs</summary> | Library | Name | | - | - | | libSceVideoOut | `sceVideoOutCursorDisable` | | libSceVideoOut | `sceVideoOutCursorEnable` | | libSceVideoOut | `sceVideoOutCursorSetImageAddress` | | libSceVideoOut | `sceVideoOutCursorSetPosition` | </details>
github-actions[bot] commented 2026-10-15 12:15:21 +00:00 (Migrated from github.com)

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


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 6977 sceVideoOutCursorDisable
sceVideoOutCursorEnable
sceVideoOutCursorSetImageAddress
sceVideoOutCursorSetPosition

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 4040 docs/dev/debt/libSceVideoOut.md
PR 5021 core/libs/prx/libSceVideoOut/CMakeLists.txt
PR 6044 core/libs/prx/libSceVideoOut/CMakeLists.txt
PR 6977 core/libs/prx/libSceVideoOut/CMakeLists.txt
core/libs/prx/libSceVideoOut/Unimplemented.cpp
docs/dev/debt/libSceVideoOut.md
PR 7201 core/libs/prx/libSceVideoOut/CMakeLists.txt
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6191807843 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6135#issuecomment-6191807843). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-15T12:15:21Z. --- <!-- 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 6977](https://www.github.com/boykopovar/AnyPS5/pull/6977) | | `sceVideoOutCursorDisable`<br>`sceVideoOutCursorEnable`<br>`sceVideoOutCursorSetImageAddress`<br>`sceVideoOutCursorSetPosition` | | 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 4040](https://www.github.com/boykopovar/AnyPS5/pull/4040) | `docs/dev/debt/libSceVideoOut.md` | | [PR 5021](https://www.github.com/boykopovar/AnyPS5/pull/5021) | `core/libs/prx/libSceVideoOut/CMakeLists.txt` | | [PR 6044](https://www.github.com/boykopovar/AnyPS5/pull/6044) | `core/libs/prx/libSceVideoOut/CMakeLists.txt` | | [PR 6977](https://www.github.com/boykopovar/AnyPS5/pull/6977) | `core/libs/prx/libSceVideoOut/CMakeLists.txt`<br>`core/libs/prx/libSceVideoOut/Unimplemented.cpp`<br>`docs/dev/debt/libSceVideoOut.md` | | [PR 7201](https://www.github.com/boykopovar/AnyPS5/pull/7201) | `core/libs/prx/libSceVideoOut/CMakeLists.txt` |
screamm commented 2026-10-15 14:37:18 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by screamm on 2026-10-15T14:37:18Z.


Cross-validation on Windows 11 Pro 26220, NVIDIA RTX 4070 (596.21), MinGW GCC 15.2, PR head 10bc2f05a merged on main 2e5dd5aa1 with #6102 f1735f59f:

Ryzen 7 5700X, WinLibs GCC 15.2.0 r7, Ninja, Release, BUILD_TESTING=ON. The host was under load during the runs.

Prospero Win (PPSA99995): relinked with --trap-sdk-syscall-stubs --module-dir win/wine/lib/wine/x86_64-unix, app0/eboot.bin staged, ANYPS5_REQUIRE_DISPLAY=1, 90 s per run.

  • Before (this merge with Unimplemented.cpp as on main), 2 runs: exit 0xC0000139 after about 1 s, 0 frames:
    FAIL: unresolved ELF import b7uXQmnfB2s from libkernel.prx
    FAIL: unresolved ELF import b7uXQmnfB2s from libkernel.prx
    FAIL: unresolved ELF import fEPEwROdCwM from libSceVideoOut.prx
    FAIL: unresolved ELF import u-9bhWQApq8 from libSceVideoOut.prx
    FAIL: unresolved ELF import UPZWCH8qTM4 from libSceVideoOut.prx
    FAIL: unresolved ELF import N17AK88NdD0 from libSceVideoOut.prx
    FAIL: unresolved ELF import b7uXQmnfB2s from libkernel.prx
    
  • After, 2 runs: exit 0xC0000139, 0 frames. The four libSceVideoOut.prx lines are gone; only the three FAIL: unresolved ELF import b7uXQmnfB2s from libkernel.prx lines (sysarch, #6028) remain.
  • With #6028 183782ddc merged as well:
    • before, 1 run: exit 0xC0000139, only the four libSceVideoOut.prx lines;
    • after, 2 runs: still running at 90 s. 91 and 77 frames were presented (Prospero Win | FPS: 1.02 (86)), and the frame dumps show the launcher's library screen ("NO APPLICATION PROFILES FOUND"). No stop line. /data/prospero-win/logs/session-0.log has launcher video=ok pad=ok hid=ok frame=1 apps=0, as in the PR;
    • tools/import_audit.py: the four imports, all from libvulkan.prx, move from absent to stub, leaving none absent.
  • Cursor calls: a run relinked with --trace-imports, with APS5_TRACE_CALLS=libSceVideoOut and APS5_HANG_DUMP_SECS=80, recorded 76 libSceVideoOut calls in 80 s: sceVideoOutWaitVblank 72 times, and sceVideoOutOpen, sceVideoOutSetFlipRate, sceVideoOutSetBufferAttribute2 and sceVideoOutRegisterBuffers2 once each. None of the four cursor functions was called, and no run printed not implemented. The trace records only that a call was made, not its arguments or result. The launcher does not reach pw_videoout_cursor; once a Windows program shows a cursor, the title will stop at sceVideoOutCursorEnable not implemented.

Tests:

  • guest_video_out_cursor: passed 3 of 3 times.
  • Negative controls:
    • With Unimplemented.cpp as on main and the test kept, guest_video_out_cursor_tests does not link (undefined reference to all four).
    • With only the NotImplemented_nid_no_patch call removed from sceVideoOutCursorSetPosition, the test fails with sceVideoOutCursorSetPosition returned instead of reporting that it is not implemented.
  • ctest -R video_out, 3 runs of 22 tests: 11 pass and 11 skip (the video_out_flip_* tests find no Vulkan in the offscreen SDL driver; guest_video_out_wqhd_detection_no_vulkan). The exception is guest_video_out_high_frame_rate, which failed in 1 of the 3 runs (incorrect vblank periods). main 8856f180c fails it 2 of 4 times on this host under the same load, so the failure is not from this PR.
  • Non-GPU suite (-j8 --timeout 120 -E '^agc_driver_|^video_out_flip'): 830 of 832 pass, 2 skipped, 0 failed. The load was lower during this run.

tools/check_conventions.py --base origin/main passes, git diff origin/main --check is clean, and the changed files compile without warnings. tools/progress.py: libraries 88.7% -> 88.6% (3272/3689 -> 3272/3693); libSceVideoOut goes from 2 to 6 functions to do, with the four added as stubs.

Note: the debt line says the cursor image's format and size and the console's return values are not known. However, the cited pw_vulkan_radv.c (lines 58-60 and 132) says VideoOut composes up to two 64x64 straight-alpha B8G8R8A8 images and that the enable, image and position calls return 0 (measured on FW 12.02). Throwing is still reasonable, since that is a comment in a homebrew source, but the debt line could say what the source states and what is still missing. This is not a blocker.

Verdict: confirmed. The four imports resolve, and with #6102 and #6028 Prospero Win reaches its launcher on Windows.

Written with Claude Code assistance.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6194685664 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6135#issuecomment-6194685664). Originally posted by [screamm](https://github.com/screamm) on 2026-10-15T14:37:18Z. --- Cross-validation on Windows 11 Pro 26220, NVIDIA RTX 4070 (596.21), MinGW GCC 15.2, PR head `10bc2f05a` merged on main `2e5dd5aa1` with #6102 `f1735f59f`: Ryzen 7 5700X, WinLibs GCC 15.2.0 r7, Ninja, Release, `BUILD_TESTING=ON`. The host was under load during the runs. **Prospero Win (PPSA99995)**: relinked with `--trap-sdk-syscall-stubs --module-dir win/wine/lib/wine/x86_64-unix`, `app0/eboot.bin` staged, `ANYPS5_REQUIRE_DISPLAY=1`, 90 s per run. - Before (this merge with `Unimplemented.cpp` as on `main`), 2 runs: exit `0xC0000139` after about 1 s, 0 frames: ``` FAIL: unresolved ELF import b7uXQmnfB2s from libkernel.prx FAIL: unresolved ELF import b7uXQmnfB2s from libkernel.prx FAIL: unresolved ELF import fEPEwROdCwM from libSceVideoOut.prx FAIL: unresolved ELF import u-9bhWQApq8 from libSceVideoOut.prx FAIL: unresolved ELF import UPZWCH8qTM4 from libSceVideoOut.prx FAIL: unresolved ELF import N17AK88NdD0 from libSceVideoOut.prx FAIL: unresolved ELF import b7uXQmnfB2s from libkernel.prx ``` - After, 2 runs: exit `0xC0000139`, 0 frames. The four `libSceVideoOut.prx` lines are gone; only the three `FAIL: unresolved ELF import b7uXQmnfB2s from libkernel.prx` lines (`sysarch`, #6028) remain. - With #6028 `183782ddc` merged as well: - before, 1 run: exit `0xC0000139`, only the four `libSceVideoOut.prx` lines; - after, 2 runs: still running at 90 s. 91 and 77 frames were presented (`Prospero Win | FPS: 1.02 (86)`), and the frame dumps show the launcher's library screen ("NO APPLICATION PROFILES FOUND"). No stop line. `/data/prospero-win/logs/session-0.log` has `launcher video=ok pad=ok hid=ok frame=1 apps=0`, as in the PR; - `tools/import_audit.py`: the four imports, all from `libvulkan.prx`, move from absent to stub, leaving none absent. - Cursor calls: a run relinked with `--trace-imports`, with `APS5_TRACE_CALLS=libSceVideoOut` and `APS5_HANG_DUMP_SECS=80`, recorded 76 libSceVideoOut calls in 80 s: `sceVideoOutWaitVblank` 72 times, and `sceVideoOutOpen`, `sceVideoOutSetFlipRate`, `sceVideoOutSetBufferAttribute2` and `sceVideoOutRegisterBuffers2` once each. None of the four cursor functions was called, and no run printed `not implemented`. The trace records only that a call was made, not its arguments or result. The launcher does not reach `pw_videoout_cursor`; once a Windows program shows a cursor, the title will stop at `sceVideoOutCursorEnable not implemented`. Tests: - `guest_video_out_cursor`: passed 3 of 3 times. - Negative controls: - With `Unimplemented.cpp` as on `main` and the test kept, `guest_video_out_cursor_tests` does not link (`undefined reference` to all four). - With only the `NotImplemented_nid_no_patch` call removed from `sceVideoOutCursorSetPosition`, the test fails with `sceVideoOutCursorSetPosition returned instead of reporting that it is not implemented`. - `ctest -R video_out`, 3 runs of 22 tests: 11 pass and 11 skip (the `video_out_flip_*` tests find no Vulkan in the offscreen SDL driver; `guest_video_out_wqhd_detection_no_vulkan`). The exception is `guest_video_out_high_frame_rate`, which failed in 1 of the 3 runs (`incorrect vblank periods`). `main` `8856f180c` fails it 2 of 4 times on this host under the same load, so the failure is not from this PR. - Non-GPU suite (`-j8 --timeout 120 -E '^agc_driver_|^video_out_flip'`): 830 of 832 pass, 2 skipped, 0 failed. The load was lower during this run. `tools/check_conventions.py --base origin/main` passes, `git diff origin/main --check` is clean, and the changed files compile without warnings. `tools/progress.py`: libraries 88.7% -> 88.6% (3272/3689 -> 3272/3693); libSceVideoOut goes from 2 to 6 functions to do, with the four added as stubs. Note: the debt line says the cursor image's format and size and the console's return values are not known. However, the cited `pw_vulkan_radv.c` (lines 58-60 and 132) says VideoOut composes up to two 64x64 straight-alpha B8G8R8A8 images and that the enable, image and position calls return 0 (measured on FW 12.02). Throwing is still reasonable, since that is a comment in a homebrew source, but the debt line could say what the source states and what is still missing. This is not a blocker. Verdict: confirmed. The four imports resolve, and with #6102 and #6028 Prospero Win reaches its launcher on Windows. Written with Claude Code assistance.
screamm commented 2026-10-16 08:24:14 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by screamm on 2026-10-16T08:24:14Z.


Follow-up to my earlier run, now on current main 5d9dcc42d with this PR built alone and the stack merged in the order #6028 (fb0f83ddf) -> #6102 (f1735f59f) -> #6135 (10bc2f05a). #6028 moved from 183782ddc to fb0f83ddf since my earlier run; it is the same commit rebased.

Windows 11 Pro 26220, Ryzen 7 5700X, NVIDIA RTX 4070 (596.21), WinLibs MinGW-w64 GCC 15.2.0 r7, Ninja, Release.

  • Merges: clean alone and in that order. Full build with -k 0 on the stack: only agc_driver_gpu_indirect_arguments_misaligned_writer_ahead_tests fails (the 64 KiB alignas that also fails on main, #6452/#6478); libs builds; no warnings in the changed files.
  • This PR alone on main: guest_video_out_cursor, --repeat until-fail:3: 3 of 3. With Unimplemented.cpp as on main and the test kept, it does not link (undefined reference to all four).
  • Exports of the built libs: libSceVideoOut.prx 359 -> 363 (UPZWCH8qTM4, fEPEwROdCwM, u-9bhWQApq8, N17AK88NdD0), 62614 -> 62618 in total. Of 1093 relinked import registries of 51 local titles, only PPSA99995 imports them (libvulkan.prx).
  • Non-GPU suite on the stack (-j8 --timeout 120 -E '^agc_driver_|^video_out_flip'): 837 of 840 pass, 2 skipped, hardware_oracle_compare timed out under load and passes alone (11.2 s).
  • tools/check_conventions.py --base origin/main and git diff --check: pass.

Prospero Win (PPSA99995), --trap-sdk-syscall-stubs --module-dir win/wine/lib/wine/x86_64-unix, display on, 125 s limit:

  • main and main + this PR alone: conversion stops at FAIL: Unsupported Windows guest TLS instruction (bytes: 65 48 8b 0c 25 78 03 00 00) (offset 0x3214c) (#6102's part).
  • #6028 + #6102 without this PR, 2 runs: exit 0xC0000139 after 1-3 s, 0 frames:
    FAIL: unresolved ELF import fEPEwROdCwM from libSceVideoOut.prx
    FAIL: unresolved ELF import u-9bhWQApq8 from libSceVideoOut.prx
    FAIL: unresolved ELF import UPZWCH8qTM4 from libSceVideoOut.prx
    FAIL: unresolved ELF import N17AK88NdD0 from libSceVideoOut.prx
    GetLastError: 127 - The specified procedure could not be found.
    
  • All three, 2 runs: still running at 125 s, 104 and 119 frames (about 1 FPS), no stop line and no not implemented; the window shows the launcher's library screen and session-0.log has launcher video=ok pad=ok hid=ok frame=1 apps=0. The import audit goes from 8 absent to 0 absent.

My earlier note on the debt line (the cited source describes the image format and return values) still applies; not a blocker.

Not checked: Linux, a console, a Windows program inside Prospero Win that shows a cursor (it would stop at sceVideoOutCursorEnable not implemented).

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

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6211312339 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6135#issuecomment-6211312339). Originally posted by [screamm](https://github.com/screamm) on 2026-10-16T08:24:14Z. --- Follow-up to my earlier run, now on current main `5d9dcc42d` with this PR built alone and the stack merged in the order #6028 (`fb0f83ddf`) -> #6102 (`f1735f59f`) -> #6135 (`10bc2f05a`). #6028 moved from `183782ddc` to `fb0f83ddf` since my earlier run; it is the same commit rebased. Windows 11 Pro 26220, Ryzen 7 5700X, NVIDIA RTX 4070 (596.21), WinLibs MinGW-w64 GCC 15.2.0 r7, Ninja, Release. - Merges: clean alone and in that order. Full build with `-k 0` on the stack: only `agc_driver_gpu_indirect_arguments_misaligned_writer_ahead_tests` fails (the 64 KiB `alignas` that also fails on `main`, #6452/#6478); `libs` builds; no warnings in the changed files. - This PR alone on `main`: `guest_video_out_cursor`, `--repeat until-fail:3`: 3 of 3. With `Unimplemented.cpp` as on `main` and the test kept, it does not link (`undefined reference` to all four). - Exports of the built `libs`: `libSceVideoOut.prx` 359 -> 363 (`UPZWCH8qTM4`, `fEPEwROdCwM`, `u-9bhWQApq8`, `N17AK88NdD0`), 62614 -> 62618 in total. Of 1093 relinked import registries of 51 local titles, only PPSA99995 imports them (`libvulkan.prx`). - Non-GPU suite on the stack (`-j8 --timeout 120 -E '^agc_driver_|^video_out_flip'`): 837 of 840 pass, 2 skipped, `hardware_oracle_compare` timed out under load and passes alone (11.2 s). - `tools/check_conventions.py --base origin/main` and `git diff --check`: pass. **Prospero Win (PPSA99995)**, `--trap-sdk-syscall-stubs --module-dir win/wine/lib/wine/x86_64-unix`, display on, 125 s limit: - `main` and `main` + this PR alone: conversion stops at `FAIL: Unsupported Windows guest TLS instruction (bytes: 65 48 8b 0c 25 78 03 00 00) (offset 0x3214c)` (#6102's part). - #6028 + #6102 without this PR, 2 runs: exit `0xC0000139` after 1-3 s, 0 frames: ``` FAIL: unresolved ELF import fEPEwROdCwM from libSceVideoOut.prx FAIL: unresolved ELF import u-9bhWQApq8 from libSceVideoOut.prx FAIL: unresolved ELF import UPZWCH8qTM4 from libSceVideoOut.prx FAIL: unresolved ELF import N17AK88NdD0 from libSceVideoOut.prx GetLastError: 127 - The specified procedure could not be found. ``` - All three, 2 runs: still running at 125 s, 104 and 119 frames (about 1 FPS), no stop line and no `not implemented`; the window shows the launcher's library screen and `session-0.log` has `launcher video=ok pad=ok hid=ok frame=1 apps=0`. The import audit goes from 8 absent to 0 absent. My earlier note on the debt line (the cited source describes the image format and return values) still applies; not a blocker. Not checked: Linux, a console, a Windows program inside Prospero Win that shows a cursor (it would stop at `sceVideoOutCursorEnable not implemented`). Written with Claude Code assistance (validation by a subagent, reviewed in this session).
adriadam10 commented 2026-10-16 23:52:41 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-16T23:52:41Z.


Checked on the merged tree: build and the VideoOut ctest scope green (60/60, guest_video_out_cursor passes), and the test no longer links without the four exports. The NIDs and parameter lists match aerolib.csv and pw_vulkan_radv.c, each stub throws via NotImplemented_nid_no_patch, and the debt line is under Unknown function info. @screamm's Windows run covers the load path; merging.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6226902692 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6135#issuecomment-6226902692). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-16T23:52:41Z. --- Checked on the merged tree: build and the VideoOut ctest scope green (60/60, `guest_video_out_cursor` passes), and the test no longer links without the four exports. The NIDs and parameter lists match `aerolib.csv` and `pw_vulkan_radv.c`, each stub throws via `NotImplemented_nid_no_patch`, and the debt line is under Unknown function info. @screamm's Windows run covers the load path; merging.
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!6135
No description provided.