Canvas sometimes flickers with content from other canvases or previous renders
Categories
(Core :: Graphics: Canvas2D, defect, P2)
Tracking
()
People
(Reporter: mail, Unassigned)
References
Details
Attachments
(1 file)
1.14 MB,
video/mp4
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0
Steps to reproduce:
- Open a web page with a canvas, e.g. a chart: https://crates.io/crates/jsonapi_deserialize
- Keep the tab open until the canvas gets updated
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.
Updated•17 days ago
|
Comment 1•17 days ago
|
||
I couldnt repro on my Win11 machine.
- Please go to "about:support" and copy-paste its contents here.
- If you go to "about:config" and set gfx.canvas.accelerated= False, and restart the browser, does it fix this issue for you?
- 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!
Updated•17 days ago
|
Reporter | ||
Comment 2•17 days ago
|
||
Thanks Brad, that seems to be the same issue.
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.
Updated•15 days ago
|
Description
•