[Mesa-dev] Mesa Intel vulkan driver on VirtualBox
vivek pandya
vivekvpandya at gmail.com
Sat Aug 15 12:30:42 UTC 2020
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 at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20200815/e3e1b327/attachment.htm>
More information about the mesa-dev
mailing list