Open farnk opened 8 years ago
I'm also having this same problem. GTX 970, Windows10
I have not yet had SteamVR start successfully in Direct Mode, when starting a game from within Steam - Compositor fails to start as described in OP. However ....
If I edit the SteamVR config file to disable direct mode, the compositor starts correctly when running games from Steam but is in Extended Mode of course.
Curiously, I also found that if I ran 'hellovr_sdl' outside of Steam, then Direct Mode started correctly with the Compositor running, and that I could then run SteamVR Room setup-up, Tutorial, and games (eg The Rose & I) correctly.
When I compare the StemVR logs between a good start using 'hellovr' and a failed start (directly from Steam), there are no obvious differences (ie failure codes, or errors) except for the "Invalid adapter specified" message as described in the OP.
I didn't mention in the original post, I'm using a DK1 and I've verified that osvr is working correctly because I get the correct image and correct tracking in the d3d sample app.
I'm going to see if I can get the driver compiling tonight. We use visual studio at work so I don't have much experience with cmake. If anyone has any pointers as to where I can start looking to debug the issue I'd appreciate any help you can give.
@farnk @Nicko453 Would you guys mind giving the latest release a try? It's designed to fix problems with the display orientation and I think that might help some of you. Even if it doesn't, i'll get us to a common base line and we can continue troubleshooting from there. Thanks!
I installed the latest release from your link, but I'm still seeing the same problem. I uninstalled the runtime and delete the programs file directory, and I did the same with steam VR, and then started fresh. There were several different versions of the osvr runtime, I downloaded build 258. The vrcompositor.txt still failed with invalid adapter (-1, -1).
@farnk If you're using a DK1 then you may need to add a couple settings to the steamvr.vrsettings
file found in the C:\Program Files (x86)\Steam\config
directory.
You can use the [example steamvr.vrsettings
file]() as a guide. You only need to set the values that you want to be different from the defaults shown.
You'll need to set the displayName
parameter to match part of the monitor name for the DK1 (e.g., DK1
or Oculus
).
You may also need to set the scanoutOrigin
to a different value. It should be one of upper-left
, upper-right
, lower-left
, or lower-right
. This setting tells the driver where the first pixel is drawn when the display is in its native resolution with no orientation applied.
For example, let's say the native resolution of your HMD is 1080×1920 and there is no rotation applied (i.e., it appears in a portrait orientation). When you're wearing your HMD, where is the top-left corner of the desktop? If it's at the upper-right corner, use that in the config file. If it's in the lower-left corner, use that instead.
If you continue to have problems or have any further questions, please set the verbose
parameter to true
(so we can see extra debug information in the log file). Then delete the vrserver.txt
file (just so it's easier to see the latest information). Then you can try running SteamVR again and send me a copy of the new vrserver.txt
file. Thanks!
Sun Aug 21 2016 11:24:07.855 - ================================================================================================ Sun Aug 21 2016 11:24:07.855 - ================================================================================================ Sun Aug 21 2016 11:24:07.855 - VR server (v1469551863) starting up with config=D:\Program Files (x86)\Steam\config Sun Aug 21 2016 11:24:07.857 - Load Json Settings from D:\Program Files (x86)\Steam\config\steamvr.vrsettings Sun Aug 21 2016 11:24:07.911 - New Connect message from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\tools\bin\win32\vrmonitor.exe (VRApplication_VRMonitor) 53000 Sun Aug 21 2016 11:24:08.220 - osvr: Verbose logging enabled. Sun Aug 21 2016 11:24:08.220 - driver osvr implements interfaces IVRSettings_001 ITrackedDeviceServerDriver_004 IVRDisplayComponent_002 IVRDriverDirectModeComponent_001 IVRControllerComponent_001 IVRCameraComponent_002 IServerTrackedDeviceProvider_003 IClientTrackedDeviceProvider_004 Sun Aug 21 2016 11:24:08.220 - Loaded server driver osvr (IServerTrackedDeviceProvider_003) from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\drivers\osvr\bin\win64\driver_osvr.dll Sun Aug 21 2016 11:24:08.220 - osvr: ServerDriver_OSVR::GetTrackedDeviceCount(): Detected 2 tracked devices. Sun Aug 21 2016 11:24:08.220 - osvr: ServerDriver_OSVR::GetTrackedDeviceCount(): Detected 2 tracked devices. Sun Aug 21 2016 11:24:08.220 - osvr: ServerDriver_OSVR::GetTrackedDeviceDriver(): Returning tracked device #0. Sun Aug 21 2016 11:24:08.220 - osvr: OSVRTrackedDevice::Activate() called. Sun Aug 21 2016 11:24:08.220 - osvr: OSVRTrackedDevice::Activate(): Waiting for the context to fully start up... Sun Aug 21 2016 11:24:08.261 - osvr: OSVRTrackedDevice::Activate(): Waiting for the display to fully start up, including receiving initial pose update... Sun Aug 21 2016 11:24:08.261 - osvr: Verbose logging enabled. Sun Aug 21 2016 11:24:08.262 - osvr: Rejecting display [S24D390] since it doesn't match [OSVR]. Sun Aug 21 2016 11:24:08.496 - osvr: Warning: scan-out origin unspecified. Defaulting to Upper-left. Sun Aug 21 2016 11:24:08.496 - osvr: Display parameters from configuration files: Sun Aug 21 2016 11:24:08.496 - osvr: Adapter: Unknown Sun Aug 21 2016 11:24:08.496 - osvr: Monitor name: OSVR HDK Sun Aug 21 2016 11:24:08.496 - osvr: Resolution: 2160x1200 Sun Aug 21 2016 11:24:08.496 - osvr: Position: (1920, 0) Sun Aug 21 2016 11:24:08.496 - osvr: Rotation: 180 degrees counter-clockwise Sun Aug 21 2016 11:24:08.496 - osvr: Scan-out origin: Upper-left Sun Aug 21 2016 11:24:08.496 - osvr: Refresh rate: 1.000000 Sun Aug 21 2016 11:24:08.496 - osvr: Direct mode Sun Aug 21 2016 11:24:08.496 - osvr: EDID vendor ID: 0xd24e (SVR) Sun Aug 21 2016 11:24:08.497 - osvr: EDID product ID: 0x1019 Sun Aug 21 2016 11:24:08.608 - osvr: OSVRTrackedDevice::configureDistortionParameters(): Number of eyes: 2. Sun Aug 21 2016 11:24:08.608 - osvr: OSVRTrackedDevice::configureDistortionParameters(): Adding distortion for eye 0. Sun Aug 21 2016 11:24:08.608 - osvr: OSVRTrackedDevice::configureDistortionParameters(): Adding distortion for eye 1. Sun Aug 21 2016 11:24:08.608 - osvr: OSVRTrackedDevice::configureDistortionParameters(): Number of distortion parameters: 2. Sun Aug 21 2016 11:24:08.608 - osvr: OSVRTrackedDevice::configureDistortionParameters(): Creating mesh interpolators for the left eye. Sun Aug 21 2016 11:24:08.610 - osvr: OSVRTrackedDevice::configureDistortionParameters(): Number of left eye interpolators: 1. Sun Aug 21 2016 11:24:08.610 - osvr: OSVRTrackedDevice::configureDistortionParameters(): Creating mesh interpolators for the right eye. Sun Aug 21 2016 11:24:08.612 - osvr: OSVRTrackedDevice::configureDistortionParameters(): Number of right eye interpolators: 1. Sun Aug 21 2016 11:24:08.612 - osvr: OSVRTrackedDevice::Activate(): Activation complete. Sun Aug 21 2016 11:24:08.612 - osvr: ServerDriver_OSVR::GetTrackedDeviceCount(): Detected 2 tracked devices. Sun Aug 21 2016 11:24:08.612 - osvr: ServerDriver_OSVR::GetTrackedDeviceDriver(): Returning tracked device #0. Sun Aug 21 2016 11:24:08.612 - osvr: ServerDriver_OSVR::GetTrackedDeviceCount(): Detected 2 tracked devices. Sun Aug 21 2016 11:24:08.612 - osvr: ServerDriver_OSVR::GetTrackedDeviceDriver(): Returning tracked device #1. Sun Aug 21 2016 11:24:08.612 - osvr: ServerDriver_OSVR::GetTrackedDeviceCount(): Detected 2 tracked devices. Sun Aug 21 2016 11:24:08.613 - error VRInitError_Init_HmdNotFound when initing driver null from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\drivers\null\bin\win64\driver_null.dll. Sun Aug 21 2016 11:24:08.613 - Active HMD set to osvr.OSVR HDK Sun Aug 21 2016 11:24:08.613 - osvr: GetWindowBounds(): Config file settings: x = 1920, y = 0, width = 2160, height = 1200. Sun Aug 21 2016 11:24:08.613 - osvr: GetWindowBounds(): Calculated settings: x = 1920, y = 0, width = 2160, height = 1200. Sun Aug 21 2016 11:24:08.613 - osvr: OSVRTrackedDevice::IsDisplayOnDesktop(): no Sun Aug 21 2016 11:24:08.613 - osvr: GetWindowBounds(): Config file settings: x = 1920, y = 0, width = 2160, height = 1200. Sun Aug 21 2016 11:24:08.613 - osvr: GetWindowBounds(): Calculated settings: x = 1920, y = 0, width = 2160, height = 1200. Sun Aug 21 2016 11:24:08.613 - osvr: GetEyeOutputViewport(left eye): Config file settings: x = 0, y = 0, width = 1080, height = 1200. Sun Aug 21 2016 11:24:08.613 - osvr: GetWindowBounds(): Config file settings: x = 1920, y = 0, width = 2160, height = 1200. Sun Aug 21 2016 11:24:08.613 - osvr: GetWindowBounds(): Calculated settings: x = 1920, y = 0, width = 2160, height = 1200. Sun Aug 21 2016 11:24:08.613 - osvr: Display mode: horizontal side-by-side. Sun Aug 21 2016 11:24:08.613 - osvr: Display orientation: landscape flipped. Sun Aug 21 2016 11:24:08.613 - osvr: GetEyeOutputViewport(left eye): Calculated settings: x = 1080, y = 0, width = 1080, height = 1200. Sun Aug 21 2016 11:24:08.613 - osvr: GetEyeOutputViewport(right eye): Config file settings: x = 1080, y = 0, width = 1080, height = 1200. Sun Aug 21 2016 11:24:08.613 - osvr: GetWindowBounds(): Config file settings: x = 1920, y = 0, width = 2160, height = 1200. Sun Aug 21 2016 11:24:08.613 - osvr: GetWindowBounds(): Calculated settings: x = 1920, y = 0, width = 2160, height = 1200. Sun Aug 21 2016 11:24:08.613 - osvr: Display mode: horizontal side-by-side. Sun Aug 21 2016 11:24:08.613 - osvr: Display orientation: landscape flipped. Sun Aug 21 2016 11:24:08.613 - osvr: GetEyeOutputViewport(right eye): Calculated settings: x = 0, y = 0, width = 1080, height = 1200. Sun Aug 21 2016 11:24:08.613 - osvr: ServerDriver_OSVR::FindTrackedDeviceDriver(): Returning tracked device OSVR IR camera. Sun Aug 21 2016 11:24:08.613 - Processing message VRMsg_Connect from vrmonitor (53000) took 0.702 seconds Sun Aug 21 2016 11:24:08.613 - osvr: OSVRTrackingReference::Activate() called. Sun Aug 21 2016 11:24:08.615 - DXGI thread failed to get SDL display index Sun Aug 21 2016 11:24:08.771 - New Connect message from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\bin\win32\vrcompositor.exe (VRApplication_Background) 117572 Sun Aug 21 2016 11:24:08.791 - Using existing HMD osvr.OSVR HDK Sun Aug 21 2016 11:24:08.792 - Processing message VRMsg_Connect from vrcompositor (117572) took 0.0201 seconds Sun Aug 21 2016 11:24:08.848 - IPCPipe(vrcompositor (117572)): Process disconnected. Sun Aug 21 2016 11:24:08.848 - Process vrcompositor (117572) disconnected Sun Aug 21 2016 11:24:08.866 - osvr: OSVRTrackedDevice::GetBoolTrackedDeviceProperty(): Unknown property Prop_Firmware_ForceUpdateRequired_Bool requested. Sun Aug 21 2016 11:24:12.688 - New Connect message from D:\Program Files (x86)\Steam\steam.exe (VRApplication_Overlay) 117312 Sun Aug 21 2016 11:24:12.704 - Using existing HMD osvr.OSVR HDK Sun Aug 21 2016 11:24:12.704 - Processing message VRMsg_Connect from steam (117312) took 0.0162 seconds Sun Aug 21 2016 11:24:12.847 - New Connect message from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\bin\win32\vrcompositor.exe (VRApplication_Background) 19188 Sun Aug 21 2016 11:24:12.861 - Using existing HMD osvr.OSVR HDK Sun Aug 21 2016 11:24:12.861 - Processing message VRMsg_Connect from vrcompositor (19188) took 0.0143 seconds Sun Aug 21 2016 11:24:12.897 - IPCPipe(vrcompositor (19188)): Process disconnected. Sun Aug 21 2016 11:24:12.897 - Process vrcompositor (19188) disconnected Sun Aug 21 2016 11:24:17.636 - IPCPipe(steam (117312)): Process disconnected. Sun Aug 21 2016 11:24:17.636 - Process steam (117312) disconnected Sun Aug 21 2016 11:24:17.788 - New Connect message from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\bin\win32\vrcompositor.exe (VRApplication_Background) 115988 Sun Aug 21 2016 11:24:17.802 - Using existing HMD osvr.OSVR HDK Sun Aug 21 2016 11:24:17.802 - Processing message VRMsg_Connect from vrcompositor (115988) took 0.0143 seconds Sun Aug 21 2016 11:24:17.839 - IPCPipe(vrcompositor (115988)): Process disconnected. Sun Aug 21 2016 11:24:17.839 - Process vrcompositor (115988) disconnected Sun Aug 21 2016 11:24:22.791 - New Connect message from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\bin\win32\vrcompositor.exe (VRApplication_Background) 115228 Sun Aug 21 2016 11:24:22.805 - Using existing HMD osvr.OSVR HDK Sun Aug 21 2016 11:24:22.805 - Processing message VRMsg_Connect from vrcompositor (115228) took 0.0144 seconds Sun Aug 21 2016 11:24:22.840 - IPCPipe(vrcompositor (115228)): Process disconnected. Sun Aug 21 2016 11:24:22.840 - Process vrcompositor (115228) disconnected Sun Aug 21 2016 11:24:26.637 - PowerOffTrackedDevice for 0 Sun Aug 21 2016 11:24:26.637 - Process vrmonitor (53000) has initiated a quit all Sun Aug 21 2016 11:24:26.645 - Sending Quit event to process vrmonitor (53000) Sun Aug 21 2016 11:24:27.746 - IPCPipe(vrmonitor (53000)): Process disconnected. Sun Aug 21 2016 11:24:27.746 - Process vrmonitor (53000) disconnected Sun Aug 21 2016 11:24:27.748 - VR server shutting down Sun Aug 21 2016 11:24:27.748 - osvr: OSVRTrackingReference::Deactivate() called. Sun Aug 21 2016 11:24:27.748 - osvr: OSVRTrackedDevice::Deactivate() called. Sun Aug 21 2016 11:24:27.805 - Listener thread ending
Sun Aug 21 2016 11:24:07.855 - ================================================================================================ Sun Aug 21 2016 11:24:07.855 - ================================================================================================ Sun Aug 21 2016 11:24:07.855 - VR server (v1469551863) starting up with config=D:\Program Files (x86)\Steam\config Sun Aug 21 2016 11:24:07.857 - Load Json Settings from D:\Program Files (x86)\Steam\config\steamvr.vrsettings Sun Aug 21 2016 11:24:07.911 - New Connect message from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\tools\bin\win32\vrmonitor.exe (VRApplication_VRMonitor) 53000 Sun Aug 21 2016 11:24:08.220 - osvr: Verbose logging enabled. Sun Aug 21 2016 11:24:08.220 - driver osvr implements interfaces IVRSettings_001 ITrackedDeviceServerDriver_004 IVRDisplayComponent_002 IVRDriverDirectModeComponent_001 IVRControllerComponent_001 IVRCameraComponent_002 IServerTrackedDeviceProvider_003 IClientTrackedDeviceProvider_004 Sun Aug 21 2016 11:24:08.220 - Loaded server driver osvr (IServerTrackedDeviceProvider_003) from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\drivers\osvr\bin\win64\driver_osvr.dll Sun Aug 21 2016 11:24:08.220 - osvr: ServerDriver_OSVR::GetTrackedDeviceCount(): Detected 2 tracked devices. Sun Aug 21 2016 11:24:08.220 - osvr: ServerDriver_OSVR::GetTrackedDeviceCount(): Detected 2 tracked devices. Sun Aug 21 2016 11:24:08.220 - osvr: ServerDriver_OSVR::GetTrackedDeviceDriver(): Returning tracked device #0. Sun Aug 21 2016 11:24:08.220 - osvr: OSVRTrackedDevice::Activate() called. Sun Aug 21 2016 11:24:08.220 - osvr: OSVRTrackedDevice::Activate(): Waiting for the context to fully start up... Sun Aug 21 2016 11:24:08.261 - osvr: OSVRTrackedDevice::Activate(): Waiting for the display to fully start up, including receiving initial pose update... Sun Aug 21 2016 11:24:08.261 - osvr: Verbose logging enabled. Sun Aug 21 2016 11:24:08.262 - osvr: Rejecting display [S24D390] since it doesn't match [OSVR]. Sun Aug 21 2016 11:24:08.496 - osvr: Warning: scan-out origin unspecified. Defaulting to Upper-left. Sun Aug 21 2016 11:24:08.496 - osvr: Display parameters from configuration files: Sun Aug 21 2016 11:24:08.496 - osvr: Adapter: Unknown Sun Aug 21 2016 11:24:08.496 - osvr: Monitor name: OSVR HDK Sun Aug 21 2016 11:24:08.496 - osvr: Resolution: 2160x1200 Sun Aug 21 2016 11:24:08.496 - osvr: Position: (1920, 0) Sun Aug 21 2016 11:24:08.496 - osvr: Rotation: 180 degrees counter-clockwise Sun Aug 21 2016 11:24:08.496 - osvr: Scan-out origin: Upper-left Sun Aug 21 2016 11:24:08.496 - osvr: Refresh rate: 1.000000 Sun Aug 21 2016 11:24:08.496 - osvr: Direct mode Sun Aug 21 2016 11:24:08.496 - osvr: EDID vendor ID: 0xd24e (SVR) Sun Aug 21 2016 11:24:08.497 - osvr: EDID product ID: 0x1019 Sun Aug 21 2016 11:24:08.608 - osvr: OSVRTrackedDevice::configureDistortionParameters(): Number of eyes: 2. Sun Aug 21 2016 11:24:08.608 - osvr: OSVRTrackedDevice::configureDistortionParameters(): Adding distortion for eye 0. Sun Aug 21 2016 11:24:08.608 - osvr: OSVRTrackedDevice::configureDistortionParameters(): Adding distortion for eye 1. Sun Aug 21 2016 11:24:08.608 - osvr: OSVRTrackedDevice::configureDistortionParameters(): Number of distortion parameters: 2. Sun Aug 21 2016 11:24:08.608 - osvr: OSVRTrackedDevice::configureDistortionParameters(): Creating mesh interpolators for the left eye. Sun Aug 21 2016 11:24:08.610 - osvr: OSVRTrackedDevice::configureDistortionParameters(): Number of left eye interpolators: 1. Sun Aug 21 2016 11:24:08.610 - osvr: OSVRTrackedDevice::configureDistortionParameters(): Creating mesh interpolators for the right eye. Sun Aug 21 2016 11:24:08.612 - osvr: OSVRTrackedDevice::configureDistortionParameters(): Number of right eye interpolators: 1. Sun Aug 21 2016 11:24:08.612 - osvr: OSVRTrackedDevice::Activate(): Activation complete. Sun Aug 21 2016 11:24:08.612 - osvr: ServerDriver_OSVR::GetTrackedDeviceCount(): Detected 2 tracked devices. Sun Aug 21 2016 11:24:08.612 - osvr: ServerDriver_OSVR::GetTrackedDeviceDriver(): Returning tracked device #0. Sun Aug 21 2016 11:24:08.612 - osvr: ServerDriver_OSVR::GetTrackedDeviceCount(): Detected 2 tracked devices. Sun Aug 21 2016 11:24:08.612 - osvr: ServerDriver_OSVR::GetTrackedDeviceDriver(): Returning tracked device #1. Sun Aug 21 2016 11:24:08.612 - osvr: ServerDriver_OSVR::GetTrackedDeviceCount(): Detected 2 tracked devices. Sun Aug 21 2016 11:24:08.613 - error VRInitError_Init_HmdNotFound when initing driver null from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\drivers\null\bin\win64\driver_null.dll. Sun Aug 21 2016 11:24:08.613 - Active HMD set to osvr.OSVR HDK Sun Aug 21 2016 11:24:08.613 - osvr: GetWindowBounds(): Config file settings: x = 1920, y = 0, width = 2160, height = 1200. Sun Aug 21 2016 11:24:08.613 - osvr: GetWindowBounds(): Calculated settings: x = 1920, y = 0, width = 2160, height = 1200. Sun Aug 21 2016 11:24:08.613 - osvr: OSVRTrackedDevice::IsDisplayOnDesktop(): no Sun Aug 21 2016 11:24:08.613 - osvr: GetWindowBounds(): Config file settings: x = 1920, y = 0, width = 2160, height = 1200. Sun Aug 21 2016 11:24:08.613 - osvr: GetWindowBounds(): Calculated settings: x = 1920, y = 0, width = 2160, height = 1200. Sun Aug 21 2016 11:24:08.613 - osvr: GetEyeOutputViewport(left eye): Config file settings: x = 0, y = 0, width = 1080, height = 1200. Sun Aug 21 2016 11:24:08.613 - osvr: GetWindowBounds(): Config file settings: x = 1920, y = 0, width = 2160, height = 1200. Sun Aug 21 2016 11:24:08.613 - osvr: GetWindowBounds(): Calculated settings: x = 1920, y = 0, width = 2160, height = 1200. Sun Aug 21 2016 11:24:08.613 - osvr: Display mode: horizontal side-by-side. Sun Aug 21 2016 11:24:08.613 - osvr: Display orientation: landscape flipped. Sun Aug 21 2016 11:24:08.613 - osvr: GetEyeOutputViewport(left eye): Calculated settings: x = 1080, y = 0, width = 1080, height = 1200. Sun Aug 21 2016 11:24:08.613 - osvr: GetEyeOutputViewport(right eye): Config file settings: x = 1080, y = 0, width = 1080, height = 1200. Sun Aug 21 2016 11:24:08.613 - osvr: GetWindowBounds(): Config file settings: x = 1920, y = 0, width = 2160, height = 1200. Sun Aug 21 2016 11:24:08.613 - osvr: GetWindowBounds(): Calculated settings: x = 1920, y = 0, width = 2160, height = 1200. Sun Aug 21 2016 11:24:08.613 - osvr: Display mode: horizontal side-by-side. Sun Aug 21 2016 11:24:08.613 - osvr: Display orientation: landscape flipped. Sun Aug 21 2016 11:24:08.613 - osvr: GetEyeOutputViewport(right eye): Calculated settings: x = 0, y = 0, width = 1080, height = 1200. Sun Aug 21 2016 11:24:08.613 - osvr: ServerDriver_OSVR::FindTrackedDeviceDriver(): Returning tracked device OSVR IR camera. Sun Aug 21 2016 11:24:08.613 - Processing message VRMsg_Connect from vrmonitor (53000) took 0.702 seconds Sun Aug 21 2016 11:24:08.613 - osvr: OSVRTrackingReference::Activate() called. Sun Aug 21 2016 11:24:08.615 - DXGI thread failed to get SDL display index Sun Aug 21 2016 11:24:08.771 - New Connect message from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\bin\win32\vrcompositor.exe (VRApplication_Background) 117572 Sun Aug 21 2016 11:24:08.791 - Using existing HMD osvr.OSVR HDK Sun Aug 21 2016 11:24:08.792 - Processing message VRMsg_Connect from vrcompositor (117572) took 0.0201 seconds Sun Aug 21 2016 11:24:08.848 - IPCPipe(vrcompositor (117572)): Process disconnected. Sun Aug 21 2016 11:24:08.848 - Process vrcompositor (117572) disconnected Sun Aug 21 2016 11:24:08.866 - osvr: OSVRTrackedDevice::GetBoolTrackedDeviceProperty(): Unknown property Prop_Firmware_ForceUpdateRequired_Bool requested. Sun Aug 21 2016 11:24:12.688 - New Connect message from D:\Program Files (x86)\Steam\steam.exe (VRApplication_Overlay) 117312 Sun Aug 21 2016 11:24:12.704 - Using existing HMD osvr.OSVR HDK Sun Aug 21 2016 11:24:12.704 - Processing message VRMsg_Connect from steam (117312) took 0.0162 seconds Sun Aug 21 2016 11:24:12.847 - New Connect message from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\bin\win32\vrcompositor.exe (VRApplication_Background) 19188 Sun Aug 21 2016 11:24:12.861 - Using existing HMD osvr.OSVR HDK Sun Aug 21 2016 11:24:12.861 - Processing message VRMsg_Connect from vrcompositor (19188) took 0.0143 seconds Sun Aug 21 2016 11:24:12.897 - IPCPipe(vrcompositor (19188)): Process disconnected. Sun Aug 21 2016 11:24:12.897 - Process vrcompositor (19188) disconnected Sun Aug 21 2016 11:24:17.636 - IPCPipe(steam (117312)): Process disconnected. Sun Aug 21 2016 11:24:17.636 - Process steam (117312) disconnected Sun Aug 21 2016 11:24:17.788 - New Connect message from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\bin\win32\vrcompositor.exe (VRApplication_Background) 115988 Sun Aug 21 2016 11:24:17.802 - Using existing HMD osvr.OSVR HDK Sun Aug 21 2016 11:24:17.802 - Processing message VRMsg_Connect from vrcompositor (115988) took 0.0143 seconds Sun Aug 21 2016 11:24:17.839 - IPCPipe(vrcompositor (115988)): Process disconnected. Sun Aug 21 2016 11:24:17.839 - Process vrcompositor (115988) disconnected Sun Aug 21 2016 11:24:22.791 - New Connect message from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\bin\win32\vrcompositor.exe (VRApplication_Background) 115228 Sun Aug 21 2016 11:24:22.805 - Using existing HMD osvr.OSVR HDK Sun Aug 21 2016 11:24:22.805 - Processing message VRMsg_Connect from vrcompositor (115228) took 0.0144 seconds Sun Aug 21 2016 11:24:22.840 - IPCPipe(vrcompositor (115228)): Process disconnected. Sun Aug 21 2016 11:24:22.840 - Process vrcompositor (115228) disconnected Sun Aug 21 2016 11:24:26.637 - PowerOffTrackedDevice for 0 Sun Aug 21 2016 11:24:26.637 - Process vrmonitor (53000) has initiated a quit all Sun Aug 21 2016 11:24:26.645 - Sending Quit event to process vrmonitor (53000) Sun Aug 21 2016 11:24:27.746 - IPCPipe(vrmonitor (53000)): Process disconnected. Sun Aug 21 2016 11:24:27.746 - Process vrmonitor (53000) disconnected Sun Aug 21 2016 11:24:27.748 - VR server shutting down Sun Aug 21 2016 11:24:27.748 - osvr: OSVRTrackingReference::Deactivate() called. Sun Aug 21 2016 11:24:27.748 - osvr: OSVRTrackedDevice::Deactivate() called. Sun Aug 21 2016 11:24:27.805 - Listener thread ending Sun Aug 21 2016 11:37:45.888 - ================================================================================================ Sun Aug 21 2016 11:37:45.888 - ================================================================================================ Sun Aug 21 2016 11:37:45.888 - VR server (v1469551863) starting up with config=D:\Program Files (x86)\Steam\config Sun Aug 21 2016 11:37:45.888 - Load Json Settings from D:\Program Files (x86)\Steam\config\steamvr.vrsettings Sun Aug 21 2016 11:37:45.900 - New Connect message from D:\Program Files (x86)\Steam\SteamApps\common\SteamVR\demo\bin\win32\hellovr_sdl.exe (VRApplication_Scene) 114820 Sun Aug 21 2016 11:37:45.900 - Setting app system.generated.hellovr_sdl.exe PID to 114820 Sun Aug 21 2016 11:37:46.065 - osvr: Verbose logging enabled. Sun Aug 21 2016 11:37:46.065 - driver osvr implements interfaces IVRSettings_001 ITrackedDeviceServerDriver_004 IVRDisplayComponent_002 IVRDriverDirectModeComponent_001 IVRControllerComponent_001 IVRCameraComponent_002 IServerTrackedDeviceProvider_003 IClientTrackedDeviceProvider_004 Sun Aug 21 2016 11:37:46.065 - Loaded server driver osvr (IServerTrackedDeviceProvider_003) from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\drivers\osvr\bin\win64\driver_osvr.dll Sun Aug 21 2016 11:37:46.065 - osvr: ServerDriver_OSVR::GetTrackedDeviceCount(): Detected 2 tracked devices. Sun Aug 21 2016 11:37:46.065 - osvr: ServerDriver_OSVR::GetTrackedDeviceCount(): Detected 2 tracked devices. Sun Aug 21 2016 11:37:46.065 - osvr: ServerDriver_OSVR::GetTrackedDeviceDriver(): Returning tracked device #0. Sun Aug 21 2016 11:37:46.065 - osvr: OSVRTrackedDevice::Activate() called. Sun Aug 21 2016 11:37:46.065 - osvr: OSVRTrackedDevice::Activate(): Waiting for the context to fully start up... Sun Aug 21 2016 11:37:46.101 - osvr: OSVRTrackedDevice::Activate(): Waiting for the display to fully start up, including receiving initial pose update... Sun Aug 21 2016 11:37:46.101 - osvr: Verbose logging enabled. Sun Aug 21 2016 11:37:46.102 - osvr: Rejecting display [S24D390] since it doesn't match [OSVR]. Sun Aug 21 2016 11:37:46.102 - osvr: Found a match! Display [OSVR HDK2] matches [OSVR]. Sun Aug 21 2016 11:37:46.102 - osvr: Warning: scan-out origin unspecified. Defaulting to Lower-right. Sun Aug 21 2016 11:37:46.102 - osvr: Detected display named [OSVR HDK2]: Sun Aug 21 2016 11:37:46.102 - osvr: Adapter: \?\PCI#VEN_10DE&DEV_13C2&SUBSYS_31601462&REV_A1#4&2db3ecda&0&0008#{5b45201d-f2f2-4f3b-85bb-30ff1f953599} Sun Aug 21 2016 11:37:46.102 - osvr: Monitor name: OSVR HDK2 Sun Aug 21 2016 11:37:46.102 - osvr: Resolution: 2160x1200 Sun Aug 21 2016 11:37:46.102 - osvr: Position: (1920, 0) Sun Aug 21 2016 11:37:46.102 - osvr: Rotation: 180 degrees counter-clockwise Sun Aug 21 2016 11:37:46.102 - osvr: Scan-out origin: Lower-right Sun Aug 21 2016 11:37:46.102 - osvr: Refresh rate: 90.027000 Sun Aug 21 2016 11:37:46.103 - osvr: Extended mode Sun Aug 21 2016 11:37:46.103 - osvr: EDID vendor ID: 0xaf06 (AUO) Sun Aug 21 2016 11:37:46.103 - osvr: EDID product ID: 0x1111 Sun Aug 21 2016 11:37:46.180 - osvr: OSVRTrackedDevice::configureDistortionParameters(): Number of eyes: 2. Sun Aug 21 2016 11:37:46.180 - osvr: OSVRTrackedDevice::configureDistortionParameters(): Adding distortion for eye 0. Sun Aug 21 2016 11:37:46.180 - osvr: OSVRTrackedDevice::configureDistortionParameters(): Adding distortion for eye 1. Sun Aug 21 2016 11:37:46.181 - osvr: OSVRTrackedDevice::configureDistortionParameters(): Number of distortion parameters: 2. Sun Aug 21 2016 11:37:46.181 - osvr: OSVRTrackedDevice::configureDistortionParameters(): Creating mesh interpolators for the left eye. Sun Aug 21 2016 11:37:46.182 - osvr: OSVRTrackedDevice::configureDistortionParameters(): Number of left eye interpolators: 1. Sun Aug 21 2016 11:37:46.182 - osvr: OSVRTrackedDevice::configureDistortionParameters(): Creating mesh interpolators for the right eye. Sun Aug 21 2016 11:37:46.184 - osvr: OSVRTrackedDevice::configureDistortionParameters(): Number of right eye interpolators: 1. Sun Aug 21 2016 11:37:46.184 - osvr: OSVRTrackedDevice::Activate(): Activation complete. Sun Aug 21 2016 11:37:46.184 - osvr: ServerDriver_OSVR::GetTrackedDeviceCount(): Detected 2 tracked devices. Sun Aug 21 2016 11:37:46.184 - osvr: ServerDriver_OSVR::GetTrackedDeviceDriver(): Returning tracked device #0. Sun Aug 21 2016 11:37:46.184 - osvr: ServerDriver_OSVR::GetTrackedDeviceCount(): Detected 2 tracked devices. Sun Aug 21 2016 11:37:46.184 - osvr: ServerDriver_OSVR::GetTrackedDeviceDriver(): Returning tracked device #1. Sun Aug 21 2016 11:37:46.184 - osvr: ServerDriver_OSVR::GetTrackedDeviceCount(): Detected 2 tracked devices. Sun Aug 21 2016 11:37:46.184 - error VRInitError_Init_HmdNotFound when initing driver null from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\drivers\null\bin\win64\driver_null.dll. Sun Aug 21 2016 11:37:46.185 - Active HMD set to osvr.OSVR HDK2 Sun Aug 21 2016 11:37:46.185 - osvr: GetWindowBounds(): Config file settings: x = 1920, y = 0, width = 2160, height = 1200. Sun Aug 21 2016 11:37:46.185 - osvr: GetWindowBounds(): Calculated settings: x = 1920, y = 0, width = 2160, height = 1200. Sun Aug 21 2016 11:37:46.185 - osvr: OSVRTrackedDevice::IsDisplayOnDesktop(): yes Sun Aug 21 2016 11:37:46.185 - osvr: GetWindowBounds(): Config file settings: x = 1920, y = 0, width = 2160, height = 1200. Sun Aug 21 2016 11:37:46.185 - osvr: GetWindowBounds(): Calculated settings: x = 1920, y = 0, width = 2160, height = 1200. Sun Aug 21 2016 11:37:46.185 - osvr: GetEyeOutputViewport(left eye): Config file settings: x = 0, y = 0, width = 1080, height = 1200. Sun Aug 21 2016 11:37:46.185 - osvr: GetWindowBounds(): Config file settings: x = 1920, y = 0, width = 2160, height = 1200. Sun Aug 21 2016 11:37:46.185 - osvr: GetWindowBounds(): Calculated settings: x = 1920, y = 0, width = 2160, height = 1200. Sun Aug 21 2016 11:37:46.185 - osvr: Display mode: horizontal side-by-side. Sun Aug 21 2016 11:37:46.185 - osvr: Display orientation: landscape. Sun Aug 21 2016 11:37:46.185 - osvr: GetEyeOutputViewport(left eye): Calculated settings: x = 0, y = 0, width = 1080, height = 1200. Sun Aug 21 2016 11:37:46.185 - osvr: GetEyeOutputViewport(right eye): Config file settings: x = 1080, y = 0, width = 1080, height = 1200. Sun Aug 21 2016 11:37:46.185 - osvr: GetWindowBounds(): Config file settings: x = 1920, y = 0, width = 2160, height = 1200. Sun Aug 21 2016 11:37:46.185 - osvr: GetWindowBounds(): Calculated settings: x = 1920, y = 0, width = 2160, height = 1200. Sun Aug 21 2016 11:37:46.185 - osvr: Display mode: horizontal side-by-side. Sun Aug 21 2016 11:37:46.185 - osvr: Display orientation: landscape. Sun Aug 21 2016 11:37:46.185 - osvr: GetEyeOutputViewport(right eye): Calculated settings: x = 1080, y = 0, width = 1080, height = 1200. Sun Aug 21 2016 11:37:46.202 - Started D:\Program Files (x86)\Steam\steamapps\common\SteamVR\tools\bin\win32\vrmonitor.exe with pid 116352 Sun Aug 21 2016 11:37:46.202 - Processing message VRMsg_Connect from hellovr_sdl (114820) took 0.302 seconds Sun Aug 21 2016 11:37:46.202 - osvr: ServerDriver_OSVR::FindTrackedDeviceDriver(): Returning tracked device OSVR IR camera. Sun Aug 21 2016 11:37:46.202 - osvr: OSVRTrackingReference::Activate() called. Sun Aug 21 2016 11:37:47.439 - New Connect message from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\tools\bin\win32\vrmonitor.exe (VRApplication_VRMonitor) 116352 Sun Aug 21 2016 11:37:47.461 - Using existing HMD osvr.OSVR HDK2 Sun Aug 21 2016 11:37:47.461 - Processing message VRMsg_Connect from vrmonitor (116352) took 0.0219 seconds Sun Aug 21 2016 11:37:47.925 - New Connect message from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\bin\win32\vrcompositor.exe (VRApplication_Background) 114988 Sun Aug 21 2016 11:37:47.941 - Using existing HMD osvr.OSVR HDK2 Sun Aug 21 2016 11:37:47.941 - Processing message VRMsg_Connect from vrcompositor (114988) took 0.0165 seconds Sun Aug 21 2016 11:37:51.365 - osvr: OSVRTrackedDevice::GetBoolTrackedDeviceProperty(): Unknown property Prop_Firmware_ForceUpdateRequired_Bool requested. Sun Aug 21 2016 11:37:51.399 - osvr: OSVRTrackedDevice::IsDisplayOnDesktop(): no Sun Aug 21 2016 11:37:51.510 - New Connect message from D:\Program Files (x86)\Steam\steam.exe (VRApplication_Overlay) 117312 Sun Aug 21 2016 11:37:51.531 - Using existing HMD osvr.OSVR HDK2 Sun Aug 21 2016 11:37:51.531 - Processing message VRMsg_Connect from steam (117312) took 0.0219 seconds Sun Aug 21 2016 11:37:51.656 - New Connect message from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\tools\bin\win32\vrdashboard.exe (VRApplication_Overlay) 111076 Sun Aug 21 2016 11:37:51.672 - Using existing HMD osvr.OSVR HDK2 Sun Aug 21 2016 11:37:51.673 - Processing message VRMsg_Connect from vrdashboard (111076) took 0.0161 seconds Sun Aug 21 2016 11:38:01.678 - 0 - entering standby Sun Aug 21 2016 11:38:15.059 - IPCPipe(vrdashboard (111076)): Process disconnected. Sun Aug 21 2016 11:38:15.059 - Process vrdashboard (111076) disconnected Sun Aug 21 2016 11:38:15.059 - 0 - leaving standby Sun Aug 21 2016 11:38:15.609 - New Connect message from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\tools\bin\win32\vrdashboard.exe (VRApplication_Overlay) 117988 Sun Aug 21 2016 11:38:15.624 - Using existing HMD osvr.OSVR HDK2 Sun Aug 21 2016 11:38:15.624 - Processing message VRMsg_Connect from vrdashboard (117988) took 0.015 seconds Sun Aug 21 2016 11:38:15.633 - IPCPipe(vrdashboard (117988)): Process disconnected. Sun Aug 21 2016 11:38:15.633 - Process vrdashboard (117988) disconnected Sun Aug 21 2016 11:38:17.592 - New Connect message from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\tools\bin\win32\vrdashboard.exe (VRApplication_Overlay) 118008 Sun Aug 21 2016 11:38:17.607 - Using existing HMD osvr.OSVR HDK2 Sun Aug 21 2016 11:38:17.607 - Processing message VRMsg_Connect from vrdashboard (118008) took 0.015 seconds Sun Aug 21 2016 11:38:17.615 - IPCPipe(vrdashboard (118008)): Process disconnected. Sun Aug 21 2016 11:38:17.615 - Process vrdashboard (118008) disconnected Sun Aug 21 2016 11:38:19.608 - New Connect message from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\tools\bin\win32\vrdashboard.exe (VRApplication_Overlay) 118040 Sun Aug 21 2016 11:38:19.623 - Using existing HMD osvr.OSVR HDK2 Sun Aug 21 2016 11:38:19.623 - Processing message VRMsg_Connect from vrdashboard (118040) took 0.0146 seconds Sun Aug 21 2016 11:38:19.632 - IPCPipe(vrdashboard (118040)): Process disconnected. Sun Aug 21 2016 11:38:19.632 - Process vrdashboard (118040) disconnected Sun Aug 21 2016 11:38:21.583 - New Connect message from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\tools\bin\win32\vrdashboard.exe (VRApplication_Overlay) 118068 Sun Aug 21 2016 11:38:21.597 - Using existing HMD osvr.OSVR HDK2 Sun Aug 21 2016 11:38:21.597 - Processing message VRMsg_Connect from vrdashboard (118068) took 0.0146 seconds Sun Aug 21 2016 11:38:21.606 - IPCPipe(vrdashboard (118068)): Process disconnected. Sun Aug 21 2016 11:38:21.606 - Process vrdashboard (118068) disconnected Sun Aug 21 2016 11:38:23.582 - New Connect message from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\tools\bin\win32\vrdashboard.exe (VRApplication_Overlay) 118088 Sun Aug 21 2016 11:38:23.598 - Using existing HMD osvr.OSVR HDK2 Sun Aug 21 2016 11:38:23.598 - Processing message VRMsg_Connect from vrdashboard (118088) took 0.0162 seconds Sun Aug 21 2016 11:38:23.608 - IPCPipe(vrdashboard (118088)): Process disconnected. Sun Aug 21 2016 11:38:23.608 - Process vrdashboard (118088) disconnected Sun Aug 21 2016 11:38:25.589 - New Connect message from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\tools\bin\win32\vrdashboard.exe (VRApplication_Overlay) 118112 Sun Aug 21 2016 11:38:25.604 - Using existing HMD osvr.OSVR HDK2 Sun Aug 21 2016 11:38:25.604 - Processing message VRMsg_Connect from vrdashboard (118112) took 0.0152 seconds Sun Aug 21 2016 11:38:25.613 - IPCPipe(vrdashboard (118112)): Process disconnected. Sun Aug 21 2016 11:38:25.613 - Process vrdashboard (118112) disconnected Sun Aug 21 2016 11:38:27.577 - New Connect message from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\tools\bin\win32\vrdashboard.exe (VRApplication_Overlay) 118136 Sun Aug 21 2016 11:38:27.593 - Using existing HMD osvr.OSVR HDK2 Sun Aug 21 2016 11:38:27.593 - Processing message VRMsg_Connect from vrdashboard (118136) took 0.0158 seconds Sun Aug 21 2016 11:38:27.602 - IPCPipe(vrdashboard (118136)): Process disconnected. Sun Aug 21 2016 11:38:27.602 - Process vrdashboard (118136) disconnected Sun Aug 21 2016 11:38:29.591 - New Connect message from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\tools\bin\win32\vrdashboard.exe (VRApplication_Overlay) 118156 Sun Aug 21 2016 11:38:29.606 - Using existing HMD osvr.OSVR HDK2 Sun Aug 21 2016 11:38:29.606 - Processing message VRMsg_Connect from vrdashboard (118156) took 0.0151 seconds Sun Aug 21 2016 11:38:29.615 - IPCPipe(vrdashboard (118156)): Process disconnected. Sun Aug 21 2016 11:38:29.615 - Process vrdashboard (118156) disconnected Sun Aug 21 2016 11:38:31.600 - New Connect message from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\tools\bin\win32\vrdashboard.exe (VRApplication_Overlay) 118180 Sun Aug 21 2016 11:38:31.615 - Using existing HMD osvr.OSVR HDK2 Sun Aug 21 2016 11:38:31.615 - Processing message VRMsg_Connect from vrdashboard (118180) took 0.0152 seconds Sun Aug 21 2016 11:38:31.623 - IPCPipe(vrdashboard (118180)): Process disconnected. Sun Aug 21 2016 11:38:31.623 - Process vrdashboard (118180) disconnected Sun Aug 21 2016 11:39:15.461 - Setting to LaunchingApp_ExternalLaunch because of prelaunch check for steam.app.396060 Sun Aug 21 2016 11:39:15.681 - Setting app steam.app.396060 PID to 118360 Sun Aug 21 2016 11:39:18.485 - New Connect message from D:\Program Files (x86)\Steam\steamapps\common\TheRoseAndI\RoseAndI_PC_4100\Binaries\Win64\p20160307_RI_rift-Win64-Shipping.exe (VRApplication_Scene) 118400 Sun Aug 21 2016 11:39:18.501 - Setting app steam.app.396060 PID to 118400 Sun Aug 21 2016 11:39:18.502 - Using existing HMD osvr.OSVR HDK2 Sun Aug 21 2016 11:39:18.502 - Processing message VRMsg_Connect from p20160307_RI_rift-Win64-Shipping (118400) took 0.0163 seconds Sun Aug 21 2016 11:40:12.525 - IPCPipe(p20160307_RI_rift-Win64-Shipping (118400)): Process disconnected. Sun Aug 21 2016 11:40:12.526 - Process p20160307_RI_rift-Win64-Shipping (118400) disconnected Sun Aug 21 2016 11:40:27.096 - 0 - entering standby Sun Aug 21 2016 11:41:13.761 - IPCPipe(hellovr_sdl (114820)): Process disconnected. Sun Aug 21 2016 11:41:13.761 - Process hellovr_sdl (114820) disconnected Sun Aug 21 2016 11:41:13.761 - 0 - leaving standby Sun Aug 21 2016 11:41:34.120 - 0 - entering standby Sun Aug 21 2016 11:41:57.359 - PowerOffTrackedDevice for 0 Sun Aug 21 2016 11:41:57.359 - Process vrmonitor (116352) has initiated a quit all Sun Aug 21 2016 11:41:57.361 - Sending Quit event to process steam (117312) Sun Aug 21 2016 11:41:58.367 - IPCPipe(steam (117312)): Process disconnected. Sun Aug 21 2016 11:41:58.367 - Process steam (117312) disconnected Sun Aug 21 2016 11:41:58.367 - 0 - leaving standby Sun Aug 21 2016 11:41:58.380 - Sending Quit event to process vrcompositor (114988) Sun Aug 21 2016 11:41:58.380 - Sending Quit event to process vrmonitor (116352) Sun Aug 21 2016 11:42:03.384 - Kill process vrcompositor (114988) because it didn't quit in time Sun Aug 21 2016 11:42:03.476 - IPCPipe(vrcompositor (114988)): Process disconnected. Sun Aug 21 2016 11:42:03.476 - Process vrcompositor (114988) disconnected Sun Aug 21 2016 11:42:13.485 - 0 - entering standby
Modifying the steamvr.vrsettings file like you suggested allowed the compositor to start correctly! Thanks. Now the room setup is failing, but I think there's a way I can input the numbers manually. I attached the vrserver.txt and vrmonitor.txt just in case there's something relevant in there.
Thanks for you help!
@Nicko453 The latter log file looks pretty good, though you may need to upgrade the firmware on your HDK to get direct mode to work.
@farnk Room setup requires head tracking, so you might check that that's working okay using the OSVR Tracker Viewer. Otherwise, your log file looks pretty good!
The Rift is showing a white wireframe sphere and the tracking is working, but the original rift doesn't have positional tracking, just rotational, maybe that's the problem. I thought I read somewhere that you can generate the room setup file manually and set the height so that the headset doesn't seem like it's on the ground, but I can't find it right now. Do you know of any steam apps that are cheap and good which I can use to test if things are working?
@farnk You might give InMind VR a try. It doesn't really require position tracking since you're just shooting neurons by staring at them for a second. It doesn't require controllers either. And it's free!
I restarted everything and I was able to get room setup to complete and InMind is working! Now I need to get the IPD right, I was able to get it working in a native OSVR game by adjusting the "center_proj" in the display setup, but then it was wrong in another demo I tried. Is there a better way to do that?
Having gone through the logs more closely, I
don't understand why osvr can't find the adapter when called by
vrmonitor (and thus presumably why the compositor fails), but
osvr does find the adapter [OSVR HDK2] when called from
'hellovr_sdl'. Is the 'hellovr' passing more / different
parameters to osvr ?
I just don't get why it behaves differently
depending on how / from where osvr is called.
On 21/08/2016 11:59, Kevin Godby wrote:
@Nicko453 The latter log file looks
pretty good, though you may need to upgrade the firmware on your
HDK to get direct mode to work.
—
You are receiving this because you were mentioned.
Reply to this email directly, view
it on GitHub, or mute
the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/OSVR/SteamVR-OSVR","title":"OSVR/SteamVR-OSVR","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/OSVR/SteamVR-OSVR"}},"updates":{"snippets":[{"icon":"PERSON","message":"@godbyk in #82: @Nicko453 The latter log file looks pretty good, though you may need to upgrade the firmware on your HDK to get direct mode to work. "}],"action":{"name":"View Issue","url":"https://github.com/OSVR/SteamVR-OSVR/issues/82#issuecomment-241234402"}}}
@farnk You can try setting an IPD value in the steamvr.vrsettings
file. In the steamvr
section, add "ipd": 0.0635,
(where the number is your IPD in meters).
I don't know if that will override the constant IPD we have in the OSVR driver or not. (OSVR doesn't currently provide a real IPD value, but it's on the to-do list.)
@Nicko453 When the HDK is in direct mode, it's invisible to Windows and the detection code can't see it. At that point, it falls back on settings from the configuration files.
Setting the "center_proj" values in the display JSON fixes the D3D sample app, but doesn't affect the steam games, and setting the IPD in steamvr.vrsettings doesn't seem to do anything to the steam vr test room, or InMind. Although I have a feeling that it may not be related to steam because I was trying the "osvr vomit coaster" which works naively with the osvr api and it also didn't draw correctly.
Unfortunately, SteamVR doesn't appear to make use of the center-of-projection values at the moment.
Is this possibly a timing issue ?
I can reproduce this behaviour 100% , but don't understand why. I still get the compositor failure referenced in the OP when I start SteamVR from Steam (or as the result of launching a game). However, if I launch 'hellovr_sdl' Steam test app everything works correctly. I have attached a steamvr log file to show this. The exact steps taken (and system behaviour) are as follows: 1) Start osvr server 2) Disable Direct mode [Windows desktop visible in HDK] 3) Start SteamVR. [HDK quickly goes into Direct mode. SteamVR shows error 'Compositor not available 400'] 4) Quit SteamVR, and use task manager to remove residual vr server process. 5) Disable Direct mode again. [Windows desktop visible in HDK] 6) Run 'hellovr_sdl.exe' from "\Steam\SteamApps\common\SteamVR\demo\bin\win32\hellovr_sdl.exe" . [HDK quickly goes into Direct Mode, SteamVR loads OK, green lights, compositor running correctly in HDK] Note: The HDK is definitely in Direct Mode at this point - it is not visible to Windows as a monitor.
I am wondering if there is a timing problem of the HDK being put into Direct mode before the steam osvr driver has read the adapter details and initialised correctly. No idea why it should fail when launched directly or indirectly from Steam, but works when using the hellovr test app.
Log of the above activity is attached here: vrserver.txt
You can see in the log file - on the first run (launching SteamVR directly, and getting the error), the HDK is already in Direct mode, and the osvr driver fails to see the adapter: Mon Aug 22 2016 14:57:41.844 - osvr: Adapter: Unknown ... whereas when launching via 'hellovr_sdl' the adapter is still in Extended mode, and osvr correctly recognises it and the compositor starts OK: Mon Aug 22 2016 15:01:01.825 - osvr: Adapter: \?\PCI#VEN_10DE&DEV_13C2&SUBSYS_31601462&REV_A1#4&2db3ecda&0&0008#{5b45201d-f2f2-4f3b-85bb-30ff1f953599}
However, in both cases the HDK was definitely in Extended mode at the start of each of these tests.
@godbyk I was looking at the SteamVR sdk docs and the OSVRTrackedDevice.cpp source file. I'm new to this, but it seems like SteamVR is using IVRSystem::GetProjectionRaw to setup the projection matrix for each eye. Looking at your driver code you're getting the clipping planes this from the osvr::clientkit::DisplayConfig object provided by OSVR. It seems to me like the OSVR server should have already taken the center_proj values into account when populating this structure and so this may be a bug in OSVR.
If you think this may be a possibility, let me know and I can start looking at the OSVR source code.
Ok, I looked at the OSVR source and the center_proj values are actually used in the distortion calculations in osvr::renderkit::DistortionCorrectRGBSymmetricPolynomials which is called by your plugin's call to osvr::renderkit::DistortionCorrectTextureCoordinate so it should be working correctly if SteamVR is calling IVRDisplayComponent::ComputeDistortion. I'll have to look into it more tonight.
SteamVR definitely does call ComputeDistortion()
. That handles the distortion correction and also the rotation (if necessary).
@farnk Hey I've been having a similar error with a dk2 clone. Would it be possible to see your steamvr.vrsettings file to see what a working one with a non osvr headset looks like? Thanks.
@farnk could you solve this issue??? I was doing OK until last SteamVR Update and now evertying I try doesn't work. The closer I could get now is SteamVR showin HMD and sensor green, not ready and vrcompositor failig with this log:
Tue Feb 21 2017 23:33:36.738 - //=====================================================================================================================
Tue Feb 21 2017 23:33:36.738 - VR compositor (v1485823399) starting up
Tue Feb 21 2017 23:33:36.738 - RuntimePath : C:\Steam\steamapps\common\SteamVR\
Tue Feb 21 2017 23:33:36.757 - Events created
Tue Feb 21 2017 23:33:36.773 - Initializing generic graphics device resources...
Tue Feb 21 2017 23:33:37.605 - Headset is using direct mode
Tue Feb 21 2017 23:33:39.363 - Initializing CD3D11VRRenderer
Tue Feb 21 2017 23:33:39.378 - Creating nvapi display
Tue Feb 21 2017 23:33:40.581 - Failed to create render targets for NvAPI display in direct mode!
Tue Feb 21 2017 23:33:40.586 - Failed to initialize compositor
Tue Feb 21 2017 23:33:40.586 - Failed to start compositor: VRInitError_Compositor_Failed
any ideas r welcome.. Hardware and driver setup:
HDK 2 Version 2.00 (RELEASE) Feb 2 2017 Tracker:1.10.1.472 Driver Build 1935
Description of issue
I'm trying to start steam VR but the compositor never starts correct. The output from vrcompositor.txt is:
Wed Aug 17 2016 14:37:54.275 - VR compositor (v1469551863) starting up Wed Aug 17 2016 14:37:54.275 - RuntimePath : C:\Program Files (x86)\Steam\steamapps\common\SteamVR\ Wed Aug 17 2016 14:37:54.657 - Events created Wed Aug 17 2016 14:37:54.668 - Initializing D3D resources... Wed Aug 17 2016 14:37:54.672 - Headset display is on desktop Wed Aug 17 2016 14:37:54.678 - Invalid adapter (-1, -1) specified! Wed Aug 17 2016 14:37:54.682 - Failed to initialize compositor Wed Aug 17 2016 14:37:54.682 - Failed to start compositor: VRInitError_Compositor_Failed
Steps to reproduce the problem
System configuration
Graphics card(s): GTX 670 Operating system: Windows 7 Version of SteamVR: 1469551863) Version of SteamVR-OSVR: v0.1-194-g92739af-core-v0.6-1197-g8796762
Attached files
vrclient_vrmonitor.txt vrcompositor.txt vrclient_Steam.txt vrmonitor.txt vrserver.txt vrclient_vrcompositor.txt osvr_server_config.json.txt