I initially noticed this when Zed editor failed to draw GUI.
env var VK_ICD_FILENAMES points to non-existent lvp_icd.aarch64.json
~ ✗ vkcube
vkEnumerateInstanceExtensionProperties failed to find the VK_KHR_surface instance extension.
This indicates that no compatible Vulkan installable client driver (ICD) is present or that the system is not configured to present to the screen.
Fixed it by changing the env var to asahi_icd.aarch64.json
This works:
~ ❯ VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/asahi_icd.aarch64.json vkcube
Selected WSI platform: wayland
Selected GPU 0: Apple M1 Pro (G13S C0), type: IntegratedGpu
^C
Note: unset VK_ICD_FILENAMES also did the trick
I initially noticed this when Zed editor failed to draw GUI.
env var
VK_ICD_FILENAMESpoints to non-existentlvp_icd.aarch64.json~ ✗ vkcube vkEnumerateInstanceExtensionProperties failed to find the VK_KHR_surface instance extension. This indicates that no compatible Vulkan installable client driver (ICD) is present or that the system is not configured to present to the screen.Fixed it by changing the env var to
asahi_icd.aarch64.jsonThis works:
Note:
unset VK_ICD_FILENAMESalso did the trick