fix(ci): skip the VideoOut window tests without a display, as check_skips expects #2514

Merged
adriadam10 merged 2 commits from upstream-pr/2514 into main 2026-10-10 00:52:04 +00:00
adriadam10 commented 2026-10-10 00:21:47 +00:00 (Migrated from github.com)

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


What

Main's linux job fails since #1028 and #1714 (run 38004935672):

  • guest_video_out_resolution_status (#1714) aborts: sceVideoOutOpen throws DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen), and the test had no skip path.
  • tools/check_skips.py (#1028) rejects guest_video_out_wqhd_detection and the flip tests even once that is fixed: they skip because the runner has no display for a Vulkan window, and "no display" is not one of the device limitations it accepts. PR CI no longer builds Linux, so neither showed up before the merges.

Changes:

  • GuestVideoOutResolutionStatus.cpp: skips with 77 when sceVideoOutOpen throws, exactly like its sibling GuestVideoOutWqhdDetection.cpp (SKIP_RETURN_CODE 77, ANYPS5_REQUIRE_DISPLAY makes it fail instead).
  • Flip.cpp: prints the same skipped, no display or Vulkan device: ... line before returning 77, so the junit output says why.
  • check_skips.py: accepts "no display" as a device limitation on Linux.

Tested

Linux (RADV), this branch:

  • SDL_VIDEODRIVER=offscreen (what the runner gets): the five VideoOut tests pass or skip (resolution status, wqhd detection, flip lifetime/controls skip; flip decode passes); check_skips.py on that junit: "4 test(s) skipped, all expected". check_skips.py from main on the same junit fails, as on CI.
  • With a display and ANYPS5_REQUIRE_DISPLAY=1: guest_video_out_resolution_status and guest_video_out_wqhd_detection run and pass.
  • tools/check_conventions.py: passes.

@oneandonlydean @Dextroid17: this keeps #1028's guard; it only adds the display case the Linux runner hits. Running these tests under xvfb-run on CI instead would keep their coverage; happy to do that as a follow-up if you prefer it.

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; silent stubs are listed in TechnicalDebt
  • No notes, investigation .md files or images added to the repository
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4807278267 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2514). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-10T00:21:47Z. --- ### What Main's `linux` job fails since #1028 and #1714 (run 38004935672): - `guest_video_out_resolution_status` (#1714) aborts: `sceVideoOutOpen` throws `DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen)`, and the test had no skip path. - `tools/check_skips.py` (#1028) rejects `guest_video_out_wqhd_detection` and the flip tests even once that is fixed: they skip because the runner has no display for a Vulkan window, and "no display" is not one of the device limitations it accepts. PR CI no longer builds Linux, so neither showed up before the merges. Changes: - `GuestVideoOutResolutionStatus.cpp`: skips with 77 when `sceVideoOutOpen` throws, exactly like its sibling `GuestVideoOutWqhdDetection.cpp` (`SKIP_RETURN_CODE 77`, `ANYPS5_REQUIRE_DISPLAY` makes it fail instead). - `Flip.cpp`: prints the same `skipped, no display or Vulkan device: ...` line before returning 77, so the junit output says why. - `check_skips.py`: accepts "no display" as a device limitation on Linux. ### Tested Linux (RADV), this branch: - `SDL_VIDEODRIVER=offscreen` (what the runner gets): the five VideoOut tests pass or skip (resolution status, wqhd detection, flip lifetime/controls skip; flip decode passes); `check_skips.py` on that junit: "4 test(s) skipped, all expected". `check_skips.py` from main on the same junit fails, as on CI. - With a display and `ANYPS5_REQUIRE_DISPLAY=1`: `guest_video_out_resolution_status` and `guest_video_out_wqhd_detection` run and pass. - `tools/check_conventions.py`: passes. @oneandonlydean @Dextroid17: this keeps #1028's guard; it only adds the display case the Linux runner hits. Running these tests under `xvfb-run` on CI instead would keep their coverage; happy to do that as a follow-up if you prefer it. ### 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 - [x] Unimplemented paths throw; silent stubs are listed in TechnicalDebt - [x] No notes, investigation `.md` files or images added to the repository - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] AI-assisted: yes
adriadam10 commented 2026-10-10 00:38:45 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-10T00:38:45Z.


Added 94a1d0b: the Windows job's check_skips only accepted agc* skips, and the VideoOut window tests skip there too (no Vulkan driver on the runner). Linux was already green on the first dispatched build (run 38008731080); re-dispatched for both (run 38009912890).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6091714227 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2514#issuecomment-6091714227). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-10T00:38:45Z. --- Added 94a1d0b: the Windows job's check_skips only accepted agc* skips, and the VideoOut window tests skip there too (no Vulkan driver on the runner). Linux was already green on the first dispatched build (run 38008731080); re-dispatched for both (run 38009912890).
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!2514
No description provided.