After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 794336 - Start gdm-session-worker earlier
Start gdm-session-worker earlier
Status: RESOLVED OBSOLETE
Product: gdm
Classification: Core
Component: general
3.28.x
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2018-03-14 17:52 UTC by Paul Menzel
Modified: 2018-05-24 11:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
SVG file created by systemd-bootchart (605.31 KB, image/svg+xml)
2018-03-14 17:52 UTC, Paul Menzel
Details
GDM debug log (`journalctl -o short-precise -b -u gdm`) (40.63 KB, text/plain)
2018-03-15 16:16 UTC, Paul Menzel
Details
Graph from systemd-bootchart with NetworkManager disabled (620.68 KB, image/svg+xml)
2018-03-15 16:17 UTC, Paul Menzel
Details
SVG file created by systemd-bootchart with automatic login of user (510.60 KB, image/svg+xml)
2018-03-19 17:27 UTC, Paul Menzel
Details

Description Paul Menzel 2018-03-14 17:52:08 UTC
Created attachment 369688 [details]
SVG file created by systemd-bootchart

On the Dell XPS 13 9370 with Debian Sid/unstable with only one local user, it looks like GDM 3.28 waits for the NetworkManger before starting the session worker(?) to render the user list. See the attached SVG generated by systemd-bootchart, showing that NetworkManager takes 1.6 seconds, and the gdm-session-worker starts at 4.1 s. Then another 300 ms pass by before gdm-wayland-session starts.

It’d be great, if the user list could be display much earlier to improve the user experience on fast systems.
Comment 1 Paul Menzel 2018-03-15 16:14:40 UTC
Following the advise from #gdm@irc.gnome.org, disabling NetworkManager didn’t change anything, so there might be a different dependency.

Maybe enabling debug logs helps.

Below 0.5 seconds seem to pass.

```
Mar 15 16:43:17.544279 xps139370 gdm3[612]: GdmManager: GDM starting to manage displays
Mar 15 16:43:17.544892 xps139370 gdm3[612]: Could not ping plymouth: Failed to execute child process “/bin/plymouth” (No such file or directory)
Mar 15 16:43:18.032450 xps139370 gdm3[612]: GdmLocalDisplayFactory: Adding display on seat seat0
```
Comment 2 Paul Menzel 2018-03-15 16:16:25 UTC
Created attachment 369745 [details]
GDM debug log (`journalctl -o short-precise -b -u gdm`)
Comment 3 Paul Menzel 2018-03-15 16:17:01 UTC
Created attachment 369746 [details]
Graph from systemd-bootchart with NetworkManager disabled
Comment 4 Paul Menzel 2018-03-19 17:27:20 UTC
Created attachment 369872 [details]
SVG file created by systemd-bootchart with automatic login of user
Comment 5 GNOME Infrastructure Team 2018-05-24 11:48:22 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gdm/issues/368.