vkdevicechooser
vkdevicechooser copied to clipboard
Layer disabled with Vulkan-Loader v1.3.212
I'm trying to use vkdevicechooser with Vulkan-Loader v1.3.212 on Debian 11 but the ENABLE_DEVICE_CHOOSER_LAYER=1 environment variable seems to have no effect.
Getting log lines like this with VK_LOADER_DEBUG=all & vulkaninfo:
INFO: loader_add_implicit_layer: Disabling implicit layer VK_LAYER_MESA_device_select for using an old API version 1.2 versus application requested 1.3
Suspect it's related to KhronosGroup/Vulkan-Loader#870.
Bumping api_version to "1.3.0" in vkdevicechooser.json seems to work on my system:
diff --git a/vkdevicechooser.json b/vkdevicechooser.json
index efa18fb..6aaa6b9 100644
--- a/vkdevicechooser.json
+++ b/vkdevicechooser.json
@@ -4,7 +4,7 @@
"name": "VK_LAYER_AEJS_DeviceChooserLayer",
"type": "GLOBAL",
"library_path": "libvkdevicechooser.so",
- "api_version": "1.2.131",
+ "api_version": "1.3.0",
"implementation_version": "1",
"description": "Device chooser layer",
"functions": {
No idea if that's "correct" though.