Skip to content

vulkan apps not opening #3

@albinkc

Description

@albinkc

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions