r/OSVR • u/Nanospork • Jan 12 '16
Getting Started with the OSVR HDK: What To Do and How To Do It
Getting Started with the OSVR HDK: What To Do and How To Do It
Updates:
2016-04-04: Better introduction, improved setup instructions, table of contents
2016-03-31: Latest known working SteamVR config
2016-03-14: Added link to help with SteamVR config for use with non-1080 monitors
2016-03-13: Updated Getting Started link. Added details on Extended mode and how to change config files. Updated SteamVR last known stable configs.
2016-03-11: Some indie games added, updated Mirrored/Extended/Direct sections
2016-03-07: Added DCS World and Windlands to SteamVR section
2016-03-06: Added troubleshooting section to the bottom of the guide. Help me add more to this!
Table of Contents
I. An introduction and common concerns II. VR Experiences on the HDK III. Initial Setup IV. Selecting a Rendering Mode V. Setting up Positional Tracking VI. Overview of Content Types VII. Contributing to OSVR VIII. Developing for OSVR IX. List of OSVR-compatible content X. Improving this guide XI. Common troubleshooting tips
I. An Introduction and Common Concerns
I wrote this guide with the intent of showing new owners of the OSVR HDK what content is available to them, and how they can get it running on their devices. It is not fully comprehensive, but I hope that it can serve as a useful resource to some. Remember that the latest OSVR documentation can be found at https://github.com/OSVR/OSVR-Docs/blob/master/README.md
OSVR vs HDK
First off, I'd like to clarify that OSVR and Razer's Hacker Dev Kit are two different things. Much like SteamVR is the platform on which the HTC Vive runs, OSVR is the platform on which the Razer HDK runs. Keep this in mind as you read through this guide and as you discuss the software and device in the future.
What OSVR Is and Is Not
Open-Source Virtual Reality, or OSVR, is an ecosystem designed from the ground up to make VR as accessible as possible to both gamers and developers.
When developers support OSVR, they implicitly add support for ALL major PC-based VR hardware - the HDK, Rift, and Vive. By supporting OSVR, they also implicitly add support for many future VR headsets and peripherals, all with no additional work.
For gamers, OSVR allows you to play both content developed for OSVR and content developed for SteamVR on any OSVR-compatible hardware. While no plans are finalized as of yet, others in the industry have also proven that OSVR could one day allow you to play Oculus content on OSVR-compatible hardware.
It's important to remember that OSVR is currently still in its infancy. Initial setup has recently been streamlined into a one-click installer, but users may still need to carry out some manual configuration of config files. Positional tracking is still under development and can be jumpy. The SteamVR-OSVR plugin, which allows users to play SteamVR software on OSVR-compatible hardware, requires manual installation. It is often broken by new SteamVR updates, but by selecting an older Beta version can be made to work again. Some games also appear to rely on API calls that are not currently implemented, resulting in glitches.
All of these things are being worked on, and will improve with time. But OSVR is not currently consumer software. If you are a developer, OSVR is the easiest way to ensure your game reaches users on the widest range of VR hardware. If you are a gamer who enjoys tinkering, configuring, and playing with the latest gadgets, OSVR will allow you to play a wide range of content. But you must recognize that OSVR is a product still in development; things will improve, but they will also break along the way.
What the HDK Is and Is Not
The Hacker Dev Kit is Razer's development kit for OSVR. It is not a formal consumer device and as such comes with a 30 day warranty. It is designed to be a mid-range VR headset. In terms of specs, it lies between GearVR and the consumer Rift/Vive. The specs are comparable to or slightly better than a Rift DK2, at a slightly lower price point.
On Nauseau
It's important to recognize that the HDK is a mid-range headset. It does not have the specs of the Rift or Vive and does not aim to. The HDK accepts video content at a frame rate of 60FPS, with a hardware refresh rate of 120Hz and simulated refresh rate up to 240Hz on the HDK's low-persistence display.
Due to a mismatch between perceived motion and visual stimuli, some users may experience nausea while using VR headsets. It has been found that higher frame rates can reduce feelings of nausea. Other factors such as low persistence displays and synchronous/asychronous timewarp can also reduce this mismatch and the corresponding feelings of sickness. Still, one should recognize that by design, the HDK accepts only a 60FPS video input to accommodate mid-range PC hardware. If you know yourself to be susceptible to motion sickness or simulator sickness, be aware that the 90FPS video inputs of the Rift/Vive may be better for you. However, if you find the frame rate of Google Cardboard or GearVR to be acceptable, then the HDK's low persistence and timewarp should only improve things for you.
II. VR Experiences on the HDK
On to the meat and potatoes! Basically, on the OSVR HDK you currently have five options for end-user experiences:
Content produced for OSVR, in full 3D with tracking e.g. OSVR Palace, the included demo
Content produced for SteamVR/OpenVR, in full 3D with tracking e.g. Team Fortress 2 or Elite: Dangerous
Content with hacked stereoscopic rendering, with or without tracking e.g. Borderlands via Vireio Perception
Content rendered normally in SBS mode, in full 3D but usually without tracking e.g. SBS Youtube Videos, some games with native SBS mode
Content rendered in 2D inside of a 3D world e.g. Virtual Desktop
I'm going to go through these one by one, briefly highlighting some of the available experiences and how to get them running on your OSVR HDK.
III. Initial Setup
Follow the instructions included with your OSVR HDK and on the Getting Started WebPage to set up your OSVR HDK.
Please read through the above guide carefully and in its entirety. You'll notice that you have the option of a one-click installer for the server runtime. However, be aware that you may still need to do some manual configuration to get the server running the way you want.
IV. Selecting A Rendering Mode
Direct Mode
The first step in configuring your HDK is selecting an appropriate rendering mode. If you plan to use your HDK mostly with OSVR apps, you can leave it in the default Direct Mode, which requires no adjustment of config files. However, you should install Render Manager. More info on Render Manager and the installation process can be found here:https://github.com/OSVR/OSVR-Docs/blob/master/Installing/RenderManager.md
Note that the HDK running in Direct Mode will have a blank screen when no apps are running. This is because in Direct Mode, the GPU renders directly to the HDK; it is not treated as a monitor by Windows.
Extended Mode
If you plan to use your HDK mostly with SteamVR apps, you must set it to Extended Mode. In this mode, your operating system treats your HDK like another monitor. To run in Extended Mode, ensure that Direct Mode is disabled. If it is, you should see the HDK as a monitor when you go to your operating system's display settings. If you do not, download Render Manager as above and run DisableDirectMode.exe.
Next, you will need to swap out your OSVR_Server_Config file.
To do so, ensure that the server is not running, navigate to "your-osvr-server-directory/bin/" and rename
osvr_server_config.jsonto
osvr_server_config.jsonbackup Then navigate to "your-osvr-server-directory/bin/sample_configs" and copy
osvr_server_config.HDK13ExtendedLandscape.sample.jsonPaste this file into "your-osvr-server-directory/bin/". Then, rename the file to
osvr_server_config.jsonbackupExtended Mode should now be working.
Note that you can also run the HDK in Mirrored/Duplicate mode or in Extended Portrait, but those are beyond the scope of this guide.
V. How to run osvr_server with positional tracking
By default, positional tracking is now enabled as long as your camera is plugged in. Check out this guide on calibrating the HDK for optimal positional tracking performance: https://github.com/OSVR/OSVR-Docs/blob/master/Getting-Started/HDK/Video-Based-Tracking-Calibration.md
Remember that right now positional tracking is still under development, and may be jumpy. If you're having issues, make sure to follow the calibration guide above, and try moving closer to the camera.
VI. Overview of content types
1. Content Produced for OSVR
Content produced for OSVR is easy to use, and generally runs in full 3D with rotational tracking and sometimes positional tracking. Follow the above initial setup guides. From there, simply run the OSVR server and start your content. Note that if you're running in Extended Mode, you may have to manually move the content to your "secondary monitor" - the HDK.
A list of known OSVR compatible programs is below.
2. Content produced for SteamVR/OpenVR
The HDK can be used to play SteamVR content through the SteamVR-OSVR plugin. This plugin allows for a wealth of new and existing content to be played on the HDK. However, the plugin is currently in alpha, so expect some bugs along the way; for example, games that require room setup will not work.
For a full SteamVR setup guide, including the last known stable version, see the link below.
A list of known SteamVR/OpenVR compatible programs is below.
3. Content with hacked steroscopic rendering
One of the most common means of getting games into SBS mode is Vireio Perception. Vireio is a free, open source, community driven project aiming to make as many nonVR games as possible compatible with VR by hacking their rendering pipeline. Vireio Perception 4.0, due to release some time in Q1 2016, will add native OSVR support. In the meantime, you can run games in 3D using either the DIYRift or SBS profiles, whichever seems more comfortable to you. You can then add hurrytewer's OSVR FreePIE Plugin, linked in the charts below, to add 1:1 head tracking.
A program called Stereoificator, a fork of Vireio, may work better with some games, but it is not currently maintained.
Alternatively, TriDef 3D is a paid application with similar functionality to Vireio. You can add head tracking support using the OSVR FreePie plugin by following this Tridef 3D and FreePIE set-up guide. This will allow you to use either mouse emulation head tracking or head tracking in conjunction with Open Track, which can add 1:1 tracking to many racing and flight games via various protocols.
WARNING: If you are considering using any of these tools to hijack your game rendering, DO NOT USE THEM IN MULTIPLAYER. You may be banned for hacking because of the way they alter the rendering pipeline. Some people have found some of these tools to be safe in combination with some games, but if you choose this path please do extensive research, and run the tools AT YOUR OWN RISK.
4. Content rendered in SBS mode
Some VR content does not actually integrate with any of the existing VR ecosystems. Instead, this content runs in SBS, or "side-by-side" mode. Videos are probably the most common natively available SBS content. The downside is that support for head tracking varies wildly.
A list of games and experiences in SBS mode is below.
5. Content rendered in 2D projected into 3D world
This isn't really it's own category, but I've separated these apps anyway because they are not content experiences in themselves but more like tools. A number of programs in development, from Virtual Desktop to a Netflix VR app, allow you to view 2D content projected into a 3D world. Imagine that your virtual reality scene is the inside of a cinema, and that the screen is your intended 2D content. (The Netflix VR app is Gear VR only, by the way, and was only mentioned as an example.)
Sensics' OSVR Control app can also be used to duplicate rendering to each eye.
2D-3D cinema style apps are listed below.
VII. Contributing to OSVR
Are you interested in developing for OSVR? The open-source OSVR community relies on the contributions of its members to improve the platform. Check out the OSVR Developer Portal for more information about how you can make OSVR even better!
VIII. Developing for OSVR
Are you interested in developing your own content on the OSVR platform? Check out the OSVR Developer Portal and follow the link to Building with OSVR to learn how to integrate OSVR into Unity, Unreal, C-based projects, and more! Devs can also check out [this WebVR development guide].(https://www.reddit.com/r/OSVR/comments/4c0e20/osvr_webvr_a_developers_guide/)
IX. List of OSVR-Compatible Content
THE LIST OF OSVR-COMPATIBLE CONTENT HAS BEEN RELOCATED TO http://www.reddit.com/r/OSVR/wiki/content
X. Help me improve this guide!
This guide is obviously incomplete. Please help me by:
Correcting wrongful information
Providing links to OSVR content not on this list, including interesting content in SBS mode
Filling in the blanks in the chart above with your own videos, links, notes, etc.
Specifically, for content that claims "Head tracking supported (p?)" I have yet to confirm if positional tracking works. For content with "(?)" I just need the preceding claim confirmed or evaluated. Let me know!
Suggesting formatting and layout improvements
If you find any tips, tricks, or hacks to get games to work with OSVR and would like to write up your own detailed guide (e.g. plugins to install, FOV settings, custom configs) feel free to post in the comments and I will permalink to it in the chart above.
XI. Common Troubleshooting Tips:
If you have an SLI setup, make sure the HDK is plugged in to the primary GPU.
SteamVR may require your main monitor to be 1080p. This is a known issue and will be corrected in future revisions of the plugin. You may also need to plug the HDK into your primary GPU.
If your HDK display is black, download the OSVR Render Manager and disable Direct Mode (run DisableOSVRDirectMode(your-GPU-brand).exe)
Credit:
The credits list has become far too long to maintain; Thank you to the entirety of /r/OSVR and the OSVR developer community for your numerous contributions to this guide!
