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

WebXR Samples VR Not Found - Vive Pro 2, SteamVR Beta, Chrome 97 / Edge 97 #142

Open
ozten opened this issue Jan 20, 2022 · 11 comments
Open

Comments

@ozten
Copy link

ozten commented Jan 20, 2022

Thank you for all your hard work!

Windows 10 Home (20H2 19042.1466)
SteamVR beta 1.21.6
VIVE Console 2.0.19.1
HMD: Vive Pro 2
Chrome: 97.0.4692.99
Edge: 97.0.4692.99

When I go to https://immersive-web.github.io/webxr-samples/ I see
chrome_vr_not_supported
Clicking the first sample I see
chrome_vr_not_found

I am able to launch games via SteamVR.

A month ago I was working on an a-frame project and I can no longer launch VR experiences.

I'd love to dig in and help troubleshoot, but I don't know where to start. I looked around in SteamVR web console, but nothing jumped out.

Thanks for your help

@ozten
Copy link
Author

ozten commented Jan 20, 2022

SteamVR settings: Current OpenXR Runtime: SteamVR
Google chrome://flags Force WebXr Runtime=OpenXR WebXR Incubations=Enabled
I also tried Incubations=Disabled

@ozten
Copy link
Author

ozten commented Jan 20, 2022

Windows registery:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenXR\1\AvailableRuntimes = C:\Program Files\Oculus\Support\oculus-runtime\oculus_openxr_64.json

Perhaps this is the issue. I have used this machine with a Quest 1 in the past.

@ozten
Copy link
Author

ozten commented Jan 20, 2022

I updated this to C:\Program Files (x86)\Steam\steamapps\common\SteamVR\steamxr_win64.json and rebooted.
This didn't fix the issue.

Also, I don't see any XR_RUNTIME_JSON env variables set.

I uninstalled the Windows Oculus Desktop app and rebooted. No luck.

@ozten
Copy link
Author

ozten commented Jan 20, 2022

I updated the registry to C:\Program Files (x86)\VIVE\Updater\App\ViveVRRuntime\ViveVR_openxr\ViveOpenXR.json. No good.

@ozten
Copy link
Author

ozten commented Jan 20, 2022

In a Discord, zach-capalbo helpfully pointed out that I was playing with the wrong registry value. I have not edited ActiveRuntime and here is the current value:
steamvr_regedit_activeruntime

@nicolaspe
Copy link

Did you manage to solve this? I am having the exact same issues with the same settings (but I have Windows 10 21H2).

I have the correct settings in the registry key and tried every permutation of the experiment xr flags, but Chrome and Edge do not detect the VR headset. But weirdly enough, on Firefox (96.0.3) the polyfill manages to make it work.

@ozten
Copy link
Author

ozten commented Jan 29, 2022

@nicolaspe Chrome and IE are not supported currently. So we are in a holding pattern. I would continue to use Firefox, which will probably also break at some point? And then new code will land at some point in Chromium to enable this for Chrome and IE. Not the first time I've been stranded as web standards evolve ;) I guess this is our badge of honor for being early adopters ;)

@nicolaspe
Copy link

After some fiddling, I found a setting in Firefox's about:config page dom.vr.webxr.enabled which was set to false. I changed it to true and everything works in Firefox now!

@nicolaspe
Copy link

And yeah, this has happened to me so many times since the early WebVR days 😅 Just patience and hope it gets more and more stable

@hgabor47
Copy link

hgabor47 commented Sep 30, 2022

The WebXR working but VR not found (immersive-vr unavailable) in my Firefox and Chrome. I have Pimax headset (VIVE compliant) and SteamVR. I have two entries in the registry ( by order C:\Program Files (x86)\Steam\steamapps\common\SteamVR\steamxr_win64.json and C:\Program Files\Oculus\Support\oculus-runtime\oculus_openxr_64.json )
I tested in the https://immersive-web.github.io/webxr-samples/report/ page.
The ActiveRuntime in my registry: C:\Program Files (x86)\Steam\steamapps\common\SteamVR\steamxr_win64.json
Please help me.... :)

@learning-github-zgy
Copy link

After some fiddling, I found a setting in Firefox's about:config page dom.vr.webxr.enabled which was set to false. I changed it to true and everything works in Firefox now!

hello, can l ask you a question? Which VR device do you use? oculus?or htc vive?

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

4 participants