Failed to create VR session with Oculus Quest 2 #95153

Closed
opened 2022-01-23 15:29:13 +01:00 by Dimitar P. · 4 comments

System Information
Operating system: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2080 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 511.09 and also GTX 1070
Oculus app version 35.0.0.73.175
Oculus Quest 2 Software Version 37.0.0.135

Blender Version
Broken: version: 3.0.0, branch: master, commit date: 2021-12-02 18:35, hash: f1cca30557

Short description of error
Cannot start a VR session with Oculus Quest 2 in Blender. I've followed all the instructions, and entering other apps with VR works. I've checked the oculus.json file and modified it to the correct location of the LibOVRRT64_1.dll

Exact steps for others to reproduce the error

modify blender_oculus.cmd to the following:

@echo off
set XR_RUNTIME_JSON=%~dp0oculus.json
"%~dp0\blender" --factory-startup --debug-xr
  • open cmd.exe and run blender_oculus.cmd
  • enable the VR Scene Inspection addon
  • in the sidebar, under the VR tab, press "Start VR Session"
  • I get the following error:
Failed to create VR session. The OpenXR runtime may have additional requirements for the graphics driver that are not met. Other causes are possible too however.
Tip: The --debug-xr command line option for Blender might allow the runtime to output detailed error information to the command line.

in the command prompt, I get the following output

C:\Users\dimitar\Downloads\blender-3.0.0-windows-x64\blender_oculus.cmd

Available OpenXR API-layers/extensions:
Extension: XR_KHR_D3D11_enable
Extension: XR_KHR_D3D12_enable
Extension: XR_KHR_opengl_enable
Extension: XR_KHR_vulkan_enable
Extension: XR_KHR_vulkan_enable2
Extension: XR_KHR_composition_layer_depth
Extension: XR_KHR_win32_convert_performance_counter_time
Extension: XR_KHR_convert_timespec_time
Extension: XR_KHR_composition_layer_cube
Extension: XR_KHR_composition_layer_cylinder
Extension: XR_KHR_composition_layer_equirect
Extension: XR_KHR_visibility_mask
Extension: XR_KHR_composition_layer_color_scale_bias
Extension: XR_EXT_win32_appcontainer_compatible
Extension: XR_OCULUS_recenter_event
Extension: XR_FB_color_space
Extension: XR_OCULUS_ovrsession_handle
Extension: XR_OCULUS_perf_stats
Extension: XR_OCULUS_audio_device_guid
Extension: XR_EXT_debug_utils
Enabling OpenXR Extension: XR_KHR_opengl_enable
Enabling OpenXR Extension: XR_KHR_D3D11_enable
Enabling OpenXR Extension: XR_EXT_debug_utils
Connected to OpenXR runtime: Oculus (Version 1.67.0)
OpenXR Debug Message:
Completed loader terminator
OpenXR Debug Message:
Completed loader trampoline
Error:  Failed to create VR session. The OpenXR runtime may have additional requirements for the graphics driver that are not met. Other causes are possible too however.
Tip: The --debug-xr command line option for Blender might allow the runtime to output detailed error information to the command line.
        OpenXR error value: -38
OpenXR Debug Message:
Entering loader trampoline
OpenXR Debug Message:
Entering loader terminator
**System Information** Operating system: Windows-10-10.0.19043-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2080 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 511.09 and also GTX 1070 Oculus app version 35.0.0.73.175 Oculus Quest 2 Software Version 37.0.0.135 **Blender Version** Broken: version: 3.0.0, branch: master, commit date: 2021-12-02 18:35, hash: `f1cca30557` **Short description of error** Cannot start a VR session with Oculus Quest 2 in Blender. I've followed all the instructions, and entering other apps with VR works. I've checked the oculus.json file and modified it to the correct location of the LibOVRRT64_1.dll **Exact steps for others to reproduce the error** modify blender_oculus.cmd to the following: ``` @echo off set XR_RUNTIME_JSON=%~dp0oculus.json "%~dp0\blender" --factory-startup --debug-xr ``` - open cmd.exe and run blender_oculus.cmd - enable the VR Scene Inspection addon - in the sidebar, under the VR tab, press "Start VR Session" - I get the following error: ``` Failed to create VR session. The OpenXR runtime may have additional requirements for the graphics driver that are not met. Other causes are possible too however. Tip: The --debug-xr command line option for Blender might allow the runtime to output detailed error information to the command line. ``` in the command prompt, I get the following output ``` C:\Users\dimitar\Downloads\blender-3.0.0-windows-x64\blender_oculus.cmd Available OpenXR API-layers/extensions: Extension: XR_KHR_D3D11_enable Extension: XR_KHR_D3D12_enable Extension: XR_KHR_opengl_enable Extension: XR_KHR_vulkan_enable Extension: XR_KHR_vulkan_enable2 Extension: XR_KHR_composition_layer_depth Extension: XR_KHR_win32_convert_performance_counter_time Extension: XR_KHR_convert_timespec_time Extension: XR_KHR_composition_layer_cube Extension: XR_KHR_composition_layer_cylinder Extension: XR_KHR_composition_layer_equirect Extension: XR_KHR_visibility_mask Extension: XR_KHR_composition_layer_color_scale_bias Extension: XR_EXT_win32_appcontainer_compatible Extension: XR_OCULUS_recenter_event Extension: XR_FB_color_space Extension: XR_OCULUS_ovrsession_handle Extension: XR_OCULUS_perf_stats Extension: XR_OCULUS_audio_device_guid Extension: XR_EXT_debug_utils Enabling OpenXR Extension: XR_KHR_opengl_enable Enabling OpenXR Extension: XR_KHR_D3D11_enable Enabling OpenXR Extension: XR_EXT_debug_utils Connected to OpenXR runtime: Oculus (Version 1.67.0) OpenXR Debug Message: Completed loader terminator OpenXR Debug Message: Completed loader trampoline Error: Failed to create VR session. The OpenXR runtime may have additional requirements for the graphics driver that are not met. Other causes are possible too however. Tip: The --debug-xr command line option for Blender might allow the runtime to output detailed error information to the command line. OpenXR error value: -38 OpenXR Debug Message: Entering loader trampoline OpenXR Debug Message: Entering loader terminator ```
Author

Added subscriber: @Dimitar

Added subscriber: @Dimitar
Member

Added subscriber: @muxed-reality

Added subscriber: @muxed-reality
Member

Hi, thanks for the detailed report.
Unfortunately I couldn't reproduce the error by following these steps.

One thing is that your Quest 2 software version is newer than mine, so this error may be related to the latest Quest 2 update. I'll test again when I get access to the update.

System Information
Operating System: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 511.23
Oculus app version: 35.0.0.73.175
Oculus Quest 2 Software Version 35.0.0.140.341

Hi, thanks for the detailed report. Unfortunately I couldn't reproduce the error by following these steps. One thing is that your Quest 2 software version is newer than mine, so this error may be related to the latest Quest 2 update. I'll test again when I get access to the update. **System Information** Operating System: Windows-10-10.0.19043-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 511.23 Oculus app version: 35.0.0.73.175 Oculus Quest 2 Software Version 35.0.0.140.341
Member

Closed as duplicate of #78844

Closed as duplicate of #78844
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
2 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#95153
No description provided.