test(agc): report a missing headless surface as a device limitation #17065

Merged
oneandonlydean merged 1 commit from upstream-pr/17065 into main 2026-11-08 10:05:15 +00:00
oneandonlydean commented 2026-11-08 09:18:02 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-11-08T09:18:02Z.


What

Hi @EagleBearerYS, a follow-up to #10043: agc_driver_present_upscale_tests skips on a device whose Vulkan instance does not list VK_EXT_headless_surface (seen on NVIDIA with loader 1.4.363) and printed skipped, no Vulkan loader with VK_EXT_headless_surface. No pattern in tools/check_skips.py accepts that text, so a ctest run that passed 100% still failed the skip check and every local merge-train probe of main came back red.

The skip text now says what is missing: skipped, the device lacks VK_EXT_headless_surface when the instance has no headless surface, and skipped, no usable Vulkan device when libvulkan cannot be loaded. Both already match the device-limitation pattern. The test body, the skip condition and the exit code are unchanged.

Tested

Built agc_driver_present_upscale_tests on main (4ab649f4d8) plus this change on NVIDIA and ran it under ctest with --output-junit: it skips with skipped, the device lacks VK_EXT_headless_surface, and python3 tools/check_skips.py --job linux on that junit reports 1 test(s) skipped, all expected (exit 0). With the old text the same pattern did not match (DEVICE_LIMITATION.search False before, True after, for both new messages). tools/check_conventions.py passes.

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: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: NVIDIA
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5210148293 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/17065). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-11-08T09:18:02Z. --- ### What Hi @EagleBearerYS, a follow-up to #10043: `agc_driver_present_upscale_tests` skips on a device whose Vulkan instance does not list `VK_EXT_headless_surface` (seen on NVIDIA with loader 1.4.363) and printed `skipped, no Vulkan loader with VK_EXT_headless_surface`. No pattern in `tools/check_skips.py` accepts that text, so a ctest run that passed 100% still failed the skip check and every local merge-train probe of main came back red. The skip text now says what is missing: `skipped, the device lacks VK_EXT_headless_surface` when the instance has no headless surface, and `skipped, no usable Vulkan device` when `libvulkan` cannot be loaded. Both already match the device-limitation pattern. The test body, the skip condition and the exit code are unchanged. ### Tested Built `agc_driver_present_upscale_tests` on main (4ab649f4d8) plus this change on NVIDIA and ran it under ctest with `--output-junit`: it skips with `skipped, the device lacks VK_EXT_headless_surface`, and `python3 tools/check_skips.py --job linux` on that junit reports `1 test(s) skipped, all expected` (exit 0). With the old text the same pattern did not match (`DEVICE_LIMITATION.search` False before, True after, for both new messages). `tools/check_conventions.py` passes. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [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: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: NVIDIA - [x] AI-assisted: yes
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!17065
No description provided.