[Libre-soc-dev] Loading Vulkan Driver

vivek pandya vivekvpandya at gmail.com
Thu Aug 20 16:42:51 BST 2020


I have started building mesa Vulkan driver.
I have started by copying amd/vulkan driver however I have just kept only
one file in build
I have only one method

VkResult libresoc_CreateGraphicsPipelines(
        VkDevice                                    _device,
        VkPipelineCache                             pipelineCache,
        uint32_t                                    count,
        const VkGraphicsPipelineCreateInfo*         pCreateInfos,
        const VkAllocationCallbacks*                pAllocator,
        VkPipeline*                                 pPipelines)
        return VK_ERROR_UNKNOWN;

with few edits/commenting out code into files I am able to build
 but when I forced loaded driver with VK_ICD_FILENAMES I am getting
following error:
however I was expecting to hit VK_ERROR_UNKNOWN. Anyone have any ideas? Am
I missing any file in the build setting?

vivek at vivek-VirtualBox:~/install/share/vulkan/icd.d$ vulkaninfo
ERROR: [Loader Message] Code 0 : loader_scanned_icd_add: Attempt to
retrieve either 'vkGetInstanceProcAddr' or 'vk_icdGetInstanceProcAddr' from
ICD /home/vivek/install/lib/x86_64-linux-gnu/libvulkan_libresoc.so failed.
Cannot create Vulkan instance.
This problem is often caused by a faulty installation of the Vulkan driver
or attempting to use a GPU that does not support Vulkan.


More information about the Libre-soc-dev mailing list