Closed Bug 1693998 Opened 3 years ago Closed 3 years ago

images distorted

Categories

(Core :: Graphics: WebRender, defect)

Firefox 87
x86_64
Windows 10
defect

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox86 --- unaffected
firefox87 --- fixed
firefox88 --- fixed

People

(Reporter: kluka, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

Attached image images.png

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0

Steps to reproduce:

  1. Open https://arstechnica.com/
  2. scroll down

Actual results:

Images further down the page (not visible when page loaded without scrolling) are distorted. That will sometimes fix without any intervention withing few seconds. Sometimes it will not fix. Mozregression points to https://bugzilla.mozilla.org/show_bug.cgi?id=1691859

Component: Untriaged → Graphics: WebRender
OS: Unspecified → Windows 10
Product: Firefox → Core
Hardware: Unspecified → x86_64
Has Regression Range: --- → yes

Can you please attach your "about:support" information? Also, if mozregression output any logs, can you attach those as well?

Flags: needinfo?(kluka)

Glenn, is there possibly a bug in the KHR support that that patch effectively enables for this case? It is uses background-blend-mode multiply, but that patch didn't do anything particularly special in terms of feature usage other than dual-source blending.

Flags: needinfo?(gwatson)
Status: UNCONFIRMED → NEW
Has STR: --- → yes
Ever confirmed: true
Regressed by: 1691859

This occurs even in SWGL when KHR_blend_equation_advanced extension actually gets used instead of dual-source blending. That is useful to know, as it rules out dual-source blending or this being any sort of hardware bug. This is likely a bug in how we utilize the KHR extension (or similar) itself.

Attached file about_support.txt
Flags: needinfo?(kluka)
Attached file mozregression_log.txt

Looks like we've determined above it's related to the advanced blend code path, which was not previously enabled, that has a bug. Will need some investigation - perhaps for now we should disable that code path until someone has time to investigate further?

Although - I thought we deliberately only enabled this path for SWGL, and the about:support appears to show regular HW-WR in use?

Flags: needinfo?(gwatson)

(In reply to Glenn Watson [:gw] from comment #6)

Looks like we've determined above it's related to the advanced blend code path, which was not previously enabled, that has a bug. Will need some investigation - perhaps for now we should disable that code path until someone has time to investigate further?

Although - I thought we deliberately only enabled this path for SWGL, and the about:support appears to show regular HW-WR in use?

The same code path is now used for the dual-source multiply support.

I did some investigation of this after discussing with Lee.

I was unable to repro locally at all, but then I realized I had my local mix-blend optimizations patch enabled (https://phabricator.services.mozilla.com/D104491). Although I thought this patch would be unrelated to the bug, it turns out it inadvertently also fixes a bug in the existing mix-blend implementation (I can repro it locally without that patch).

So, let's:

  • Get the patch linked above landed as soon as the current soft-freeze is lifted.
  • Let it bake in nightly for a few days to make sure it doesn't cause any other issues from the rest of the patch
  • Uplift that patch to beta.

Set release status flags based on info from the regressing bug 1691859

Severity: -- → S2

AIUI this is now fixed in nightly? Where do we stand wrt beta?

Flags: needinfo?(gwatson)

It's not currently fixed in beta, but I think it's been in nightly long enough now that I am going to request uplift of the two patches (https://phabricator.services.mozilla.com/D104491 and https://phabricator.services.mozilla.com/D106572)

Flags: needinfo?(gwatson)
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch

Was this fixed in Firefox 87 by bug 1695807?

Flags: needinfo?(gwatson)

(In reply to Mathew Hodson from comment #13)

Was this fixed in Firefox 87 by bug 1695807?

Bug 1695807 should have fixed this, yes.

Flags: needinfo?(gwatson)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: