OSVR / SteamVR-OSVR

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

Direct mode and side by side #70

Closed demonixis closed 8 years ago

demonixis commented 8 years ago

Hi,

The Direct Mode seems to work on my PC but I've a serious problem with the side by side option. When I start SteamVR (DirectMode enabled), my HDK switches to side by side mode. It's not the case in non SteamVR applications. So I have to start the OSVR Config tool and toggle side by side. The big problem is that it appears randomly when I play. To fix that, I have to remove the HMD from my head and toggle Side by Side again (and again ;)).

Side by side is usefull in landscape mode, but why is it already active in direct mode? Can you prevent it when the HMD is in DirectMode?

Thanks.

JeroMiya commented 8 years ago

Thanks for reporting this! This is a known issue in the HDK firmware where the side-by-side mode is sometimes toggled unexpectedly. The issue isn't specific to SteamVR-OSVR.

demonixis commented 8 years ago

Fine! It appears only with SteamVR, how can I fix that? Do you have a patched firmware in preparation? Thanks.

VRguy commented 8 years ago

There are two ways to get the HDK in/out of SBS mode:

  1. Through virtual serial command. This is how the OSVR config does it
  2. Through a bit in the HID upstream message (similar to how you can cause a gamepad to rumble)

It may be that SteamVR accidentally uses the 2nd option without meaning to do so.

We can post a firmware version that disables this second option and see if it helps

demonixis commented 8 years ago

It could be good thanks!

d235j commented 8 years ago

Is there any standard method for switching to/from SBS? Perhaps a more complex switching sequence would make sense, as it would be less likely to be triggered by accident than a single bit.

demonixis commented 8 years ago

But why SBS mode can be enabled in Direct Mode?

jholster commented 8 years ago

I would also like to disable SBS "mirror" mode on Linux. Is the usb virtual serial port command set documented somewhere / any examples?

rpavlik commented 8 years ago

I'm not sure if any currently public repos have docs on the command set (or if there is a single document with full command set documentation even - most command are for firmware development and debugging, and the command parsing code is fairly easy to read, so while it's not self documenting, if you need most of those commands, you'd know or). This would be a good issue to file against OSVR docs - if I remember to and you don't beat me to it, i will.

On Sun, Aug 14, 2016, 4:45 PM Jaakko Holster notifications@github.com wrote:

I would also like to disable SBS "mirror" mode on Linux. Is the usb virtual serial port command set documented somewhere / any examples?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/OSVR/SteamVR-OSVR/issues/70#issuecomment-239699709, or mute the thread https://github.com/notifications/unsubscribe-auth/AADuyV5igdjTNxJbAFwppsVisKzqyooQks5qf4xxgaJpZM4I1Caw .

Ryan A. Pavlik, Ph.D. CTO - OSVR Platform Sensics, Inc. www.sensics.com

Latest news and blog posts (subscribe here http://sensics.com/subscribe-to-our-mailing-list/ to get weekly updates):

Aug 17: VRGuy podcast: Nonny de la Pena on immersive journalism http://sensics.com/vrguy-podcast-episode-20-nonny-de-la-pena-co-founder-emblematic-group/

Aug 9: Why we launched the OSVR Store http://sensics.com/launch-osvr-store/

Aug 1: OSVR, a look ahead http://sensics.com/osvr-look-ahead/

Balderick commented 8 years ago

I've found that using osvr control to toggle sbs and leave it connected and running when launching osvr server and then steam/steamvr seems to help with blackscreening issue.

Could the blackscreen be caused by steamvr unintentionally toggling sbs and the display gets switched off?

In preparation of getting Dirt4 running with hdk i spent some time with steam controller with game in normal desktop mode and was shocked at the tunes and haptic feedback the steam controller was giving out.

Could the vive controller and steam controller vvirtual rumble emulation and haptic feedback be causing or associated with the unintentional sbs switching/blackscreens issue/s?.

Balderick commented 8 years ago

There are two ways to get the HDK in/out of SBS mode:

  1. Through virtual serial command. This is how the OSVR config does it
  2. Through a bit in the HID upstream message (similar to how you can cause a gamepad to rumble)

3 Through serial command. This is how OSVR Control does it?.