<div dir="ltr"><div><div><div>Thank you Yavn and Bas for the answers.<br><br></div>I have successfully launched vulkaninfo, the problem came from the icd.json not loaded because of the path.<br></div>The VK_ICD_FILENAMES env var will allow me to test correctly.<br><br></div>@Bas: I have a R9 290 but I use a kernel with amdgpu (from mystro256)<br><div class="gmail_extra"><br><div class="gmail_quote">2016-11-17 21:58 GMT+01:00 Bas Nieuwenhuizen <span dir="ltr"><<a href="mailto:bas@basnieuwenhuizen.nl" target="_blank">bas@basnieuwenhuizen.nl</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
One possible reason is that the radv driver can't find any hardware.<br>
This can happen for example if you use the radeon kernel driver, as<br>
only the amdgpu kernel driver is currently supported.<br>
<br>
I'm not sure what the error will be if the loader doesn't see radv at all.<br>
<br>
Yours sincerely,<br>
Bas Nieuwenhuizen<br>
<span class="m_-6464120348369102336im m_-6464120348369102336HOEnZb"><br>
On Thu, Nov 17, 2016 at 8:19 PM, XoD <<a href="mailto:xoddark@gmail.com" target="_blank">xoddark@gmail.com</a>> wrote:<br>
</span><div class="m_-6464120348369102336HOEnZb"><div class="m_-6464120348369102336h5">> Sorry, forgot my email.<br>
><br>
> The radeon_icd.json file generated by mesa build are not in the path checked<br>
> by vulkan loader.<br>
> Just need to found how add an additional path for the vulkan driver json<br>
> file.<br>
><br>
> 2016-11-17 20:02 GMT+01:00 XoD <<a href="mailto:xoddark@gmail.com" target="_blank">xoddark@gmail.com</a>>:<br>
>><br>
>> Hello, I would like do some test with Vulkan, but I have not been able to<br>
>> use the radv drivers at the moment.<br>
>><br>
>> I have install vulkan package from Fedora 24, and build mesa with radv<br>
>> drivers.<br>
>> The driver library libvulkan_radeon seems to be found by the system :<br>
>><br>
>> $ldconfig -p | grep vulkan<br>
>>     libvulkan_radeon.so (libc6,x86-64) =><br>
>> /opt/freedesktop/lib/libvulkan<wbr>_radeon.so<br>
>>     libvulkan.so.1 (libc6,x86-64) => /lib64/libvulkan.so.1<br>
>>     libvulkan.so (libc6,x86-64) => /lib64/libvulkan.so<br>
>><br>
>> But when I tried to launch vulkaninfo build from Lunarg Vulkan SDK, I have<br>
>> an error :<br>
>> $ ./vulkaninfo<br>
>> ===========<br>
>> VULKAN INFO<br>
>> ===========<br>
>><br>
>> Vulkan API Version: 1.0.32<br>
>><br>
>> INFO: [loader] Code 0 : Found manifest file<br>
>> /usr/share/vulkan/explicit_lay<wbr>er.d/VkLayer_image.json, version "1.0.0"<br>
>> INFO: [loader] Code 0 : Found manifest file<br>
>> /usr/share/vulkan/explicit_lay<wbr>er.d/VkLayer_parameter_validat<wbr>ion.json,<br>
>> version "1.0.0"<br>
>> INFO: [loader] Code 0 : Found manifest file<br>
>> /usr/share/vulkan/explicit_lay<wbr>er.d/VkLayer_core_validation.<wbr>json, version<br>
>> "1.0.0"<br>
>> INFO: [loader] Code 0 : Found manifest file<br>
>> /usr/share/vulkan/explicit_lay<wbr>er.d/VkLayer_unique_objects.<wbr>json, version<br>
>> "1.0.0"<br>
>> INFO: [loader] Code 0 : Found manifest file<br>
>> /usr/share/vulkan/explicit_lay<wbr>er.d/VkLayer_swapchain.json, version "1.0.0"<br>
>> INFO: [loader] Code 0 : Found manifest file<br>
>> /usr/share/vulkan/explicit_lay<wbr>er.d/VkLayer_object_tracker.<wbr>json, version<br>
>> "1.0.0"<br>
>> INFO: [loader] Code 0 : Found manifest file<br>
>> /usr/share/vulkan/explicit_lay<wbr>er.d/VkLayer_threading.json, version "1.0.0"<br>
>> INFO: [loader] Code 0 : Found manifest file<br>
>> /usr/share/vulkan/explicit_lay<wbr>er.d/VkLayer_image.json, version "1.0.0"<br>
>> INFO: [loader] Code 0 : Found manifest file<br>
>> /usr/share/vulkan/explicit_lay<wbr>er.d/VkLayer_parameter_validat<wbr>ion.json,<br>
>> version "1.0.0"<br>
>> INFO: [loader] Code 0 : Found manifest file<br>
>> /usr/share/vulkan/explicit_lay<wbr>er.d/VkLayer_core_validation.<wbr>json, version<br>
>> "1.0.0"<br>
>> INFO: [loader] Code 0 : Found manifest file<br>
>> /usr/share/vulkan/explicit_lay<wbr>er.d/VkLayer_unique_objects.<wbr>json, version<br>
>> "1.0.0"<br>
>> INFO: [loader] Code 0 : Found manifest file<br>
>> /usr/share/vulkan/explicit_lay<wbr>er.d/VkLayer_swapchain.json, version "1.0.0"<br>
>> INFO: [loader] Code 0 : Found manifest file<br>
>> /usr/share/vulkan/explicit_lay<wbr>er.d/VkLayer_object_tracker.<wbr>json, version<br>
>> "1.0.0"<br>
>> INFO: [loader] Code 0 : Found manifest file<br>
>> /usr/share/vulkan/explicit_lay<wbr>er.d/VkLayer_threading.json, version "1.0.0"<br>
>> INFO: [loader] Code 0 : Found manifest file<br>
>> /home/xod/.local/share/vulkan/<wbr>implicit_layer.d/steamoverlay_<wbr>i386.json,<br>
>> version "1.0.0"<br>
>> INFO: [loader] Code 0 : Found manifest file<br>
>> /home/xod/.local/share/vulkan/<wbr>implicit_layer.d/steamoverlay_<wbr>x86_64.json,<br>
>> version "1.0.0"<br>
>> Cannot create Vulkan instance.<br>
>> /home/xod/Prog/vulkan/vulkanin<wbr>fo/vulkaninfo.c:680: failed with<br>
>> VK_ERROR_INCOMPATIBLE_DRIVER<br>
>><br>
>> Someone have an idea about the origin of the problem, or a method to<br>
>> anderstand what is the problem ?<br>
>> Peraps use the SDK is not a good idea, and directly clone and build<br>
>> VulkanSample and VulkanTools from LunarG github repository is a better idea<br>
>> ?<br>
>><br>
>> Thank you.<br>
>><br>
>> PS: I have installed the Fedora package vulkan, vulkan-devel and<br>
>> vulkan-filesystem.<br>
><br>
><br>
><br>
</div></div><div class="m_-6464120348369102336HOEnZb"><div class="m_-6464120348369102336h5">> ______________________________<wbr>_________________<br>
> mesa-dev mailing list<br>
> <a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
><br>
</div></div></blockquote></div><br></div></div>