Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenVR failed to initialize (WMR) #45

Open
KRDucky opened this issue Sep 14, 2022 · 5 comments
Open

OpenVR failed to initialize (WMR) #45

KRDucky opened this issue Sep 14, 2022 · 5 comments

Comments

@KRDucky
Copy link

KRDucky commented Sep 14, 2022

Currently using Windows Mixed Reality and SteamVR. The API is OpenXR via WMR in the Steam VR settings menu. The VR application is Prepar3D. I can open the DesktopPlusUI program just fine but not DesktopPlus.exe. I am not using Steam.exe but instead the Standalone SteamVR install for offline installs on secured locations.

@elvissteinjr
Copy link
Owner

Desktop+ doesn't depend on Steam, though I've never tested it without Steam being installed (as opposed to Steam not running).
DesktopPlusUI.exe doesn't load OpenVR unless it detects DesktopPlus.exe running, in which case it'll also not open on the desktop unless forced via command-line argument (-DesktopMode).

Can you check the SteamVR logs? In a normal setup they're stored in the Steam log directory ("Steam\logs"), not sure where they'd typically end up on your system. Running "SteamVR\bin\win64\vrpathreg.exe" in a command line window would tell you the registered SteamVR paths if you don't know them yet.
"vrclient_DesktopPlus.txt" would be the most interesting log file, but maybe there's also something useful in "vrserver.txt".

The error code returned by VR_Init() not being displayed to the user here is a bit unfortunate in this case (managed to not be an issue so far though).
Do any other overlay apps work in your environment?

@KRDucky
Copy link
Author

KRDucky commented Sep 19, 2022

https://pastebin.com/Z9zxFWW9

Logs

@KRDucky
Copy link
Author

KRDucky commented Sep 19, 2022

we have a custom made addon for Prepar3D that works when it wants to. I am trying to find a better/more reliable alternative to the finicky addon. Our students use it for specifically mirroring their iPads with Mirroring360 to display their ForeFlight materials in the cockpit while in VR flight training.

@elvissteinjr
Copy link
Owner

Wed Sep 14 2022 13:58:47.642 - Failed to find interface 'IVROverlay_026'

If possible, please update your local copy of SteamVR. Running the latest version (stable or beta) is assumed by Valve, so I do the same. It wasn't explicitly mentioned because of this, but the last update of Desktop+ upgraded the OpenVR API library to use newer functionality (requiring the new interface).
If you can't, consider using an older release. Right now, anything except 2.7 uses an older OpenVR API library (mostly v1.12.5 from June 2020) and should work on older SteamVR versions.

I'll look into catching that error and displaying more meaningful messages to the user though. Thanks.

@KRDucky
Copy link
Author

KRDucky commented Sep 20, 2022

That seems to have done the trick. I now how to figure out how to show the overlay and get it to populate inside Prepar3D.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants