Public bug reported:

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).
- Typing in gedit with no other applications running (locks for ~0.5s).

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':

Apr 24 15:57:30 khaeru-laptop org.gnome.Shell.desktop[31679]: 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)

** Affects: gnome-shell (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug disco

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/1826219

Title:
  Input locks frequently/high CPU usage after 18.10->19.04 upgrade

Status in gnome-shell package in Ubuntu:
  New

Bug description:
  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).
  - Typing in gedit with no other applications running (locks for ~0.5s).

  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':

  Apr 24 15:57:30 khaeru-laptop org.gnome.Shell.desktop[31679]: 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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1826219/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to