VR not working with Steam anymore because no supported swapchain formats found #78043

Closed
opened 2020-06-19 20:50:25 +02:00 by Jens · 20 comments

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: 59b523c3c9
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: 59b523c3c9

**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: `59b523c3c9` 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: `59b523c3c9`
Author

Added subscriber: @Jens.Ne

Added subscriber: @Jens.Ne
Author

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: 874af5301c

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: `874af5301c`
Member

Added subscribers: @JulianEisel, @lichtwerk

Added subscribers: @JulianEisel, @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

@JulianEisel : I havent checked this myself, but from your actions, I assume this can be confirmed?

@JulianEisel : I havent checked this myself, but from your actions, I assume this can be confirmed?
Member

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 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.

Added subscriber: @Eagleshadow

Added subscriber: @Eagleshadow

Added subscriber: @KaelenBaldwin

Added subscriber: @KaelenBaldwin

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

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

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

Added subscriber: @Olm-e-9

Added subscriber: @Olm-e-9

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 ... ?

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 ... ?
Author

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: 49234c15e2

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: `49234c15e2`
Member

I committed b468023aa1 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.

I committed b468023aa1 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.
Author

@JulianEisel: 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: ec776f18ff
Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-06-25 11:54, hash: 8903368490
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.

@JulianEisel: 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: `ec776f18ff` Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-06-25 11:54, hash: `8903368490` 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/

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/
Author

@Olm-e-9

In #78043#968664, @Olm-e-9 wrote:
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: b21ba5e579
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

In #78043#968664, @Olm-e-9 wrote:
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. ^^

@Olm-e-9 > In #78043#968664, @Olm-e-9 wrote: > 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: `b21ba5e579` 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 > In #78043#968664, @Olm-e-9 wrote: > 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. ^^

Added subscriber: @Everih

Added subscriber: @Everih
Contributor

Added subscriber: @RedMser

Added subscriber: @RedMser
Member

Closed as duplicate of #78267

Closed as duplicate of #78267
Thomas Dinges added this to the 2.90 milestone 2023-02-08 16:27:13 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
8 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#78043
No description provided.