SteamVR

SteamVR

thmsvdberg Jan 17, 2022 @ 8:04am
SteamVR OpenXR runtime is not added to registry list of available runtimes
Other OpenXR runtimes, such as from Oculus or WMR, list themselves in Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenXR\1\AvailableRuntimes. SteamVR OpenXR however, does not. It only sets itself in the registry if it's the active runtime. It would be really handy if it did, because then games can start with the SteamVR OpenXR runtime without requiring users to go to the developer settings.

(use case: I have to enforce SteamVR OpenXR usage in Vermillion, because the other runtimes all cause issues)
Last edited by thmsvdberg; Jan 17, 2022 @ 8:07am
< >
Showing 1-9 of 9 comments
thmsvdberg Jan 27, 2022 @ 2:02am 
An update to this: the repo (https://github.com/shiena/OpenXRRuntimeSelector/) I was using for finding and selecting the OpenXR runtime within Unity had a bug (case mismatch within steamapps/libraryfolders.vdf) which caused it not to find the SteamXR json - it actually gets it from there, rather than from the registry. Updating to the latest version of that repo fixed that bug, and subsequently allows me to neatly pick SteamVR OpenXR behind the scenes.
ㄥoㄥıʞɐꞱ Apr 20, 2022 @ 12:15am 
I am also working on a runtime switcher application. I am also quite confused what this damn "AvailableRuntimes" is for, the only thing listed there is oculus. While i've oculus, steamvr, and the default WMR installed. So i will also use the approach of the repo you posted. If somebody knows what this "AvailableRuntimes" is/was for, pls let me know, my guess is it was added by oculus? ^^
thmsvdberg Apr 20, 2022 @ 12:19am 
WMR also puts itself in there, and I believe Vive does too.
ㄥoㄥıʞɐꞱ Apr 20, 2022 @ 12:23am 
Originally posted by thmsvdberg:
WMR also puts itself in there, and I believe Vive does too.

Whats the "MixedRealityRuntime.json" in System32 then? It's not listed in AvailableRuntimes tho.

And what do people using a MR headset install to create a new one for WMR listed there?
Last edited by ㄥoㄥıʞɐꞱ; Apr 20, 2022 @ 12:23am
ㄥoㄥıʞɐꞱ Apr 20, 2022 @ 12:25am 
Because the tool you list, checks for the one in System32 when you switch to WMR, maybe this tool at some point puts the ones it found into this AvailableRuntimes Registry?

See: https://github.com/shiena/OpenXRRuntimeSelector/blob/main/Runtime/Internal/WindowsMRRuntimeJson.cs

PS: I love Vermillion :)

Edit: See i've WMR, SteamVR and Oculus installed, but AvailableRuntimes only shows Oculus for me

https://imgur.com/PUyTvqd
https://imgur.com/caRSf9L
Last edited by ㄥoㄥıʞɐꞱ; Apr 20, 2022 @ 12:34am
thmsvdberg Apr 20, 2022 @ 12:46am 
Huh, maybe I remembered it wrong! It's indeed only Oculus in that registry. And thanks! 🙌🏻
Rectus Jul 15, 2022 @ 4:33am 
This seems to finally have been added to the new 1.23.6 beta.
thmsvdberg Jul 15, 2022 @ 5:06am 
Oh, interesting! Ought to be more robust than getting the .json path from the steam ini file as done in the above repo.
ㄥoㄥıʞɐꞱ Jul 15, 2022 @ 5:33am 
Originally posted by thmsvdberg:
Oh, interesting! Ought to be more robust than getting the .json path from the steam ini file as done in the above repo.
Yeh i was quite mad when i saw they have some standards nobody uses at all :catpuzzle:

So instead of just looking up that registry, we had to look up the registry for programs which have a runtime to get the installation path of the program and then individually retrieve the json path from there. Was a pain
Last edited by ㄥoㄥıʞɐꞱ; Jul 15, 2022 @ 5:36am
< >
Showing 1-9 of 9 comments
Per page: 1530 50