Closed Bug 1656774 Opened 4 years ago Closed 4 years ago

Canvas2D renders entirely black in some cases

Categories

(Core :: Graphics, defect, P3)

Desktop
Windows
defect

Tracking

()

RESOLVED DUPLICATE of bug 1654477
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- disabled
firefox78 --- disabled
firefox79 --- disabled
firefox80 --- disabled
firefox81 --- disabled
firefox82 --- disabled
firefox83 --- fixed
firefox84 --- fixed

People

(Reporter: pomax, Assigned: bobowen)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

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

Steps to reproduce:

Running Firefox Nightly 81.0a1 (2020-08-02) x64 on Windows 10 Pro x64 with an Nvidia GTX 970, I am seeing Canvas2D graphic refreshing that leaves the canvas entirely black. During event looping (e.g. redraws due to mousemove) this leads to a visible graphic turn into horrible black flickering, and ending in a black graphic once the events stop.

An example URL for which this happens is https://pomax.github.io/bezierinfo/#yforx, with the "Finding t, given x=x(t). Left: our curve, right: the x=x(t) function" figure consistently showing this rendering bug.

Attached image 01-initial-load.jpg
Attached image 02-mousemove-result.jpg

I can reproduce the issue(black(sometimes white) flickering) on Nightly81.0a1 windows10 when with/without WebRender.

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=df4d3efbfa453cf1e0da54a44df349e130731f74&tochange=a22ce6ad4e273a47c9f4481e2462efa35b17d8eb

Status: UNCONFIRMED → NEW
Has Regression Range: --- → yes
Has STR: --- → yes
Ever confirmed: true
Keywords: regression
OS: Unspecified → Windows
Regressed by: 1547286
Hardware: Unspecified → Desktop
Version: Firefox 81 → Trunk

Thanks for reporting this.

It looks like this might be similar to bug 1654477.
I have a potential fix for that, although there might be complications.
I'll test with that fix when I get a chance.

Assignee: nobody → bobowencode
Blocks: 1548487
Status: NEW → ASSIGNED
See Also: → 1654477

Cheers!

This does appear to be fixed, by my potential fix for bug 1654477.
I'm not going to duplicate this over just yet, because the STR for that bug still shows some issues.

The severity field is not set for this bug.
:ktaeleman, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(ktaeleman)
Severity: -- → S2
Flags: needinfo?(ktaeleman)
Priority: -- → P3

This blocks the rollout bug for remote Canvas.

I'm pretty confident this was a duplicate of bug 1654477.
When I came to retest I could not reproduce even without that fix, so I can't be totally sure.
If anyone can still reproduce please re-open.

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

Attachment

General

Creator:
Created:
Updated:
Size: