Long startup time of GNOME Shell Wayland session
On a AMD Ryzen 3 2200G with SSD and Debian Sid/unstable with GNOME Shell 3.34.4, logging into a GNOME Shell Wayland session from GDM it takes around three seconds until the Shell is visible and ready to go. According to systemd-analyze --user blame
, the user service gnome-shell-wayland.service
takes over 1.2 seconds to start.
● gnome-shell-wayland.service - GNOME Shell on Wayland
Loaded: loaded (/usr/lib/systemd/user/gnome-shell-wayland.service; static; vendor preset: enabled)
Active: active (running) since Sat 2020-04-04 09:33:35 CEST; 6s ago
Main PID: 992 (gnome-shell)
CGroup: /user.slice/user-1002.slice/user@1002.service/gnome-shell-wayland.service
├─ 992 /usr/bin/gnome-shell
├─1028 /usr/bin/Xwayland :0 -rootless -noreset -accessx -core -auth /run/user/1002/.mutter-Xwaylandauth.3TWCI0 -listen 4 -listen 5 -displayfd 6
├─1134 ibus-daemon --panel disable -r --xim
├─1145 /usr/libexec/ibus-memconf
├─1146 /usr/libexec/ibus-extension-gtk3
├─1150 /usr/libexec/ibus-x11 --kill-daemon
└─1318 /usr/libexec/ibus-engine-simple
Apr 04 09:33:35 tokeiihto gnome-shell[992]: Error while sending AddMatch() message: Verbindung ist geschlossen
Apr 04 09:33:35 tokeiihto gnome-shell[992]: ibus_bus_call_async: assertion 'ibus_bus_is_connected (bus)' failed
Apr 04 09:33:35 tokeiihto gnome-shell[992]: ibus_bus_call_async: assertion 'ibus_bus_is_connected (bus)' failed
Apr 04 09:33:36 tokeiihto gnome-shell[1322]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Apr 04 09:33:36 tokeiihto gnome-shell[1322]: > Warning: Unsupported maximum keycode 569, clipping.
Apr 04 09:33:36 tokeiihto gnome-shell[1322]: > X11 cannot support keycodes above 255.
Apr 04 09:33:36 tokeiihto gnome-shell[1322]: > Internal error: Could not resolve keysym Invalid
Apr 04 09:33:36 tokeiihto gnome-shell[1322]: Errors from xkbcomp are not fatal to the X server
Apr 04 09:33:36 tokeiihto gnome-shell[992]: GNOME Shell started at Sat Apr 04 2020 09:33:35 GMT+0200 (CEST)
Apr 04 09:33:36 tokeiihto gnome-shell[992]: Registering session with GDM
$ journalctl --user | grep -i -e gnome-shell -e "GNOME Shell"
Apr 04 09:33:34.489016 tokeiihto systemd[873]: Starting GNOME Shell on Wayland...
Apr 04 09:33:34.766420 tokeiihto gnome-shell[992]: can't load /usr/lib/x86_64-linux-gnu/spa/support/libspa-support.so: /usr/lib/x86_64-linux-gnu/spa/support/libspa-support.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
Apr 04 09:33:34.857635 tokeiihto gnome-shell[1050]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Apr 04 09:33:34.857635 tokeiihto gnome-shell[1050]: > Internal error: Could not resolve keysym XF86FullScreen
Apr 04 09:33:34.860726 tokeiihto gnome-shell[1050]: Errors from xkbcomp are not fatal to the X server
Apr 04 09:33:35.225550 tokeiihto gnome-shell[992]: Unset XDG_SESSION_ID, getCurrentSessionProxy() called outside a user session. Asking logind directly.
Apr 04 09:33:35.226507 tokeiihto gnome-shell[992]: Will monitor session 2
Apr 04 09:33:35.410196 tokeiihto dbus-daemon[900]: [session uid=1002 pid=900] Activating service name='org.gnome.Shell.CalendarServer' requested by ':1.21' (uid=1002 pid=992 comm="/usr/bin/gnome-shell ")
Apr 04 09:33:35.440480 tokeiihto dbus-daemon[900]: [session uid=1002 pid=900] Activating via systemd: service name='org.gnome.evolution.dataserver.Sources5' unit='evolution-source-registry.service' requested by ':1.35' (uid=1002 pid=1123 comm="/usr/lib/gnome-shell/gnome-shell-calendar-server ")
Apr 04 09:33:35.572657 tokeiihto gnome-shell[992]: Telepathy is not available, chat integration will be disabled.
Apr 04 09:33:35.685576 tokeiihto at-spi-dbus-bus.desktop[999]: dbus-daemon[999]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=1002 pid=992 comm="/usr/bin/gnome-shell ")
Apr 04 09:33:35.695548 tokeiihto dbus-daemon[900]: [session uid=1002 pid=900] Activating via systemd: service name='org.gnome.evolution.dataserver.Calendar8' unit='evolution-calendar-factory.service' requested by ':1.35' (uid=1002 pid=1123 comm="/usr/lib/gnome-shell/gnome-shell-calendar-server ")
Apr 04 09:33:35.921648 tokeiihto gnome-shell[992]: ibus_bus_hello: assertion 'ibus_bus_is_connected (bus)' failed
Apr 04 09:33:35.921706 tokeiihto gnome-shell[992]: Error while sending AddMatch() message: Verbindung ist geschlossen
Apr 04 09:33:35.921912 tokeiihto gnome-shell[992]: ibus_bus_call_async: assertion 'ibus_bus_is_connected (bus)' failed
Apr 04 09:33:35.921994 tokeiihto gnome-shell[992]: ibus_bus_call_async: assertion 'ibus_bus_is_connected (bus)' failed
Apr 04 09:33:36.093902 tokeiihto gnome-shell[1322]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Apr 04 09:33:36.093902 tokeiihto gnome-shell[1322]: > Warning: Unsupported maximum keycode 569, clipping.
Apr 04 09:33:36.093902 tokeiihto gnome-shell[1322]: > X11 cannot support keycodes above 255.
Apr 04 09:33:36.102659 tokeiihto gnome-shell[1322]: > Internal error: Could not resolve keysym Invalid
Apr 04 09:33:36.103036 tokeiihto gnome-shell[1322]: Errors from xkbcomp are not fatal to the X server
Apr 04 09:33:36.776310 tokeiihto gnome-shell[992]: GNOME Shell started at Sat Apr 04 2020 09:33:35 GMT+0200 (CEST)
Apr 04 09:33:36.776627 tokeiihto gnome-shell[992]: Registering session with GDM
[…]
How can the login time be decreased to nearly instantanious?