Windows flicker when being resized with the mouse (Xorg sessions)

Bug #1896627 reported by Sam Lane
42
This bug affects 6 people
Affects Status Importance Assigned to Milestone
GNOME Shell
Unknown
Unknown
mutter (Ubuntu)
Medium
Unassigned
xorg-server (Ubuntu)
Medium
Unassigned

Bug Description

When resizing a window with the mouse by dragging the edge or corner, the window begins to flicker. It only flickers when actively being resized, and when I stop dragging, it looks normal. This behavior is does not occur on same pc in 20.04.

ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: xorg 1:7.7+19ubuntu14
ProcVersionSignature: Ubuntu 5.8.0-18.19-generic 5.8.4
Uname: Linux 5.8.0-18-generic x86_64
ApportVersion: 2.20.11-0ubuntu45
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: skip
CompositorRunning: None
CurrentDesktop: Budgie:GNOME
CurrentDmesg: Error: command ['dmesg'] failed with exit code 1: dmesg: read kernel buffer failed: Operation not permitted
Date: Tue Sep 22 10:21:51 2020
DistUpgraded: Fresh install
DistroCodename: groovy
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, if not too technical
GraphicsCard:
 Intel Corporation Skylake GT2 [HD Graphics 520] [8086:1916] (rev 07) (prog-if 00 [VGA controller])
   Subsystem: Lenovo Skylake GT2 [HD Graphics 520] [17aa:2231]
