OSVR / SteamVR-OSVR

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

Steam vr compositor fails to start with "Invalid adapter (-1, -1) specified!" #92

Open smallccn opened 7 years ago

smallccn commented 7 years ago

Description of issue

I'm trying to start steam VR but the compositor never starts correct. The output from vrcompositor.txt is: Tue Sep 13 2016 11:32:35.767 - //===================================================================================================================== Tue Sep 13 2016 11:32:35.767 - VR compositor (v1473196558) starting up Tue Sep 13 2016 11:32:35.767 - RuntimePath : D:\Program Files (x86)\Steam\steamapps\common\SteamVR\ Tue Sep 13 2016 11:32:35.780 - Events created Tue Sep 13 2016 11:32:35.792 - Initializing generic graphics device resources... Tue Sep 13 2016 11:32:35.795 - Headset display is on desktop Tue Sep 13 2016 11:32:35.796 - Invalid adapter (-1, -1) specified! Tue Sep 13 2016 11:32:40.822 - //===================================================================================================================== Tue Sep 13 2016 11:32:40.822 - VR compositor (v1473

196558) starting up Tue Sep 13 2016 11:32:40.822 - RuntimePath : D:\Program Files (x86)\Steam\steamapps\common\SteamVR\ Tue Sep 13 2016 11:32:40.841 - Events created Tue Sep 13 2016 11:32:40.851 - Initializing generic graphics device resources... Tue Sep 13 2016 11:32:40.854 - Headset display is on desktop Tue Sep 13 2016 11:32:40.855 - Invalid adapter (-1, -1) specified!

Steps to reproduce the problem

  1. start osvr server
  2. start steam
  3. start steamvr

    System configuration

Graphics card(s): GTX 970 Operating system: Windows 10 Version of SteamVR: 1471977975 Version of SteamVR-OSVR: v0.1-258-g14d8d8e-core-v0.6-1328-g3a449d7

Attached files

Please attach the following files:

osvr_server_config_osvr.json.txt stats_log.txt vrclient_Steam.txt vrclient_vrcompositor.txt vrclient_vrmonitor.txt [Uploading vrcompositor.txt…]() [Uploading vrmonitor.txt…]() [Uploading vrserver.txt…]() [Uploading workshop_log.txt…]() [Uploading appinfo_log.txt…]() [Uploading bootstrap_log.txt…]() [Uploading cloud_log.txt…]() [Uploading configstore_log.txt…]() [Uploading connection_log.txt…]() [Uploading content_log.txt…]() [Uploading parental_log.txt…]() [Uploading remote_connections.txt…]()

HelenXR commented 7 years ago

I have the same question! your HMD is HDK2 or other vendor?

smallccn commented 7 years ago

Hi, HelenXR,

my HMD is HDK2, and I've fixed this bug by modify the source code. Now I can enable direct mode with HDK2 and Nivida GPU. But some errors will be occur when I do the same operations on AMD GPU, I'm still debuging it now.

HelenXR commented 7 years ago

Congratulations for you ! Because unable to access steam through steamVR-OSVR plugin for two months for my custom HMD,I give up for that :( I develop a driver base on openVR instead of SteamVR-OSVR,can access to steam :).

luozhenyu336 commented 7 years ago

@smallccn I have the same question! How did you modify you code, can you tell me?