webxr icon indicating copy to clipboard operation
webxr copied to clipboard

WebXR bug in Chrome on Samsung Galaxy S22

Open fabian-muff opened this issue 2 years ago • 5 comments

Hello WebXR in Chrome has a problem on the new Samsung Galaxy S22. When entering an XR session the screen stays black. However, the access on the camera works, since the objects move according to the camera movements. Hit-Test is also working, but the camera stream is not visualized on the screen. When trying webxr on the system browser "samsung internet" everything works. Seems to be a bug in the API or in chrome.

fabian-muff avatar Apr 15 '22 14:04 fabian-muff

If you have dark mode turned on it can sometimes cause this.

AdaRoseCannon avatar Apr 15 '22 15:04 AdaRoseCannon

If you have dark mode turned on it can sometimes cause this.

I haven't enabled the dark mode. So this is unfortunately not the proble.

fabian-muff avatar Apr 15 '22 15:04 fabian-muff

@AdaRoseCannon Hello, since the last update of samsung internet v 17.0.4.3 the problem occurs also in this browser. Did you merge any chrome features into samsung internet? On chrome the bug is also still there on the galaxy s22. Screenshot_20220615-105308_Samsung Internet

fabian-muff avatar Jun 15 '22 08:06 fabian-muff

Since it happens in Chrome and Samsung Internet, i'm not sure it's something we can fix it seems to be a problem in ARCore, is it posible to upgrade that instead?

AdaRoseCannon avatar Jun 15 '22 09:06 AdaRoseCannon

@AdaRoseCannon That is strange. First it was only in chrome and not in Samsung Internet. ARCore is on the newest version. I tried to downgrade but it didn't help. Then I downgraded the Samsung Internet to 16.2.5.4 and it works again. I assume, that the same bug from the chrome browser has been merged into the Samsung Internet repository now. How is it on other devices. is this only a problem of the S22 with Samsung Internet on v. 17.0.4.3 or does that happen on al devices with that version?

fabian-muff avatar Jun 15 '22 14:06 fabian-muff

@AdaRoseCannon Is there any progress on the problem? Am I the only user who reported such a problem?

fabian-muff avatar Aug 22 '22 13:08 fabian-muff

This isn't the right venue to report bugs in individual browser implementations, this is the specification.

Manishearth avatar Aug 22 '22 15:08 Manishearth

@Manishearth well, this isn't browser specific anymore, since there doesn't exist a browser anymore where webxr (only AR sessions) works on a galaxy S22... Where should I report the bug then? I feare it has to do something with multi camera devices. I think the problem does not come from the browser but from webxr itself, since the problem was first only in chrome and has then be "updated" to the other compatible browsers as well. They always run behind with webxr in relation to chrome

fabian-muff avatar Aug 22 '22 15:08 fabian-muff

Sorry I don't work for Samsung any more emailing [email protected] is best but they will not reply.

AdaRoseCannon avatar Aug 22 '22 15:08 AdaRoseCannon

@fabian-muff unfortunately, still not the place for it; we coordinate the specification and don't have context or control over individual implementations, though implementors may also be participating here. I'm not sure where you would report this, seems like a Chrome bug but it's hard to tell.

Manishearth avatar Aug 22 '22 15:08 Manishearth

For Chromium bugs, please file an issue at https://crbug.com . To speed up triage, consider using "WebXR" in the summary.

@Manishearth , I think it would help to set up a new-issue template for this repository that explains its scope, and ideally also a link to a resources page that's editable via pull requests. For example an REPORTING-ISSUES.md file in this repository, or something on https://immersiveweb.dev/ . See https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository for more info.

klausw avatar Aug 22 '22 17:08 klausw

Yeah, that's a good idea!

Manishearth avatar Aug 22 '22 20:08 Manishearth

I tried to set a template earlier today and found I don't have access to the settings for the WebXR repo?

toji avatar Aug 22 '22 20:08 toji

IIRC issue templates are just files in the repo itself

Manishearth avatar Aug 22 '22 21:08 Manishearth

Hi, I am facing the same issue (black screen–no camera feed on AR mode/webXR websites) on my S22 Ultra Exynos. — I tried @fabian-muff ’s solution to downgrade Samsung Internet to 16.2.5.4, but even that wouldn’t work for me: AR services become unavailable after I was prompted to grant the app the authorization to map my surroundings.

— I also tried Chrome Canary >= 107.0.5303.2, as suggested by @klausw in the related issue here, but that didn’t work. Like with Samsung Internet 16, the AR button became inactive after granting the app the right to map the environment.

— Some people said they fixed the model-viewer example they based their code on by changing ar-modes="webxr scene-viewer quick-look" by ar-modes="scene-viewer quick-look webxr" wonder if that’s any help to identify the issue?

If anyone has any furhter insight or advice on how to run webXR apps on the s22… I just purchased this phone specifically for testing a webAR app in development, now trying to figure out whether I should write it off :'-(

djebel-amila avatar Sep 26 '22 21:09 djebel-amila