Open Bug 1882319 Opened 2 years ago Updated 2 years ago

GDK_DPI_SCALE=0.5/i3 X11/Nvidia: After suspend&resume, the Google Sheets canvas is sometimes replaced with blurred&upscaled content of a different tab

Categories

(Core :: Graphics: WebRender, defect)

Firefox 123
Unspecified
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: yurivkhan, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(2 files)

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

Steps to reproduce:

Environment: I have a laptop with internal Intel and discrete Nvidia GPUs, running Ubuntu 22.04, X.org session. I carry it to office and back home, connect to an external HiDPI monitor at either site. (The Displayport is wired to Nvidia.) At the end of day and before going out, I suspend the laptop, and in the morning and after arriving I resume it.

I keep Firefox running pretty much all the time, with many tabs and windows open. Some of the tabs happen to be Google Sheets.

Actual results:

When I resume and switch to a Google Sheets tab, I sometimes find that its spreadsheet area displays a blurred afterimage of a different tab, as if it were rendered at low DPI then upscaled to the actual display DPI. Reloading the page restores normal rendering, until I switch to another sheet. Restarting the browser temporarily fixes the issue at least until the next suspend, sometimes for longer.

Unfortunately, can’t attach screenshots as both the affected sheets and the buggy rendering artifacts often contain job-related information that I’m supposed to keep private.

In 122, the issue was more severe — refreshing the page did not help and I had to restart the browser after each resume.

The issue does not seem to manifest every time in a predictable manner so bisecting does not help :(

Expected results:

Each Sheets tab displays the sheet’s cells as intended.

The Bugbug bot thinks this bug should belong to the 'Core::Graphics: Canvas2D' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

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

Updated observation:

  • Focusing a different cell forces the row and column labels to redraw.
  • Scrolling the page causes newly revealed rows or columns to draw correctly. A column that leaves the view and then enters back is shown correctly. Those that do not leave the view, though, continue to behave as a kind of hole in the browser — through it, I can see a blurred snapshot of whatever window was last active on the same output.
  • Editing any cell forces a redraw of the whole sheet.

This (1) makes it possible for me to capture a safe screenshot, and (2) provides a workaround that is somewhat possible to live with.

This looks similar to 1743051.

Could you provide your about:support?

Blocks: wr-nv-linux
Severity: -- → S3
Component: Graphics: Canvas2D → Graphics: WebRender
Flags: needinfo?(yurivkhan)
OS: Unspecified → Linux
See Also: → 1743051
Attached file about:support

Attached.

Flags: needinfo?(yurivkhan) → needinfo?(ttanasoaia)
Flags: needinfo?(ttanasoaia)

canonical deb, dual GPU, Nvidia RTX 3060, driver 535, i3 X11, GDK_DPI_SCALE=0.5, 17 windows

"Display0": "2880x1620@60Hz scales:1.000000|2.000000",
"Display1": "5120x2880@60Hz scales:1.000000|2.000000"

Summary: Intermittent canvas rendering issues → GDK_DPI_SCALE=0.5/i3 X11/Nvidia: After suspend&resume, the Google Sheets canvas is sometimes replaced with blurred&upscaled content of a different tab
Blocks: wr-blurry
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: