Crash to Desktop OpenXR + MSFS 22020 + Vive 2 Pro

I’m seeing a crash to desktop when OpenXR is enabled in MSFS 2020.

System:

  • Win11
  • Intel 12000k
  • 32GB
  • nVidia 3090
  • nVidia Driver v517.48
  • Vive 2 Pro Headset with Orginal Vive lighthouses

Repro Step:

  • Ensure OpenXR is enabled

  • Start MSFS and wait for load to main screen

  • CTRL TAB to enable VR

  • Pause for 2 seconds then crash to desktop no error

  • Disable OpenXR

  • Start MSFS and wait for load to main screen

  • CTRL TAB to enable VR

  • VR works fine

Log from OpenXR:

      [OXRTK] 2022-09-27 18:30:29 -0500: OpenXR Toolkit - GA-2 (v1.2.0)
      [OXRTK] 2022-09-27 18:30:29 -0500: dllHome is "C:\Program Files\OpenXR-Toolkit"
      [OXRTK] 2022-09-27 18:30:29 -0500: OpenXR-Toolkit layer is active
      [OXRTK] 2022-09-27 18:30:29 -0500: Skipping unsupported layer: XR_APILAYER_VIVE_hand_tracking
      [OXRTK] 2022-09-27 18:30:29 -0500: Skipping unsupported layer: XR_APILAYER_VIVE_facial_tracking
      [OXRTK] 2022-09-27 18:30:29 -0500: Skipping unsupported layer: XR_APILAYER_VIVE_srworks
      [OXRTK] 2022-09-27 18:30:29 -0500: Runtime supports extension: XR_KHR_vulkan_enable
      [OXRTK] 2022-09-27 18:30:29 -0500: Runtime supports extension: XR_KHR_vulkan_enable2
      [OXRTK] 2022-09-27 18:30:29 -0500: Runtime supports extension: XR_KHR_D3D11_enable
      [OXRTK] 2022-09-27 18:30:29 -0500: Runtime supports extension: XR_KHR_D3D12_enable
      [OXRTK] 2022-09-27 18:30:29 -0500: Runtime supports extension: XR_KHR_opengl_enable
      [OXRTK] 2022-09-27 18:30:29 -0500: Runtime supports extension: XR_KHR_win32_convert_performance_counter_time
      [OXRTK] 2022-09-27 18:30:29 -0500: Runtime supports extension: XR_EXT_win32_appcontainer_compatible
      [OXRTK] 2022-09-27 18:30:29 -0500: Runtime supports extension: XR_KHR_binding_modification
      [OXRTK] 2022-09-27 18:30:29 -0500: Runtime supports extension: XR_KHR_composition_layer_depth
      [OXRTK] 2022-09-27 18:30:29 -0500: Runtime supports extension: XR_KHR_visibility_mask
      [OXRTK] 2022-09-27 18:30:29 -0500: Runtime supports extension: XR_EXT_dpad_binding
      [OXRTK] 2022-09-27 18:30:29 -0500: Runtime supports extension: XR_EXT_frame_composition_report
      [OXRTK] 2022-09-27 18:30:29 -0500: Runtime supports extension: XR_EXT_hand_tracking
      [OXRTK] 2022-09-27 18:30:29 -0500: Runtime supports extension: XR_EXT_hand_joints_motion_range
      [OXRTK] 2022-09-27 18:30:29 -0500: Runtime supports extension: XR_EXT_hp_mixed_reality_controller
      [OXRTK] 2022-09-27 18:30:29 -0500: Runtime supports extension: XR_EXT_palm_pose
      [OXRTK] 2022-09-27 18:30:29 -0500: Runtime supports extension: XR_FB_display_refresh_rate
      [OXRTK] 2022-09-27 18:30:29 -0500: Runtime supports extension: XR_HTC_vive_cosmos_controller_interaction
      [OXRTK] 2022-09-27 18:30:29 -0500: Runtime supports extension: XR_HTC_vive_focus3_controller_interaction
      [OXRTK] 2022-09-27 18:30:29 -0500: Runtime supports extension: XR_MND_headless
      [OXRTK] 2022-09-27 18:30:29 -0500: Runtime supports extension: XR_VALVE_analog_threshold
      [OXRTK] 2022-09-27 18:30:29 -0500: Runtime supports extension: XR_HTCX_vive_tracker_interaction
      [OXRTK] 2022-09-27 18:30:29 -0500: XR_EXT_eye_gaze_interaction is not available from the OpenXR runtime or any upsteam API layer.
      [OXRTK] 2022-09-27 18:30:29 -0500: Application name: 'FS2020', Engine name: 'Zouna'
      [OXRTK] 2022-09-27 18:30:29 -0500: Using OpenXR runtime SteamVR/OpenXR 0.1.0
      [OXRTK] 2022-09-27 18:30:29 -0500: Using OpenXR system SteamVR/OpenXR : lighthouse
      [OXRTK] 2022-09-27 18:30:55 -0500: OpenXR Toolkit - GA-2 (v1.2.0)
      [OXRTK] 2022-09-27 18:30:55 -0500: dllHome is "C:\Program Files\OpenXR-Toolkit"
      [OXRTK] 2022-09-27 18:30:55 -0500: OpenXR-Toolkit layer is active
      [OXRTK] 2022-09-27 18:30:55 -0500: Skipping unsupported layer: XR_APILAYER_VIVE_hand_tracking
      [OXRTK] 2022-09-27 18:30:55 -0500: Skipping unsupported layer: XR_APILAYER_VIVE_facial_tracking
      [OXRTK] 2022-09-27 18:30:55 -0500: Skipping unsupported layer: XR_APILAYER_VIVE_srworks
      [OXRTK] 2022-09-27 18:30:55 -0500: Runtime supports extension: XR_KHR_vulkan_enable
      [OXRTK] 2022-09-27 18:30:55 -0500: Runtime supports extension: XR_KHR_vulkan_enable2
      [OXRTK] 2022-09-27 18:30:55 -0500: Runtime supports extension: XR_KHR_D3D11_enable
      [OXRTK] 2022-09-27 18:30:55 -0500: Runtime supports extension: XR_KHR_D3D12_enable
      [OXRTK] 2022-09-27 18:30:55 -0500: Runtime supports extension: XR_KHR_opengl_enable
      [OXRTK] 2022-09-27 18:30:55 -0500: Runtime supports extension: XR_KHR_win32_convert_performance_counter_time
      [OXRTK] 2022-09-27 18:30:55 -0500: Runtime supports extension: XR_EXT_win32_appcontainer_compatible
      [OXRTK] 2022-09-27 18:30:55 -0500: Runtime supports extension: XR_KHR_binding_modification
      [OXRTK] 2022-09-27 18:30:55 -0500: Runtime supports extension: XR_KHR_composition_layer_depth
      [OXRTK] 2022-09-27 18:30:55 -0500: Runtime supports extension: XR_KHR_visibility_mask
      [OXRTK] 2022-09-27 18:30:55 -0500: Runtime supports extension: XR_EXT_dpad_binding
      [OXRTK] 2022-09-27 18:30:55 -0500: Runtime supports extension: XR_EXT_frame_composition_report
      [OXRTK] 2022-09-27 18:30:55 -0500: Runtime supports extension: XR_EXT_hand_tracking
      [OXRTK] 2022-09-27 18:30:55 -0500: Runtime supports extension: XR_EXT_hand_joints_motion_range
      [OXRTK] 2022-09-27 18:30:55 -0500: Runtime supports extension: XR_EXT_hp_mixed_reality_controller
      [OXRTK] 2022-09-27 18:30:55 -0500: Runtime supports extension: XR_EXT_palm_pose
      [OXRTK] 2022-09-27 18:30:55 -0500: Runtime supports extension: XR_FB_display_refresh_rate
      [OXRTK] 2022-09-27 18:30:55 -0500: Runtime supports extension: XR_HTC_vive_cosmos_controller_interaction
      [OXRTK] 2022-09-27 18:30:55 -0500: Runtime supports extension: XR_HTC_vive_focus3_controller_interaction
      [OXRTK] 2022-09-27 18:30:55 -0500: Runtime supports extension: XR_MND_headless
      [OXRTK] 2022-09-27 18:30:55 -0500: Runtime supports extension: XR_VALVE_analog_threshold
      [OXRTK] 2022-09-27 18:30:55 -0500: Runtime supports extension: XR_HTCX_vive_tracker_interaction
      [OXRTK] 2022-09-27 18:30:55 -0500: XR_EXT_eye_gaze_interaction is not available from the OpenXR runtime or any upsteam API layer.

I tried getting a callstack from WinDbg but it gets stuck in a first chance exceptions on attach even if exceptions are disabled.

Any ideas?

Regards,
Colby

Hello,

Thanks for the report, but you are on the wrong forum. OpenXR and OpenXR Toolkit are two different things. This is the forum for OpenXR, meant for developers and not app support.

For OpenXR Toolkit, please follow the instructions on our website for reporting issues:

Troubleshooting | OpenXR Toolkit (mbucchia.github.io)

The issue you are seeing is already reported here: Not functional (crashes) in MSFS2020 with Vive Pro 2 · Issue #408 · mbucchia/OpenXR-Toolkit (github.com) and a workaround is described (writing a registry key to disable one of the Vive OpenXR API layers). This should solve your problem.

I do not have a Vive Pro 2 and I cannot reproduce the issue myself, so my only solution at this time is to make you disable the Vive OpenXR API layers as described on that GitHub issue).