LibreVR / Revive

Play Oculus-exclusive games on the HTC Vive or Valve Index, scroll down for downloads and installation instructions.
Other
3.6k stars 332 forks source link

OpenXR Mode not grabbing WMR Headset. #1323

Closed Killrmemz closed 4 years ago

Killrmemz commented 5 years ago

Describe the bug Launched Oculus application or game opens a render window on desktop, but headset does not enter OpenXR session and app does not seem to receive tracking.

To Reproduce Steps to reproduce the behavior:

  1. Open ReVive
  2. Check "Enable OpenXR support" in tray icon
  3. Launch app from overlay.
  4. See render window, but headset will remain in WMR Home.

Expected behavior ReVive opens an OpenXR session on my Windows MR Headset.

Environment:

Versions:

Additional context I probably have barely any idea what I'm doing, if that helps at all. Also, default issue report template ftw. Regular SteamVR mode works fine, I just want to go through OpenXR so that I can properly click with the joystick.

Killrmemz commented 5 years ago

Issue Persists with ReVive 1.8.1. I have uninstalled and reinstalled both the OpenXR Runtime and Developer portal, and ensured that both work properly independantly of ReviveXR. I hope for a fix to OpenXR mode soon; I would love to test this version of revive's functionality. image

CrossVR commented 4 years ago

Try this version: https://github.com/LibreVR/Revive/releases/tag/1.8.2

cegli commented 4 years ago

I had this exact same problem on 1.8.1 and there is no change on 1.8.2. It's not better or worse. My setup is identical, except I'm using a newer OpenXR runtime and a Lenovo Explorer:

Environment:

App: Any OS: 1903 OpenXR Runtime Version: 100.1910.1004 Revive 1.8.1 and 1.8.2

This is with a Nvidia 1070 GTX on the latest video driver.

Killrmemz commented 4 years ago

Came back to this and saw it finally got some attention, and after testing on Revive 1.9.1.5, as well as 1.8.2 as per comment, with all other variables consistent with my original post, this issue thread should not be marked closed. I still do not get any indicators that any game I launch through ReVive is recieving input of any sort from the headset or controllers, nor does the headset display fade from the Mixed Reality Home to the ReVive instance. I will note, that it launches the app with OpenXR mode off perfectly fine, whether the Oculus store/Runtime service is open or not, but with OpenXR mode on, it will open the app and have no input with the Oculus store or the Oculus Runtime service open; It will refuse to open, reporting "Cannot run this application without an Oculus Rift." Hopefully this helps narrow the issue in some way.

qlyoung commented 4 years ago

XR support is not fully baked yet, so I'm not surprised you're hitting issues. If you're super interested to try it, you might try directly running the injector with ReviveInjector.exe /xr <path\to\app>. Unfortunately while core development continues on XR support this issue isn't going to get much attention. Appreciate the comprehensive report, I'll keep it in mind as we work on XR :)

AaronClover commented 4 years ago

I had the same issue and was able to get it working on WMR by downgrading Revive to 1.2.1. I was able to upgrade back to 1.9.1 with no issues.

Also try launching in this order:

  1. WMR Portal
  2. Steam (not VR)
  3. Revive (should launch steam VR)
  4. Launch game from vr overlay (inject from taskbar if it's a non steam exe)
Killrmemz commented 4 years ago

I had the same issue and was able to get it working on WMR by downgrading Revive to 1.2.1. I was able to upgrade back to 1.9.1 with no issues.

Also try launching in this order:

1. WMR Portal

2. Steam (not VR)

3. Revive (should launch steam VR)

4. Launch game from vr overlay (inject from taskbar if it's a non steam exe)

That's regular Revive, which works as it should. The topic of discussion is ReviveXR, which is completely separate from SteamVR and can run Oculus Games directly into the Windows MR headset via the OpenXR standard. But thanks.