Skip to content

vulkan: have useful info in --debug when waypipe can't find a vulkan device

Russell Greene requested to merge russelltg/waypipe:better_vulkan_error into master

Before, it would just fail with "Failed to find matching physical device" with no other helpful info.

Now fails on my system with useful info:

[52.612089 dbg waypipe-server(176941) dmabuf.rs:750] device Apple M1 Max (G13C C0) missing some required extensions: ["VK_EXT_queue_family_foreign", "VK_KHR_external_semaphore_fd", "VK_KHR_external_semaphore"]
[52.612156 dbg waypipe-server(176941) dmabuf.rs:750] device llvmpipe (LLVM 18.1.8, 128 bits) missing some required extensions: ["VK_EXT_physical_device_drm"]

Merge request reports

Loading