mbucchia / VirtualDesktop-OpenXR

An implementation of the OpenXR standard for Virtual Desktop
MIT License
209 stars 7 forks source link

Runtime reverts to "Oculus" when OpenXR Toolkit is enabled with VDXR #8

Closed Conmiro closed 8 months ago

Conmiro commented 8 months ago

Describe the bug

When enabling VR mode in MSFS while having OpenXR Toolkit enabled and the new VDXR runtime enabled in Virtual Desktop streamer desktop app, the performance overlay shows that Oculus is the active runtime (instead of VDXR as expected). I think it really is running on Oculus runtime because I can't use OpenXR features/hotkeys.

I narrowed the issue down by disabling/enabling things individually, and I consistently get Oculus displaying (and can't use OpenXR capabilities) unless I turn off OpenXR Toolkit. Alternatively, I can set the runtime back to SteamVR in the streamer application and I'm able to use the OpenXR toolkit.

I'm not sure if this impacts other supported VDXR games, or if it's unique to MSFS.

OpenXR.log

Environment

Quest Pro Headset

To Reproduce

Steps to reproduce the behavior:

  1. Select VDXR as the Runtime in the beta version of the streamer app.
  2. Enable OpenXR Toolkit
  3. Launch Virtual Desktop in Quest Pro
  4. Launch SteamVR
  5. Launch Microsoft Flight Simulator
  6. Switch to VR Mode
  7. Activate performance overlay
  8. Runtime shown as "Oculus" and cannot use OpenXR Toolkit hotkeys (Ctrl+F2) nor see toolkit overlay.

Expected behavior

I expected to see the runtime as VDXR. I can get the expected behavior by disabling OpenXR Toolkit. If I switch back to SteamVR runtime, I can use OpenXR toolkit fine.

mbucchia commented 8 months ago

Seeing "Oculus" in MSFS is a known issue. It still means VDXR is used (because MSFS doesn't have Oculus mode support). It's a simple cosmetic bug that is already fixed in the next version.

Conmiro commented 8 months ago

@mbucchia I thought it was a UI bug at first, but I can't utilize any of the OpenXR Toolkit capabilities. Specifically, I can't launch the overlay with the hotkeys which would allow me to mess with the settings.

mbucchia commented 8 months ago

Not seeing the menu is another issue that is already fixed for the next version. Meanwhile you can go to MSFS VR settings and set Reprojection Mode to None. The other options don't do anything with MSFS.

Conmiro commented 8 months ago

@mbucchia Ah okay, thanks.

"The other options don't do anything with MSFS." OpenXR Toolkit says foveated rendering is supported for Quest Pro and MSFS. I know historically this was only possible over Air Link. Does VDXR not enable this with Virtual Desktop and OpenXR Toolkit?

mbucchia commented 8 months ago

I meant "the other [Reprojection Mode] options [Depth, Motion] don't do anything". The OpenXR Toolkit options (such as foveated rendering) will work fine. For eye tracking on Pro, you must make sure to enable "Forward eye/face data to the PC" in Virtual desktop settings.

Conmiro commented 8 months ago

Awesome great. I do have the "forward eye/face data to the PC" option enabled. I look forward to the next version which fixes the toolkit overlay issue so I can take advantage of the eye tracking for FR.

Appreciate the prompt responses and insights!

mbucchia commented 8 months ago

Have you tried setting Reprojection Mode to None in MSFS? It should fix your issue.

Conmiro commented 8 months ago

I thought I had it off already, but apparently it was set to Depth! Yes, setting Reprojection Mode to Off caused the toolkit overlay to show up. Many thanks!!

Edit: Specifically, yes also got the foveated rendering option with eye tracking working. Pretty cool to see it in action!