guest_video_out_resolution_status aborts on the linux CI job since #1714 merged: sceVideoOutOpen creates the window (#1367) and the test has no display guard #2509

Closed
opened 2026-10-10 00:10:47 +00:00 by SleglJan · 1 comment
SleglJan commented 2026-10-10 00:10:47 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by SleglJan on 2026-10-10T00:10:47Z.


What

Since #1714 merged (7b705629, 2026-10-09 21:54 UTC) the linux job's ctest fails on main. guest_video_out_resolution_status calls sceVideoOutOpen (core/libs/tests/GuestVideoOutResolutionStatus.cpp L30), and since #1367 (1a2bbc5d, merged as 3e66276c on 2026-10-09 08:03 UTC) that creates the window and the device. The linux job sets up no display, SDL ends up on its offscreen driver, DisplayWindow throws and the test process terminates:

459 - guest_video_out_resolution_status (Subprocess aborted)
terminate called after throwing an instance of 'std::runtime_error'
  what():  DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform

#1714's CI run (37816391488, a pull_request run of 2026-10-08, linux 468 of 468) predates the #1367 merge, and the linux job no longer runs on pull requests, only on pushes to main and manual builds. Upstream's push builds of main since the merge were cancelled by the next push except the one at a291ae0f (38004935672): linux 1 failed of 568, this test with the same message; windows fails at the build, #2462.

Reproduced

  • Fork Build of main ff8961df alone (run 38004711062, push event): linux 536 passed, 29 skipped, 1 failed of 566, this test. Same in run 38005245415, #1652's head merged into the same main. The Windows job of both runs fails earlier, at the build of libSceVideoOut.prx, which is #2462.
  • Locally (CachyOS, kernel 7.2.9, GCC 16.2.1, Release, BUILD_TESTING=ON, a build of #1652's head c26c1cae, which differs from main ff8961df only in libkernel's signal files): SDL_VIDEODRIVER=offscreen ctest -R "guest_video_out_resolution_status|video_out_flip_lifetime|guest_video_out_wqhd_detection" skips the two siblings and aborts this one with the same message; with a display both guest tests pass.

The sibling's pattern

guest_video_out_wqhd_detection has handled this since 1a2bbc5d: it catches the std::runtime_error from sceVideoOutOpen, prints skipped, no display or Vulkan device: ... and returns 77 unless ANYPS5_REQUIRE_DISPLAY is set, and core/libs/prx/libSceVideoOut/CMakeLists.txt registers it with SKIP_RETURN_CODE 77 (L62); the linux job is green with it skipped (run 37932706208, base d70b8998). guest_video_out_resolution_status has neither (L74–78). Not opening a PR under the intake pause.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5786278964 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/2509). Originally posted by [SleglJan](https://github.com/SleglJan) on 2026-10-10T00:10:47Z. --- ### What Since #1714 merged (7b705629, 2026-10-09 21:54 UTC) the linux job's ctest fails on `main`. `guest_video_out_resolution_status` calls `sceVideoOutOpen` (`core/libs/tests/GuestVideoOutResolutionStatus.cpp` L30), and since #1367 (1a2bbc5d, merged as 3e66276c on 2026-10-09 08:03 UTC) that creates the window and the device. The linux job sets up no display, SDL ends up on its `offscreen` driver, `DisplayWindow` throws and the test process terminates: ``` 459 - guest_video_out_resolution_status (Subprocess aborted) terminate called after throwing an instance of 'std::runtime_error' what(): DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform ``` #1714's CI run ([37816391488](https://github.com/boykopovar/AnyPS5/actions/runs/37816391488), a `pull_request` run of 2026-10-08, linux 468 of 468) predates the #1367 merge, and the linux job no longer runs on pull requests, only on pushes to `main` and manual builds. Upstream's push builds of `main` since the merge were cancelled by the next push except the one at a291ae0f ([38004935672](https://github.com/boykopovar/AnyPS5/actions/runs/38004935672)): linux 1 failed of 568, this test with the same message; windows fails at the build, #2462. ### Reproduced - Fork Build of `main` ff8961df alone ([run 38004711062](https://github.com/SleglJan/AnyPS5/actions/runs/38004711062), push event): linux 536 passed, 29 skipped, 1 failed of 566, this test. Same in [run 38005245415](https://github.com/SleglJan/AnyPS5/actions/runs/38005245415), #1652's head merged into the same `main`. The Windows job of both runs fails earlier, at the build of `libSceVideoOut.prx`, which is #2462. - Locally (CachyOS, kernel 7.2.9, GCC 16.2.1, Release, `BUILD_TESTING=ON`, a build of #1652's head c26c1cae, which differs from `main` ff8961df only in libkernel's signal files): `SDL_VIDEODRIVER=offscreen ctest -R "guest_video_out_resolution_status|video_out_flip_lifetime|guest_video_out_wqhd_detection"` skips the two siblings and aborts this one with the same message; with a display both guest tests pass. ### The sibling's pattern `guest_video_out_wqhd_detection` has handled this since 1a2bbc5d: it catches the `std::runtime_error` from `sceVideoOutOpen`, prints `skipped, no display or Vulkan device: ...` and returns 77 unless `ANYPS5_REQUIRE_DISPLAY` is set, and `core/libs/prx/libSceVideoOut/CMakeLists.txt` registers it with `SKIP_RETURN_CODE 77` (L62); the linux job is green with it skipped ([run 37932706208](https://github.com/SleglJan/AnyPS5/actions/runs/37932706208), base d70b8998). `guest_video_out_resolution_status` has neither (L74–78). Not opening a PR under the intake pause. AI-assisted: yes (Claude Code)
SleglJan commented 2026-10-10 01:01:41 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by SleglJan on 2026-10-10T01:01:41Z.


Fixed by #2514 (merged as 0c0dc1e9, 2026-10-10 00:52 UTC). Its dispatched build on main 1f0c9fef (run 38009912890): linux 568 of 568 with guest_video_out_resolution_status skipped and check_skips.py reporting 30 skips, all expected; windows 559 of 559. The push build of main at the merge commit was cancelled by the next push. Closing.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6091933831 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/2509#issuecomment-6091933831). Originally posted by [SleglJan](https://github.com/SleglJan) on 2026-10-10T01:01:41Z. --- Fixed by #2514 (merged as 0c0dc1e9, 2026-10-10 00:52 UTC). Its dispatched build on `main` 1f0c9fef ([run 38009912890](https://github.com/boykopovar/AnyPS5/actions/runs/38009912890)): linux 568 of 568 with `guest_video_out_resolution_status` skipped and `check_skips.py` reporting 30 skips, all expected; windows 559 of 559. The push build of `main` at the merge commit was cancelled by the next push. Closing.
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#2509
No description provided.