OSVR/SteamVR-OSVR

How to use ourself compiler driver?

HelenXR opened this issue · 2 comments

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

  • Graphics card(s): AMD480
  • Operating system: WIN7 64bit
  • Version of SteamVR: 1476379980
  • Version of SteamVR-OSVR: newest

Attached files

steam/logs

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
   }

@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.