Windows (AMD RX 6600 XT): with VK_LAYER_KHRONOS_validation requested, test processes fail at vkCreateInstance with -9, so the required validation runs are impossible #10663
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 brummilab on 2026-10-24T15:58:34Z.
What happens
With VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation (Vulkan SDK 1.4.363), AGC tests that need a device fail at "vkCreateInstance: Vulkan result -9" (VK_ERROR_INCOMPATIBLE_DRIVER); without the variable they pass, and vulkaninfo creates an instance with the same layer.
Title, test or build step
ctest: agc_driver_image_table, agc_driver_sample_order (and other Vulkan tests); guest_video_out_wqhd_detection is skipped instead
AnyPS5 commit
main
b84322da6, no pull requests on topSystem
Windows 11 Pro 10.0.26300, AMD Radeon RX 6600 XT (Navi 23, 0x73ff), AMD driver 32.0.21045.16010, Vulkan SDK 1.4.363.0 (System32 vulkan-1.dll 1.4.363.0), WinLibs GCC 15.2.0 r7
Steps to reproduce
Log
What was checked
With the layer requested: agc_driver_sample_order and agc_driver_image_table fail in under 0.1 s, guest_video_out_wqhd_detection is skipped ("no display or Vulkan device"); agc_driver_graphics and agc_shader_memory pass (they also pass with VK_DRIVER_FILES pointing at a missing file, so they don't need a device). Without the variable all of them pass.
vulkaninfo --summary with the same VK_INSTANCE_LAYERS lists the GPU, and the layer creates the file named by VK_KHRONOS_VALIDATION_LOG_FILENAME; the test processes create no such file. VK_LOADER_DEBUG=layer prints loader messages for vulkaninfo but nothing for the test processes, so the loader's reason for -9 is not visible here.
Neither log contains "was not found but was requested by env var VK_INSTANCE_LAYERS", so the check in AGENTS.md / CONTRIBUTING.md does not catch this, and the "no new VUID- errors" comparison compares two logs that cannot contain any.
In #9056 another tester reported validation output on Windows with a Radeon 680M (driver 32.0.21030) and layer 1.4.363, so this may depend on the driver or the machine.
AI-assisted: yes