Package Details: openvr-git

Git Clone URL: (read-only, click to copy)
Package Base: openvr-git
Description: API and runtime that allows access to VR hardware from multiple vendors.
Upstream URL:
Licenses: custom
Provides: openvr
Submitter: haagch
Maintainer: haagch (lubosz)
Last Packager: lubosz
Votes: 12
Popularity: 0.122747
First Submitted: 2015-06-15 15:18
Last Updated: 2019-11-21 11:36

Pinned Comments

haagch commented on 2018-11-28 01:42

This package is usually not needed to run SteamVR applications. They require, but usually they will package this library with the application.

Even when developing with OpenVR is often included as a submodule and does not require a system wide installation like openvr-git provides.

This package basically installs /usr/lib/, /usr/inlude/openvr.h, /usr/include/openvr_capi.h (with some fixes), which allows applications to link with -lopenvr_api and #include <openvr.h> without having to include openvr in the project. You only need this package if you want to do this.

It also installs the two OpenVR/SteamVR demo applications /usr/bin/hellovr_opengl and /usr/bin/hellovr_vulkan.

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

marcs commented on 2017-01-31 13:00

Now the package builds fine after installing steam and downloading SteamVR from Steam.

But during the package function there's an error about a missing folder:

line 54: cd: build-samples: No such file or directory
==> ERROR: A failure occurred in package().

haagch commented on 2017-01-31 11:17

SteamVR is not a package you can install through the package manager. You have to download it from steam. In the Steam Library view, switch the filter in the upper left to "Tools" and look for SteamVR.

As for the CMake error... interesting.

# Check that the steamVR SDK is installed
# (needed to prevent a segfault in OpenVR).
find_file(OPENVRPATHS openvrpaths.vrpath PATHS $ENV{HOME}/.config/openvr "$ENV{HOME}/Library/Application Support/OpenVR/.openvr")

I've made this comment on 2016-06-14 18:42 if you scroll down a bit, explaining what we found ~/.config/openvr/openvrpaths.vrpath needs to contain. I do not know whether SteamVR creates this file by itself by now or whether you still need to create it manually yourself.

marcs commented on 2017-01-31 11:09

I have this error while building:

CMake Error at CMakeLists.txt:56 (message):
OPENVRPATHS-NOTFOUND Please install SteamVR SDK to continue..

I have steam installed, but cannot find a packet like steamvr-sdk

haagch commented on 2016-11-17 01:13

The version is downgraded now, but it's actually an update to 1.0.4 from Valve's repository minus all the community patches.

They now have a working CMake build system!

Only a small patch is required for
and that is small enough to just put in the package.

Pretty much untested for now, since the steamvr compositor doesn't work on radv as khronos has not made the spec for the shared memory extension functions public yet:

Thu Nov 17 2016 01:37:52.186064 - Failed to fetch shared memory extension functions!
Thu Nov 17 2016 01:37:52.187779 - Failed to initialize compositor
Thu Nov 17 2016 01:37:52.187790 - Failed to start compositor: VRInitError_Compositor_Failed

haagch commented on 2016-06-14 18:42

OpenVR now requires that you have the file


There is no documentation, but adapted from the windows version courtesy of lubosz it must contain this:

"config" : [ "/home/YOURUSER/.local/share/Steam/config/" ],
"external_drivers" : null,
"log" : [ "/home/YOURUSER/.local/share/Steam/logs/" ],
"runtime" : [

Of course YOURUSER needs to be replaced with your username. ~ or $HOME won't work...

Also make sure you indent it with spaces, indented with tabs it will NOT work.

You can test your file by running
~/.local/share/Steam/SteamApps/common/SteamVR/bin/linux64/vrpathreg show

lubosz commented on 2016-05-28 14:49

For anyone looking for the link:

feilen commented on 2016-04-10 01:02

For future reference, I had some erreneous old configuration laying around for OpenVR. I put up some stuff on the ArchWiki about how to clean up old configs.

haagch commented on 2016-03-26 15:40

Interesting, it works for me. Well, it shouldn't hurt so I added it. Maybe make a bug report upstream at

bwrsandman commented on 2016-03-26 15:37

g++ fails to compile helloworldoverlay due to some c++11 code:
error: ‘nullptr’ was not declared in this scope

This can be fixed by appending CONFIG += c++11 to the .pro file

prepare() {
echo "CONFIG += c++11" >> "$srcdir/openvr/samples/helloworldoverlay/"

feilen commented on 2016-02-29 20:49

Odd... on my Intel (mesa) laptop, hellovr seems to work fine, although the HMD never actually comes up.

On my desktop, running a Rift and Nvidia graphics, hellovr segfaults instantly. Can you confirm what it does on your system?