---
name: "hello_xr"
section: "1"
platform: "linux"
package: "openxr"
version: "1.1.60-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/hello_xr"
---

# hello\_xr(1)

A sample OpenXR application.

## NAME

**hello\_xr** – A sample OpenXR application.

## SYNOPSIS

**hello\_xr** \[**-h** \| **--help**\]

**hello\_xr** **-g** \| **--graphics** *graphics\_api* \[**-ff** \| **--formfactor** *form\_factor*\] \[**-vc** \| **--viewconfig** *view\_config*\] \[**-bm** \| **--blendmode** *blend\_mode*\] \[**-s** \| **--space** *space*\] \[**-v** \| **--verbose**\]

## DESCRIPTION

**hello\_xr** is a sample application written using the OpenXR API.

The arguments are as follows:

- **-h** \| **--help**

  Show brief usage instructions.

- g \| **--graphics** *graphics\_api*

  *Required:* specify the graphics API to use. (Note that not that not all graphics APIs are necessarily available on all systems.) The parameter *graphics\_api* must be one of the following (case-insensitive):

  - ‘D3D11’

    Direct3D 11 (Windows-only)

  - ‘D3D12’

    Direct3D 12 (Windows-only)

  - ‘OpenGLES’

    - ‘OpenGL’

    - ‘Vulkan’

    - **-ff** \| **--formfactor** *form\_factor*

  Specify the form factor to use. (Note that you need a suitable XR system and a runtime supporting a given form factor for it to work.) The parameter *form\_factor* must be one of the following (case-insensitive):

  - ‘Hmd’

    Head-mounted display (default)

  - ‘Handheld’

    - **-vc** \| **--viewconfig** *view\_config*

  Specify the view configuration to use. (Note that you need a suitable XR system and a runtime supporting a given view configuration for it to work.) The parameter *view\_config* must be one of the following (case-insensitive):

  - ‘Mono’

    - ‘Stereo’

    (default)

- **-bm** \| **--blendmode** *blend\_mode*

  Specify the environment blend mode to use. (Note that you need a suitable XR system and a runtime supporting a given environment blend mode for it to work.) The parameter *blend\_mode* must be one of the following (case-insensitive):

  - ‘Opaque’

    - ‘Additive’

    - ‘AlphaBlend’

    - **-s** \| **--space** *space*

  Specify the space to use. The parameter *space* must be one of the following (case-insensitive):

  - ‘View’

    - ‘Local’

    - ‘Stage’

    - **-v** \| **--verbose**

  Enable verbose logging output from the **hello\_xr** application itself.

## EXIT STATUS

The **hello\_xr** utility exits 0 on success, and \>0 if an error occurs.

## SEE ALSO

[openxr\_runtime\_list(1)](/openxr_runtime_list/1.md), https://registry.khronos.org/OpenXR/ , https://github.com/KhronosGroup/OpenXR-SDK-Source/tree/main/src/tests/hello\_xr
