Forum Discussion
Ma5terGamer205
4 years agoHonored Guest
OpenXR Runtime
Hello,
When trying to play any games on-air link which have worked perfectly in the past now won't work. It brings me to a black screen because my OpenXR needs to be set to active, in which case it's not. I tried clicking set oculus as active and it does nothing. I Tried looking at some things online and couldn't do too much about it. I have an image of what it says for reference. Any suggestions help. Thank You.
14 Replies
- Loady420Honored Guest
I ran into this problem just 3 days ago. I did a cold boot removed my steam app from running then was able to set the Oculus as active tic. It greyed out ever so slightly its been working since then. Good lucky I have windows 11
- Ma5terGamer205Honored Guest
how did you cold boot the Oculus app? Did you uninstall the steamVR app?
- Loady420Honored Guest
I meant I pulled power from the PC and rebooted both. Then I removed all steam applications from running in background. I then restarted the oculus app and hard wired my headset. It asked me again to change the settings and I was able to click it.
- GerfesoExplorer
So the answer is that it won't let us set it if we have steam installed?
That is ridiculous if true.- lensmandaveSuperstar
No, it means if Steam has become the active OpenXR app you just need to regain control via the Oculus app. It's very simple to reboot your PC without Steam running and restart the Oculus app to be able to set it.
Even that isn't always needed. Right now I'm swapping back and forth between WMR OpenXR, SteamVR OpenXR and Oculus OpenXR.
WMR's Mixed Reality Portal (which the OP was running apparently) needs to be closed and reopened to detect it's lost control, since I can't find an option for it in the settings (need to restart it so the warning with a button appears). Oculus and SteamVR just need to move to another tab in settings then back and it will refresh.
Anyway, back to the op's problem, OpenXR isn't needed for Airlink. Right now I've got OpenXR set to my WMR Reverb G2 headset, but Airlink with my Quest 2 is working fine.
OpenXR is only needed for OpenXR games, which are pretty rare at the moment.
Perhaps it's an admin thing. What these OpenXR settings do is just change a registry key at HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenXR\1 to point to a json file for WMR, SteamVR or Oculus. That may be failing if you aren't using an admin account.
- Jantastisch123Honored Guest
So do you need openXR installed on your device to run these openXR games, because i have watched many videos on how to fix it and nobody said, that you need to have openXR installed
OpenXR doesn't really have a separate install. Meta, Valve and Microsoft have each made a version that now comes with their headset drivers. When an OpenXR game starts, it checks the windows registry to see which OpenXR provider is the one to use.
For example, the actual OpenXR implementation is located at:
Oculus: C:\Program Files\Oculus\Support\oculus-runtime\LibOVRRT64_1.dll
SteamVR: C:\Program Files (x86)\Steam\steamapps\common\SteamVR\bin\vrclient_x64.dll
WMR: C:\Program Files\WindowsApps\Microsoft.WindowsMixedReality.Runtime_112.2211.2002.0_x64__8wekyb3d8bbwe\x64\WinXrRuntime.dll
As long as you have up to date drivers for your headset, it should be good to go.
- SylasProtege
Ok, then simply goto X:\Oculus\Support\oculus-runtime and verify that the file oculus_openxr_64.json is there, then go up to the address bar and copy the path in your clipboard, becuse you are going to paste it in the registry. Open regedit, open \HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenXR\1 on the right you will see activeruntime double click it and then paste the path of your oculus directory. mine looks like this D:\Oculus\Support\oculus-runtime\oculus_openxr_64.json
- dylandilaHonored Guest
I tried doing this and OpenXR isn't in my registry editor. I went to the Khronos folder in the registry editor in HKEY_LOCAL_MACHINE\SOFTWARE\Khronos and there is no OpenXR folder. Only OpenCL and Vulkan.
- SylasProtege
Make your registry look like mine...use the pic and simply create the same folder structure(s). Of course this is only regarding the khronos, openxr, and 1 directories. In the "1" directory is where you would create a new string, and in that string you would paste the location of your oculus, support, .....openxr_64.json file.
- SylasProtege
I made a mistake.. Dont create a new string, create a new "expandable string value" ...name it "ActiveRuntime" and in the value data, paste or type in the location of your openxr_64.json
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 4 years ago
- 3 years ago
- 3 months ago