Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vulkan Building error

Tags:

vulkan

I want to build a sample included in Vulkan SDK.

I downloaded the SDK from http://vulkan.lunarg.com and install it.

Then I opened the Visual Studio (I have a 2013 version), I open the solution from this path: (C:\VulkanSDK\1.0.13.0\Demos). I choose DEMOS.sln file. Then when I click on LocalWindowsDebugger this message pops up:

vkCreateInstance Failure:
vkEnumerateInstanceExtensionProperties failed to find the VK_KHR_surface extention. 
Do you have a compatible Vulkan installable client driver (ICD) insatalled? Please look at the Getting Started  guide for additional information.

I have never worked with vulkan, but as it named "Demo", I think that everything inside of it should be set in order to work.

I searched the web, but as it is new, there are few resources talked about it.

What is ICD? and how to install it? (is it different from installer of VulkanSDK?) OR this error is about completely different property? like setting properties of VisualStudio?

like image 787
Ali Bahrami Avatar asked Sep 20 '26 17:09

Ali Bahrami


1 Answers

ICD is basically your GPU driver...

Both the SDK and driver install vulkaninfo app. Use it to determine what extensions you have and whatnot.

BTW Some time ago AMD drivers forgot to export the extensions like VK_KHR_surface. Make sure you are using the latest driver (16.5.2.1 on AMD and 365.19 on NVIDIA as of time of writing).

Also you need supported GPU. Consult:

NVIDIA supported GPUs

AMD supported GPUs

Khronos maintained list

BTW: All the demos work for me.

like image 105
krOoze Avatar answered Sep 22 '26 09:09

krOoze



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!