[NVIDIA] Canvas - google sheets rendering blanks [gfx.canvas.accelerated = false fixes it]
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
People
(Reporter: andydeardentsa, Unassigned)
References
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:126.0) Gecko/20100101 Firefox/126.0
Steps to reproduce:
I created a google sheet and edited it a bit (black text, no changes to cell fill or highlight settings etc.). I then left it and came back a couple of days later.
Firefox on Ubuntu 18.04
Actual results:
The data was there (shows in the edit bar as I scroll around) but was not visible in the spreadsheet.
Expected results:
data should be visible
Reporter | ||
Comment 1•5 months ago
|
||
There is data in cell A1, but it is not visible. As you can see there is an entry in A3, but it is invisible.
Comment 2•5 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Reporter | ||
Comment 3•5 months ago
|
||
Note - what's really strange is that the data comes up visible as the sheet is initially loading, but then it disappears (blue on blue or something).
Comment 4•3 months ago
|
||
I've experienced this and it does not happen when hardware acceleration is disabled.
Comment 5•3 months ago
|
||
(In reply to Nathan Babb from comment #4)
I've experienced this and it does not happen when hardware acceleration is disabled.
Please attach your about:support page.
Andy, can you test with HW acceleration disabled?
https://support.mozilla.org/en-US/kb/upgrade-graphics-drivers-use-hardware-acceleration#w_i-still-have-problems-with-my-graphics-card-in-firefox
Thanks.
Reporter | ||
Comment 6•3 months ago
|
||
Hi Martin / Nathan
Thank you so much for taking this on.
I am not able to reproduce the bug in my current version: Firefox 129.0.1
I don't have hardware acceleration enabled ( and I've never switched that before, so presumably it was not enabled when I had the problem in 126.0
Thanks
Andy
Comment 7•3 months ago
|
||
I've attached my about:support info. Let me know if there's any other data I can provide.
Comment 8•3 months ago
|
||
Previous JSON was truncated. Trying again.
Comment 9•3 months ago
|
||
I think this is related to canvas caching. If I set gfx.canvas.accelerated.cache-items=0 the problem stops happening even with hardware acceleration on. Seems like possibly the wrong data is being retrieved from cache causing the cells to render incorrect values.
I was able to cause glitches by creating a new spreadsheet and 10 columns in 40 rows with the letter 'A'. Then just clicking around to different cells. After enough clicks, the blue row and column indicators at the edges will start to show in the wrong place occasionally. Adjusting the cache items and cache size affects how many clicks it takes to make this happen.
Updated•3 months ago
|
Comment 10•2 months ago
|
||
The severity field is not set for this bug.
:lsalzman, could you have a look please?
For more information, please visit BugBot documentation.
Comment 11•2 months ago
|
||
(In reply to Nathan Babb from comment #9)
I think this is related to canvas caching. If I set gfx.canvas.accelerated.cache-items=0 the problem stops happening even with hardware acceleration on. Seems like possibly the wrong data is being retrieved from cache causing the cells to render incorrect values.
I was able to cause glitches by creating a new spreadsheet and 10 columns in 40 rows with the letter 'A'. Then just clicking around to different cells. After enough clicks, the blue row and column indicators at the edges will start to show in the wrong place occasionally. Adjusting the cache items and cache size affects how many clicks it takes to make this happen.
This certainly lines up with my experience, where if I'm working in a sheet that has a lot of data over multiple tabs, it'll start flashing visuals from the wrong tab on the screen while things like the cell selection box will continue to appear in the right place. This affects Microsoft Excel online too. It does make working in these web apps pretty much impossible if you're in there for more than a minute or two. I can confirm your about:config tweak works around the problem too.
Comment 12•1 month ago
|
||
I'm on FF 131.0 (64 bit) - Fedora 40
Had the same issue described here and tried the following:
set gfx.canvas.accelerated.cache-items=0
--> issue still occurred, less frequently
then, set gfx.webrender.software
to false
--> issue was resolved, BUT then video playback at high resolution or full screen became too slow (low fps)
I have since reverted gfx.webrender.software
to true
and I'm testing with setting gfx.canvas.accelerated
to false
. I'll post back in a few weeks with updates.
system:
OS: Fedora Linux 40 (Workstation Edition) x86_64
Kernel: Linux 6.10.11-200.fc40.x86_64
DE: GNOME 46.5
WM: Mutter (Wayland)
CPU: 11th Gen Intel(R) Core(TM) i7-1165G7 (8) @ 4.70 GHz
GPU 1: NVIDIA GeForce RTX 2060 Mobile [Discrete]
GPU 2: Intel Iris Xe Graphics @ 1.30 GHz [Integrated]
Memory: 62.46 GiB
Comment 13•1 month ago
|
||
(In reply to Henry from comment #12)
I'm on FF 131.0 (64 bit) - Fedora 40
Had the same issue described here and tried the following:
set
gfx.canvas.accelerated.cache-items=0
--> issue still occurred, less frequentlythen, set
gfx.webrender.software
tofalse
--> issue was resolved, BUT then video playback at high resolution or full screen became too slow (low fps)I have since reverted
gfx.webrender.software
totrue
and I'm testing with settinggfx.canvas.accelerated
tofalse
. I'll post back in a few weeks with updates.system:
OS: Fedora Linux 40 (Workstation Edition) x86_64
Kernel: Linux 6.10.11-200.fc40.x86_64
DE: GNOME 46.5
WM: Mutter (Wayland)
CPU: 11th Gen Intel(R) Core(TM) i7-1165G7 (8) @ 4.70 GHz
GPU 1: NVIDIA GeForce RTX 2060 Mobile [Discrete]
GPU 2: Intel Iris Xe Graphics @ 1.30 GHz [Integrated]
Memory: 62.46 GiB
Correction:
then, set gfx.webrender.software
to false true
(i.e. disabled HW Acc) --> issue was resolved, BUT then video [...]
I have since reverted gfx.webrender.software
to true false
and [...]
Comment 14•1 month ago
|
||
Does 'gfx.canvas.accelerated' work for you?
Comment 15•1 month ago
|
||
Setting gfx.canvas.accelerated = false
prevents this from happening for me too.
Updated•1 month ago
|
Comment 18•1 month ago
|
||
As a layman in programming, I'm just curious.
Is this is a Nvidia driver bug, so up to them to eventually fix or is this a bug with Firefox?
Comment 19•27 days ago
|
||
(In reply to Daniel Persson from comment #18)
As a layman in programming, I'm just curious.
Is this is a Nvidia driver bug, so up to them to eventually fix or is this a bug with Firefox?
It's unclear so far.
Comment 20•27 days ago
|
||
It seems important to figure out though, especially since we are seeing duplicates of this issue.
Comment 21•27 days ago
|
||
After 2 weeks of continuous use o Google Sheets and Docs, I can confirm that setting gfx.canvas.accelerated = false
solves the issue.
(In reply to Martin Stránský [:stransky] (ni? me) from comment #14)
Does 'gfx.canvas.accelerated' work for you?
Updated•15 days ago
|
Description
•