This clashes with the documentation for this interface but not it's general usage so it's gone unnoticed. https://pastebin.com/tTmzeeid uint32_t gpu_count = 1; /* TODO: This just selects first GPU. */ vkEnumeratePhysicalDevices (instance, &gpu_count, &gpu); Changing this to... uint32_t gpu_count = 0; vkEnumeratePhysicalDevices (instance, &gpu_count, NULL); gpu_count = 1; /* TODO: This just selects first GPU. */ vkEnumeratePhysicalDevices (instance, &gpu_count, &gpu); works around the issue.
I can't reproduce on my system. Also, looking at your pastebin, the segfault is happening in libvulkan.so which is the loader, not libvulkan_intel.so which is the driver. I think you may have found a loader bug. The loader can be found here: https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.