Fullscreen windows are tearing in Xorg sessions

Bug #1754284 reported by Daniel van Vugt
180
This bug affects 90 people
Affects Status Importance Assigned to Milestone
Mutter
New
Unknown
OEM Priority Project
New
Undecided
Unassigned
X.Org X server
New
Unknown
nvidia-graphics-drivers-440 (Ubuntu)
Confirmed
Undecided
Unassigned
xorg-server (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Fullscreen windows (like Totem) are tearing in gnome-shell Xorg sessions.

This is probably to do with composite unredirecting... In compiz we have a workaround to avoid this tearing by disallowing unredirect ("bypass") in known problematic video players. But I'm not sure if mutter has such a workaround/whitelist/blacklist we can use.

tags: added: bionic visual-quality
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mutter (Ubuntu):
status: New → Confirmed
Changed in totem (Ubuntu):
status: New → Confirmed
Revision history for this message
Jani Uusitalo (uusijani) wrote :

In addition to Totem, Firefox also exhibits this with fullscreen HTML5 video. Here's a good test: https://www.youtube.com/watch?v=5xkNy9gfKOg

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Yes, this going to be a general problem with fullscreen windows in Xorg sessions.

summary: - Totem is tearing when fullscreen in Xorg sessions
+ Fullscreen windows (like Totem) are tearing in Xorg sessions
no longer affects: totem (Ubuntu)
summary: - Fullscreen windows (like Totem) are tearing in Xorg sessions
+ Fullscreen windows (like Totem) are tearing in gnome-shell Xorg sessions
description: updated
Changed in mutter (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
affects: mutter (Ubuntu) → xorg-server (Ubuntu)
tags: added: tearing
Changed in xorg-server:
status: Unknown → New
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I've moved some old tearing bugs in here since I now understand it's just a bug in the Xorg modesetting driver, which is the one that most machines use:

https://gitlab.freedesktop.org/xorg/xserver/issues/244

summary: - Fullscreen windows (like Totem) are tearing in gnome-shell Xorg sessions
+ Fullscreen windows (like Totem) are tearing in Xorg sessions
summary: - Fullscreen windows (like Totem) are tearing in Xorg sessions
+ Fullscreen windows are tearing in Xorg sessions
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-graphics-drivers-440 (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Apparently it's also a bug in the Nvidia driver still.

This issue needs to be fixed separately in each Xorg driver.

tags: added: focal
Revision history for this message
Ksawery Wieczorkowski-Rettinger (ksawery) wrote :

Same issue, visible in VLC, mpv Media Player and Google Chrome when in fullscreen mode. I'm using 150% fractional scaling, Ubuntu 19.10.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

That's actually two bugs; this one and bug 1846398. If the tearing is an issue for you then try logging into "Ubuntu on Wayland" instead.

Revision history for this message
Giovanni (aka Vanni) Totaro (vanni-totaro) wrote :

Workaround:

Alt+F2
lg [enter]
Meta.disable_unredirect_for_display(global.display) [enter]

Revision history for this message
Giovanni (aka Vanni) Totaro (vanni-totaro) wrote :
tags: added: civet-cat oem-priority originate-from-1893733
tags: added: originate-from-1894089 somerville
Changed in mutter (Ubuntu):
status: New → Invalid
Changed in mutter:
status: Unknown → New
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
no longer affects: mutter (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.