You are not logged in.

#1 2015-10-25 21:58:05

cafe
Member
Registered: 2014-03-20
Posts: 156

Long wait until login - systemd-logind pause

Hello,

I'm having a long pause (10 to 20 secs) every time I log in when the computer starts. This happens when I'm at the GDM login page after entering my user's password. I'm assuming these logs have something to do with it.

Oct 25 19:49:00 hostname gdm-password][639]: pam_unix(gdm-password:session): session opened for user username by (uid=0)
Oct 25 19:49:00 hostname systemd[648]: pam_unix(systemd-user:session): session opened for user username by (uid=0)
Oct 25 19:49:17 hostname /usr/lib/gdm/gdm-x-session[400]: (II) systemd-logind: got pause for 13:69
Oct 25 19:49:17 hostname /usr/lib/gdm/gdm-x-session[400]: (II) systemd-logind: got pause for 13:77
Oct 25 19:49:17 hostname /usr/lib/gdm/gdm-x-session[400]: (II) systemd-logind: got pause for 13:68
Oct 25 19:49:17 hostname /usr/lib/gdm/gdm-x-session[400]: (II) systemd-logind: got pause for 13:67
Oct 25 19:49:17 hostname /usr/lib/gdm/gdm-x-session[400]: (II) systemd-logind: got pause for 13:64
Oct 25 19:49:17 hostname /usr/lib/gdm/gdm-x-session[400]: (II) systemd-logind: got pause for 13:66
Oct 25 19:49:17 hostname /usr/lib/gdm/gdm-x-session[400]: (II) systemd-logind: got pause for 226:0

I'm using nvidia proprietary drivers.

Does anyone had a similar issue?

Offline

#2 2015-10-26 17:19:54

gh02t
Member
Registered: 2013-06-15
Posts: 11

Re: Long wait until login - systemd-logind pause

I'm having a similar issue, also using the Nvidia drivers. Logging in takes a reaaaaaaally long time. I've noticed though that after I enter my password and it's just sitting there, hitting ctrl-alt-f2 to switch TTYs makes the DE come up instantly.

I wonder if it has something to do with the gnome_keyring PAM module? I get this in my messages from GDM:

 ● gdm.service - GNOME Display Manager
   Loaded: loaded (/usr/lib/systemd/system/gdm.service; enabled; vendor preset: disabled)
   Active: active (running) since Mon 2015-10-26 13:10:18 EDT; 5min ago
 Main PID: 577 (gdm)
   CGroup: /system.slice/gdm.service
           └─577 /usr/bin/gdm

Oct 26 13:10:18 bigbox systemd[1]: Starting GNOME Display Manager...
Oct 26 13:10:18 bigbox systemd[1]: Started GNOME Display Manager.
Oct 26 13:10:18 bigbox gdm[577]: GdmDisplay: display lasted 0.594893 seconds
Oct 26 13:10:18 bigbox gdm[577]: Child process -604 was already dead.
Oct 26 13:10:18 bigbox gdm[577]: Child process 594 was already dead.
Oct 26 13:10:18 bigbox gdm[577]: Unable to kill session worker process
Oct 26 13:10:38 bigbox gdm-password][946]: PAM unable to dlopen(/usr/lib/security/pam_gnome_keyring.so): /usr/lib/security/pam_gnome_keyring.so: cannot open shared object file: No such file or directory
Oct 26 13:10:38 bigbox gdm-password][946]: PAM adding faulty module: /usr/lib/security/pam_gnome_keyring.so
Oct 26 13:10:41 bigbox gdm-password][946]: pam_unix(gdm-password:session): session opened for user _______ by (uid=0)

Edit: gnome_keyring PAM message isn't it... I just didn't have gnome-keyring installed. Installing it made the message go away, but the login hang still persists. Switching TTYs seems to be a temporary workaround, but obviously something suspicious is going on.

Last edited by gh02t (2015-10-26 17:24:44)

Offline

#3 2015-10-26 19:08:35

cafe
Member
Registered: 2014-03-20
Posts: 156

Re: Long wait until login - systemd-logind pause

I've found out that i'm getting these pauses from every input device [ids=13:xx] and the framebuffer [id=226:0]

I believe it is something related to this new migration of GDM from X11 to wayland. I have yet to try the wayland-friendly driver nouveau to see if the problem goes away.

But then again... The issue will be always gaming... With my old nvidia card (9600M) I can't get decent performance on games using the nouveau driver.

Last edited by cafe (2015-10-26 20:24:55)

Offline

#4 2015-10-26 19:17:59

gh02t
Member
Registered: 2013-06-15
Posts: 11

Re: Long wait until login - systemd-logind pause

I don' t think it's Wayland, that change happened a while ago and this issue is new for me at least. To be sure, I tried disabling it just now (https://wiki.archlinux.org/index.php/GD … rg_backend), but it didn't help.

I'm suspicious it's somehow related to the Nvidia drivers, but I don't know how. I need CUDA, so I can't use Nouveau either.

What DE/WM are you using? I'm using i3, but because changing TTYs makes it work I don't think that's the problem.

Last edited by gh02t (2015-10-26 19:19:18)

Offline

#5 2015-10-26 20:24:08

cafe
Member
Registered: 2014-03-20
Posts: 156

Re: Long wait until login - systemd-logind pause

gh02t wrote:

I don' t think it's Wayland, that change happened a while ago and this issue is new for me at least. To be sure, I tried disabling it just now (https://wiki.archlinux.org/index.php/GD … rg_backend), but it didn't help.

I don't mean Wayland itself, but GDM's backend to wayland. I've also tried disabling wayland in /etc/gdm/custom.conf without success. I'm using gnome 3.18, but I also use i3 sometimes. That's why I also suspect of GDM.

Maybe, if I have some time this weekend, I'll check GDM's latest commits to see what is causing this. Nothing fatal.. but utterly annoying

Offline

#6 2015-11-08 16:05:46

cafe
Member
Registered: 2014-03-20
Posts: 156

Re: Long wait until login - systemd-logind pause

I've recently switched to nouveau (mesa package) and the issue disappeared. I cannot confirm if this issue was related to drm or wayland.

I'm actually amazed with the improvements on this driver. Before, I wasn't able to play any games with reasonable graphics or a good framerate. It has been almost an year since I've installed nvidia drivers and now, I don't think I'll roll back to nvidia proprietary drivers.

I've tested gnome (both under X and wayland), i3 and sway. They all work perfectly without the lag aforementioned.

Offline

Board footer

Powered by FluxBB