Closed Bug 1634814 Opened 5 years ago Closed 3 years ago

Firefox Reality can not use WebRender due to missing functionality in the OpenGL compositor

Categories

(Core :: Graphics: WebRender, defect)

ARM64
Android
defect

Tracking

()

RESOLVED INCOMPLETE
Tracking Status
firefox75 --- ?
firefox76 --- ?
firefox77 --- ?
firefox78 --- ?

People

(Reporter: rbarker, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxr:p1])

Attachments

(2 files)

The pref gfx.webrender.force-disable no longer seems to work on Android and is forced on. This breaks Firefox Reality which can not use WebRender due to missing functionality found in the OpenGL compositor.

Whiteboard: [fxr:p1]

Works in GeckoView Nightly 77.0.20200429095105
Broken in GeckoView Nightly 77.0.20200430082621

Attached image Decision Log Broken.
Attached image Decision Log Working.

Actually, this isn't a WebRender issue, None of our prefs are getting set, the WebRender pref was just the most obvious. I will update.

Component: Graphics: WebRender → General
Product: Core → GeckoView
Summary: Unable to disable WebRender on Android → Unable to use user.js to override prefs

FxR uses the user.js file to override prefs. This no longer works starting in GV 77.0.20200430082621.

Looks like we now need to use user_pref instead of pref.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID

WebRender has been disabled in Firefox Reality: https://github.com/MozillaReality/FirefoxReality/issues/1859
I haven't found a bug about finding out what's going on or about reenabling it.

Blocks: wr-android
Status: RESOLVED → REOPENED
Component: General → Graphics: WebRender
OS: Unspecified → Android
Product: GeckoView → Core
Hardware: Unspecified → ARM64
Resolution: INVALID → ---
Summary: Unable to use user.js to override prefs → Firefox Reality can not use WebRender due to missing functionality in the OpenGL compositor

GeckoView allows the embedding application to define an offset when the Surface is registered (top and width). See:

https://searchfox.org/mozilla-central/rev/3262e013550a0db7c1840a78a3878a929801fe40/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoDisplay.java#50

Those values are used in the OpenGL compositor here:

https://searchfox.org/mozilla-central/rev/3262e013550a0db7c1840a78a3878a929801fe40/gfx/layers/opengl/CompositorOGL.cpp#1027

The logic is if there is an offset, the compositor uses a transparent color to clear. Then when the compositor renders, it sets the view port to start at the offset so that when it finishes, there is a transparent border around the content.

Status: REOPENED → NEW
Severity: -- → S3
Status: NEW → RESOLVED
Closed: 5 years ago3 years ago
Resolution: --- → INCOMPLETE

Firefox reality is no longer supported

Wolvic is still based on GeckoView (and, by the way, uses a much more recent version of GeckoView than the last version of Firefox Reality) so issues with WebRender on Firefox Reality / Wolvic still matter. So please don't close all Firefox Reality related issues just because of this announcement. Feel free to close issues if you confirmed that the issues no longer exist.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: