Open Bug 1674147 Opened 1 year ago Updated 7 months ago

Google Sheets contents is black when using WebRender software fallback (GPU crash side effect)

Categories

(Core :: Graphics: WebRender, defect, P3)

Desktop
All
defect

Tracking

()

Tracking Status
firefox84 --- disabled
firefox85 --- affected
firefox86 --- affected
firefox87 --- affected
firefox88 --- affected

People

(Reporter: mgaudet, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

+++ This bug was initially created as a clone of Bug #1673852 +++

On Google Sheets (for example) after the initial load, the sheet area goes black when running with gfx.webrender.software

Perhaps of note however, if i use Firefox's screenshot tool, the generated screenshot -does- have map tiles in it.

No longer depends on: 1673852

This is build 84.0a1 (2020-10-28)

Thanks for the report, please post your about:support text.

Edit - Ah, nm, I see it's in bug 1673852.

Flags: needinfo?(mgaudet)
Flags: needinfo?(mgaudet)
I have seen this Google Sheets over the last couple months, too. I have sw-wr enabled now, but I don't remember if sw-wr was enabled when I saw the problem earlier.

I have many Google Sheets and Docs open and I've only seen Sheets affected, not Docs. jimm suggested this might be related to Sheet's use of canvas?

> On Google Sheets (for example) after the initial load, the sheet area goes black when running with gfx.webrender.software

I _think_ I've seen this problem when switching to a sheet that was in a background tab for a while, not just the initial load. Once a sheet goes black, switching back and forth to other tabs does not cause the black sheet to redraw. I can also open sheets (even the same one) in other tabs at the same time and they are not black. Clicking in a black sheet will sometimes cause the individual focused cells to redraw, but not the entire sheet.

Here's my about:support for my Windows 10 laptop.

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

For more information, please visit auto_nag documentation.

Flags: needinfo?(jmathies)

Matt, Chris, is this fixed now?

Severity: -- → S3
Flags: needinfo?(matt.woodrow)
Flags: needinfo?(jmathies)
Flags: needinfo?(cpeterson)
Priority: -- → P3

(In reply to Lee Salzman [:lsalzman] from comment #5)

Matt, Chris, is this fixed now?

No. I re-enabled SW-WR today (in 84 Nightly build 2020-11-16, 32-bit Windows) and I saw the problem after a couple hours.

Flags: needinfo?(cpeterson)
Flags: needinfo?(matt.woodrow)
OS: macOS → All
See Also: → 1645841

I've been seeing this problem recently in 85 Nightly even without SW-WR enabled.

I don't know if it's related, but yesterday I had 3 crashes (bug 1645841 with signature [@ core::option::expect_failed | webrender_api::resources::ApiResources::update_blob_image]) all with the URL for a Google Sheet that turns black daily.

Flags: needinfo?(jmuizelaar)

It might be related to GPU process crash. With the following STR, I saw similar symptom with WebRender

  • [1] Start Firefox with Webrender/WebRender (Software D3D11)/ WebRender (Software) with nightly
  • [2] Open example
  • [3] Open about:support in a new tab. Then click "Terminate GPU process" button
  • [4] Move back to the example tab.

At [4], the sheet was rendered as black. In this case, scrolling/re-rendering seems to address the problem.

Since Bug 1620041 fix, canvas 2d was re-created when it became invalid. canvas was black until content did canvas redraw. But it was for non-remoted canvas 2d.
Pref gfx.canvas.remote=true is true now. Then canvas2d recovery sequence could be different.

See Also: → 1620041
Summary: Google Sheets contents is black when using webrender software fallback → Google Sheets contents is black when using WebRender software fallback

(In reply to Sotaro Ikeda [:sotaro] from comment #8)

It might be related to GPU process crash. With the following STR, I saw similar symptom with WebRender

  • [1] Start Firefox with Webrender/WebRender (Software D3D11)/ WebRender (Software) with nightly
  • [2] Open example
  • [3] Open about:support in a new tab. Then click "Terminate GPU process" button
  • [4] Move back to the example tab.

At [4], the sheet was rendered as black. In this case, scrolling/re-rendering seems to address the problem.

I can reproduce using these steps in Nightly 88.

Summary: Google Sheets contents is black when using WebRender software fallback → Google Sheets contents is black when using WebRender software fallback (GPU crash side effect)

Is this noticeably worse than in Chrome? When I kill the GPU process there google sheets goes gray until it needs to redraw.

Flags: needinfo?(jmuizelaar)
No longer blocks: sw-wr-dogfood

(In reply to Jeff Muizelaar [:jrmuizel] from comment #10)

Is this noticeably worse than in Chrome? When I kill the GPU process there google sheets goes gray until it needs to redraw.

Firefox definitely has a worse user experience. When I kill Chrome's GPU process, Chrome will redraw the Google Sheet when I switch to the tab. When I kill Firefox's GPU process, the Google Sheet toolbars are redrawn when I switch to the tab, but all the cells stay black until I click Google Sheets' "Show/Hide the menus" button (forcing all the cells to be redrawn) or reload the page. Even editing a black cell's contents won't cause the cell to redraw.

You need to log in before you can comment on or make changes to this bug.