Skip to content

Vookoo will not run on Mac with Vulkan 1.3.216. #55

Description

@FunMiles

When installing Vulkan SDK 1.3.216 or after on MacOS, the following appears:

NOTICE: As of the 1.3.216 SDK release,  the Vulkan Portability Enumeration extension is being enforced by the Vulkan loader.  Failure to 'opt in' for non-conformant Vulkan implementations will cause applications to fail to find the MoltenVK ICD.  See the macOS release notes for more information.

Indeed the code will not run anymore.
Fixing it requires a few changes: adding more layers to the default:

    instance_extensions_.push_back(VK_KHR_PORTABILITY_ENUMERATION_EXTENSION_NAME);
    instance_extensions_.push_back(VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME);

and a flag when calling InstanceCreateInfo:

vk::InstanceCreateFlagBits::eEnumeratePortabilityKHR

Unfortunately, some of these constants are not available with the glfw provided Vulkan headers. Updating the version of glfw is also necessary.
I will create a PR for this issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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