Page MenuHome

VR not working with Steam anymore because no supported swapchain formats found
Confirmed, HighPublicTO DO

Description

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 446.14
OpenXR Runtime: SteamVR beta Version 1.13.4 (1592534494) Built 19. Jun 2020 um 04:41
HMD: Valve Index

Blender Version
Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-06-19 13:42, hash: rB59b523c3c98e
Worked: unknown / none

Addon Information
Name: VR Scene Inspection (0, 2, 0)
Author: Julian Eisel (Severin)

Short description of error
After an Update of SteamVR beta from Version 1.13.2 to Version 1.13.4 the VR Scene Inspection stopped working, only giving the following error message:

Error: No format matching OpenXR runtime supported swapchain formats found.

Exact steps for others to reproduce the error

  • Start SteamVR beta Version 1.13.4
  • In Blender now start a VR Session using the VR Scene Inspection Addon

Notes
In the Update news of SteamVR Beta 1.13.3 the xrCreateSwapchain function is mentioned regarding depth texture format support so this might be related:
https://steamcommunity.com/games/250820/announcements/detail/2396425843546116331
"Added support for some depth texture formats. VK_FORMAT_D32_SFLOAT, VK_FORMAT_D16_UNORM, VK_FORMAT_D24_UNORM_S8_UINT, and VK_FORMAT_D32_SFLOAT_S8_UINT are now supported on Vulkan. DXGI_FORMAT_D32_FLOAT, DXGI_FORMAT_D16_UNORM, DXGI_FORMAT_D24_UNORM_S8_UINT, and DXGI_FORMAT_D32_FLOAT_S8X24_UINT are now supported on D3D11. xrCreateSwapchain now works with any of these types."

The Update news of SteamVR Beta 1.13.4 mentions "Added support for OpenGL on Linux" for OpenXR:
https://steamcommunity.com/games/250820/announcements/detail/2471861771406562402
So I also tried running the VR Scene Inspection with SteamVR on Linux resulting in the same error.
Just in case it might be of any use my System Information and Blender Version I used in Linux was:
Operating system: Linux-5.3.0-59-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.82
Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-06-19 13:42, hash: rB59b523c3c98e

Event Timeline

Julian Eisel (Severin) triaged this task as High priority.Fri, Jun 19, 11:36 PM
Julian Eisel (Severin) changed the subtype of this task from "Report" to "To Do".

Some Update news for SteamVR 1.13.5 got my hopes up today since it mentions "Fixed depth texture format support":
https://steamcommunity.com/games/250820/announcements/detail/2471861771410550393

This does not fix this problem, though.

I tested again on Windows and Linux, using the newest Blender build as well as older ones that have been working in the past, including 2.83.0.
In all cases I still get: "Error: No format matching OpenXR runtime supported swapchain formats found."

OpenXR Runtime: SteamVR beta Version 1.13.5 (1592615990) Built Jun 20, 2020 at 03:19
Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-06-19 23:28, hash: rB874af5301cdf

Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Confirmed.Mon, Jun 22, 1:06 PM

@Julian Eisel (Severin) : I havent checked this myself, but from your actions, I assume this can be confirmed?

I didn't get to test it myself yet (didn't have access to the Studio's Vive over the weekend), but I assume this report is valid. The same issue is also reported to Steam: https://steamcommunity.com/app/250820/discussions/8/2448217320134601817/#c2523653167122752247

My guess is that SteamVR now tries to use OpenGL over our DirectX compatibility, which fails because of the issue described in the link.

I'm running into the same issue.

Here's my info if it helps:

System Information
Operating system: Windows-10-10.0.19041 64 Bits
Graphics card: NVIDIA GeForce GTX 1060 6GB
OpenXR Runtime: SteamVR beta Version 1.13.5
HMD: HTC Vive

Blender Version
Broken: version: v2.83.0

Same issue here.

Windows 1903 (OS Build 18362.900) 64 Bits
RTX 2080Ti (driver 446.14)
SteamVR beta Version 1.13.5
Blender 2.83.0

Olm-e (Olm-e) added a subscriber: Olm-e (Olm-e).EditedMon, Jun 22, 8:26 PM

same issue here, although it's a progress as on GNU-Linux as OpenXR view was indeed not working at all before, now it detect a driver and display that same error \o/

Ubuntu 20.04 with
AMD 5700-XT mesa 20.x
SteamVR 1.13.5 and blender 2.83.0

edit : so I suppose something is on the valve field now and the openvr-openxr-opengl support in general as its a general purpose bridge ... ?

Just FYI: The error is still the same with latest SteamVR Version 1.13.6 (1592954026) Built Jun 24, 2020 at 01:13 on Windows and Linux
https://steamcommunity.com/games/250820/announcements/detail/2522527900752924316
Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-06-23 21:54, hash: rB49234c15e299

I committed rBb468023aa1b5 yesterday, which should solve (more like, avoid) the swapchain format issue.
It seems that OpenGL still entirely fails in SteamVR though, which is why SteamVR is currently broken for us.

We could disable the OpenGL backend specifically for SteamVR, but that might be problematic for our LTS plans (once SteamVR fixes it we should revert the workaround too).
So I'd prefer to wait for a bit to see if SteamVR fixes the OpenGL issues. I don't think it will take long.

Meanwhile leaving this task open as reminder.

Jens (Jens.Ne) added a comment.EditedThu, Jun 25, 7:59 PM

@Julian Eisel (Severin): Thank you for your work!
I just tested again but now I get memory access violation crashes with the following Blender Versions on both, Linux and Windows when I try to start a VR Session:
Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-06-24 21:51, hash: rBec776f18ff70
Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-06-25 11:54, hash: rB890336849071
I will create a new report for that (assuming crashes should not happen in any case, even though SteamVR is not working anyway).

Edit: https://developer.blender.org/T78267

But I agree that doing workarounds in Blender for a problem in Steam could easily just be wasting time right now.

hey so with latest steamvr 0.13.8 and blender 2.90.alpha from june 28, the VR view works on (my) GNU-linux machine !
I just have a bizare bug : the left and right view are different in lightness (gamma?) with the left view underlit and the right view at correct luminance
It's not a question of lightning but general luminance (all elements are dimmed)
apart from that positional tracking is good as well as eevee rendering and vr view mirror ... \o/

@Olm-e (Olm-e)

hey so with latest steamvr 0.13.8 and blender 2.90.alpha from june 28, the VR view works on (my) GNU-linux machine !

That's good to hear!
I just tried again myself after reading this but without luck.
With the latest Blender version: 2.90.0 Alpha, branch: master, commit date: 2020-06-28 15:13, hash: rBb21ba5e57974
and SteamVR Version 1.13.8 (1593213074) Built Jun 27, 2020 at 01:11
I still get a crash (on Linux as well as Windows).
Can you maybe make a comment with your system info in this report? https://developer.blender.org/T78267

I just have a bizare bug : the left and right view are different in lightness (gamma?) with the left view underlit and the right view at correct luminance

I would suggest to write a report for that.
Can't test myself right now sadly. ^^