OSVR-Vive icon indicating copy to clipboard operation
OSVR-Vive copied to clipboard

error 105 with recent SteamVR

Open ChristophHaag opened this issue 8 years ago • 46 comments
trafficstars

I'm compiling with my pull request #30.

This config worked before, so presumably a SteamVR/lighthouse update broke it.

"Got error code 105" is probably the error that makes it fail.

HmdError_Init_InterfaceNotFound (105) - The specific interface function requested by VR_Init or VR_GetGenericInterface could not be found. Is the SDK being used newer than the installed runtime?

June 03 12:40:20.902 info [OSVR]: Logging for /usr/bin/osvr_server
June 03 12:40:20.902 info [OSVR Server]: Using config file osvr_server_config.vive.sample.json from command line argument.
June 03 12:40:20.902 info [OSVR Server]: Attempting to load config file 'osvr_server_config.vive.sample.json'.
June 03 12:40:20.902 info [OSVR Server]: Constructing server as configured...
June 03 12:40:20.904 info [OSVR Server]: Loading auto-loadable plugins...
June 03 12:40:20.969 info [OSVR Server]: Loading plugins...
June 03 12:40:20.969 info [OSVR Server]: Instantiating configured drivers...
June 03 12:40:20.971 info [OSVR Server]: Display descriptor found and parsed from config file.
June 03 12:40:20.971 info [OSVR Server]: RenderManager config found and parsed from the config file.
June 03 12:40:20.971 info [OSVR Server]: Triggering automatic hardware detection...
June 03 12:40:20.971 info [OSVR Server]: Registering shutdown handler...
June 03 12:40:20.971 info [OSVR Server]: Starting server mainloop: OSVR Server is ready to go!
June 03 12:40:20.971 info [OSVR Server]: Performing hardware auto-detection.
June 03 12:40:21.261 info [OSVR-Vive]: Found the Vive driver at /home/chris/.local/share/Steam/SteamApps/common/SteamVR/drivers/lighthouse/bin/linux64/driver_lighthouse.so
June 03 12:40:21.261 info [OSVR-Vive]: Driver config dir is: /home/chris/.local/share/Steam/config/lighthouse
June 03 12:40:21.261 info [OSVR Server]: Added device: com_osvr_Vive/ViveSync
June 03 12:40:21.270 info [OSVR Server]: Sent path tree to clients.
Got error code 105
June 03 12:40:21.271 error [OSVR-Vive]: Could not start the server device provider in the Vive driver. Exiting.
June 03 12:40:21.271 error [OSVR-Vive]: Vive driver startup failed.
June 03 12:40:21.271 info [OSVR-Vive]:  Unloading to perhaps try again later.

ChristophHaag avatar Jun 03 '17 10:06 ChristophHaag

Can confirm the latest osvr-vive pre compiled binaries also crash osvr server with error 105.

Balderick avatar Jun 08 '17 08:06 Balderick

Looks like some change in steamvr-1496873977, the previous stable steamvr-1495066092 apparently works fine.

The only particularly relevant change I see when looking at the grepped interface strings is IVRSystem_015 to IVRSystem_016, but I didn't think this plugin used that interface.

Here's the diff between the grepped interface strings of those two versions:

screenshot 871

rpavlik avatar Jun 08 '17 22:06 rpavlik

Just realised both ChristophHaag and I both reported this over a week ago which means something additional to the steamvr home being added to default steam client (latest update) is going on.

I shared a steamreport.txt when I asked https://github.com/ValveSoftware/openvr/issues/535 which helps to confirm the 105 crash is related too other things other than the most recent steam client update.

Balderick avatar Jun 09 '17 06:06 Balderick

Can anyone confirm that HTC Vive Controller tracking worked before this issue (i.e., with steamvr-1495066092 @rpavlik)?

georgewsinger avatar Jun 12 '17 17:06 georgewsinger

@georgewsinger Yes, everything was working for me about 5 days ago. Current workaround for me is to revert the lighthouse driver at C:\Program Files (x86)\Steam\steamapps\common\SteamVR\drivers\lighthouse\bin\win64

