From d70292ef98aa0f8a837e4901a79c53b32cf9e063 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sun, 13 Nov 2022 21:13:20 +0100 Subject: [PATCH] README --- README.md | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 00000000..bd8937c1 --- /dev/null +++ b/README.md @@ -0,0 +1,41 @@ +# WiVRn +OpenXR streaming application + +WiVRn lets you run OpenXR applications on a computer and display them on a standalone headset. + +# Installation +## Server (PC) +From your checkout directory +```bash +cmake -B build-server . -GNinja -DWIVRN_BUILD_CLIENT=OFF +cmake --build -B build-server + +# Set WiVRn as the active OpenXR runtime, delete ~/.config/openxr/1/active_runtime.json after you are done using WiVRn +mkdir -p ~/.config/openxr/1/ +ln --relative --symbolic --force build-server/openxr_wivrn-dev.json ~/.config/openxr/1/active_runtime.json +``` + +## Client (headset) +At this early stage of development, we do not have stable releases. Only Oculus Quest is supported. +Download apk from [Releases](https://github.com/Meumeu/WiVRn/releases). +Install with adb (headset connected to PC), developer mode must be activated on Quest. +```bash +adb install WiVRn-oculus.apk +``` + +# Usage +On the computer, run `wivrn-server`, from checkout directory +```bash +build-server/server/wivrn-server +``` +Then, on headset, launch WiVRn from the App Library, in "unknown sources" section. + +You will briefly have a "Waiting for connection" screen, followed by "Waiting for video stream". +Now on your computer you can run an OpenXR application, and it will show on your headset, enjoy! + +# TODO +* Sound support (playback and recording) +* SteamVR support with [OpenComposite](https://gitlab.com/znixian/OpenOVR) +* Latency improvement +* Application launcher +* Support more headsets