baffler / OBS-OpenVR-Input-Plugin

This OBS plugin provides an input plugin to 64bit OBS that allows capturing directly from OpenVR/SteamVR mirror surface in full resolution.
GNU General Public License v2.0
374 stars 35 forks source link

feature request: a way to "restart" the OpenVR connection inside OBS #29

Closed ragesaq closed 3 years ago

ragesaq commented 4 years ago

I've had a few incidents on the latest OBS OpenVR Input plugin where OBS ceases to work, and the causes seem to range from switching between VR games and having to restart SteamVR. I've tried turning off displaying the input plugin and switching scenes with no luck, my only fix is to restart OBS which is not very convenient if you are in the middle of a broadcast.

baffler commented 4 years ago

What exactly is happening, like a black screen for the OpenVR capture source? I would need a way to recreate the issue, something that I could reproduce on my end. Does it happen every time you switch VR games for example?

ragesaq commented 4 years ago

That is correct, openvr capture sources are blank even if I change scene collections to another collection that doesn't have openVR. As far as recreating it, the most consistent way that seems to do it is to restart steam with OBS actively using the openVR capture. When Steam comes back a lot of times it is black and only a restart of OBS will resolve this.

owlmostdead commented 4 years ago

A feature where the OpenVR Plugin re-hooks into SteamVR would be fantastic. As said the issue is that when SteamVR crashed or closed, the OpenVR Plugin will not be able to detect SteamVR, only a restart of OBS helps. This is the only reason I stopped using the Plugin.

baffler commented 3 years ago

I can't seem to ever recreate this issue, tried closing SteamVR many times with OBS running and it always seems to detect it every time. But I added a button in the properties anyways to reinitialize just in case. It will be in the next update which should be out soon.

baffler commented 3 years ago

Got this added in v1.5