DuFF14 avatar Jun 12 '17 17:06 DuFF14

@DuFF14 Can you share or point us to a copy of those older lighthouse drivers that do work?

Or did you use steamcmd to download those drivers like mncharity describes at https://github.com/OSVR/OSVR-Vive/issues/20#issuecomment-255919406 ?

Balderick avatar Jun 12 '17 18:06 Balderick

Are lighthouse drivers cross-platform (that is, would they work on linux)? If so, I second @Balderick in requesting a copy of the lighthouse drivers that work with OSVR-Vive :)

georgewsinger avatar Jun 12 '17 18:06 georgewsinger

@Balderick @georgewsinger I only have the Windows driver. mncharity's solution should work or something similar. I don't know if we're permitted to distribute old SteamVR builds.

DuFF14 avatar Jun 12 '17 19:06 DuFF14

Okay. Thanks for confirming.

A lot of good info in mncharity's thread just needs stitched together to make a good how to on how to get osvr-vive working with current steam client versions since we know or can workout last known stable version from dates listed at https://steamdb.info/depot/250823/manifests/ or https://steamdb.info/depot/250821/manifests/

Example For Using SteamCMD

Known-good versions can be obtained using SteamCMD. Installation should be straightforward. Then:

login <YOUR-STEAM-NAME>   # and enter password, and Guard.
app_info_request 250820
app_license_request 250820
download_depot 250820 250821 3490945749231862464
quit

For linux, that would be

download_depot 250820 250823 9183475244149741279

Notes: That's download_depot [appid][depotid][target manifestid] where the SteamVR appid is 250820. SteamVR's OpenVR Win32 depotid is 250821, and OpenVR Linux depotid is 25083. The currently recommended 2016 July 5 release has a MANIFESTID in the Win32 depot of 3490945749231862464, obtained from https://steamdb.info/depot/250821/manifests/