InstallationDate: Installed on 2020-09-22 (0 days ago)
InstallationMedia: Ubuntu-Budgie 20.10 "Groovy Gorilla" - Alpha amd64 (20200921)
MachineType: LENOVO 20FJS0AJ00
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.8.0-18-generic root=UUID=72bd1806-98fb-4fa6-be5b-638dec36ebc9 ro quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/07/2016
dmi.bios.release: 1.13
dmi.bios.vendor: LENOVO
dmi.bios.version: N1KET26W (1.13 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20FJS0AJ00
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.5
dmi.modalias: dmi:bvnLENOVO:bvrN1KET26W(1.13):bd10/07/2016:br1.13:efr1.5:svnLENOVO:pn20FJS0AJ00:pvrThinkPadT560:rvnLENOVO:rn20FJS0AJ00:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrNone:
dmi.product.family: ThinkPad T560
dmi.product.name: 20FJS0AJ00
dmi.product.sku: LENOVO_MT_20FJ_BU_Think_FM_ThinkPad T560
dmi.product.version: ThinkPad T560
dmi.sys.vendor: LENOVO
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.102-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 20.1.7-1
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.20.8-2ubuntu6
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-1ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20200714-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.16-1

Revision history for this message
Sam Lane (samlane00) wrote :
affects: xorg (Ubuntu) → mutter (Ubuntu)
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 mutter (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
summary: - Windows flicker when being reized with the mouse
+ Windows flicker when being resized with the mouse (Xorg sessions in
+ groovy)
Changed in gnome-shell (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
no longer affects: mutter
Revision history for this message
fossfreedom (fossfreedom) wrote : Re: [Bug 1896627] Re: Windows flicker when being resized with the mouse (Xorg sessions in groovy)
Download full text (4.0 KiB)

Daniel,

  I note that the mutter reported was using mutter 3.36.6 - this is
currently in focal proposed as well.

I'll do a quick test later - do you think this is a potential blocker
issue for the mutter migration to release?

On Mon, 5 Oct 2020 at 11:00, Daniel van Vugt <email address hidden> wrote:
>
> ** Bug watch added: gitlab.gnome.org/GNOME/mutter/-/issues #1445
> https://gitlab.gnome.org/GNOME/mutter/-/issues/1445
>
> ** Also affects: mutter via
> https://gitlab.gnome.org/GNOME/mutter/-/issues/1445
> Importance: Unknown
> Status: Unknown
>
> ** No longer affects: mutter
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1896654).
> https://bugs.launchpad.net/bugs/1896627
>
> Title:
> Windows flicker when being resized with the mouse (Xorg sessions in
> groovy)
>
> Status in GNOME Shell:
> Unknown
> Status in gnome-shell package in Ubuntu:
> Triaged
> Status in mutter package in Ubuntu:
> Triaged
>
> Bug description:
> When resizing a window with the mouse by dragging the edge or corner,
> the window begins to flicker. It only flickers when actively being
> resized, and when I stop dragging, it looks normal. This behavior is
> does not occur on same pc in 20.04.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 20.10
> Package: xorg 1:7.7+19ubuntu14
> ProcVersionSignature: Ubuntu 5.8.0-18.19-generic 5.8.4
> Uname: Linux 5.8.0-18-generic x86_64
> ApportVersion: 2.20.11-0ubuntu45
> Architecture: amd64
> BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
> CasperMD5CheckResult: skip
> CompositorRunning: None
> CurrentDesktop: Budgie:GNOME
> CurrentDmesg: Error: command ['dmesg'] failed with exit code 1: dmesg: read kernel buffer failed: Operation not permitted
> Date: Tue Sep 22 10:21:51 2020
> DistUpgraded: Fresh install
> DistroCodename: groovy
> DistroVariant: ubuntu
> ExtraDebuggingInterest: Yes, if not too technical
> GraphicsCard:
> Intel Corporation Skylake GT2 [HD Graphics 520] [8086:1916] (rev 07) (prog-if 00 [VGA controller])
> Subsystem: Lenovo Skylake GT2 [HD Graphics 520] [17aa:2231]
> InstallationDate: Installed on 2020-09-22 (0 days ago)
> InstallationMedia: Ubuntu-Budgie 20.10 "Groovy Gorilla" - Alpha amd64 (20200921)
> MachineType: LENOVO 20FJS0AJ00
> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.8.0-18-generic root=UUID=72bd1806-98fb-4fa6-be5b-638dec36ebc9 ro quiet splash vt.handoff=7
> SourcePackage: xorg
> Symptom: display
> UpgradeStatus: No upgrade log present (probably fresh install)
> dmi.bios.date: 10/07/2016
> dmi.bios.release: 1.13
> dmi.bios.vendor: LENOVO
> dmi.bios.version: N1KET26W (1.13 )
> dmi.board.asset.tag: Not Available
> dmi.board.name: 20FJS0AJ00
> dmi.board.vendor: LENOVO
> dmi.board.version: SDK0J40697 WIN
> dmi.chassis.asset.tag: No Asset Information
> dmi.chassis.type: 10
> dmi.chassis.vendor: LENOVO
> dmi.chassis.version: None
> dmi.ec.firmware.release: 1.5
> dmi.modalias: dmi:bvnLENOVO:bvrN1KET26W(1.13):bd10/07/2016:br1.13:efr1.5:svnLENOVO:pn20FJS0AJ00:pvrThinkPadT560:rvnLENOVO:rn20FJS0AJ00:rvrSDK0J40697WIN:cv...

Read more...

Revision history for this message
fossfreedom (fossfreedom) wrote :
Download full text (4.5 KiB)

Ok. On my low end celeron based intel graphics laptop the existing 20.04.1
version of mutter on the iso has this blinking problem.

So the uplift to v3.36.6 version of mutter in proposed does not regress
further than it already is.

On Mon, 5 Oct 2020, 14:39 David Mohammed, <email address hidden> wrote:

> Daniel,
>
> I note that the mutter reported was using mutter 3.36.6 - this is
> currently in focal proposed as well.
>
> I'll do a quick test later - do you think this is a potential blocker
> issue for the mutter migration to release?
>
> On Mon, 5 Oct 2020 at 11:00, Daniel van Vugt <email address hidden>
> wrote:
> >
> > ** Bug watch added: gitlab.gnome.org/GNOME/mutter/-/issues #1445
> > https://gitlab.gnome.org/GNOME/mutter/-/issues/1445
> >
> > ** Also affects: mutter via
> > https://gitlab.gnome.org/GNOME/mutter/-/issues/1445
> > Importance: Unknown
> > Status: Unknown
> >
> > ** No longer affects: mutter
> >
> > --
> > You received this bug notification because you are subscribed to a
> > duplicate bug report (1896654).
> > https://bugs.launchpad.net/bugs/1896627
> >
> > Title:
> > Windows flicker when being resized with the mouse (Xorg sessions in
> > groovy)
> >
> > Status in GNOME Shell:
> > Unknown
> > Status in gnome-shell package in Ubuntu:
> > Triaged
> > Status in mutter package in Ubuntu:
> > Triaged
> >
> > Bug description:
> > When resizing a window with the mouse by dragging the edge or corner,
> > the window begins to flicker. It only flickers when actively being
> > resized, and when I stop dragging, it looks normal. This behavior is
> > does not occur on same pc in 20.04.
> >
> > ProblemType: Bug
> > DistroRelease: Ubuntu 20.10
> > Package: xorg 1:7.7+19ubuntu14
> > ProcVersionSignature: Ubuntu 5.8.0-18.19-generic 5.8.4
> > Uname: Linux 5.8.0-18-generic x86_64
> > ApportVersion: 2.20.11-0ubuntu45
> > Architecture: amd64
> > BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
> > CasperMD5CheckResult: skip
> > CompositorRunning: None
> > CurrentDesktop: Budgie:GNOME
> > CurrentDmesg: Error: command ['dmesg'] failed with exit code 1: dmesg:
> read kernel buffer failed: Operation not permitted
> > Date: Tue Sep 22 10:21:51 2020
> > DistUpgraded: Fresh install
> > DistroCodename: groovy
> > DistroVariant: ubuntu
> > ExtraDebuggingInterest: Yes, if not too technical
> > GraphicsCard:
> > Intel Corporation Skylake GT2 [HD Graphics 520] [8086:1916] (rev 07)
> (prog-if 00 [VGA controller])
> > Subsystem: Lenovo Skylake GT2 [HD Graphics 520] [17aa:2231]
> > InstallationDate: Installed on 2020-09-22 (0 days ago)
> > InstallationMedia: Ubuntu-Budgie 20.10 "Groovy Gorilla" - Alpha amd64
> (20200921)
> > MachineType: LENOVO 20FJS0AJ00
> > ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.8.0-18-generic
> root=UUID=72bd1806-98fb-4fa6-be5b-638dec36ebc9 ro quiet splash vt.handoff=7
> > SourcePackage: xorg
> > Symptom: display
> > UpgradeStatus: No upgrade log present (probably fresh install)
> > dmi.bios.date: 10/07/2016
> > dmi.bios.release: 1.13
> > dmi.bios.vendor: LENOVO
> > dmi.bios.version: N1KET26W (1.13 )
...

Read more...

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: Windows flicker when being resized with the mouse (Xorg sessions in groovy)

Well, the system is still usable and upstream hasn't even noticed the bug yet. So no I don't think this is a blocker.

Revision history for this message
fossfreedom (fossfreedom) wrote :

For 20.04 and 20.10 using the TearFree option has provided a workaround solution for me.

Separately Sam (the issue reporter) has confirmed the same solution for his intel graphics

https://askubuntu.com/questions/1066722/intel-screen-tearing-ubuntu-18-04

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

Great, but keep in mind that's just a workaround. Using the 'intel' driver is usually not recommended because it's getting old and buggy in other ways. It is however your only option if you need 'TearFree' enabled. See also https://bugs.launchpad.net/ubuntu/+bugs?field.tag=tearing

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

I should also note that Wayland sessions don't have this bug, and don't have tearing either.

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1896627

tags: added: iso-testing
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Maybe related to bug 1872802.

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

Upstream has closed the bug because it stopped happening with:

  mutter 3.38.2 + Xorg 1.20.10

We are about to get the first one in Ubuntu so we'll find out if it's enough.

affects: gnome-shell (Ubuntu) → xorg-server (Ubuntu)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Still happening in focal, groovy and hirsute. :(

Although none of them have Xorg 1.20.10 yet, so fingers crossed.

summary: - Windows flicker when being resized with the mouse (Xorg sessions in
- groovy)
+ Windows flicker when being resized with the mouse (Xorg sessions)
tags: added: focal hirsute
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It's not clear to me which change in 1.20.10 that upstream think solved this. The release notes are here: https://lists.x.org/archives/xorg-announce/2020-December/003067.html

Maybe this fix? https://gitlab.freedesktop.org/xorg/xserver/-/commit/c3e4c1a0fd5d4d6015e9e6317b758018317e56d1

Revision history for this message
Sam Lane (samlane00) wrote :

After updating Ubuntu Budgie 20.10 today (5.8.0-44-generic #50-Ubuntu) I notice this doesn't happen for me anymore. It is possible that it just hasn't happened yet, but prior to today, I could reliably reproduce this every time by resizing a window for a few seconds until flickering started. I can't make this happen anymore, so fingers crossed...

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

Thanks for the update. If the bug can't be confirmed by anyone again in the next 60 days then it will close automatically...

Changed in mutter (Ubuntu):
status: Triaged → Incomplete
Changed in xorg-server (Ubuntu):
status: Triaged → Incomplete
no longer affects: mutter
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Nevermind. I do still experience this in Chrome on 20.04 at least.

Changed in mutter (Ubuntu):
status: Incomplete → Confirmed
Changed in xorg-server (Ubuntu):
status: Incomplete → Confirmed
tags: removed: groovy
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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