fix(video-out): skip tests without Vulkan loader #28670
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/28670"
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 paulk161 on 2026-12-02T18:43:37Z.
What
Treat a missing platform Vulkan loader as an optional display limitation in the host fullscreen tests.
The Windows hosted-runner diagnostic:
DisplayWindow: Failed loading vulkan-1.dll: The specified module could not be found.was not recognised by the existing skip policy, so the fullscreen window tests failed instead of returning the configured CTest skip code.
The policy now recognises missing Vulkan loaders on Windows, macOS, and Linux, while still failing when a display is explicitly required. Regression coverage also verifies that an unrelated error merely mentioning
vulkan-1.dllis not skipped.Tested
video_out_host_fullscreen_testson Windows 11 / MSYS2 UCRT64.video_out_host_fullscreenpassed.video_out_host_fullscreen_windowandvideo_out_host_fullscreen_failed_createskipped because the local Vulkan implementation lacksVK_KHR_surface.ANYPS5_REQUIRE_DISPLAY=1, both display tests failed as required instead of skipping.vulkan-1.dllis installed inC:\Windows\System32; that path is expected to be exercised by a Windows hosted runner without the Vulkan runtime.Checklist
Summary by CodeRabbit
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-12-02T18:55:37Z.
Review: APPROVED
Reviewed — looks good
The Vulkan-loader skip is narrowly gated, respects required-display mode, and has regression cases for supported loader messages and unrelated errors.
What I ran
Reviewed head
54612330f40cdff2310f13f328cd867b27850070. I read the changed file’s diff and relevant policy, callers, and test setup; no tests or build commands were run. The author reports Windows build and test results in the PR description.Results
Findings
Blocking
None.
Non-blocking
None.
Sources
core/libs/prx/libSceVideoOut/tests/HostFullscreen.cpp, was reviewed; no files were excluded.Not verified
The missing-loader path was not exercised end to end on a host without a Vulkan runtime. Build and test results described in the PR were not independently run.
To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by coderabbitai[bot] on 2026-12-02T19:15:25Z.
Review: COMMENTED
Actionable comments
5199e200-e2b6-4911-9dc5-a3837d356a7eReviewing files that changed from the base of the PR and between
5cf487d168and54612330f4.core/libs/prx/libSceVideoOut/tests/HostFullscreen.cppIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T06:01:30Z.
Review: COMMENTED
Ran the three host-fullscreen tests and
video_out_flip_eop_mainonmain(4d6e4f058d) and with54612330f4applied, usingctest --test-dir build -R ... -V. All four passed on both revisions under X11/Xvfb and Mesa lavapipe 25.0.7 with Khronos validation 1.4.369. The flip control shows validation-layer insertion in both logs. Neither log contains missing-layer diagnostics or VUID errors, with the required Vulkan and shader-cache environment settings.The expanded skip-policy fixture checked the Linux, Windows and macOS missing-loader diagnostics with and without a required display. The actual window tests used Linux software Vulkan.
AI-assisted: yes.
Imported from boykopovar/AnyPS5. Originally posted by Plyxen on 2026-12-04T13:37:47Z.
Review: APPROVED
Verified on Windows 11 (GCC 15.2, Release) on main
484b0368d3, withANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1and the Khronos validation layer 1.4.363. Every run log shows the loader inserting the layer and none shows "was not found". It ran on an RTX 5080 (621.24) and an AMD Radeon iGPU (26.11.2), together with #28820, #28802, #28780 and #28646.video_out_host_fullscreen*passed on main and with this change on both GPUs, with noVUID-messages. With a Vulkan loader present the test still runs instead of skipping.Non-blocking: the change drops the blank line before
OwnDirectory().Not run: a host without a Vulkan loader, and Linux.
AI-assisted: yes (Claude Code)
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.