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.
Search Criteria
Package Details: openvr-git 1.23.8.r0.g8f71cf8-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/openvr-git.git (read-only, click to copy) |
---|---|
Package Base: | openvr-git |
Description: | API and runtime that allows access to VR hardware from multiple vendors. |
Upstream URL: | https://github.com/ValveSoftware/openvr |
Licenses: | custom |
Conflicts: | openvr |
Provides: | openvr |
Submitter: | haagch |
Maintainer: | haagch (lubosz) |
Last Packager: | haagch |
Votes: | 14 |
Popularity: | 0.000000 |
First Submitted: | 2015-06-15 15:18 (UTC) |
Last Updated: | 2023-03-12 22:59 (UTC) |
Dependencies (9)
- glew (glew-libepoxyAUR, glew-waylandAUR, glew-osmesa-gitAUR, glew-wayland-gitAUR, glew-gitAUR)
- jsoncpp (jsoncpp-cmake-gitAUR, jsoncpp-cmakeAUR, jsoncpp-gitAUR)
- libgl (libglvnd-gitAUR, amdgpu-pro-oglp-legacyAUR, amdgpu-pro-oglpAUR, nvidia-340xx-utilsAUR, libglvnd)
- sdl2 (sdl2-gitAUR, sdl2-compat-gitAUR)
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- qt5-base (qt5-base-gitAUR, qt5-base-headlessAUR) (make)
- vulkan-headers (vulkan-headers-gitAUR) (make)
- steam (optional) – SteamVR must be installed through Steam, also contains vive udev rules
Required by (24)
- apriltag-trackers-git (requires openvr)
- ccx2paraview (requires openvr)
- elmerfem-git (requires openvr) (make)
- feelpp (requires openvr)
- maszyna-git (requires openvr)
- maszyna-git (requires openvr) (make)
- obs-openvr-git (requires openvr)
- ogre-next2 (requires openvr)
- open3d (requires openvr)
- opencascade-cadquery (requires openvr) (make)
- openems (requires openvr)
- pcl (requires openvr) (make)
- pcl-git (requires openvr)
- python-cadquery-git (requires openvr)
- python-ocp (requires openvr) (make)
- python-open3d (requires openvr)
- python-py3d (requires openvr)
- python-trame-vtk (requires openvr)
- python-uvw (requires openvr) (check)
- qcsxcad-git (requires openvr)
- Show 4 more...
Sources (5)
- 0001-openvr_capi-Add-pragma-pack-around-VRControllerState.patch
- 0002-samples-cmake-Remove-OpenVR-paths-check.patch
- 0003-samples-compat-Use-correct-definition-for-vsprintf_s.patch
- git+https://github.com/ValveSoftware/openvr.git
- https://patch-diff.githubusercontent.com/raw/ValveSoftware/openvr/pull/1716.patch
Latest Comments
« First ‹ Previous 1 2 3
haagch commented on 2017-01-31 11:17 (UTC)
marcs commented on 2017-01-31 11:09 (UTC)
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 (UTC)
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 (UTC) (edited on 2017-01-31 11:21 (UTC) by haagch)
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 (UTC)
For anyone looking for the link: https://wiki.archlinux.org/index.php/Virtual_Reality
feilen commented on 2016-04-10 01:02 (UTC)
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 (UTC)
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 (UTC)
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"
}
feilen commented on 2016-02-29 20:49 (UTC)
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?
feilen commented on 2015-07-08 15:15 (UTC)
Needs: sdl2, glew
Pinned Comments
haagch commented on 2018-11-28 01:42 (UTC)
This package is usually not needed to run SteamVR applications. They require libopenvr_api.so, 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/libopenvr_api.so, /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.