Jump to content

XrResult failure


Vonrd
 Share

Recommended Posts

Went to play in VR today and my openXR says “XrResult failure (XR_ERROR_RUNTIME_FAILURE) Origin: xrcreateinstance(&createinfo, instance.put)

I’ve tried rebooting and uninstalling openxr. Never had this issue before, any ideas?

On Reddit, someone said: "Have you just installed the NIS (Nvidea Image Scaling) mod? I have the same issue straight after installing NIS, and when I uninstalled NIS, all good again."

I don't have NIS activated in either NVidia Control Panel or NVidia GeForce Experience.

Anyone have any idea what's causing this? 

Capture.PNG

Link to comment
Share on other sites

This is the log file. I've highlighted what appears to be issues with DirectX 11.

 

[OXRTK] 2022-12-31 15:05:50 -0800: OpenXR Toolkit - GA-2 (v1.2.3)
[OXRTK] 2022-12-31 15:05:50 -0800: dllHome is "C:\Program Files\OpenXR-Toolkit"
[OXRTK] 2022-12-31 15:05:50 -0800: OpenXR-Toolkit layer is active
[OXRTK] 2022-12-31 15:05:50 -0800: Using layer: XR_APILAYER_NOVENDOR_XRNeckSafer
[OXRTK] 2022-12-31 15:05:50 -0800: Using layer: XR_APILAYER_FREDEMMOTT_OpenKneeboard
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_KHR_win32_convert_performance_counter_time
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_KHR_D3D11_enable
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_KHR_D3D12_enable
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_KHR_composition_layer_depth
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_KHR_composition_layer_color_scale_bias
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_MSFT_unbounded_reference_space
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_MSFT_spatial_anchor
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_MSFT_perception_anchor_interop
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_EXT_win32_appcontainer_compatible
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_EXT_conformance_automation
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_MSFT_composition_layer_reprojection
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_MSFT_spatial_graph_bridge
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_MSFT_spatial_anchor_persistence
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_EXT_palm_pose
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_MSFT_scene_understanding
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_MSFT_scene_understanding_serialization
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_FB_display_refresh_rate
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_EXT_eye_gaze_interaction
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_MSFT_hand_interaction
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_EXT_hand_tracking
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_EXT_hand_joints_motion_range
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_MSFT_hand_tracking_mesh
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_MSFT_controller_model
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_KHR_visibility_mask
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_EXT_samsung_odyssey_controller
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_EXT_hp_mixed_reality_controller
[OXRTK] 2022-12-31 15:05:50 -0800: Application name: 'OpenComposite_DCS', Engine name: ''
[OXRTK] 2022-12-31 15:05:50 -0800: Detected OpenComposite
[OXRTK] 2022-12-31 15:05:50 -0800: Using OpenXR runtime Windows Mixed Reality Runtime 112.2211.2002
[OXRTK] 2022-12-31 15:05:50 -0800: Using OpenXR system Windows Mixed Reality
[OXRTK] 2022-12-31 15:05:50 -0800: Ignoring XR_MSFT_hand_interaction for Windows Mixed Reality Runtime 112.2211.2002
[OXRTK] 2022-12-31 15:05:50 -0800: OpenXR Toolkit - GA-2 (v1.2.3)
[OXRTK] 2022-12-31 15:05:50 -0800: dllHome is "C:\Program Files\OpenXR-Toolkit"
[OXRTK] 2022-12-31 15:05:50 -0800: OpenXR-Toolkit layer is active
[OXRTK] 2022-12-31 15:05:50 -0800: Using layer: XR_APILAYER_NOVENDOR_XRNeckSafer
[OXRTK] 2022-12-31 15:05:50 -0800: Using layer: XR_APILAYER_FREDEMMOTT_OpenKneeboard
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_KHR_win32_convert_performance_counter_time
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_KHR_D3D11_enable
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_KHR_D3D12_enable
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_KHR_composition_layer_depth
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_KHR_composition_layer_color_scale_bias
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_MSFT_unbounded_reference_space
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_MSFT_spatial_anchor
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_MSFT_perception_anchor_interop
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_EXT_win32_appcontainer_compatible
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_EXT_conformance_automation
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_MSFT_composition_layer_reprojection
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_MSFT_spatial_graph_bridge
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_MSFT_spatial_anchor_persistence
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_EXT_palm_pose
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_MSFT_scene_understanding
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_MSFT_scene_understanding_serialization
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_FB_display_refresh_rate
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_EXT_eye_gaze_interaction
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_MSFT_hand_interaction
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_EXT_hand_tracking
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_EXT_hand_joints_motion_range
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_MSFT_hand_tracking_mesh
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_MSFT_controller_model
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_KHR_visibility_mask
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_EXT_samsung_odyssey_controller
[OXRTK] 2022-12-31 15:05:50 -0800: Runtime supports extension: XR_EXT_hp_mixed_reality_controller
[OXRTK] 2022-12-31 15:05:50 -0800: Application name: 'OpenComposite_DCS', Engine name: ''
[OXRTK] 2022-12-31 15:05:50 -0800: Detected OpenComposite
[OXRTK] 2022-12-31 15:05:50 -0800: Using OpenXR runtime Windows Mixed Reality Runtime 112.2211.2002
[OXRTK] 2022-12-31 15:05:50 -0800: Using OpenXR system Windows Mixed Reality
[OXRTK] 2022-12-31 15:05:50 -0800: Ignoring XR_MSFT_hand_interaction for Windows Mixed Reality Runtime 112.2211.2002
[OXRTK] 2022-12-31 15:05:50 -0800: Using OpenXR resolution (no upscaling): 3160x3092
[OXRTK] 2022-12-31 15:05:51 -0800: Using Direct3D 11 on adapter: NVIDIA GeForce RTX 4080
[OXRTK] 2022-12-31 15:05:51 -0800: Early initializeInterceptor() call
[OXRTK] 2022-12-31 15:05:51 -0800: Open menu with CTRL+F3
[OXRTK] 2022-12-31 15:05:51 -0800: Projection calibration: 0.04737, -0.00397 | -0.04505, -0.00573
[OXRTK] 2022-12-31 15:05:54 -0800: D3D11Device destroyed
[OXRTK] 2022-12-31 15:05:54 -0800: Session destroyed

