An OpenXR runtime is the platform-side software that implements the OpenXR API defined by the Khronos Group, translating standard application calls into the tracking, input, rendering and display functions of a specific headset. Among XR platforms & stores, it is the layer that lets one application binary run on hardware from different vendors without separate ports for each device.
Every OpenXR application talks to exactly one active runtime at a time. On a PC that runtime may come from SteamVR, Meta or another vendor; on a standalone headset it is built into the operating system. The application never needs to know which one it uses, as long as the runtime supports the core specification and the extensions the application requests.
How an OpenXR runtime sits between app and hardware
An OpenXR runtime is the implementation half of a contract: the specification defines functions and objects, and the runtime fulfills them for one device family. The application links against the OpenXR loader, a small library that locates the active runtime, loads it and forwards calls to it, optionally through API layers used for validation or debugging.
The following table shows the components involved in a typical call path and the responsibility of each one.
| Component | Provided by | Responsibility |
|---|---|---|
| Application | Developer or engine | Rendering, game logic, action bindings |
| OpenXR loader | Khronos, shipped with the app | Finds and loads the active runtime |
| API layers | Khronos or tool vendors | Validation, tracing, debugging |
| OpenXR runtime | Platform or device vendor | Tracking, input, compositing, display |
| Device drivers | Hardware vendor | Low-level sensor and display access |
Because the runtime owns the compositor, it also controls timing-critical work such as reprojection, lens distortion correction and the final presentation of frames to the displays. Applications submit rendered images through swapchains that the runtime allocates, which is why the same app can look and perform differently on two runtimes.
What the runtime manages during a session
The runtime manages a defined object hierarchy and session lifecycle. An application creates an XrInstance, queries an XrSystemId for the connected device, opens an XrSession with a graphics binding such as Vulkan, Direct3D or OpenGL ES, and then runs a frame loop built on xrWaitFrame, xrBeginFrame and xrEndFrame.
The runtime drives the session through explicit states, and well-behaved applications react to each transition instead of assuming constant focus.
| Session state | Meaning | Expected application behavior |
|---|---|---|
| READY | Runtime is ready to start the session | Call xrBeginSession |
| SYNCHRONIZED | Frame timing is aligned with the display | Render, but output may not be shown |
| VISIBLE | Frames are shown, input goes elsewhere | Render, pause interaction |
| FOCUSED | Frames are shown and input is delivered | Full rendering and interaction |
| STOPPING | Runtime asks the session to end | Call xrEndSession |
| LOSS_PENDING | Device is being lost | Destroy the session and recover |
Input follows the action system: the application declares abstract actions such as grab or teleport and proposes suggested bindings per interaction profile. The runtime maps those actions to physical controls and may let the user rebind them, which keeps applications compatible with controllers released after they shipped.
How the active runtime is selected
The loader selects the runtime through a platform-specific manifest mechanism. On Windows, the active runtime is recorded in the registry under the Khronos OpenXR key and points to a JSON manifest that names the runtime library. On Linux, the loader reads an active_runtime.json file from standard configuration directories, and on Android a runtime broker or system property identifies the installed runtime.
On a PC with several XR products installed, only one runtime is active. Installing or updating software such as SteamVR or the Meta Horizon app may claim the active slot, which explains a frequent support case: an application suddenly launches into the wrong headset environment. Most runtimes offer a setting to make themselves the active OpenXR runtime again.
Common OpenXR runtimes and their scope
OpenXR runtimes differ in supported devices, extensions and performance tuning. The table lists widely used implementations; exact feature support changes with each release, so developers should query extensions at run time.
| Runtime | Platform | Typical devices |
|---|---|---|
| Meta Quest runtime | Meta Horizon OS and PC via Quest Link | Meta Quest headsets |
| SteamVR runtime | Windows and Linux PCs | Valve Index, many PC headsets |
| Monado | Linux and Android, open source | Various headsets and research devices |
| Pico runtime | Pico OS | Pico standalone headsets |
| Android XR runtime | Android XR | Android XR headsets |
| Windows Mixed Reality | Windows, deprecated | Legacy WMR headsets, HoloLens 2 |
Not every platform adopts the standard. Apple visionOS does not offer an OpenXR runtime and uses its own frameworks, so cross-platform engines target it through a separate backend.
Extensions, versions and conformance
Runtimes expose capabilities beyond the core through named extensions. Prefixes indicate their status: KHR extensions are ratified by Khronos, EXT extensions are shared by several vendors, and vendor prefixes such as META, FB, MSFT or HTC mark vendor-specific features like passthrough, hand tracking variants or scene understanding.
OpenXR 1.0 was released in 2019, and OpenXR 1.1 in 2024 promoted several widely used extensions into the core. Runtimes that pass the Khronos conformance test suite may be listed as conformant, which gives developers a baseline of predictable behavior. A conformant runtime can still have performance differences and bugs, so testing on each target runtime remains necessary.
A robust application therefore enumerates extensions at startup, enables only those it needs, and provides a fallback path when an optional feature such as passthrough or eye tracking is missing. Hard-coding a vendor extension without that check is a common reason why an app fails to start on another runtime.
A non-technical view
A headset needs software that understands it. An OpenXR runtime is that software. It works like a universal translator between an app and the headset.
The app speaks one shared language. The runtime turns those words into instructions for one specific headset. Because of this, one game can run on many headsets. Each headset maker only has to supply its own translator.
A concrete example
A small studio builds a PC VR training simulator in a game engine with its OpenXR plugin enabled. The studio ships a single Windows build. A customer with a Meta Quest connected through Quest Link runs it on the Meta OpenXR runtime, while another customer with a Valve Index runs the same executable on the SteamVR runtime.
During testing, one tester reports that the simulator opens SteamVR even though only a Quest is connected. The cause is a recent SteamVR update that took over the active runtime slot. The tester switches the active runtime back in the Meta Horizon app, and the simulator starts correctly. The studio then adds a startup log line that prints the runtime name reported by xrGetInstanceProperties, which shortens later support cases to a few minutes.