Package Details: osvr-steamvr-git v0.1.r342.g990f627-1

Git Clone URL: (read-only, click to copy)
Package Base: osvr-steamvr-git
Description: Driver for allowing applications written against SteamVR to work with hardware and software running with the OSVR software framework.
Upstream URL:
Conflicts: osvr-display-git
Submitter: haagch
Maintainer: haagch (feilen, lubosz, godbyk)
Last Packager: haagch
Votes: 1
Popularity: 0.000000
First Submitted: 2015-07-29 16:08
Last Updated: 2017-05-03 20:49

Required by (0)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

haagch commented on 2017-02-23 08:29

By the way, they include a steamvr.vrsettings file you can try with something like

cp osvr-steamvr-git/src/osvr-steamvr/steamvr.vrsettings ~/.local/share/Steam/config/steamvr.vrsettings

haagch commented on 2017-02-23 08:28

Hm, when I made this I had to make osvr-display-git an extra package. Now it's apparently a submodule, but with wrong include paths. *sigh*

Now it should build and install fine.

I couldn't get it to work with SteamVR though. Maybe a bug report at their github repository is in order.

schmidtbag commented on 2017-02-23 04:13

I would add osvr-rendermanager-git as a dependency. That package isn't required for everything the OSVR can do, but it is needed in order for this to build properly.

Once everything is built and ready to install, I get the following error:
error: failed to commit transaction (conflicting files)
osvr-steamvr-git: /usr/bin/osvr_display exists in filesystem
osvr-steamvr-git: /usr/bin/osvr_edid_vendor_id exists in filesystem
Errors occurred, no packages were upgraded.

Should I just tell it to force overwrite these?

haagch commented on 2016-09-18 23:51

Doesn't happen for me. No idea what's happening there.

I see
src/CMakeFiles/driver_osvr.dir/build.make:src/ vendor/OSVR-Display/osvr/Display/libosvrDisplay_static.a
so I think it's linking the same thing for me, just without errors.

PyGuy commented on 2016-09-18 23:20

[ 93%] Linking CXX shared library
/usr/bin/ld: ../vendor/OSVR-Display/osvr/Display/libosvrDisplay_static.a(Display.cpp.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/driver_osvr.dir/build.make:204: src/] Error 1
make[1]: *** [CMakeFiles/Makefile2:1566: src/CMakeFiles/driver_osvr.dir/all] Error 2
make: *** [Makefile:150: all] Error 2

haagch commented on 2016-07-06 23:01

Indeed it does. First:
Thu Jul 07 2016 00:45:02.207771 - Loaded server driver osvr (IServerTrackedDeviceProvider_003) from /home/chris/.local/share/Steam/SteamApps/common/SteamVR/drivers/osvr/bin/linux64/
and then later:
Thu Jul 07 2016 00:45:08.009705 - Loaded server driver osvr (IServerTrackedDeviceProvider_003) from /usr/lib/openvr/osvr/bin/linux64/

And it seems to do the right thing even with DESTDIR. Thanks.

godbyk commented on 2016-07-06 22:36

@haagch When the symlink is present, SteamVR may be trying to load the OSVR driver twice.

'make install' now calls 'vrpathreg' to register the installation path with SteamVR so it loads the driver directly from that location. You no longer need to copy the files to a specific folder.

You can check the vrserver.txt log file for more information on which drivers SteamVR is attempting to load and any errors it encounters along the way.

haagch commented on 2016-07-06 22:32

So to use the newest version you have to update some other stuff first like openvr-git and osvr-rendermanager-git and to be sure, before all of that you should update osvr-core-git.

Anyway I noticed something when trying openvr's hellovr with this:
When the symlink that I recommend in the install file "/usr/lib/openvr/osvr/ -> ~/.local/share/Steam/SteamApps/common/SteamVR/drivers/" exists, then hellovr segfaults somewhere in and there's a Steam error message "Hmd Not Found (108)."

When the symlink does NOT exist, then it still loads the osvr driver from /usr/lib/openvr/osvr/bin/linux64/ It still outputs the error message, but there is NO segfault.

The error message probably makes sense as I do not have a HMD, but someone with an HMD might want to play around with that.

godbyk commented on 2016-03-25 16:46

I've backported the WriteCompilerDetectionHeader.cmake module so the project should build with older versions of cmake again.

godbyk commented on 2016-03-25 01:12

This error is due to a bug in the WriteCompilerDetectionHeader.cmake module found in with cmake versions 3.1.x through 3.2.x.

If you upgrade to cmake version 3.3.0 or higher (or at least download a newer version of that module file), the bug has been fixed. The module was fixed in this commit: <;a=commitdiff;h=65e6b115>.

I've bumped the required cmake version in the upstream SteamVR-OSVR repository to reflect this.