Comment 0 for bug 1826219

Paul Natsuo Kishimoto (khaeru) wrote :

I recently upgraded from 18.10 to 19.04.

What I expected to happen: same performance as before.

What happens instead:
- I experience frequent locks of input lasting from 0.5–5 seconds, during which:
  - The mouse cannot be moved or clicked.
  - Any pressed key is repeated for the duration of the lock.

Various events seem to trigger the locks:
- Typing this bug report in Google Chrome (locks for 0.5 s every ~20–30 s).
- Changing tabs in Google Chrome (locks for 0.5 s).
- Changing tabs in the Atom editor (locks for 1–5 s).
(I will test without other applications running after filing this bug and comment with more events.)

Accompanying symptoms:
- CPU usage for gnome-shell is high:
  - Always around 20%
  - Appears to spike to 100% for longer locks (from eyeballing htop open in gnome-terminal)

- The following appear in 'journalctl -f':

Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
Apr 24 15:57:30 khaeru-laptop org.gnome.Shell.desktop[31679]: Window manager warning: last_user_time (169670562) is greater than comparison timestamp (169670067). This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW. Trying to work around...
Apr 24 15:57:30 khaeru-laptop org.gnome.Shell.desktop[31679]: Window manager warning: 0x1800001 appears to be one of the offending windows with a timestamp of 169670562. Working around...
Apr 24 15:57:30 khaeru-laptop org.gnome.Shell.desktop[31679]: Window manager warning: W1369 appears to be one of the offending windows with a timestamp of 1798201456. Working around...

- The following also appear:

Apr 24 15:59:59 khaeru-laptop org.gnome.Shell.desktop[31679]: libinput error: client bug: timer event20 debounce: offset negative (-313ms)
Apr 24 15:59:59 khaeru-laptop org.gnome.Shell.desktop[31679]: libinput error: client bug: timer event20 debounce short: offset negative (-326ms)

$ lsb_release -rd && apt-cache policy gnome-shell
Description: Ubuntu 19.04
Release: 19.04
gnome-shell:
  Installed: 3.32.0+git20190410-1ubuntu1
  Candidate: 3.32.0+git20190410-1ubuntu1
  Version table:
 *** 3.32.0+git20190410-1ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu disco/main amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: gnome-shell 3.32.0+git20190410-1ubuntu1
ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6
Uname: Linux 5.0.0-13-generic x86_64
ApportVersion: 2.20.10-0ubuntu27
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Apr 24 15:52:32 2019
DisplayManager: gdm3
EcryptfsInUse: Yes
InstallationDate: Installed on 2017-10-11 (559 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to disco on 2019-04-22 (2 days ago)