Missing extension VK_VERSION_1_1

I’m trying to get DevSim layer working, tried many SDK versions and Nvidia drivers with no luck. Most often the error is this:

ERROR: [Validation] Code 0 : Validation Error: [ VUID-vkCreateInstance-ppEnabledExtensionNames-01388 ] Object 0: VK_NULL_HANDLE, type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0xe5e52180 | Missing extension required by the instance extension VK_KHR_surface_protected_capabilities: VK_VERSION_1_1. The Vulkan spec states: All required extensions for each extension in the VkInstanceCreateInfo::ppEnabledExtensionNames list must also be present in that list. (khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-vkCreateInstance-ppEnabledExtensionNames-01388)

But VK_VERSION_1_1 is not a valid instance extension, I can’t add it into layer’s JSON. Any ideas?

==========
VULKANINFO

Vulkan Instance Version: 1.2.135

Instance Extensions: count = 14

    VK_EXT_debug_report                    : extension revision 9
    VK_EXT_debug_utils                     : extension revision 2
    VK_EXT_swapchain_colorspace            : extension revision 4
    VK_EXT_validation_features             : extension revision 2
    VK_KHR_device_group_creation           : extension revision 1
    VK_KHR_external_fence_capabilities     : extension revision 1
    VK_KHR_external_memory_capabilities    : extension revision 1
    VK_KHR_external_semaphore_capabilities : extension revision 1
    VK_KHR_get_physical_device_properties2 : extension revision 2
    VK_KHR_get_surface_capabilities2       : extension revision 1
    VK_KHR_surface                         : extension revision 25
    VK_KHR_surface_protected_capabilities  : extension revision 1
    VK_KHR_win32_surface                   : extension revision 6
    VK_NV_external_memory_capabilities     : extension revision 1

Layers: count = 11

VK_LAYER_KHRONOS_validation (Khronos Validation Layer) Vulkan version 1.2.135, layer version 1:
Layer Extensions: count = 3
VK_EXT_debug_report : extension revision 9
VK_EXT_debug_utils : extension revision 1
VK_EXT_validation_features : extension revision 2
Devices: count = 1
GPU id = 0 (GeForce GTX 1080 Ti)
Layer-Device Extensions: count = 3
VK_EXT_debug_marker : extension revision 4
VK_EXT_tooling_info : extension revision 1
VK_EXT_validation_cache : extension revision 1

VK_LAYER_KHRONOS_validation (Khronos Validation Layer) Vulkan version 1.2.135, layer version 1:
Layer Extensions: count = 3
VK_EXT_debug_report : extension revision 9
VK_EXT_debug_utils : extension revision 1
VK_EXT_validation_features : extension revision 2
Devices: count = 1
GPU id = 0 (GeForce GTX 1080 Ti)
Layer-Device Extensions: count = 3
VK_EXT_debug_marker : extension revision 4
VK_EXT_tooling_info : extension revision 1
VK_EXT_validation_cache : extension revision 1

Set VkApplicationInfo::apiVersion to VK_API_VERSION_1_1. Plus make sure you actually set the devsim profile file.

Hey,

This error pops even w/o DevSim layer and it prevents the actual game build to even launch. The log above is from vanilla vulkaninfo run with one additional layer active - VK_LAYER_KHRONOS_validation from stock 1.2.135.0 SDK. On GTX 1080Ti / 442.98 if that matters.

Yea, I can repro. Looks like a vulkaninfo bug; don’t worry about it.