wivrn: add wired mode guide

This commit is contained in:
galister 2024-09-13 16:16:26 +00:00
parent c13b40404a
commit deb1ac1b36

View file

@ -17,6 +17,20 @@ Current limitations are a fixed bitrate and network protocol streaming only, ple
Should you utilize [Envision](/docs/fossvr/envision/) for WiVRn setup, please ensure your APK and WiVRn server match as closely as possible. Check the WiVRn github [actions](https://github.com/WiVRn/WiVRn/actions) for an APK matching your server build to install to your headset. Should you utilize [Envision](/docs/fossvr/envision/) for WiVRn setup, please ensure your APK and WiVRn server match as closely as possible. Check the WiVRn github [actions](https://github.com/WiVRn/WiVRn/actions) for an APK matching your server build to install to your headset.
## Wired WiVRn
Use WiVRn with a cable instead of Wifi. Use a 5Gbps cable & port at the very least.
Steps:
- Enable TCP Only mode, either via Envision or the [JSON configuration](https://github.com/WiVRn/WiVRn?tab=readme-ov-file#configuration)!
- If WiVRn is running on the headset, close it now.
- Connect the headset via USB
- Run the following `adb` commands:
```bash
adb reverse tcp:9757 tcp:9757
adb shell am start -a android.intent.action.VIEW -d "wivrn://127.0.0.1" org.meumeu.wivrn
```
## WiVRn + Lighthouse driver ## WiVRn + Lighthouse driver
This section covers using WiVRn with any lighthouse-tracked device: Index/Vive controllers, Vive/Tundra trackers, etc. Important steps are marked with 🔴. This section covers using WiVRn with any lighthouse-tracked device: Index/Vive controllers, Vive/Tundra trackers, etc. Important steps are marked with 🔴.
@ -30,11 +44,11 @@ This section covers using WiVRn with any lighthouse-tracked device: Index/Vive c
- `WIVRN_USE_STEAMVR_LH=1` - `WIVRN_USE_STEAMVR_LH=1`
- `LH_DISCOVER_WAIT_MS=6000` - `LH_DISCOVER_WAIT_MS=6000`
🔴 Perform a **Clean Build** after changing these! 🔴 Perform a **Clean Build** after changing the CMake flags!
If not using Envision, simply pass `-DWIVRN_FEATURE_STEAMVR_LIGHTHOUSE=ON` to cmake and export the env variables before starting `wivrn-server`. If not using Envision, simply pass `-DWIVRN_FEATURE_STEAMVR_LIGHTHOUSE=ON` to cmake and export the env variables before starting `wivrn-server`.
🔴 Grab [Motoc](/docs/fossvr/motoc/), this can calibrate the two tracking technologies to work together. [Motoc](/docs/fossvr/motoc/) will be used to calibrate the two tracking technologies to work together.
Discovery happens only on first connection, so be sure to **have all lighthouse devices powered on and in line of sight of base stations before connecting the headset!** Discovery happens only on first connection, so be sure to **have all lighthouse devices powered on and in line of sight of base stations before connecting the headset!**