Closed Bug 1608500 Opened 4 years ago Closed 4 years ago

SharedSurfaceType::Basic not supported for WebVR on Android

Categories

(Core :: WebVR, defect, P1)

All
Android
defect

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox-esr68 --- unaffected
firefox72 --- unaffected
firefox73 --- unaffected
firefox74 --- fixed

People

(Reporter: mortimergoro, Assigned: mortimergoro)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

After updating to the latest Gecko WebVR stopped working in Firefox Reality and we see this error in the console.

SharedSurfaceType::Basic not supported for WebVR

I think it's related to Bug 1477756 (it worked well on the Gecko build from two days ago)

Jeff: Do you think it's related? If so, is there any possible fix?

Flags: needinfo?(jgilbert)

Probably. Are there tests for this?

Flags: needinfo?(jgilbert)
Regressed by: webgl-ipc-refactor
Has Regression Range: --- → yes
Flags: needinfo?(kgilbert)
Priority: -- → P1

We don't have tests partially because we aren't able to run WebGL in the android emulator.

We run WebGL tests on android-hw bots. Is that an option?

I can do some tests with Android Firefox Reality on Monday. I saw the Bug 1477756 land today and am reviewing the changes to see what impact this would have on WebVR while rebasing my Bug 1419190 (WebXR) patch.

Assignee: nobody → kgilbert
Flags: needinfo?(kgilbert)

(In reply to Jeff Gilbert [:jgilbert] from comment #3)

We run WebGL tests on android-hw bots. Is that an option?

What is missing to automate this is a kind of GeckoView-WebVR test runner container. I have some ideas on how such a thing might be made, and would like to build it after WebXR lands if it proves useful.

We are not using WebRender yet in FxR. We have this preference set: gfx.webrender.force-disabled false

(In reply to Imanol Fernandez from comment #8)

We are not using WebRender yet in FxR. We have this preference set: gfx.webrender.force-disabled false

It's actually set to true. That was probably a typo.

yes, it's actually set to true in Firefox Reality (Webrender disabled), it was a typo when I copied the pref name.

I confirmed it's a regression from Bug 1477756

It works well on the commit before Bug 1477756 and fails after applying the patches

This issue is blocking FxR from moving to newer versions of GeckoView, in fact we are pinned to a single version of GV right now. If it can not be fixed immediately the breaking patch should probably be backed out.

Assignee: kgilbert → imanol

The VR ScreenBuffer is created with the default SurfaceFactory_Basic. We need to morph the screen to use the correct SurfaceTexture factory.

Pushed by igorostizaga@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9bbd18740388
Set SurfaceTexture factory into the VR GLScreenBuffer. r=jgilbert
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: