[HDK Windows Installer (Beta 0.8.0) Released]
Recommended Hardware: [ASUS GeForce GTX 1080 8GB ROG STRIX Graphics Card]
The Development Blog of Tim Graupmann
Performance is running smoothly.
I added some exception handling and [error handling] to the OSVR Unity Rendering Plugin. I’m trying to prevent an app crash when replugging the headset multiple times when a game is running.
[VS-OSVR-Unity-Rendering] has the Visual Studio project files to build [OSVR-Unity-Rendering].
Which is similar to:
Dependencies:
* Includes: Add `C:\Program Files\OSVR\SDK\x86\include`
* Includes: Add `C:\Program Files\OSVR\SDK\x64\include`
* (32-bit) Libraries: Add `C:\Program Files\OSVR\SDK\x86\lib`
* (64-bit) Libraries: Add `C:\Program Files\OSVR\SDK\x64\lib`
* Add Library: osvrRenderManager.lib
[Boost C++ Libraries] [binaries]
* (32-bit) Includes: Add `C:\local\boost_1_63_0_x86`
* (64-bit) Includes: Add `C:\local\boost_1_63_0_x64`
* (32-bit) Include: Add `C:\local\boost_1_63_0_x86\libs`
* (64-bit) Include: Add `C:\local\boost_1_63_0_x64\libs`
* Includes: Add `C:\local\glew-2.0.0\include`
* (32-bit) Libraries: Add `C:\local\glew-2.0.0\lib\Release\Win32`
* (64-bit) Libraries: Add `C:\local\glew-2.0.0\lib\Release\x64`
Setting up the [OSVR driver for SteamVR] is a [manual process].
2 Steam VR should be installed.
steam://install/250820
And then exit Steam/SteamVR before running the installer.
[OSVR-Plugin-For-SteamVR-Installer]
[InnoSetup] is a great tool for automating the process.
3 Install the [OSVR Driver for SteamVR]
SteamVR has support for OSVR. I tested with an OSVR HDK2.
Install SteamVR:
steam://install/250820
I used the OSVR control panel to flash the HDK2 to the [latest firmware] (`hdk2svr-2.00.hex`).
The setup instructions can be found at the [SteamVR-OSVR] project.
[Kevin Godby] is the developer of the SteamVR-OSVR plugin.
[Russell Taylor] is the primary RenderManager developer.
The 7zip archive with the pre-built Windows drivers can be found in the [files] section.
Extract the archive.
Copy the `SteamVR-OSVR\lib\openvr\osvr` folder to `C:\Program Files (x86)\Steam\steamapps\common\SteamVR\drivers` folder as a subfolder.
Initially, the SteamVR tutorial was up-side down. I found a solution on Reddit. [New SteamVR-OSVR driver available: fixes display orientation]
Close `SteamVR` and `Steam` before editing the `C:\Program Files (x86)\Steam\config\steamvr.vrsettings` file.
{ "driver_osvr" : { "scanoutOrigin" : "lower-right", "verbose" : true }, "steamvr" : { "mirrorViewGeometry" : "0 0 1080 600" } }
Be sure to relaunch the OSVR server before starting SteamVR.
Relaunch Steam, and the SteamVR tutorial.
Issues:
[Main monitor on different GPU prevents VR applications detecting Vive]
Since I have dual graphics cards, I had to swap graphics cards slots to get SteamVR to recognize the headset in Direct Mode.
There’s a couple important logs for debugging `SteamVR` issues.
* `C:\Program Files (x86)\Steam\logs\vrcompositor.txt`
* `C:\Program Files (x86)\Steam\logs\vrserver.txt`
First, I have my hands on the [OSVR HACKER DEVELOPMENT KIT].
After assembling the hacker kit, the manual says download and run the OSVR Hacker Development Kit software from [osvr.github.io].
OSVR has [chat rooms] to talk with other developers.
There are specific channels for “support” requests – see [support.osvr.com].
Nice that no drivers are required for Windows 10.
I had an old `DK1 model` and the firmware drivers were found in `C:\Program Files\HDK-Runtime\OSVR-CPI\dfu-prog-usb-1.2.2`.
Install [Render Manager].
You may already have the `OSVR-Core` installed which can be found in `C:\Program Files\HDK-Runtime\OSVR-Core\bin`.
Or download and unpack the [Daily OSVR-Core Windows Binary Snapshot].
Start the server, run `OSVR-Core-Snapshot-v.X\bin\osvr_server.exe`.
Download and unpack the [OSVR-Unity Assets Snapshot].
Create a new unity project.
Import the unity package `OSVR-Unity-vX\OSVR-Unity.unitypackage`.
Open the demo scene `Assets\OSVRUnity\Sample\VRFirstPerson.unity`.
Hit `Play`.
The [OSVR RenderManager] comes with helper apps including an EXE to disable direct mode. When OSVR is in DirectMode, the headset no longer appears in the display list as a monitor.
C:\Program Files\Sensics\osvrRenderManager0.6.41\DisableOSVRDirectMode.exe
Digital Trends gave a [Hands On Virtual Tour] of OSVR which provides the standard for open devices and hacker development kits.
I’m diving into using the Oculus Rift with OSVR. The [OSVR Portal] has a document link to “Migrating Unity applications from Oculus to OSVR”.
Other useful resources:
[Oculus Developer Portal]
[Oculus Beta Runtime]
[Oculus Debug Tool]
[Oculus PC Setup Documentation]
[Oculus Downloads] includes Unity Examples