Closed Archie3d closed 7 months ago
@Archie3d it seems it took a while to get back to this but we have finally been able to run Kompute reliably on an M1 device.
Specifically there are a few ways in which this can be made work, one option is to install an older SDK - this has been tested correctly with driver 1.2.198, as long as the VK_ICD_FILENAMES env var is set up correctly to your MoltenVK driver (e.g. $VULKAN_SDK/share/vulkan/icd.d/MoltenVK_icd.json)
Furthermore we should certainly extend the code to include a check for compatibility, and enable users to add the KHR_PORTABILITY_ENUMERATION_EXTENSION_NAME as suggested.
Running on MacOS with Vulkan SDK 1.3.231. The
Manager::createInstance()
fails silently when callingPerhaps it should check the returned code, which in this case happens to be
VK_ERROR_INCOMPATIBLE_DRIVER
. It seems that the recent SDK requires theVK_KHR_PORTABILITY_ENUMERATION_EXTENSION_NAME
extension to be enabled on MacOS: