Closed Bug 1572866 Opened 6 years ago Closed 5 years ago

Screen tearing in Firefox on Wayland

Categories

(Core :: Widget: Gtk, defect, P3)

68 Branch
x86_64
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1587060

People

(Reporter: pozharovartyom, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) snap Chromium/76.0.3809.87 Chrome/76.0.3809.87 Safari/537.36

Steps to reproduce:

Details here: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1838965

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

I think you mean slow scrolling here instead of video playback tearing, right?

Flags: needinfo?(pozharovartyom)
Priority: -- → P3

(In reply to Martin Stránský [:stransky] from comment #2)

I think you mean slow scrolling here instead of video playback tearing, right?

I mean tearing during thr scrolling here instead of video playback tearing

Flags: needinfo?(pozharovartyom)

Are you enabling the native Wayland backend via the environment variable MOZ_ENABLE_WAYLAND=1 (or GDK_BACKEND=wayland)?

If not, this is probably an Xwayland issue, possibly fixed in the upstream xserver 1.20.7 release (or in the upcoming 1.20.8 release).

I am seeing this as well in OpenSUSE Tumbleweed having GDK_BACKEND=wayland on a Lenovo Thinkpad X1 Yoga 3rd gen:

00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers [8086:5914] (rev 08)
00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 620 [8086:5917] (rev 07)

Software:

  • kwin 5.19.2
  • Mozilla Firefox 78.0.1

(In reply to mail from comment #5)
If you open about:support, what does "Compositing" say?
It is normal that the Basic compositor (software rendering) shows tearing. Please open about:config, set gfx.webrender.all to true and restart Firefox to enable OpenGL rendering. WebRender is in the process of becoming enabled by default on Linux.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Resolution: --- → DUPLICATE

Looks much better now, thanks!!
Compositing was set to Basic indeed. Turning the OpenGL rendering solved the issues for me.

One issue I noticed even with GDK_BACKEND=wayland and gfx.webrender.all=true set is that the "Master Password" entry modal dialog is not rendered properly. It is rendered blank.
Reported as a separate bug in https://bugzilla.mozilla.org/show_bug.cgi?id=1652310

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