gnome-shell[200033]: Window manager warning: last_user_time (394951544) is greater than comparison timestamp (394951533). This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW. Trying to work around... maj 16 10:33:15 graf gnome-shell[200033]: Window manager warning: 0xa0000e appears to be one of the offending windows with a timestamp of 394951544. Working around...

Bug #1973583 reported by Bartosz Woronicz
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
guake (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

After resume from suspend. Gnome shell is lagging and takes 100% of one of the cpus

I see the following in the logs
aj 16 10:33:12 graf sudo[745687]: pam_unix(sudo:session): session closed for user root
maj 16 10:33:15 graf gnome-shell[200033]: Window manager warning: last_user_time (394951544) is greater than comparison timestamp (394951533). This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW. Trying to work around...
maj 16 10:33:15 graf gnome-shell[200033]: Window manager warning: 0xa0000e appears to be one of the offending windows with a timestamp of 394951544. Working around...

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-shell 42.0-2ubuntu1
ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
Uname: Linux 5.15.0-27-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Mon May 16 10:34:06 2022
DisplayManager: gdm3
InstallationDate: Installed on 2021-04-15 (395 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
RelatedPackageVersions: mutter-common 42.0-3ubuntu2
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to jammy on 2022-04-24 (21 days ago)

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

Looks like a difference of 11ms, so less than one frame.

This is most likely to be a buggy app (or toolkit) as the message suggests. Please try to identify what the offending app is. For example if the window ID is still 0xa0000e then:

  xwininfo -id 0xa0000e

or

  xprop -id 0xa0000e | grep _NET_WM_PID

affects: gnome-shell (Ubuntu) → ubuntu
Changed in ubuntu:
status: New → Incomplete
Revision history for this message
Bartosz Woronicz (mastier1) wrote :

Thanks, Daniel!
Unfortunately, I needed to reboot the machine, but will check if that will reoccur.

I am not sure whether leaving the machine in suspend state over the course of weekend would have triggered that.

Revision history for this message
Bartosz Woronicz (mastier1) wrote :
Download full text (4.5 KiB)

Ok, seems like Guake got some issues
it happens from time to time

$ guake --version
Guake Terminal: 3.8.5
VTE: 0.68.0
VTE runtime: 0.68.0
Gtk: 3.24.33

/var/log/syslog:May 16 23:35:15 graf gnome-shell[3646]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0xa0000b
/var/log/syslog:May 16 23:37:13 graf gnome-shell[3646]: libinput error: event16 - Bartosz Woronicz’s Keyboard: client bug: event processing lagging behind by 33ms, your system is too slow
/var/log/syslog:May 16 23:37:32 graf gnome-shell[4011]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
/var/log/syslog:May 16 23:39:05 graf gnome-shell[3646]: Unhandled promise rejection. To suppress this warning, add an error handler to your promise chain with .catch() or a try-catch block around your await expression. Stack trace of the failed promise:#012 _loadFile@resource:///org/gnome/shell/ui/background.js:488:20#012 _load@resource:///org/gnome/shell/ui/background.js:518:14#012 _init@resource:///org/gnome/shell/ui/background.js:278:14#012 Background@resource:///org/gnome/shell/ui/background.js:234:4#012 getBackground@resource:///org/gnome/shell/ui/background.js:622:30#012 _createBackgroundActor@resource:///org/gnome/shell/ui/background.js:793:49#012 _updateBackgroundActor@resource:///org/gnome/shell/ui/background.js:765:39#012 _createBackgroundActor/changeSignalId<@resource:///org/gnome/shell/ui/background.js:821:18#012 _emitChangedSignal/this._changedIdleId<@resource:///org/gnome/shell/ui/background.js:311:18
/var/log/syslog:May 16 23:45:07 graf gnome-shell[3646]: Unhandled promise rejection. To suppress this warning, add an error handler to your promise chain with .catch() or a try-catch block around your await expression. Stack trace of the failed promise:#012 _loadFile@resource:///org/gnome/shell/ui/background.js:488:20#012 _load@resource:///org/gnome/shell/ui/background.js:518:14#012 _init@resource:///org/gnome/shell/ui/background.js:278:14#012 Background@resource:///org/gnome/shell/ui/background.js:234:4#012 getBackground@resource:///org/gnome/shell/ui/background.js:622:30#012 _createBackgroundActor@resource:///org/gnome/shell/ui/background.js:793:49#012 _updateBackgroundActor@resource:///org/gnome/shell/ui/background.js:765:39#012 _createBackgroundActor/changeSignalId<@resource:///org/gnome/shell/ui/background.js:821:18#012 _emitChangedSignal/this._changedIdleId<@resource:///org/gnome/shell/ui/background.js:311:18
/var/log/syslog:May 16 23:48:25 graf gnome-shell[3646]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0xa0000b
/var/log/syslog:May 16 23:50:02 graf gnome-shell[3646]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0xa0000b
/var/log/syslog:May 16 23:54:34 graf gnome-shell[3646]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0xa0000b
/var/log/syslog:May 17 00:00:56 graf gnome-shell[3646]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0xa0000b
/var/log/syslog:May 17 00...

Read more...

affects: ubuntu → guake (Ubuntu)
Changed in guake (Ubuntu):
status: Incomplete → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in guake (Ubuntu):
status: New → Confirmed
Revision history for this message
Sam Lalani (samlalani) wrote :

(metacity:2108530): metacity-WARNING **: 02:36:37.470: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x2c0000d (Untitled Document 1 - gedit)

ubuntu@ip-172-31-23-58:~/.vnc$ date
Sat 10 Dec 2022 03:29:46 AM UTC

ubuntu@ip-172-31-23-58:~/.vnc$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal

I had opened "gedit" and pasted a few thousand lines into it from the output of another program. Then I closed "gedit" without saving. A little while later I came back to my computer and noticed my VNC was blank so all the programs that were running were closed. I have two different Ubuntu EC2 servers from AWS and noticed the exact same problem on both.

Revision history for this message
Jorge PAB (jorge4llright) wrote :
Download full text (6.8 KiB)

37@a37-tecnoilligent:~$ sudo systemctl disable bluemon.service
bluemon.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable bluemon
a37@a37-tecnoilligent:~$ sudo systemctl disable bluemon
bluemon.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable bluemon
a37@a37-tecnoilligent:~$ sudo systemctl disable bluetooth\x2c.service
Failed to disable unit: Unit file bluetoothx2c.service does not exist.
a37@a37-tecnoilligent:~$ sudo systemctl disable bluetooth\x2c
Failed to disable unit: Unit file bluetoothx2c.service does not exist.
a37@a37-tecnoilligent:~$ sudo systemctl disable bluetooth
Synchronizing state of bluetooth.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable bluetooth
Removed /etc/systemd/system/bluetooth.target.wants/bluetooth.service.
Removed /etc/systemd/system/dbus-org.bluez.service.
a37@a37-tecnoilligent:~$ sudo systemctl disable bluetooth.service
Synchronizing state of bluetooth.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable bluetooth
a37@a37-tecnoilligent:~$ systemctl is-enabled systemd-oomd
disabled
a37@a37-tecnoilligent:~$ systemctl mask systemd-oomd
Created symlink /etc/systemd/system/systemd-oomd.service → /dev/null.
a37@a37-tecnoilligent:~$ systemctl is-enabled systemd-oomd
masked
a37@a37-tecnoilligent:~$ journalctl -fo cat /usr/bin/gnome-shell
Can't update stage views actor <unnamed>[<StBoxLayout>:0x562a187e2c20] is on because it needs an allocation.
Can't update stage views actor <dashtodockContainer>[<Gjs_ubuntu-dock_ubuntu_com_docking_DashToDock>:0x562a1a4f13d0] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<Gjs_ubuntu-dock_ubuntu_com_docking_DashSlideContainer>:0x562a1b6e8890] is on because it needs an allocation.
Can't update stage views actor <dashtodockBox>[<StBoxLayout>:0x562a1ebc1fb0] is on because it needs an allocation.
Can't update stage views actor <dash>[<Gjs_ubuntu-dock_ubuntu_com_dash_DockDash>:0x562a1a9ee690] is on because it needs an allocation.
Can't update stage views actor <dashtodockDashContainer>[<StBoxLayout>:0x562a1a11e770] is on because it needs an allocation.
Can't update stage views actor <dashtodockDashScrollview>[<StScrollView>:0x562a1b3cdc10] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<StBoxLayout>:0x562a187e2c20] is on because it needs an allocation.
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x220085a
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x2200bd7
Can't update stage views actor <dashtodockContainer>[<Gjs_ubuntu-dock_ubuntu_com_docking_DashToDock>:0x562a1a4f13d0] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<Gjs_ubuntu-dock_ubuntu_com_docking_DashSlideContainer>:0x562a1b6e8890] is on because it needs an allocation.
Can't update stage views actor <dashtodockBox>[<StBoxLayout>:0x562a1ebc1fb0] ...

Read more...

Revision history for this message
Jorge PAB (jorge4llright) wrote :
Download full text (20.6 KiB)

sudo ls /usr/share/gnome-shell/extensions/
<email address hidden> <email address hidden> <email address hidden>
<email address hidden> <email address hidden> <email address hidden>
<email address hidden> <email address hidden> <email address hidden>
<email address hidden> <email address hidden>
<email address hidden> <email address hidden>
a37@a37-tecnoilligent:~$ sudo systemctl disable blueman-mechanism.service
[sudo] password for a37:
Removed /etc/systemd/system/multi-user.target.wants/blueman-mechanism.service.
^[[Aa37@a37-tecnoilligent:~$ sudo systemctl disable blueman-mechanism
a37@a37-tecnoilligent:~$ sudo systemctl disable bluemon.service
bluemon.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable bluemon
a37@a37-tecnoilligent:~$ sudo systemctl disable bluemon
bluemon.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable bluemon
a37@a37-tecnoilligent:~$ sudo systemctl disable bluetooth\x2c.service
Failed to disable unit: Unit file bluetoothx2c.service does not exist.
a37@a37-tecnoilligent:~$ sudo systemctl disable bluetooth\x2c
Failed to disable unit: Unit file bluetoothx2c.service does not exist.
a37@a37-tecnoilligent:~$ sudo systemctl disable bluetooth
Synchronizing state of bluetooth.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable bluetooth
Removed /etc/systemd/system/bluetooth.target.wants/bluetooth.service.
Removed /etc/systemd/system/dbus-org.bluez.service.
a37@a37-tecnoilligent:~$ sudo systemctl disable bluetooth.service
Synchronizing state of bluetooth.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable bluetooth
a37@a37-tecnoilligent:~$ systemctl is-enabled systemd-oomd
disabled
a37@a37-tecnoilligent:~$ systemctl mask systemd-oomd
Created symlink /etc/systemd/system/systemd-oomd.service → /dev/null.
a37@a37-tecnoilligent:~$ systemctl is-enabled systemd-oomd
masked
a37@a37-tecnoilligent:~$ journalctl -fo cat /usr/bin/gnome-shell
Can't update stage views actor <unnamed>[<StBoxLayout>:0x562a187e2c20] is on because it needs an allocation.
Can't update stage views actor <dashtodockContainer>[<Gjs_ubuntu-dock_ubuntu_com_docking_DashToDock>:0x562a1a4f13d0] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<Gjs_ubuntu-dock_ubuntu_com_docking_DashSlideContainer>:0x562a1b6e8890] is on because it needs an allocation.
Can't update stage views actor <dashtodockBox>[<StBoxLayout>:0x562a1ebc1fb0] is on because it needs an allocation.
Can't update stage views actor <dash>[<Gjs_ubuntu-dock_ubuntu_com_dash_Do...

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.