Closed Bug 1928447 Opened 17 days ago Closed 15 days ago

Canvas sometimes flickers with content from other canvases or previous renders

Categories

(Core :: Graphics: Canvas2D, defect, P2)

Firefox 132
defect

Tracking

()

RESOLVED DUPLICATE of bug 1924578

People

(Reporter: mail, Unassigned)

References

Details

Attachments

(1 file)

Attached video Screencast

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0

Steps to reproduce:

Actual results:

On hover, the canvas content will flicker between the current and a previous state, or the state of a completely unrelated canvas. See attached screencast.

Reloading the page does not resolve the issue, opening it in a completely new tab does though. This leads me to believe that this is not an issue with the JavaScript driving the canvas but something borked with the drawing state in the isolated process.

Expected results:

There should be no flickering.

Component: Untriaged → Graphics: Canvas2D
Product: Firefox → Core

I couldnt repro on my Win11 machine.

  1. Please go to "about:support" and copy-paste its contents here.
  2. If you go to "about:config" and set gfx.canvas.accelerated= False, and restart the browser, does it fix this issue for you?
  3. If this is used to work in a previous version of Firefox, would you be OK to do a bisection to find the exact Firefox change that caused this issue ? (Please use https://mozilla.github.io/mozregression/ to do the bisection)

Thanks!

Flags: needinfo?(mail)
Severity: -- → S2
Priority: -- → P2
See Also: → 1907828, 1924578

Thanks Brad, that seems to be the same issue.

Flags: needinfo?(mail)

I basically encounter the same issue with my Home Assistant Dashboards as you can see here: https://www.youtube.com/watch?v=JuTBmFvTFpQ

And my assumption is that this only happens with Nvidia drivers on Linux and gets even worse with Wayland instead of X11. Other browsers like Chromium seem to have near to no issues but sometimes even there canvases are suddenly empty, especially after waking up from suspend.

However that weird flickering and some canveses showing the content of others while hovering over with the mouse is a thing I only see on Firefox.

Status: UNCONFIRMED → RESOLVED
Closed: 15 days ago
Duplicate of bug: 1924578
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: