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

Multiple OpenVR Input randomly out of sync by one frame #58

Open jpdery opened 2 years ago

jpdery commented 2 years ago

Hi,

First, I'm not sure this is the right place to post this. I'm using the OpenVR input on Streamlabs OBS, but I guess under the hood they are using this plugin.

So, I'm one of the few that uses 2 OpenVR input that I stitch together using a mask. I've noticed however that, sometime, inputs are out of sync by one frame, which creates a weird effect on the left portion of my screen. Most people don't notice it however, but I do. I've tried running SLOBS in performance mode, and as administrator. In both cases, my left eye open vr input was sometime, randomly, one frame behind.

Here's an example. Make sure you play the video at 0.25 speed and look for the first 1/3 portion of the screen from the left.

https://clips.twitch.tv/PoliteEnchantingBadgerSpicyBoy-HousLzyOynwdFnk2

Thanks

pFlurp commented 8 months ago

I've run into this myself. I am currently trying to figure out if there is a way in the same OpenVR input to have both eyes rendered. I however am a hardware guy and OOP is not my thing... In previous issues the creator stated that the OpenVR sdk supported blended view but it was with a completely different method. If we use the same method the creator uses here with an option for displaying both eyes in the same object then maybe we could do the same stitch thing here with a source mirror in OBS. This I would think could require minimal code rewriting. Again I am a hardware guy with very minimal software experience so I'm not sure if this is even possible yet.