[OXRTK] 2022-12-31 15:05:54 -0800: Using Direct3D 11 on adapter: NVIDIA GeForce RTX 4080
[OXRTK] 2022-12-31 15:05:54 -0800: Early initializeInterceptor() call
[OXRTK] 2022-12-31 15:05:54 -0800: Open menu with CTRL+F3
[OXRTK] 2022-12-31 15:05:55 -0800: Projection calibration: 0.04737, -0.00397 | -0.04505, -0.00573
[OXRTK] 2022-12-31 15:05:55 -0800: Creating swapchain with dimensions=3160x3092, arraySize=1, mipCount=1, sampleCount=1, format=29, usage=0x31
[OXRTK] 2022-12-31 15:05:55 -0800: Creating swapchain with dimensions=3160x3092, arraySize=1, mipCount=1, sampleCount=1, format=29, usage=0x31
[OXRTK] 2022-12-31 15:08:28 -0800: Opening menu
[OXRTK] 2022-12-31 15:09:47 -0800: Opening menu
[OXRTK] 2022-12-31 15:11:03 -0800: Opening menu
[OXRTK] 2022-12-31 15:11:57 -0800: Opening menu
[OXRTK] 2022-12-31 15:23:05 -0800: D3D11Device destroyed
[OXRTK] 2022-12-31 15:23:05 -0800: Session destroyed

Link to comment
Share on other sites

Random thoughts

did you update your video drivers recently? Which version are you using the studio or the game ready? Try switching to the other

If you have the most recent, try rolling it back to a previous version.

This is from an article unrelated to openxr but talked d3d device being lost....

Link to comment
Share on other sites

12 hours ago, Vonrd said:

I found it. It was OpenKneeboard.

Good you found out and for letting us know @Vonrd

 

I saw your message and thought I'd check in our EU JG1 session yesterday evening to see if all was working on my side and let you know. All worked fine on my side, I do have OpenKneeboard installed BTW, though I did not use it. Did you uninstall/remove OpenKneeboard to get things working again or did you do something else? I would like to use OpenKneeboard in the future, hence my question.

 

 

Link to comment
Share on other sites

11 hours ago, Greif said:

Did you uninstall/remove OpenKneeboard to get things working again or did you do something else? I would like to use OpenKneeboard in the future, hence my question.

@Greif - I uninstalled using Windows Add / Remove Programs and then had to delete an Openkneeboard file in the Registry located here: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenXR\1\ApiLayers\Implicit

I'm going to wait a while before trying Openkneeboard again since it seems that others are having the same issue as I saw in the OpenXr Discord. Maybe there will be a fix in a future update.

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...