Coder Social home page Coder Social logo

mpfaffe / alvr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alvr-org/alvr

0.0 0.0 0.0 18.28 MB

ALVR is an open source remote VR display for Oculus Quest. With it, you can play SteamVR games in your standalone headset.

License: MIT License

C++ 72.20% C 22.03% C# 2.84% Cuda 0.07% Batchfile 0.06% Objective-C 0.06% HLSL 0.37% Inno Setup 0.08% Shell 0.01% HTML 0.79% JavaScript 1.47%

alvr's Introduction

ALVR - Air Light VR

ALVR is an open source remote VR display. With it, you can play SteamVR games in your standalone headset. This is a fork of a fork ALVR that is only working on the Oculus Quest and includes an experimental (and hacked together) GPU priority fix taken from OBS.

Description

ALVR streams VR display output from your PC to Oculus Quest via Wi-Fi. This is similar to Riftcat or Trinus VR, but our purpose is optimization for Oculus Quest. ALVR provides smooth head-tracking compared to other apps in a Wi-Fi environment using Asynchronous Timewarp.

All games that work with a Oculus Rift (s) should work with ALVR

Requirements

ALVR requires any of the following devices:

  • Oculus Quest (Headset-Version 358570.6090.0 or later)

  • High-end gaming PC

    • with NVIDIA GPU which supports NVENC (Supported GPUs)
    • (or with AMD GPU which supports AMF VCE) with latest driver
    • Windows 10 is recommended
    • Currently only NVIDIA GPU is supported on Windows 7
    • Laptops with dual GPU have to disable the on-board GPU
  • 802.11n/ac wireless or ethernet wired connection

    • It is recommended to use 802.11ac for the headset and ethernet for PC
      • You need to connect both to the same router (or use a routed connection as described here)
    • Lower the channel width to 40Mhz to prevent stuttering (sources: here and here )
  • SteamVR

Install ALVR server for PC

  1. Install SteamVR
  2. Download latest release from Releases
  3. Unpack ALVR.zip
  4. Run add_firewall_rules.bat as admin
  5. Open ALVR Launcher
  • If you have previously used ALVR, it is recommended to delete the old config found in %LOCALAPPDATA%\ALVR

Install ALVR client for headset

Install from apk

Install from SideQuest

  • This ALVR fork is now available on SideQuest

Usage

  • Launch ALVR.exe
  • Press "Start Server" button or launch VR game
  • SteamVR's small window will appear. You should see a headset icon in the SteamVR status window that looks like a green block with a bold S in the middle
  • Launch ALVR Client in your headset
  • IP Address of headset will appear in the server tab of ALVR.exe
  • Press "Connect" button

Troubleshoot

  • Floorlevel: Use the SteamVR room setup and calibrate the room as standing only. Put your Quest on the ground while calibrating. Make sure that the stream is still working by covering the light sensor of the quest. Enter a height of 0 into the room setup. Now you can press and hold the oculus key on the right controller to recenter SteamVR and fix the floor height at any time.

  • If you got some error, please check the original Troubleshooting

  • You find some setup advice here

Uninstallation

  • Execute driver_uninstall.bat in the driver folder
  • Delete the install folder (ALVR does not use the registry)
  • If you already deleted the folder without executing driver_uninstall.bat:
    • Open C:\Users\%USERNAME%\AppData\Local\openvr\openvrpaths.vrpath and check install directory
    • Execute "C:\Program Files (x86)\Steam\steamapps\common\SteamVR\bin\win32\vrpathreg.exe" removedriver (install folder) in Command Prompt

Build

ALVR Server and GUI (Launcher)

  • Open ALVR.sln with Visual Studio 2019 and build
    • alvr_server project is the driver for SteamVR written in C++
    • ALVR project is the launcher GUI written in C#
  • Requires Cuda 10.1

ALVR Client

  • Clone ALVR Client
  • Build with Android Studio 3.4, API Level 29. Requires LLDB and NDK to build
  • Install apk via adb

License

ALVR is licensed under MIT License.

Donate to the original author

If you like this project, please donate to the original author!

Donate by paypal

Donate If you could not use this link, please try the following.

  1. Login your paypal account
  2. Open "Send and request" tab
  3. Click "Pay for goods or services"
  4. Put "[email protected]" (it is paypal account of the original author) and click next

Donate by bitcoin

bitcoin:1FCbmFVSjsmpnAj6oLx2EhnzQzzhyxTLEv

alvr's People

Contributors

polygraphene avatar jackd83 avatar zarik5 avatar davisnt avatar irastris avatar ohtaketakeshi avatar a3yuu avatar machenmusik avatar thoughtfix avatar coroiu avatar ahinore avatar aleiby avatar carlkenner avatar ejwilburn avatar vrokolos avatar hardwired avatar rene1977 avatar fingrmastr avatar lennardv2 avatar petru-ghita avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.