Once you have the downloaded files you can just change the path in the openvrpaths file (on Linux, think it's in ~/.config/openvr/) to point to where you put the corrected runtime version - OSVR-Vive parses that file, just as SteamVR's vrpathreg tool does.

Sometimes just replacing lighthouse drivers in your current steam install can be enough to workaround osvr-vive crashing osvr server with error 105

Far from the automated methods being discussed in other thread but hopefully is a workaround for using this build of osvr-vive

https://github.com/OSVR/OSVR-Vive/pull/30 with current steam client versions

Balderick avatar Jun 12 '17 21:06 Balderick

Hi @ChristophHaag, It appears that there has been an update to the lighthouse driver with one of the latest SteamVR update and which made it incompatible with Vive plugin, because there is a new interface added but the OpenVR SDK was not yet updated to reflect the changes. We should be able to get it fixed, once there is a new version of OpenVR SDK released.

gfrolov avatar Jun 12 '17 22:06 gfrolov

Hi mars979

Does https://github.com/OSVR/OSVR-Vive/pull/30 provide the expected openvrSDK requirements for current steam versions?

or we need to wait for openvr 1.0.8?

Balderick avatar Jun 13 '17 04:06 Balderick

@Balderick , Unfortunately it wouldn't work. Christoph mentioned in the issue that he also tried a build with #30, but it didn't work for him neither. The new interface hasn't been added to the OpenVR SDK, so we'll need to wait for a new release.

gfrolov avatar Jun 13 '17 14:06 gfrolov

Are Valve aware of our need for update?

Valve have posted and reposted that new openvr versions should all be backward compatible so that apps, drivers and plugins built with older version do not break because of new version.

Balderick avatar Jun 13 '17 23:06 Balderick

Can confirm that it has to be a problem with the latest drivers not some weird configuration. Did a fresh install of my system. Code 105 still showing on Windows.

MrMinimal avatar Jun 14 '17 21:06 MrMinimal

OpenVR v1.0.8 was just released.

It looks like the new IVRDriverManager component should be fairly easy to implement.

godbyk avatar Jun 14 '17 23:06 godbyk

Struggling to apply DuFF14's workaround of reverting drivers which is also described at https://github.com/OSVR/OSVR-Vive/issues/24

Can anybody confirm those steamcmd instructions i tried to list above works for them?

Balderick avatar Jun 15 '17 02:06 Balderick

@Balderick what numbers did you use in, i.e., download_depot 250820 250821 3490945749231862464? I'm about to try this technique myself but haven't tracked down the right appid's and so forth for the last known stable version of SteamVR to work with OSVR-Vive.

Also: after running this command, how did you modify the openvrpaths.vrpath?

georgewsinger avatar Jun 15 '17 15:06 georgewsinger

1 Backtracking to steamvr-1495066092

Here is my attempt at backtracking to steamvr-1495066092:

First I ran:

$ cd ~
$ mkdir steamcmd
$ cd ~/steamcmd
$ wget http://media.steampowered.com/installer/steamcmd_linux.tar.gz
$ tar -xvzf steamcmd_linux.tar.gz
$ ./steam.sh

Steam> login <username>
Steam> app_info_request 250820                                       # chosen from https://steamdb.info/app/250820/depots/?branch=v1495066092
Steam> app_license_request 250820                                    # "
Steam> download_depot 250820 250823 0CB3C3B0C2A8C14D4868C70741AAAF3F # "
Steam> quit

I then modified /root/.openvr/openvrpaths.vrpath to

{
	"runtime" : [ "/home/george/.local/share/Steam/SteamApps/common/SteamVR" ], // <-- same as before
	"config" : [ "/home/george/steamcmd/linux32/steamapps/config" ],            // <-- different
	"log" : [ "/home/george/.local/share/Steam/logs" ]                          // <-- same as before
}

I think there may be some editing of openvrpathths.vrpath that I'm missing though, as I only edited a single line. For example, it's not clear how OSVR will be able to find the location of ~/steamcmd/linux32/steamapps/common/SteamVR/drivers/lighthouse/bin/linux32/driver_lighthouse.so from this JSON config since none of the contents of /root/.openvr/openvrpaths.vrpath matches the drivers folder.

2 Unable to Compile #30

I am unable to test my efforts above because I cannot get OSVR-Vive to compile at #30:

george@ArchBox:~$ git clone --recursive https://github.com/OSVR/OSVR-Vive.git
Cloning into 'OSVR-Vive'...
remote: Counting objects: 1001, done.
remote: Total 1001 (delta 0), reused 0 (delta 0), pack-reused 1001
Receiving objects: 100% (1001/1001), 332.48 KiB | 0 bytes/s, done.
Resolving deltas: 100% (669/669), done.
george@ArchBox:~$ cd OSVR-Vive

and then

george@ArchBox:~/OSVR-Vive$ git pull origin pull/30/head
remote: Counting objects: 5, done.
remote: Total 5 (delta 4), reused 4 (delta 4), pack-reused 1
Unpacking objects: 100% (5/5), done.
From https://github.com/OSVR/OSVR-Vive
 * branch            refs/pull/30/head -> FETCH_HEAD
Updating 0b7963f..6eb0638
Fast-forward
 PropertyTraits.h     | 6 +++---
 ServerDriverHost.cpp | 3 +++
 ServerDriverHost.h   | 1 +
 3 files changed, 7 insertions(+), 3 deletions(-)
george@ArchBox:~/OSVR-Vive$ mkdir build
george@ArchBox:~/OSVR-Vive$ cd build
george@ArchBox:~/OSVR-Vive/build$ cmake ..
-- The C compiler identification is GNU 6.3.1
-- The CXX compiler identification is GNU 6.3.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found JsonCpp: /usr/include  
-- Boost version: 1.63.0
-- Found the following Boost libraries:
--   system
--   iostreams
--   filesystem
--   regex
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0") 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/george/OSVR-Vive/build

yields finally the compilation error:

george@ArchBox:~/OSVR-Vive/build$ make
Scanning dependencies of target ViveLoaderLib
[  4%] Building CXX object CMakeFiles/ViveLoaderLib.dir/ChaperoneData.cpp.o
[  9%] Building CXX object CMakeFiles/ViveLoaderLib.dir/DriverLoader.cpp.o
[ 14%] Building CXX object CMakeFiles/ViveLoaderLib.dir/FindDriver.cpp.o
[ 19%] Building CXX object CMakeFiles/ViveLoaderLib.dir/ServerDriverHost.cpp.o
[ 23%] Building CXX object CMakeFiles/ViveLoaderLib.dir/Properties.cpp.o
[ 28%] Building CXX object CMakeFiles/ViveLoaderLib.dir/Settings.cpp.o
[ 33%] Building CXX object CMakeFiles/ViveLoaderLib.dir/DriverLog.cpp.o
[ 38%] Building CXX object CMakeFiles/ViveLoaderLib.dir/DriverContext.cpp.o
[ 42%] Linking CXX static library libViveLoaderLib.a
[ 42%] Built target ViveLoaderLib
[ 47%] [osvr_convert_json] Generating string literal header from input/HTC_Vive_PRE.json
Scanning dependencies of target ViveDisplayExtractor
[ 52%] Building CXX object CMakeFiles/ViveDisplayExtractor.dir/DisplayExtractor.cpp.o
In file included from /home/george/OSVR-Vive/PropertyHelper.h:51:0,
                 from /home/george/OSVR-Vive/ServerPropertyHelper.h:52,
                 from /home/george/OSVR-Vive/DisplayExtractor.cpp:33:
/home/george/OSVR-Vive/PropertyTraits.h:142:38: error: ‘Prop_SecondsFromPhotonsToVblank_Float’ is not a member of ‘vr’
         SecondsFromPhotonsToVblank = vr::Prop_SecondsFromPhotonsToVblank_Float,
                                      ^~
/home/george/OSVR-Vive/PropertyTraits.h:455:34: error: ‘Prop_SecondsFromPhotonsToVblank_Float’ is not a member of ‘vr’
         struct PropertyTypeTrait<vr::Prop_SecondsFromPhotonsToVblank_Float> {
                                  ^~
/home/george/OSVR-Vive/PropertyTraits.h:455:34: error: ‘Prop_SecondsFromPhotonsToVblank_Float’ is not a member of ‘vr’
/home/george/OSVR-Vive/PropertyTraits.h:455:75: error: template argument 1 is invalid
 ruct PropertyTypeTrait<vr::Prop_SecondsFromPhotonsToVblank_Float> {
                                                                 ^
make[2]: *** [CMakeFiles/ViveDisplayExtractor.dir/build.make:67: CMakeFiles/ViveDisplayExtractor.dir/DisplayExtractor.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/ViveDisplayExtractor.dir/all] Error 2
make: *** [Makefile:128: all] Error 2

georgewsinger avatar Jun 15 '17 21:06 georgewsinger

georgewsinger commented 9 hours ago • edited @Balderick what numbers did you use in, i.e., download_depot 250820 250821 3490945749231862464? I'm about to try this technique myself but haven't tracked down the right appid's and so forth for the last known stable version of SteamVR to work with OSVR-Vive.

I used the manifests page to confirm which manifest ids to use after comparing dates of manifest changes and what DuFF14 describes when they confirmed simply rollingbback lighthouse drivers was enough to get osvr-vive working for them and taking the date of when that comment was written and the time span that is described into consideration.

Also: after running this command, how did you modify the openvrpaths.vrpath?

DuFF14's workaround meant no editing of that file is needed as you just drop the newly downloaded drivers straight into your current steamvr install.

I could not reproduce DuFF14s workaround

I have been trying to test osvr-vive using the latest build69 pre compiled binaries

Balderick avatar Jun 16 '17 00:06 Balderick

Hi all,

I added a PR - #32 to update OSVR-Vive to the latest OpenVR SDK v1.0.8 and with the current changes that are in places, the plugin compiles and tracking works (HMD and controllers).

The latest interfaces that were added in the recent version of OpenVR will require some additional work and tweaks, but at the moment you can still use the plugin.

I'm also including below pre-compiled binaries (with VS 2013) of the updated OSVR-Vive plugin (32 and 64 bit) that works with latest lighthouse driver: https://drive.google.com/file/d/0B55SPVLw_B18c2NfSzRKc2podFk/view

Please let us know if you run into any errors, issues with the current build (more updates are to come soon). And feel free to contribute to the existing PR.

gfrolov avatar Jun 16 '17 16:06 gfrolov

Works for me. Thanks!

ChristophHaag avatar Jun 16 '17 16:06 ChristophHaag

@mars979 When I run ViveDisplayExtractor.exe with your DLL from Google Drive I still get

Got error code 105
[DisplayExtractor] Error: could not start the server device provider in the Vive driver. Exiting.

SteamVR says HDM and Lighthouses are up to date. OSVR is build 356. Am I doing something wrong?

MrMinimal avatar Jun 17 '17 11:06 MrMinimal

Can confirm starting osvr server with the upstream pre compiled com_osvr_Vive.dll binaries/plugin in place no longer causes osvr server to crash with error 105 however osvr-vive plugin does not load when starting osvr server configured for an osvr hdk 1.4 with a warning

June 17 13:46:44.471 info [OSVR Server]: Loading auto-loadable plugins...
June 17 13:46:44.478 warning [PluginHost]: Failed to load plugin com_osvr_Vive: Failed to load the module C:/Program Files/OSVR/Runtime/bin/osvr-plugins-0/com_osvr_Vive

Trying to run vivedisplayextractor gives

C:\Program Files\OSVR\Runtime\bin>ViveDisplayExtractor.exe
June 17 15:37:53.044 info [OSVR]: Logging for C:\Program Files\OSVR\Runtime    \bin\ViveDisplayExtractor.exe
Got error code 105
[DisplayExtractor] Error: could not start the server device provider in the Vive driver. Exiting.

which is described in https://github.com/OSVR/OSVR-Vive/issues/24

Setup Latest pre compiled osvr runtime Latest pre-compiled steamvr-osvr drives Current steam client beta Current steamvr beta 64 arch com_osvr_Vive from https://drive.google.com/file/d/0B55SPVLw_B18c2NfSzRKc2podFk/view

Balderick avatar Jun 17 '17 11:06 Balderick

@MrMinimal: I am facing a similar issue, although I did not use the the DLL from Google Drive (I'm running Linux and compiled them from #32).

georgewsinger avatar Jun 17 '17 14:06 georgewsinger

Hi everyone, Thanks so much for the feedback on the updated plugin! It looks like there was an issue with DisplayExtractor, so I fixed it in the latest commit.

@MrMinimal, If the DisplayExtractor is still not working for you, then please let me know.

@Balderick When OSVR server says that plugin could not be loaded, it could be for multiple reasons such as mismatched binaries (32 vsv 64 bit), missing dlls, or some other reason. Please try to download the latest OSVR Runtime from here (released today), which supports runtime verbosity flags and then run OSVR Server from cmd line - osvr_server.exe osvr_server_config.json -v and let me know what errors do you get.

gfrolov avatar Jun 19 '17 21:06 gfrolov

Hi mars979, After updating runtime and doublechecking 64 bit vive dll is being used with 64 bit runtime starting osvr server like you asked gives

June 20 05:54:55.424 info [OSVR]: Logging for C:\Program Files\OSVR\Runtime\bin\osvr_server.exe
June 20 05:54:55.425 debug [OSVR Server]: Verbose logging enabled.
June 20 05:54:55.425 info [OSVR Server]: Using config file osvr_server_config.json from command line argument.
June 20 05:54:55.425 info [OSVR Server]: Attempting to load config file 'osvr_server_config.json'.
June 20 05:54:55.425 info [OSVR Server]: Constructing server as configured...
June 20 05:54:55.428 info [OSVR Server]: Loading auto-loadable plugins...
June 20 05:54:55.428 debug [PluginHost]: Examining plugin 'C:/Program Files/OSVR/Runtime/bin/osvr-plugins-0/com_osvr_Multiserver.dll'...
June 20 05:54:55.428 debug [PluginHost]: Trying to load a plugin with the name C:/Program Files/OSVR/Runtime/bin/osvr-plugins-0/com_osvr_Multiserver.dll
June 20 05:54:55.430 debug [PluginHost]: Successfully loaded plugin: com_osvr_Multiserver
June 20 05:54:55.430 debug [PluginHost]: Examining plugin 'C:/Program Files/OSVR/Runtime/bin/osvr-plugins-0/com_osvr_VideoBasedHMDTracker.dll'...
June 20 05:54:55.430 debug [PluginHost]: Trying to load a plugin with the name C:/Program Files/OSVR/Runtime/bin/osvr-plugins-0/com_osvr_VideoBasedHMDTracker.dll
June 20 05:54:55.432 debug [PluginHost]: Successfully loaded plugin: com_osvr_VideoBasedHMDTracker
June 20 05:54:55.432 debug [PluginHost]: Examining plugin 'C:/Program Files/OSVR/Runtime/bin/osvr-plugins-0/com_osvr_VideoCapture_OpenCV.manualload.dll'...
June 20 05:54:55.432 debug [PluginHost]: Ignoring manual-load plugin: com_osvr_VideoCapture_OpenCV.manualload
June 20 05:54:55.432 debug [PluginHost]: Examining plugin 'C:/Program Files/OSVR/Runtime/bin/osvr-plugins-0/com_osvr_Vive.dll'...
June 20 05:54:55.432 debug [PluginHost]: Trying to load a plugin with the name C:/Program Files/OSVR/Runtime/bin/osvr-plugins-0/com_osvr_Vive.dll
June 20 05:54:55.433 debug [PluginHost]: Failed: Failed to load the module C:/Program Files/OSVR/Runtime/bin/osvr-plugins-0/com_osvr_Vive.dll
June 20 05:54:55.433 debug [PluginHost]: Trying to load a plugin with the name C:/Program Files/OSVR/Runtime/bin/osvr-plugins-0/com_osvr_Vive
June 20 05:54:55.434 debug [PluginHost]: Failed: Failed to load the module C:/Program Files/OSVR/Runtime/bin/osvr-plugins-0/com_osvr_Vive
June 20 05:54:55.434 warning [PluginHost]: Failed to load plugin com_osvr_Vive: Failed to load the module C:/Program Files/OSVR/Runtime/bin/osvr-plugins-0/com_osvr_Vive
June 20 05:54:55.434 debug [PluginHost]: Examining plugin 'C:/Program Files/OSVR/Runtime/bin/osvr-plugins-0/org_osvr_filter_deadreckoningrotation.dll'...
June 20 05:54:55.435 debug [PluginHost]: Trying to load a plugin with the name C:/Program Files/OSVR/Runtime/bin/osvr-plugins-0/org_osvr_filter_deadreckoningrotation.dll
June 20 05:54:55.435 debug [PluginHost]: Successfully loaded plugin: org_osvr_filter_deadreckoningrotation
June 20 05:54:55.435 debug [PluginHost]: Examining plugin 'C:/Program Files/OSVR/Runtime/bin/osvr-plugins-0/org_osvr_filter_oneeuro.dll'...
June 20 05:54:55.436 debug [PluginHost]: Trying to load a plugin with the name C:/Program Files/OSVR/Runtime/bin/osvr-plugins-0/org_osvr_filter_oneeuro.dll
June 20 05:54:55.436 debug [PluginHost]: Successfully loaded plugin: org_osvr_filter_oneeuro
June 20 05:54:55.437 debug [PluginHost]: Examining plugin 'C:/Program Files/OSVR/Runtime/bin/osvr-plugins-0/org_osvr_filter_videoimufusion.dll'...
June 20 05:54:55.437 debug [PluginHost]: Trying to load a plugin with the name C:/Program Files/OSVR/Runtime/bin/osvr-plugins-0/org_osvr_filter_videoimufusion.dll
June 20 05:54:55.437 debug [PluginHost]: Successfully loaded plugin: org_osvr_filter_videoimufusion
June 20 05:54:55.438 debug [PluginHost]: Examining plugin 'C:/Program Files/OSVR/Runtime/bin/osvr-plugins-0/org_osvr_unifiedvideoinertial.dll'...
June 20 05:54:55.440 debug [PluginHost]: Trying to load a plugin with the name C:/Program Files/OSVR/Runtime/bin/osvr-plugins-0/org_osvr_unifiedvideoinertial.dll
June 20 05:54:55.441 debug [PluginHost]: Successfully loaded plugin: org_osvr_unifiedvideoinertial

I do not have a vive hmd and am trying to work out how to use osvr hdk with its own native tracker along with two Vive controllers using lighthouse tracking in steamvr.

I used https://github.com/OSVR/OSVR-Docs/blob/master/Configuring/HTC-Vive.md to install osvr-vive and am using your precompiled vive.dll from your 108branch.

Using the info from https://github.com/OSVR/OSVR-Docs/blob/master/Extending-OSVR/ConfiguringHDKViveTracking.md is really for osvr devs to test vive support in osvr apps but thought i could easily adjust semantic paths and aliases to suit my multi vebnndor setup so that tracker viewer can be used to show osvr hmd working with two vive controllers.

I have asked openvr devs the openvr way to achieve what i need at https://github.com/ValveSoftware/openvr/issues/535

and asked osvr users the osvr way at https://www.reddit.com/r/OSVR/comments/6fyw8h/how_to_add_vive_controllers_to_osvr_hdk_setup/

I also started https://www.reddit.com/r/OSVR/comments/6ht8kp/osvrvive_is_now_fixed_but/ to discuss what i am trying to do to save derailing this issue here.

Because my osvr hdk ever only gets used to enjoy openvr apps being run through steamvr runtime I have long seen the importance of steamvr room layout GUI showing osvr devices as exactly how they are positioned in real life before expecting them to work well so see this as more of an openvr thing than an osvr thing. That is why only the last section of https://github.com/OSVR/OSVR-Docs/blob/master/Extending-OSVR/ConfiguringHDKViveTracking.md seems to have helped with ~~what I am trying to do~~ getting osvr hmd working with vive controllers in steamvr. Simply enabling multiple drivers and disabling requirHmd in steamvr.vrsettings config file is all that is needed to allow steamvr to see and use osvr hmd along with osvr hdk but steamvr creates a very bad pose as it places controllers away from osvr hmd in a Irrelative manner. I see this is as more of openvr issue with possibly steamvr-osvr driver updates possibly being able to help out so have just been updating the openvr issue that i opened and referred to above.

Balderick avatar Jun 20 '17 05:06 Balderick

@mars979 Really appreciate the effort, I will as soon as I have got my development environment set up. Had used the pre compiled binaries of yours before

MrMinimal avatar Jun 20 '17 06:06 MrMinimal

Hi everyone,

I merged PR #32 that fixes Got error code 105 and DisplayExtractor crash issues into the master and the latest binaries are available for download on http://access.osvr.com/binary/vive If you find new issues with the latest version of the plugin, please file them, and we will get them fixed!

Thanks for supporting OSVR! -Georgiy

gfrolov avatar Jun 20 '17 20:06 gfrolov

Just tried it, PR #32 fixed DisplayExtractor error 105 on Windows right away. Works like a charm now.

Thank you so much for the quick support!

MrMinimal avatar Jun 21 '17 04:06 MrMinimal

Updating to the 70build precompiled osvr-vive binaries along with latest runtime binaries and making sure the osvr_server_config_vive.sample.json looks like what i usualy use for osvr hdk lets osvr-vive plugin load and allows lighthouse tracked devices be used with osvr hdk using its own native tracker.

screenshot 12

and even get tracker viewer showing three tracked devices. Noticed powering on vive controllers with osvr server does not start steamvr, which is handy. Only one controller showed up in tracker viewer but saw simply restarting osvr server with both controllers powered on (without steamvr running) allowed tracker viewer to pick up the three tracked devices.
screenshot 13

Can confirm displayectractor.exe does not crash at all too. Even when i run it simply does not detect any tracked devices and asks for Enter to be pressed to quit gracefully.

Balderick avatar Jun 21 '17 08:06 Balderick