Re: [Mesa-dev] AMD Vulkan driver entry point
On Thu, Aug 13, 2020 at 6:57 PM vivek pandya wrote: > > Hello, > > I found following function: > > src/amd/vulkan/radv_pipeline.c > 4998:VkResult radv_CreateGraphicsPipelines( In src/amd/vulkan/radv_entrypoints_gen.py we generate a bunch of code that implements the vkGet*ProcAddr lookup, and that generated code will end up referencing radv_CreateGraphicsPipelines > > but I could not find any caller to this function. Can someone please explain > how this works? > > Thanks, > Vivek > ___ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/mesa-dev ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] Mesa Intel vulkan driver on VirtualBox
3D graphics virtualization is not as simple as just running the driver required by the host GPU inside the guest OS. For desktop virtualization, it's typically done by the guest providing a different 3D graphics driver which somehow passes through the graphics commands to the 3D driver on the host. If VirtualBox doesn't implement this for Vulkan, you're out of luck. Simply running ANV in a VM won't work. --Jason On Sat, Aug 15, 2020 at 7:31 AM vivek pandya wrote: > > Hello, > > Is it possible to run a vulkan program on virtual box through > libvulkan_intel.so ? > > I have build and installed latest mesa from git source but I get following > output in vulkaninfo and vulkan-smoketest just fails with -3 error code. > > vivek@vivek-VirtualBox:~/mesa/dbg_opt$ vulkaninfo > === > VULKAN INFO > === > > Vulkan API Version: 1.0.61 > > INFO: [loader] Code 0 : Found manifest file > /usr/share/vulkan/explicit_layer.d/VkLayer_unique_objects.json, version > "1.1.0" > INFO: [loader] Code 0 : Found manifest file > /usr/share/vulkan/explicit_layer.d/VkLayer_core_validation.json, version > "1.1.0" > INFO: [loader] Code 0 : Found manifest file > /usr/share/vulkan/explicit_layer.d/VkLayer_standard_validation.json, version > "1.1.1" > INFO: [loader] Code 0 : Encountered meta-layer > VK_LAYER_LUNARG_standard_validation > INFO: [loader] Code 0 : Found manifest file > /usr/share/vulkan/explicit_layer.d/VkLayer_object_tracker.json, version > "1.1.0" > INFO: [loader] Code 0 : Found manifest file > /usr/share/vulkan/explicit_layer.d/VkLayer_parameter_validation.json, version > "1.1.0" > INFO: [loader] Code 0 : Found manifest file > /usr/share/vulkan/explicit_layer.d/VkLayer_threading.json, version "1.1.0" > INFO: [loader] Code 0 : Meta-layer VK_LAYER_LUNARG_standard_validation all 5 > component layers appear to be valid. > INFO: [loader] Code 0 : Found ICD manifest file > /usr/local/share/vulkan/icd.d/radeon_icd.x86_64.json, version "1.0.0" > INFO: [loader] Code 0 : Found ICD manifest file > /usr/local/share/vulkan/icd.d/intel_icd.x86_64.json, version "1.0.0" > INFO: [loader] Code 0 : Found ICD manifest file > /usr/share/vulkan/icd.d/radeon_icd.x86_64.json, version "1.0.0" > INFO: [loader] Code 0 : Found ICD manifest file > /usr/share/vulkan/icd.d/intel_icd.x86_64.json, version "1.0.0" > > Instance Extensions: > > Instance Extensions count = 14 > 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 1 > VK_KHR_get_surface_capabilities2: extension revision 1 > VK_KHR_surface : extension revision 25 > VK_KHR_wayland_surface : extension revision 6 > VK_KHR_xcb_surface : extension revision 6 > VK_KHR_xlib_surface : extension revision 6 > VK_KHR_display : extension revision 23 > VK_EXT_direct_mode_display : extension revision 1 > VK_EXT_acquire_xlib_display : extension revision 1 > VK_EXT_display_surface_counter : extension revision 1 > VK_EXT_debug_report : extension revision 9 > /build/vulkan-YO5iw0/vulkan-1.0.61.1+dfsg1/demos/vulkaninfo.c:1722: failed > with VK_ERROR_INITIALIZATION_FAILED > vivek@vivek-VirtualBox:~/mesa/dbg_opt$ vulkan-smoketest > terminate called after throwing an instance of 'std::runtime_error' > what(): VkResult -3 returned > Aborted (core dumped) > > > Any help? > > Thanks, > Vivek > ___ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/mesa-dev ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] Mesa Intel vulkan driver on VirtualBox
Hello, Is it possible to run a vulkan program on virtual box through libvulkan_intel.so ? I have build and installed latest mesa from git source but I get following output in vulkaninfo and vulkan-smoketest just fails with -3 error code. vivek@vivek-VirtualBox:~/mesa/dbg_opt$ vulkaninfo === VULKAN INFO === Vulkan API Version: 1.0.61 INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_unique_objects.json, version "1.1.0" INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_core_validation.json, version "1.1.0" INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_standard_validation.json, version "1.1.1" INFO: [loader] Code 0 : Encountered meta-layer VK_LAYER_LUNARG_standard_validation INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_object_tracker.json, version "1.1.0" INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_parameter_validation.json, version "1.1.0" INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_threading.json, version "1.1.0" INFO: [loader] Code 0 : Meta-layer VK_LAYER_LUNARG_standard_validation all 5 component layers appear to be valid. INFO: [loader] Code 0 : Found ICD manifest file /usr/local/share/vulkan/icd.d/radeon_icd.x86_64.json, version "1.0.0" INFO: [loader] Code 0 : Found ICD manifest file /usr/local/share/vulkan/icd.d/intel_icd.x86_64.json, version "1.0.0" INFO: [loader] Code 0 : Found ICD manifest file /usr/share/vulkan/icd.d/radeon_icd.x86_64.json, version "1.0.0" INFO: [loader] Code 0 : Found ICD manifest file /usr/share/vulkan/icd.d/intel_icd.x86_64.json, version "1.0.0" Instance Extensions: Instance Extensions count = 14 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 1 VK_KHR_get_surface_capabilities2: extension revision 1 VK_KHR_surface : extension revision 25 VK_KHR_wayland_surface : extension revision 6 VK_KHR_xcb_surface : extension revision 6 VK_KHR_xlib_surface : extension revision 6 VK_KHR_display : extension revision 23 VK_EXT_direct_mode_display : extension revision 1 VK_EXT_acquire_xlib_display : extension revision 1 VK_EXT_display_surface_counter : extension revision 1 VK_EXT_debug_report : extension revision 9 /build/vulkan-YO5iw0/vulkan-1.0.61.1+dfsg1/demos/vulkaninfo.c:1722: failed with VK_ERROR_INITIALIZATION_FAILED vivek@vivek-VirtualBox:~/mesa/dbg_opt$ vulkan-smoketest terminate called after throwing an instance of 'std::runtime_error' what(): VkResult -3 returned Aborted (core dumped) Any help? Thanks, Vivek ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev