Closed Bug 1751236 Opened 4 years ago Closed 4 years ago

Using ANGLE on Android causes corruption

Categories

(Core :: Graphics: WebRender, defect)

Unspecified
Android
defect

Tracking

()

RESOLVED DUPLICATE of bug 1758678

People

(Reporter: jrmuizel, Unassigned)

References

(Blocks 1 open bug)

Details

From Geoff Lang:

App name: Firefox Browser: fast, private & safe web browser/ Package name: org.mozilla.firefox/ App version: 95.1.0

Repro steps:

  1. Execute the app

  2. Input text to search

  3. Observe

Problem: App screen displays solid black color instead of valid content (sometimes displays white color)

We should be able to mock this to reproduce by adjusting is_angle here: https://github.com/servo/webrender/blob/20d2dd6b6135f65879182c0b99344507da37b23a/webrender/src/device/gl.rs#L1655

Flags: needinfo?(jnicol)

I'm a bit confused here Jeff. Is this talking about running with the system graphics driver set to Angle? Can we get an about:support?

The is_angle variable only affects the upload PBO stride alignment. I forced it to true but it doesn't seem to make any difference on my Pixel 2.

Flags: needinfo?(jnicol) → needinfo?(jmuizelaar)

My understanding was this was ANGLE on top of Vulkan on Android. When forcing the rendering string to not contain ANGLE the corruption went away.

Flags: needinfo?(jmuizelaar)
Blocks: wr-android
OS: Unspecified → Android
Severity: -- → S3

It would be useful to know what device this was on and if they're planning to ship with a renderer string containing ANGLE. ie will this come back to bite us in the future?

It's presumably an angle bug or the device's vulkan driver bug. But we wouldn't want to ship with it anyway.

I believe bug 1758678 is a case of this in the wild. Thankfully It seems like Samsung has overridden the renderer string for Firefox, so only 3rd party geckoview apps are affected.

I think I know how to fix it but I have ordered a device so I can test it first. I'll close this bug and keep 1758678 open since it has a bit more information.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.