ALVR-IPv6/README.md

132 lines
7.4 KiB
Markdown
Raw Normal View History

2020-12-13 09:55:24 -06:00
<p align="center"> <img width="500" src="resources/alvr_combined_logo_hq.png"/> </p>
2020-05-25 08:29:58 -05:00
2018-05-24 07:52:32 -05:00
# ALVR - Air Light VR
2017-06-14 17:06:59 -05:00
[![badge-discord][]][link-discord] [![badge-opencollective][]][link-opencollective]
2018-05-29 09:11:00 -05:00
2021-01-10 08:47:57 -06:00
Stream VR games from your PC to your headset via Wi-Fi.
ALVR uses technologies like [Asynchronous Timewarp](https://developer.oculus.com/documentation/native/android/mobile-timewarp-overview) and [Fixed Foveated Rendering](https://developer.oculus.com/documentation/native/android/mobile-ffr) for a smoother experience.
2020-05-30 16:50:29 -05:00
All games that work with an Oculus Rift (s) should work with ALVR.
2021-01-10 08:47:57 -06:00
This is a fork of [ALVR](https://github.com/polygraphene/ALVR).
2021-01-15 10:16:53 -06:00
| Headset | Support |
| :------------: | :----------------------------------------------------: |
| Oculus Quest | :heavy_check_mark: |
| Oculus Quest 2 | :heavy_check_mark: |
| Oculus Go | :heavy_check_mark: (no controller) |
| GearVR | :x: (use [this](https://github.com/polygraphene/ALVR)) |
2020-05-25 09:52:50 -05:00
2018-05-24 07:52:32 -05:00
## Requirements
- Oculus Quest, Oculus Quest 2 or Oculus Go on the latest firmware
- SteamVR
- High-end gaming PC
- Windows 10 May 2020 update is recommended. If you are on an older version, you need to install Chrome or another Chromium based browser.
- Minimum supported OS version is Windows 8.
- NVIDIA GPU that supports NVENC ([Supported GPUs](https://github.com/polygraphene/ALVR/wiki/Supported-GPU)) (or with an AMD GPU that supports AMF VCE) with the latest driver.
- Laptops with an onboard (Intel HD, AMD iGPU) and an additional dedicated GPU (NVidia GTX/RTX, AMD HD/R5/R7): you should assign the dedicated GPU or "high performance graphics adapter" to the applications ALVR, SteamVR for best performance and compatibility. (NVidia: Nvidia control panel->3d settings->application settings; AMD: similiar way)
- 802.11ac 5Ghz wireless or ethernet wired connection
- It is recommended to use 802.11ac 5Ghz for the headset and ethernet for PC
- You need to connect both the PC and the headset to same router (or use a routed connection as described [here](https://github.com/alvr-org/ALVR/wiki/ALVR-client-and-server-on-separate-networks))
2018-05-24 07:52:32 -05:00
2020-05-25 09:52:50 -05:00
## Install
2020-12-13 11:54:15 -06:00
It is recommended (but not mandatory) to uninstall any other VR streaming software on your PC, including older versions of ALVR. If you didn't already, install SteamVR, launch it and then close it (this is to make sure SteamVR executes its first time setup).
To install ALVR download and execute `ALVR_Installer_vX.X.X.exe` from the [releases page](https://github.com/alvr-org/ALVR/releases). An entry will appear in the Start menu. The first time you open ALVR Launcher.exe you may have to allow it in the SmartScreen prompt. In the release page you can also find the portable version `alvr_server_windows.zip`. If you already have ALVR v13.1.0 or greater you can upgrade with the autoupdater.
2020-07-29 07:30:28 -05:00
2021-01-15 10:16:53 -06:00
Install the client on your headset through Sidequest ([Quest version](https://sidequestvr.com/app/9), [Go version](https://sidequestvr.com/app/2658)). To make the Oculus Quest microphone work you need to install the [VB-CABLE Virtual Audio Device](https://www.vb-audio.com/Cable/).
2020-08-05 10:43:09 -05:00
2020-12-09 16:32:37 -06:00
### Nightly versions
2020-12-13 12:22:04 -06:00
You can install the latest untested server version from the [nightly releases page](https://github.com/alvr-org/ALVR-nightly/releases).
2020-12-09 16:32:37 -06:00
2021-01-15 10:16:53 -06:00
The nightly client app can be installed from Sidequest ([Quest version](https://sidequestvr.com/app/2281), [Go version](https://sidequestvr.com/app/2580)) (it needs to be updated for each server update).
2020-12-09 16:32:37 -06:00
2018-05-25 08:54:07 -05:00
## Usage
- Open `ALVR Launcher.exe` (ALVR dashboard). The first time a setup wizard will guide you through the installation. Oculus Go users should import the `oculus_go_preset.json` found the in the installation folder.
- Launch ALVR on your headset. While the headset screen is on, click `Trust` next to the client entry (on the PC) to start streaming.
- To change settings, open the dashboard on the headset with a long press of the menu button (on the left controller), change what you want and then press `Restart SteamVR`. The current playing game could shutdown so any unsaved progress could be lost.
- To shutdown ALVR you need to close both the ALVR dashboard on PC and SteamVR.
- If you want play games without launching the ALVR dashboard first, you need to register the driver. Go to Installation tab, then click on `Register ALVR driver`. This is normally discouraged because it can cause problems with other SteamVR drivers (for example the Oculus Link).
2020-03-02 12:33:37 -06:00
2020-11-29 04:00:46 -06:00
IMPORTANT: SteamVR must be always running, otherwise the dashboard will not save settings and the client will not connect.
2020-05-25 08:29:58 -05:00
### Notes
2020-03-02 12:33:37 -06:00
- You can access ALVR dashboard from your smartphone. On the browser you need to type the local IP of your PC followed by `:8082` (for example: `192.168.0.3:8082` ).
2018-05-25 08:54:07 -05:00
2020-05-25 09:52:50 -05:00
## Troubleshooting
2020-05-25 08:29:58 -05:00
- To reset ALVR, delete the file `session.json` from the installation folder.
- Please check the [Troubleshooting](https://github.com/alvr-org/ALVR/wiki/Troubleshooting) page. The original repository [wiki](https://github.com/polygraphene/ALVR/wiki/Troubleshooting) can also help.
- You can find some setup advice [here](https://github.com/alvr-org/ALVR/wiki/Setup-advice).
2018-05-27 09:18:32 -05:00
2020-05-25 09:52:50 -05:00
## Uninstall
2020-11-28 08:13:00 -06:00
Open `ALVR Launcher.exe`, go to `Installation` tab then press `Remove firewall rules`. Close ALVR window and delete the ALVR folder.
2018-05-25 08:38:48 -05:00
2020-07-28 03:20:29 -05:00
If you have a version prior to v12.0 you need to launch `remove_firewall_rules.bat` and `driver_uninstall.bat` in the installation folder.
2020-05-25 09:52:50 -05:00
## Build from source
2020-11-06 08:21:10 -06:00
Preferred IDE (optional): Visual Studio Code with rust-analyzer extension
### Common requisites
- Install [LLVM](https://releases.llvm.org/download.html)
- Install [rustup](https://rustup.rs/)
- Download this repository
2020-11-06 08:21:10 -06:00
### Build server
- Install the MSVC compiler (for example installing C++ build tools with [Visual Studio](https://visualstudio.microsoft.com/downloads))
- On the repository root execute:
2020-05-07 08:13:55 -05:00
```bash
2020-08-04 10:00:00 -05:00
cargo xtask build-server --release
2020-11-06 08:21:10 -06:00
```
- ALVR server will be built into `/build/alvr_server_windows`.
2020-11-06 08:21:10 -06:00
### Build client
- Install [Python](https://www.microsoft.com/store/productId/9MSSZTT1N39L)
- Install Android Studio >=4.0, API Level 30. Requires latest LLDB and NDK packages.
- Set the environment variable `JAVA_HOME` to `C:\Program Files\Android\Android Studio\jre`.
- Set the environment variable `ANDROID_SDK_ROOT` to `%LOCALAPPDATA%\Android\Sdk`.
- On the repository root execute:
2020-11-06 08:21:10 -06:00
```bash
rustup target add aarch64-linux-android
2020-08-04 10:00:00 -05:00
cargo xtask build-client --release
2020-05-07 08:13:55 -05:00
```
- ALVR client will be built into `/build`.
2018-05-24 07:52:32 -05:00
2020-11-06 08:21:10 -06:00
Note: After doing the above steps, you can debug the client normally by opening the Android Studio project at `alvr/client/android`.
2020-06-06 15:00:49 -05:00
2018-05-24 07:52:32 -05:00
## License
2020-05-25 09:52:50 -05:00
ALVR is licensed under the [MIT License](LICENSE).
2018-05-24 07:52:32 -05:00
## Donate
If you want to support this project you can make a donation to our [Open Source Collective account](https://opencollective.com/alvr).
2018-05-28 01:12:54 -05:00
You can also donate to the original author of ALVR using Paypal (polygraphene@gmail.com) or with bitcoin (1FCbmFVSjsmpnAj6oLx2EhnzQzzhyxTLEv).
2020-06-16 09:41:01 -05:00
[badge-discord]: https://img.shields.io/discord/720612397580025886?style=for-the-badge&logo=discord "Join us on Discord"
[link-discord]: https://discord.gg/KbKk3UM
[badge-opencollective]: https://img.shields.io/opencollective/all/alvr?style=for-the-badge "Donate"
[link-opencollective]: https://opencollective.com/alvr