Unable to create vulkan instance
DerZc opened this issue · comments
hello,
when i run amber with testcase and vulkan as backend, I get the error "Unable to create vulkan instance", how can I fix that?
thank you
This means we were not able to correctly setup Vulkan. If you run the vulkaninfo
program does it work correctly? Usually when this happens I check to make sure the various vulkan env variables (assuming your on Linux) are setup correctly. Namely, VK_ICD_FILENAMES
and VK_LAYER_PATH
need to be setup correctly.
Thank you for your answer. I have solved that my GPU do not support vulkan. I have try on another GPU, but VK_ICD_FILENAMES is error, it should at /usr/share/vulkan/icd.d/, I get this from https://vulkan.lunarg.com/doc/sdk/1.2.162.1/linux/getting_started.html[https://vulkan.lunarg.com/doc/sdk/1.2.162.1/linux/getting_started.html]
I believe the variable needs to point at the json
file, not the directory that contains the file.
It would depend on where your driver put the file, so you'll need to go lookup how your driver sets things up. I don't know offhand where the file would be on your system. Sorry.
Can this bug be closed, it sounds like this isn't an Amber issue?
ok, you can close, thank you very much
Thanks, I hope you get things sorted.