I'm trying to load https://gitlab.freedesktop.org/mesa/vulkan-wsi-layer with layer name VK_LAYER_window_system_integration in vkCreateInstance. However, I get INCOMPATIBLE_DRIVER. If I remove the lines that load the layer, the call completes as expected. The path to the manifest file is on the VK_LAYER_PATH.
#Error when trying to load layer
14 messages · Page 1 of 1 (latest)
the error message is very likely coming from something that layer is doing so contact them for support
they could be using INCOMPATIBLE_DRIVER to indicate missing features/extensions
their repo lists
The ICDs installed in the system are required to support the following extensions:
ICD = fancy name for vulkan driver
If I add the library itself to the DYLD path, I now get "VK_ERROR_OUT_OF_HOST_MEMORY".
yeah don't do that, layers have to go through the loader process
That would most likely indicate the json file is malformed
actually, adding the layer binary to the DLYD may be necessary for the loader to find the layer, if the layer is not using absolute/relative paths in the manifest file
I thought you fixed that 😛
yeah but how many people have a loader with that fixed?
hmm peeking the manifest file, it looks correct at first glance
They do use relative paths.
You're right --- there was an error (same error as last time actually, an errant comma). The actual error is VK_ERROR_LAYER_NOT_PRESENT.