Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hello_xr VkResult failure #37

Closed
NerveCoordinator opened this issue Apr 21, 2019 · 1 comment
Closed

hello_xr VkResult failure #37

NerveCoordinator opened this issue Apr 21, 2019 · 1 comment

Comments

@NerveCoordinator
Copy link

NerveCoordinator commented Apr 21, 2019

After following these instructions to compile Monado as a runtime for openxr. As I noted there, I used vulkan-devel from the AUR in arch linux. I have gotten the following error when trying to run hello_xr with Vulkan:

VkResult failure [ERROR_EXTENSION_NOT_PRESENT]
    Origin: vkCreateInstance(&instInfo, nullptr, &m_vkInstance)
    Source: /home/sonata/mon/src/OpenXR-SDK/src/tests/hello_xr/graphicsplugin_vulkan.cpp:1154

Using -g openGL

compositor_check_vulkan_caps - Failed to create VkInstance: VK_ERROR_EXTENSION_NOT_PRESENT
XR_ERROR_INITIALIZATION_FAILED in xrCreateSession:  failed create a compositor
[12:21:27.946][Error  ] XrResult failure [-6]
    Origin: xrCreateSession(m_instance, &createInfo, &m_session)
    Source: /home/sonata/programs/git_repos/OpenXR-SDK/src/tests/hello_xr/openxr_program.cpp:367

Also of note is that if I follow the OpenXR build instructions here then when trying to run hello_xr I get a different error:

[12:24:08.306][Error  ] Unsupported graphics API 'Vulkan'
@NerveCoordinator
Copy link
Author

Oh this is actually not an OpenXR issue at all!
Running vulkaninfo I got:

vulkaninfo
ERROR: [Loader Message] Code 0 : /usr/lib32/libvulkan_radeon.so: wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : libLLVM-8.so: cannot open shared object file: No such file or directory
Cannot create Vulkan instance.
/build/vulkan-tools/src/Vulkan-Tools-1.1.102/vulkaninfo/vulkaninfo.c:894: failed with VK_ERROR_INCOMPATIBLE_DRIVER

So the issue is entirely with my drivers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant