Package Details: openvr-git 1.0.10.r2.gf6e1c32-1

Git Clone URL: https://aur.archlinux.org/openvr-git.git (read-only)
Package Base: openvr-git
Description: API and runtime that allows access to VR hardware from multiple vendors. Contains API and samples. The runtime is under SteamVR in Tools on Steam.
Upstream URL: https://github.com/ValveSoftware/openvr
Licenses: custom
Provides: openvr
Submitter: haagch
Maintainer: haagch
Last Packager: haagch
Votes: 7
Popularity: 0.131797
First Submitted: 2015-06-15 15:18
Last Updated: 2017-09-03 00:51

Latest Comments

haagch commented on 2017-01-31 13:03

That's a leftover, removed now. I first wanted to make directories for out of tree builds. Turns out it just puts the built binaries into a hardcoded path anyway.

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).
if(CMAKE_HOST_UNIX)
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 https://github.com/ValveSoftware/openvr/issues/315
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

.config/openvr/openvrpaths.vrpath

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" : [
"/home/YOURUSER/.local/share/Steam/SteamApps/common/SteamVR"
]
}

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: https://wiki.archlinux.org/index.php/Virtual_Reality

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 https://github.com/ValveSoftware/openvr

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
example:

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

All comments