SteamVR Developer Hardware

SteamVR Developer Hardware

Error on Submit using Vulkan
Hi, I'm using OpenVR 1.0.3 which was supposed to add Vulkan support, but I'm always getting VRCompositorError_TextureUsesUnsupportedFormat. The image has no mips, VK_FORMAT_R8G8B8A8_UNORM format. I also have Submit_VulkanTexture as the submitflag. I'm putting API_OpenGL in the Texture_t struct as there isn't a Vulkan one (handle is a pointer to a VulkanData_t struct). Is there something I'm missing?
< >
Showing 1-10 of 10 comments
I'm also looking forward to an answer to this. I'm getting the same errors. The only difference is that I'm using VK_FORMAT_B8G8R8A8_UNORM instead.
I managed to get a bit farther by adding the instance extension VK_NV_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME. Now it crashes in a validation layer but it does render.
Judging by the extension name, I'm assuming this is only available on Nvidia cards? ( I'm using an AMD )
I found a thread on this: https://www.reddit.com/r/vulkan/comments/4pmss0/vulkan_and_openvr/ . I'm assuming internally it is still using opengl vulkan interop, which means i'm out of luck for now...
Oh ok. Good to know. I have it working fine on a 1080.
Having the same issue. How did you solve it in the end? Do we really need the VK_NV_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME extension? I tried every format possible, all of them failed, even having the extension enabled. So any tips are highly appreciated!
I managed to obtain an older Nvidia card (GTX760, which is not "VR-Ready" but sufficient for what I want to do for now) and I can verify that its working now ( with VK_NV_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME ), although I had to turn off validation layers to prevent it from crashing.
Thanks. What format do you pass in btw? And what Vulkan version?
VK_FORMAT_R8G8B8A8_UNORM. Vulkan 1.0.30.0.
I just updated to the latest OpenVR and there's a few functions you can query in the compositor that will tell you which device and layer extensions to enable. Maybe this is how they make it work on AMD as well?

/** [Vulkan Only] * return 0. Otherwise it returns the length of the number of bytes necessary to hold this string including the trailing * null. The string will be a space separated list of-required instance extensions to enable in VkCreateInstance */ virtual uint32_t GetVulkanInstanceExtensionsRequired( VR_OUT_STRING() char *pchValue, uint32_t unBufferSize ) = 0; /** [Vulkan only] * return 0. Otherwise it returns the length of the number of bytes necessary to hold this string including the trailing * null. The string will be a space separated list of required device extensions to enable in VkCreateDevice */ virtual uint32_t GetVulkanDeviceExtensionsRequired( VkPhysicalDevice_T *pPhysicalDevice, VR_OUT_STRING() char *pchValue, uint32_t unBufferSize ) = 0;
< >
Showing 1-10 of 10 comments
Per page: 1530 50

Date Posted: Nov 2, 2016 @ 6:37am
Posts: 10