New issue
Advanced search Search tips

Issue 882659 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Oct 22
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug
Proj-VR
Proj-XR
Proj-XR-VR



Sign in to add a comment

navigator.xr.requestDevice() throws 'DOMException: No devices found.'

Reported by jesperth...@gmail.com, Sep 10

Issue description

Chrome Version       : 71.0.3548.1 (Official Build) canary-dcheck (32-bit) (cohort: ASAN) Revision	f837bd90a9016bc57124a9388c6961a8b528cfcf-refs/branch-heads/3548@{#2}
URLs (if applicable) : https://immersive-web.github.io/webxr-samples/xr-presentation.html

What steps will reproduce the problem?
-enable the following flags:
chrome://flags/#webxr
chrome://flags/#openvr
-visit https://immersive-web.github.io/webxr-samples/xr-presentation.html in Chrome canary.

What is the expected result?
SteamVR starts, the blue button shows 'ENTER VR' and no DOMException is thrown.

What happens instead?
SteamVR doesn't start, the blue button shows 'VR NOT FOUND' and a DOMException is thrown.


This seems to work fine in Chrome 69 (Stable) whereas in 71 it throws this exception.
I tried to disable/enable some flags but this didn't solve the issue. Perhaps this is because I'm using Chrome 32-bit? (Not sure if I am but chrome://version/ shows 32-bit)
 
Components: Blink>WebXR>VR
Labels: Needs-Triage-M71
Labels: Needs-Bisect
Owner: billorr@chromium.org
Status: Assigned (was: Unconfirmed)
Labels: -Needs-Bisect Triaged-ET TE-Hardware-Dependency
The issue may require a VR device to be tested with. With no VR device, observed same behavior i.e the blue button showed 'VR NOT FOUND' and a DOMException is thrown in console in latest chrome version #71.0.3548.0, latest stable #69.0.3497.92 and M-67.

As ET team doesn't have a VR to test the issue. Hence, adding TE-Hardware-Dependency label and removing Needs-Bisect label.

Thanks...!!
Ah yes sorry, I should have mentioned that I have a vive connected.

I just realised though, it is possible to reproduce this partially without a vive.
Even though the button will always say 'VR NOT FOUND' when I have my vive disconnected, SteamVR will still start up on page load. As long as SteamVR is installed at least.
So where in Chrome 69 it starts SteamVR on page load, it doesn't in Chrome 71.

So perhaps this can be fixed without hardware, though I'm not familiar with the Chromium codebase so I might be completely wrong.
Status: Fixed (was: Assigned)
Are you still able to reproduce this issue on the latest Chrome Canary or Dev- Chrome 71 or Chrome 72?

I haven't been able to reproduce the issue so far in testing.

There was a problem earlier with running OpenVR in the browser process conflicting with recent security changes to block third-party modules from running in the browser process.  The fix (running OpenVR in a utility process) landed on September 18, after this was filed.  I strongly suspect this was the issue, so resolving as "fixed", but please reactivate if you see issues still.
I'm no longer able to reproduce this either, so I suppose it's fixed. I can't say that with 100% certainty though since it was starting SteamVR successfully in the past a couple of times as well. But I think it's safe to say this has been fixed.

Sign in to add a comment