Screen tearing in Firefox on Wayland
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
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
Comment 1•6 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 2•6 years ago
|
||
I think you mean slow scrolling here instead of video playback tearing, right?
| Reporter | ||
Comment 3•6 years ago
|
||
(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
Comment 4•5 years ago
|
||
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
Comment 6•5 years ago
|
||
(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.
Updated•5 years ago
|
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
Description
•