praydog / UEVR

Universal Unreal Engine VR Mod (4.8 - 5.4)
http://uevr.io
3.08k stars 158 forks source link

[BUG] Virtual Desktop Fix #185

Closed Death666Machine closed 8 months ago

Death666Machine commented 8 months ago

Virtual Desktop fix causes rapid flickering within obs studio using openxr plugin found here https://github.com/Jabbah/OpenXR-Layer-OBSMirror when the setting is enabled.

This is using the latest nightly version of UEVR.

Steps to reproduce the behavior:

  1. Open obs studio with OpenXR plugin added to sceen.
  2. Start a game and inject UEVR
  3. Enable Virtual Desktop fix.
  4. See OpenXR screen capture flicker between game and blackscreen rapidly.

    • OS Windows 11
    • Graphics card Rtx 4080
    • CPU Amd 3600x
    • Headset Model Quest 2
    • OpenXR
    • Streamer if applicable Virtual Desktop
    • If using OpenXR, the runtime Oculus
praydog commented 8 months ago

Issue with the plugin then

Death666Machine commented 8 months ago

Not really sure how it could be related to plugin when it functions as it should with VD fix disabled, but thanks anyways I'll keep that option disabled when streaming with OBS 😉

praydog commented 8 months ago

It is the plugin's fault for not being able to record the topmost layer, yes. The dummy layer that the fix inserts is below the main projection layer that you see in the headset and should not be getting captured by anything.

Anyways you don't need the VD fix when using VDXR. Only if SteamVR is being used as the runtime. It turns on by itself when it detects it.

Death666Machine commented 8 months ago

Ahh that makes more sense, thanks for the explanation 👍 and that's good to know! Anyways thanks for checking 😊