Hotrian / OVRdrop-Public

Public issue/feature tracker for OVRdrop
103 stars 1 forks source link

Controllers disconnect when using steam dashboard #10

Open doriancross opened 7 years ago

doriancross commented 7 years ago

output_log.txt

There is a problem for me when I use the steam dashboard when I have allow camera in dashboard enabled. I dont know if it happens with room view or chaperone bounds too. The display in the headset goes blank then recovers but the controllers are disconnected. both blinking in steam VR panel. I am using an Inateck PCI USB3 card as suggested by HTC and Valve, so I dont think it is a USB chipset compatibility thing. Not knowing much about it, it seems to me that when there are two different windows being rendered on the controllers in VR it falls over.

Hotrian commented 7 years ago

Very weird, seems you are getting an error here:

NullReferenceException
  at (wrapper managed-to-native) UnityEngine.Component:get_gameObject ()
  at HOTK_CompanionOverlay.OnParentDisabled (.HOTK_Overlay o) [0x00000] in <filename unknown>:0 
  at HOTK_Overlay.OnDisable () [0x00000] in <filename unknown>:0 

You said this happens when you open the Steam Dashboard?

I've definitely not seen this issue. Seems the overlay is trying to disable for some reason, which should only happen when you hit Spacebar (default hotkey).

Can you try loading up OVRdrop, and while the OVRdrop desktop window is selected, try hitting Spacebar a few times to see if you get an error?

Edit: Reviewing the code for OnParentDisabled(), this definitely shouldn't be possible. Seems Unity is having issues on your system, maybe?

Have you tried verifying the OVRdrop installation? It's possible something went wrong.

doriancross commented 7 years ago

That seems to work fine. The window disappears from the headset when I press space and comes back when I press again. The monitor window says overlay disabled! Press spacebar to enable.

I tried enabling steam dashboard overlay when ovr was disabled and it worked. Then enabled OVR and it worked without crashing..

I’ll keep playing around. But it seems to be working now.

The only thing I have changed is keeping the base stations awake. I hope it is just some bizarre behaviour on my computer and your code is fine!

Dor.

doriancross commented 7 years ago

Hmm it might just be that it does not like my UHD screen. Like you say bandwidth.

I also have a second monitor which is not 4k.

So I don’t know how all that might affect operation.

Cheers.

Dor

doriancross commented 7 years ago

Hi,

I changed my USB3 card drivers to the ones made by Fresco who make the chipset used by my Inateck USB card. After a wobbly start and a reboot it seems there is a lot more bandwidth available and all the controller dropouts are gone and the display remains displaying and tracked.

Really impressed now and have updated my review accordingly.

Nice one.

I hope you can continue to refine the experience.

Cheers.

D

Hotrian commented 7 years ago

Thanks for the updates! I will tag this issue as solved, but leave it open for now in case it helps someone out. Please keep me updated if the situation changes again :).

doriancross commented 7 years ago

Just tried using the usb 3 ports on a Ryzen system that are connected directly to the cpu and it works like a charm too.

On my asus crosshair vi it’s the 4 ports nearest the clear cmos and flashback buttons that bypass the crappy mobo chipset usb.

Nice to know.

Anyway, I’ll leave you to it.

Keep up the good work.

J

Later.

d.