2024-02-18 09:03:46 +01:00
2024-01-28 11:32:50 +01:00
2024-02-18 09:03:46 +01:00
2024-02-02 09:46:54 +01:00
2024-02-04 11:23:32 +01:00
2023-11-24 21:29:28 +01:00
2024-01-07 11:36:45 +01:00
2024-01-07 11:36:45 +01:00
2024-02-18 09:03:46 +01:00
2024-02-17 11:13:18 +01:00
2023-10-05 14:14:53 +02:00
2022-11-28 22:35:10 +01:00
2024-02-18 09:03:46 +01:00
2022-11-07 21:44:29 +01:00
2022-11-05 22:10:57 +01:00

WiVRn

License: GPL v3 CI

OpenXR streaming application

WiVRn lets you run OpenXR applications on a computer and display them on a standalone headset.

Installation

Server (PC)

See building.

Client (headset)

Prebuilt apk

Download apk from Releases. Install with adb (headset connected to PC), developer mode must be enabled.

adb install WiVRn.apk

Compilation

See building.

Usage

Set WiVRn as default OpenXR runtime

In order to set WiVRn as the default OpenXR runtime, you can run the collowing commands:

mkdir -p ~/.config/openxr/1/
ln --relative --symbolic --force build-server/openxr_wivrn-dev.json ~/.config/openxr/1/active_runtime.json

Alternatively, setting the environment XR_RUNTIME_JSON="${PWD}/build-server/openxr_wivrn-dev.json" will set it for the current shell only.

Running

On the computer, run wivrn-server, from checkout directory

build-server/server/wivrn-server

Ensure that port 9757 is open for incoming TCP and UDP connections. Then, on headset, launch WiVRn from the App Library, in "unknown sources" section.

You should now see your server in the list, click connect, screen will show "waiting for video stream". Now on your computer you can run an OpenXR application, and it will show on your headset, enjoy!

Configuration

Configuration is done on server side, in $XDG_CONFIG_HOME/wivrn/config.json or if $XDG_CONFIG_HOME is not set, $HOME/.config/wivrn/config.json.

All elements are optional and have default values.

See configuration for configurable items.

Credits

WiVRn uses the following software:

Languages
C++ 90.8%
QML 2.9%
CMake 2.7%
Python 1.8%
GLSL 0.8%
Other 0.8%