OpenXR toolkit not working

I am running OpenXR on a custom engine and the integration I have is straight from the HelloXR example. I have tried running my program and HelloXR using the OpenXR toolkit and on one machine it fails to run, while on another it crashes. This is with the latest version of the toolkit and latest version of HelloXR/Varjo Base/OpenXR libraries. Here is the log that is printed on the machine where it just runs without crashing:

[OXRTK] 2023-05-17 15:03:30 +0100: OpenXR Toolkit - GA-3 (v1.3.2)
[OXRTK] 2023-05-17 15:03:30 +0100: dllHome is ā€œC:\Program Files\OpenXR-Toolkitā€
[OXRTK] 2023-05-17 15:03:30 +0100: OpenXR-Toolkit layer is active
[OXRTK] 2023-05-17 15:03:30 +0100: Skipping unsupported layer: XR_APILAYER_VIVE_srworks
[OXRTK] 2023-05-17 15:03:35 +0100: Runtime supports extension: XR_KHR_D3D11_enable
[OXRTK] 2023-05-17 15:03:35 +0100: Runtime supports extension: XR_KHR_D3D12_enable
[OXRTK] 2023-05-17 15:03:35 +0100: Runtime supports extension: XR_KHR_opengl_enable
[OXRTK] 2023-05-17 15:03:35 +0100: Runtime supports extension: XR_KHR_win32_convert_performance_counter_time
[OXRTK] 2023-05-17 15:03:35 +0100: Runtime supports extension: XR_KHR_composition_layer_depth
[OXRTK] 2023-05-17 15:03:35 +0100: Runtime supports extension: XR_EXT_eye_gaze_interaction
[OXRTK] 2023-05-17 15:03:35 +0100: Runtime supports extension: XR_VARJO_composition_layer_depth_test
[OXRTK] 2023-05-17 15:03:35 +0100: Runtime supports extension: XR_VARJO_environment_depth_estimation
[OXRTK] 2023-05-17 15:03:35 +0100: Runtime supports extension: XR_EXT_debug_utils
[OXRTK] 2023-05-17 15:03:35 +0100: Runtime supports extension: XR_EXT_win32_appcontainer_compatible
[OXRTK] 2023-05-17 15:03:35 +0100: Runtime supports extension: XR_VARJO_quad_views
[OXRTK] 2023-05-17 15:03:35 +0100: Runtime supports extension: XR_VARJO_foveated_rendering
[OXRTK] 2023-05-17 15:03:35 +0100: Runtime supports extension: XR_KHR_visibility_mask
[OXRTK] 2023-05-17 15:03:35 +0100: Runtime supports extension: XR_EXT_hand_tracking
[OXRTK] 2023-05-17 15:03:35 +0100: Runtime supports extension: XR_VARJO_marker_tracking
[OXRTK] 2023-05-17 15:03:35 +0100: Runtime supports extension: XR_HTCX_vive_tracker_interaction
[OXRTK] 2023-05-17 15:03:35 +0100: Runtime supports extension: XR_VARJO_view_offset
[OXRTK] 2023-05-17 15:03:35 +0100: Runtime supports extension: XR_KHR_vulkan_enable
[OXRTK] 2023-05-17 15:03:35 +0100: Runtime supports extension: XR_KHR_vulkan_enable2
[OXRTK] 2023-05-17 15:03:35 +0100: Runtime supports extension: XR_KHR_swapchain_usage_input_attachment_bit
[OXRTK] 2023-05-17 15:03:35 +0100: Requesting extra extension: XR_EXT_eye_gaze_interaction
[OXRTK] 2023-05-17 15:03:35 +0100: Requesting extra extension: XR_EXT_hand_tracking
[OXRTK] 2023-05-17 15:03:35 +0100: Requesting extra extension: XR_KHR_visibility_mask
[OXRTK] 2023-05-17 15:03:35 +0100: Requesting extra extension: XR_KHR_win32_convert_performance_counter_time
[OXRTK] 2023-05-17 15:03:35 +0100: Application name: ā€˜HelloXRā€™, Engine name: ā€˜ā€™
[OXRTK] 2023-05-17 15:03:35 +0100: Using OpenXR runtime Varjo OpenXR Runtime 3.8.1
[OXRTK] 2023-05-17 15:03:35 +0100: SAFE MODE IS ENABLED! NO SETTINGS ARE LOADED!
[OXRTK] 2023-05-17 15:03:35 +0100: HAGS is on
[OXRTK] 2023-05-17 15:03:35 +0100: Using OpenXR system XR-3
[OXRTK] 2023-05-17 15:03:35 +0100: Using OpenXR resolution (no upscaling): 2068x1772
[OXRTK] 2023-05-17 15:03:56 +0100: Unsupported graphics runtime.

Anybody knows why ā€œUnsupported graphics runtimeā€ is printed? As a side note, my program is running on opengl.

This is probably an issue with the ā€œOpenXR Toolkitā€ layer, which is third-party software not maintained by the working group.

@mbucchia might be able to help.

OpenXR Toolkit only supports D3D, there is your issue.

1 Like

Thank you for letting me know! I really thought I did something wrong in my program.

Out of curiosity, why does it provide information that it supports OpenGL then?

Thats the OpenXR Runtime (the log clearly says ā€œRuntime supportsā€¦ā€).

OpenXR Toolkit, which is an optional add-on not related to your runtime, will only work with D3D11/12.

1 Like

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.