OSVR / SteamVR-OSVR

An OSVR plugin for SteamVR, providing SteamVR support for OSVR HMDs.
Apache License 2.0
138 stars 57 forks source link

How to use ourself compiler driver? #96

Open HelenXR opened 7 years ago

HelenXR commented 7 years ago

Description of issue

I have compiled SteamVR-OSVR successful,generate files like "driver_osvr.dll","driver_osvr.lib". I copy the two files to specified path(Steam\steamapps\common\SteamVR\drivers\osvr\bin\win64) overlay the old files.then ,I start steamVR ,appear error "VR Server have stop work".I use the official compiled files are normal,I don't know why, Could you give me some advice?

Steps to reproduce the problem

1.compile SteamVR-OSVR,generate file "driver_osvr.dll","driver_osvr.lib" 2.copy the two files to specified path(Steam\steamapps\common\SteamVR\drivers\osvr\bin\win64) overlay the old files 3.start osvr_server 4.start steam 5.start steamVR

System configuration

Attached files

steam/logs

0x1100 commented 7 years ago

Which error code do you get in the small SteamVR status window?

I suspect you got either a 306, a 307 or a 307 error. If so, it's maybe a mismatch between the HMD's EDID and the EDID given to SteamVR by the SteamVR-OSVR driver.

If you're using a recent build (eg: 296) of the SteamVR-OSVR driver, then you can try adding this section to your steamvr.vrsettings configuration file.

   "driver_osvr" : {
      "edidProductId" : 4369,
      "edidVendorId" : 44806
   }
DuFF14 commented 7 years ago

@HelenXR You may be missing some dependencies if only copying driver_osvr.dll and driver_osvr.lib. My builds from source work if I copy over the entire osvr folder from the Install directory.