Closed Bug 1756929 Opened 2 years ago Closed 2 years ago

Rendering glitches on https://codepen.io/amit_sheen/pen/VwrMPgM (with mix-blend-mode: difference;)

Categories

(Core :: Graphics: WebRender, defect)

defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox-esr91 --- unaffected
firefox97 --- unaffected
firefox98 --- unaffected
firefox99 --- fixed
firefox100 --- verified

People

(Reporter: mayankleoboy1, Assigned: gw)

References

(Regression, )

Details

(Keywords: regression)

Attachments

(4 files, 1 obsolete file)

use the build from here : https://hg.mozilla.org/integration/autoland/rev/fc2b3d6448bcc3575fffb1abc923e7e703aeef54

Go to https://codepen.io/amit_sheen/pen/VwrMPgM

Zoom on the page using pinch-to-zoom OR using the usual zoom method OR drag the code slider to resize the demo area

AR: glitches on the ball in the middle. (The glitches look cool, but its still a glitch :) )

Attached file about:support
Has Regression Range: --- → yes
Has STR: --- → yes
Regressed by: 1749380

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

Attached file reduced_testcase.html

A similar effect can be seen on https://codepen.io/amit_sheen/pen/YzxbwOx .

Assignee: nobody → gwatson

When I try to load https://codepen.io/amit_sheen/pen/VwrMPgM I can't see any texture on the sphere, but only with latest m-c build (it works on a release build). I wonder if something else is broken in current m-c preventing me from seeing it.

I didn't see anything specifically wrong on https://codepen.io/amit_sheen/pen/YzxbwOx yet. I didn't repro on the reduced test case yet either, but maybe that relies specifically on pinch-zoom rather than page zoom?

Attached video bandicam 2022-02-25 07-26-55-652.mp4 (obsolete) —

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

When I try to load https://codepen.io/amit_sheen/pen/VwrMPgM I can't see any texture on the sphere, but only with latest m-c build (it works on a release build). I wonder if something else is broken in current m-c preventing me from seeing it.

Not sure... I can see the textures on the latest Nightly, (maybe bug 1757045 ?)

I didn't see anything specifically wrong on https://codepen.io/amit_sheen/pen/YzxbwOx yet. I didn't repro on the reduced test case yet either, but maybe that relies specifically on pinch-zoom rather than page zoom?

You are right, that the latest nightly doesnt repro this.

Attachment #9265441 - Attachment is obsolete: true

I still can't see that sphere texture, very odd - I'll see if it's fixed in the next merge to m-c, otherwise I'll dig a bit deeper.

In the mean time, there is a try build [1] with a regression fix that might be worth trying to see if it fixes the bug here (I don't think they're the same issue, but hard to say for sure at this stage).

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1757019#c12

See Also: → 1757201
Summary: Rendering glitches on https://codepen.io/amit_sheen/pen/VwrMPgM → Rendering glitches on https://codepen.io/amit_sheen/pen/VwrMPgM (with mix-blend-mode: difference;)

can also be seen on https://codepen.io/thebabydino/pen/eYEwodL .... either drag the code sliders horizontally, OR try to pinch-zoom OR zoom-out using "Ctrl"+"-"

The link in https://codepen.io/thebabydino/pen/eYEwodL doesn't seem to render correctly for me at all even on load - no need to zoom or anything. I just see a flat shaded quad which is clearly wrong, so looks like a good test case, thanks.

Attached file mb1.html

Reduced test case of the mix-blend mode glitch from comment 10.

Could you test if setting gfx.webrender.debug.force-picture-invalidation in about:config stops the issues for you locally (not a fix, just would narrow down where the bug is)?

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

Could you test if setting gfx.webrender.debug.force-picture-invalidation in about:config stops the issues for you locally (not a fix, just would narrow down where the bug is)?

I could still repro the bug on all the example codepens when I set gfx.webrender.debug.force-picture-invalidation = False (and restarted nightly)

I added a fix for a similar problem in https://bugzilla.mozilla.org/show_bug.cgi?id=1757201. Try build in https://treeherder.mozilla.org/jobs?repo=try&revision=422897f59ab4bb22f71da5d2c68426ebb86ab467 will have build artifacts if you want to test locally. Otherwise, that should land in nightly within a day or so and we'll see if it also resolves this bug.

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

I added a fix for a similar problem in https://bugzilla.mozilla.org/show_bug.cgi?id=1757201. Try build in https://treeherder.mozilla.org/jobs?repo=try&revision=422897f59ab4bb22f71da5d2c68426ebb86ab467 will have build artifacts if you want to test locally. Otherwise, that should land in nightly within a day or so and we'll see if it also resolves this bug.

This build fixes all the codepen demos i had posted, and the testcase from bug 1757201. Thanks!

This is fixed by bug 1757201

Status: NEW → RESOLVED
Closed: 2 years ago
Depends on: 1757201
Resolution: --- → FIXED
See Also: 1757201
Flags: qe-verify+

I can not reproduce the issue on Win10 using build 99.0a1(20220223190530), I tried all 3 of the links and zoom is correct.
Can you please check if the issue is still reproducing on latest Beta 99.0b4 (https://archive.mozilla.org/pub/firefox/candidates/99.0b4-candidates/build1/win64/en-US/), thank you.

Flags: needinfo?(mayankleoboy1)

this bug was filed for nightly, and was fixed in nightly. I dont use Beta, so cant test.

Flags: needinfo?(mayankleoboy1)

(In reply to Mayank Bansal from comment #19)

this bug was filed for nightly, and was fixed in nightly. I dont use Beta, so cant test.

I will mark issue as verified on 100, based on your comment. Thank you.

Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: