webxr-samples icon indicating copy to clipboard operation
webxr-samples copied to clipboard

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

Open ozten opened this issue 3 years ago • 11 comments

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 avatar Jan 20 '22 02:01 ozten

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

ozten avatar Jan 20 '22 03:01 ozten

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 avatar Jan 20 '22 04:01 ozten

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 avatar Jan 20 '22 04:01 ozten

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

ozten avatar Jan 20 '22 05:01 ozten

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

ozten avatar Jan 20 '22 17:01 ozten

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.

nicolaspe avatar Jan 29 '22 02:01 nicolaspe

@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 ;)

ozten avatar Jan 29 '22 03:01 ozten

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 avatar Jan 29 '22 04:01 nicolaspe

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

nicolaspe avatar Jan 29 '22 04:01 nicolaspe

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.... :)

hgabor47 avatar Sep 30 '22 17:09 hgabor47

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?

learning-github-zgy avatar Jun 03 '23 08:06 learning-github-zgy