Wayland/Gnome Shell freezes when Android phone is connected
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-shell-extension-ubuntu-dock (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I got occasional freeze on new Ubuntu 22.04 LTS. The machine is Lenovo 7/8th gen Carbon with 10th gen Intel.
But after the latest freeze and reboot (because of the freeze) I logged in and then it freezes everytime, propably when loading gnome setting, I see the icon emerging on the dock and freezing. Just before the freeze there was kernel and some packages upgrade)
The report is from previous kernel which I thought it was culprit but it seems not.
I can login to the machine with SSH therefore I produced this report. There"s process getting 100% of 1 cpu core: gnome-shell
After a while it blanks (as schedules) to login manager and I can login back and same story.
I see following error in syslog
May 5 14:02:13 graf gnome-shell[1740]: cr_parser_
May 5 14:02:13 graf gnome-shell[1740]: cr_declaration_
May 5 14:02:13 graf gnome-shell[1740]: cr_parser_
May 5 14:02:13 graf gnome-shell[1740]: cr_declaration_
May 5 14:02:13 graf gnome-shell[1740]: ATK Bridge is disabled but a11y has already been enabled.
May 5 14:02:14 graf gnome-shell[1740]: Registering session with GDM
May 5 14:02:17 graf gnome-shell[1740]: Could not open device /dev/input/event17: Could not get device info for path /dev/input/event17: No such file or directory
May 5 14:02:17 graf gnome-shell[1740]: Could not open device /dev/input/event16: GDBus.Error:
May 5 14:02:19 graf gnome-shell[1740]: Removing a network device that was not added
May 5 14:02:19 graf gnome-shell[1740]: Removing a network device that was not added
May 5 14:02:27 graf gnome-shell[3287]: Running GNOME Shell (using mutter 42.0) as a Wayland display server
May 5 14:02:27 graf gnome-shell[3287]: Device '/dev/dri/card0' prefers shadow buffer
May 5 14:02:27 graf gnome-shell[3287]: Added device '/dev/dri/card0' (i915) using atomic mode setting.
May 5 14:02:27 graf gnome-shell[3287]: Created gbm renderer for '/dev/dri/card0'
May 5 14:02:27 graf gnome-shell[3287]: Boot VGA GPU /dev/dri/card0 selected as primary
May 5 14:02:27 graf gnome-shell[3287]: Using public X11 display :0, (using :1 for managed services)
May 5 14:02:27 graf gnome-shell[3287]: Using Wayland display name 'wayland-0'
May 5 14:02:27 graf gnome-shell[3287]: Unset XDG_SESSION_ID, getCurrentSessi
May 5 14:02:27 graf gnome-shell[3287]: Will monitor session 2
May 5 14:02:27 graf dbus-daemon[3106]: [session uid=1000 pid=3106] Activating via systemd: service name='org.
May 5 14:02:27 graf dbus-daemon[3106]: [session uid=1000 pid=3106] Activating service name='org.
May 5 14:02:27 graf dbus-daemon[3106]: [session uid=1000 pid=3106] Activating via systemd: service name='org.
May 5 14:02:27 graf gnome-shell[3287]: Telepathy is not available, chat integration will be disabled.
May 5 14:02:27 graf dbus-daemon[3106]: [session uid=1000 pid=3106] Activating via systemd: service name='org.
May 5 14:02:27 graf dbus-daemon[3106]: [session uid=1000 pid=3106] Activating service name='org.
May 5 14:02:28 graf dbus-daemon[3106]: [session uid=1000 pid=3106] Activating service name='org.
May 5 14:02:28 graf at-spi-
May 5 14:02:28 graf gnome-shell[3287]: Error looking up permission: GDBus.Error:
May 5 14:02:28 graf gnome-shell[3646]: (WW) Option "-listen" for file descriptors is deprecated
May 5 14:02:28 graf gnome-shell[3646]: Please use "-listenfd" instead.
May 5 14:02:28 graf gnome-shell[3646]: (WW) Option "-listen" for file descriptors is deprecated
May 5 14:02:28 graf gnome-shell[3646]: Please use "-listenfd" instead.
May 5 14:02:28 graf gnome-shell[3287]: Could not open device /dev/input/event18: Could not get device info for path /dev/input/event18: No such file or directory
May 5 14:02:28 graf gnome-shell[3287]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
May 5 14:02:28 graf gnome-shell[3287]: Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a).
May 5 14:02:28 graf gnome-shell[3287]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
May 5 14:02:28 graf gnome-shell[3287]: Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d).
May 5 14:02:28 graf gnome-shell[3287]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
May 5 14:02:28 graf gnome-shell[3287]: Window manager warning: Overwriting existing binding of keysym 32 with keysym 32 (keycode b).
May 5 14:02:28 graf gnome-shell[3287]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
May 5 14:02:28 graf gnome-shell[3287]: Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c).
May 5 14:02:28 graf gnome-shell[3287]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
May 5 14:02:28 graf gnome-shell[3287]: Could not open device /dev/input/event17: GDBus.Error:
grep: (standard input): binary file matches
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: xorg 1:7.7+23ubuntu2
ProcVersionSign
Uname: Linux 5.15.0-25-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckR
Date: Thu May 5 14:27:52 2022
DistUpgraded: 2022-04-25 01:09:43,352 DEBUG failed to SystemLock() (E:Could not get lock /var/lib/dpkg/lock. It is held by process 68786 (dpkg), W:Be aware that removing the lock file is not a solution and may break your system., E:Nie udało się zablokować katalogu administracyjnego (/var/lib/dpkg/), czy inny proces go używa?)
DistroCodename: jammy
DistroVariant: ubuntu
ExtraDebuggingI
GraphicsCard:
Intel Corporation Comet Lake UHD Graphics [8086:9bca] (rev 04) (prog-if 00 [VGA controller])
Subsystem: Lenovo Comet Lake UHD Graphics [17aa:2292]
InstallationDate: Installed on 2021-04-15 (384 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
MachineType: LENOVO 20R10015US
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
Symptom: display
Title: Xorg freeze
UpgradeStatus: Upgraded to jammy on 2022-04-24 (10 days ago)
dmi.bios.date: 11/10/2021
dmi.bios.release: 1.38
dmi.bios.vendor: LENOVO
dmi.bios.version: N2QET44W(1.38 )
dmi.board.
dmi.board.name: 20R10015US
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad X1 Carbon 7th
dmi.product.name: 20R10015US
dmi.product.sku: LENOVO_
dmi.product.
dmi.sys.vendor: LENOVO
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.110-1ubuntu1
version.
version.
version.
version.
version.
version.
version.
I see yet following p.impl. portal. desktop. gtk' p.portal. Desktop' gtk-application -prefer- dark-theme together with HdyStyleManager is unsupported. Please use HdyStyleManager :color- scheme instead. 10829]: Guake not running, starting it 10829]: Loading Gnome schema from: /usr/share/ glib-2. 0/schemas 10829]: Language previously loaded from: /usr/share/locale binary[ 10065]: CRITICAL: gsm_client_peek_id: assertion 'GSM_IS_CLIENT (client)' failed 10065]: gnome-session- binary[ 10065]: CRITICAL: gsm_client_peek_id: assertion 'GSM_IS_CLIENT (client)' failed environment] [10025] : pam_unix( gdm-launch- environment: session) : session closed for user gdm environment] [10025] : GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed logind[ 1333]: Session c2 logged out. Waiting for processes to exit. p/ColorManager/ devices/ xrandr_ BOE_gdm_ 125 p/ColorManager/ devices/ xrandr_ Dell_Inc_ _DELL_U2720Q_ 7S1X193_ gdm_125 "DENIED" operation= "dbus_method_ call" bus="system" path="/ org/freedesktop /PolicyKit1/ Authority" interface= "org.freedeskto p.DBus. Properties" member="GetAll" mask="send" name=":1.3" pid=10761 label=" snap.snap- store.ubuntu- software" peer_pid=1314 peer_label= "unconfined"
exe="/usr/ bin/dbus- daemon" sauid=103 hostname=? addr=? terminal=?'
maj 05 14:51:19 graf systemd[3355]: Started GNOME XSettings service.
maj 05 14:51:19 graf systemd[3355]: Reached target GNOME session X11 services.
maj 05 14:51:19 graf gnome-shell[10528]: ATK Bridge is disabled but a11y has already been enabled.
maj 05 14:51:19 graf dbus-daemon[10436]: [session uid=1000 pid=10436] Successfully activated service 'org.freedeskto
maj 05 14:51:19 graf systemd[3355]: Started Portal service (GTK/GNOME implementation).
maj 05 14:51:19 graf dbus-daemon[10436]: [session uid=1000 pid=10436] Successfully activated service 'org.freedeskto
maj 05 14:51:19 graf systemd[3355]: Started Portal service.
maj 05 14:51:19 graf nautilus[10679]: Using GtkSettings:
maj 05 14:51:19 graf guake.desktop[
maj 05 14:51:19 graf gnome-shell[10528]: GNOME Shell started at Thu May 05 2022 14:51:17 GMT+0200 (CEST)
maj 05 14:51:19 graf guake.desktop[
maj 05 14:51:19 graf gnome-shell[10528]: Registering session with GDM
maj 05 14:51:19 graf guake.desktop[
maj 05 14:51:19 graf gnome-shell[10072]: Connection to xwayland lost
maj 05 14:51:19 graf gnome-session-
maj 05 14:51:19 graf gnome-session[
maj 05 14:51:19 graf gdm-launch-
maj 05 14:51:19 graf gdm-launch-
maj 05 14:51:19 graf systemd-
maj 05 14:51:19 graf gsd-color[10715]: failed to connect to device: Failed to connect to missing device /org/freedeskto
maj 05 14:51:19 graf gsd-color[10715]: failed to connect to device: Failed to connect to missing device /org/freedeskto
maj 05 14:51:19 graf audit[1296]: USER_AVC pid=1296 uid=103 auid=4294967295 ses=4294967295 subj=? msg='apparmor=