CI: the VideoOut display tests never run on Linux or Windows; under Xvfb they run in 10 s and caught the EOP flip regression #6899
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by hashaam1217 on 2026-10-16T17:11:11Z.
What
17 VideoOut tests skip on the Linux CI job, and Windows CI skips them as well:
video_out_flip_{controls,eop,eop_aftergpu,eop_main,labels,labels_main,lifetime,overlay,reopen,unopened},video_out_frame_dump_queue,video_out_hdr_presentandguest_video_out_{hdr,high_frame_rate,output_mode,resolution_status,wqhd_detection}. They useSDL_VIDEODRIVER=offscreen(theANYPS5_VIDEO_OUT_TEST_DRIVERdefault from #3810), and SDL2's offscreen driver has no Vulkan surface, so each one reportsno display or Vulkan device.tools/check_skips.pyaccepts that reason, so the job stays green.This hides real regressions. #1202 (pipelined draws on by default) broke presentation of EOP flips from #5539:
video_out_flip_eopand_eop_mainfail and_eop_aftergputimes out. CI could not see it; it was found by running the tests by hand and bisecting. The fix is #6616.Running them under Xvfb
On Ubuntu 24.04 with lavapipe (Mesa 25.2.8):
On
mainplus #6616, 16 of the 17 run and pass, in 9.9 s for all 21video_outtests.guest_video_out_high_frame_ratestill skips, because Xvfb offers no 120 Hz mode.check_skips.pyalready accepts that reason. Onmainwithout #6616, the three EOP tests fail as described above.A hardware Vulkan driver cannot present on Xvfb, which has no DRI3: Intel ANV fails with
No DRI3 support detected. So this works with lavapipe, which is what the Linux job already uses.Suggestion
On the self-hosted Linux runner: install
xvfb, configure with-DANYPS5_VIDEO_OUT_TEST_DRIVER=x11, and run the ctest step underxvfb-run -a(or with a started Xvfb andDISPLAYset). Once that is in place,check_skips.pycould stop acceptingno displayon the Linux job, so a lost display shows up as a failure instead of a skip. The runner is yours to configure, so I have not opened a workflow PR. I'm happy to send one if this direction is wanted.AI-assisted: yes.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T19:06:39Z.
I’m prototyping the Linux CI change from your suggestion: configure
ANYPS5_VIDEO_OUT_TEST_DRIVER=x11and run CTest underxvfb-run, withANYPS5_GPU=llvmpipe. The repo’s build instructions cover X11/XRandR development packages but not the self-hosted runner’s Xvfb package. Isxvfb-runalready installed on the[self-hosted, linux, x64, anyps5]runner, or should the workflow install/provision it? I’m keeping this separate from the EOP production fix in #6616.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T19:52:39Z.
I opened #6932 with the Linux X11/Xvfb CI change. The workflow checks for both
xvfb-runandxauth, and installsxvfb/xauthwith apt if either is missing. The focused VideoOut target builds locally, but runtime assertions on my host stop at the emulator CPU feature guard; I have not claimed a local CTest pass. The PR checks are still running, with the Windows relinker CTest step pending.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T19:53:41Z.
Update: #6932 has now passed its PR checks, including the Linux, macOS, and Windows relinker test jobs. The full Linux/Windows build suites are skipped on pull requests by the workflow conditions; the Xvfb VideoOut configuration will be exercised by the full Linux build on
mainafter merge. My local VideoOut test attempt remains blocked before assertions by this host’s CPU feature guard.Imported from boykopovar/AnyPS5. Originally posted by MayankManas on 2026-10-20T11:05:30Z.
Windows results with a real display, for comparison with the Xvfb run above.
ANYPS5_VIDEO_OUT_TEST_DRIVER=windows,ctest -R video_out -VwithANYPS5_GPUper device,ANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1,VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation. Windows 11 Pro 26200, WinLibs GCC 15.2.0 r7, Release,maine9cc4a8ef, display in HDR.With
offscreen, 13 of the 14video_out_flip_*tests skip (decodeneeds no window). Withwindows:video_out_hdr_probevideo_out_hdr_probe,video_out_flip_eop_aftergpuAll 14 flip tests,
guest_video_out_*andvideo_out_hdr_presentpass on the NVIDIA GPU. The skip isguest_video_out_wqhd_detection_no_vulkan. NoVUID-and nowas not found but was requested by env var VK_INSTANCE_LAYERSin either log.Both failures are in the tests, not in VideoOut, and CI cannot reach either of them:
video_out_hdr_probeexpects no Windows HDR monitor report and fails when the display is in HDR.video_out_flip_eop_aftergpu's 100M-iteration busy loop runs past the Windows GPU timeout on the UHD 770, and the test aborts withVK_ERROR_DEVICE_LOST.AI-assisted: yes