elementary / greeter

Login and Lock Screen greeter for elementary OS and Pantheon, using LightDM
GNU General Public License v3.0
152 stars 39 forks source link

Weird Loop When in Hybrid Graphics mode with multiple monitors #568

Open jhaygood86 opened 2 years ago

jhaygood86 commented 2 years ago

What Happened

When the NVIDIA PRIME Profile is set to On Demand (Intel GPU primary + NVIDIA GPU secondary) on my Alienware m15, the greeter enters a loop where it flashes the login screen for about 1-2 seconds and immediately goes back to showing the Alienware logo. This goes in a loop that goes onto ad nauseum. This only happens when the greeter is launched with 1 or more (tested with both a monitor on just the HDMI port as well as a monitor on both the HDMI and mini-DP port) external monitors attached.

Expected Behavior

Greeter lets you login and functions

Steps to Reproduce

  1. Start a comparable system (presumably any laptop with NVIDIA hybrid graphics, but may or may not be more specific than that) with multiple monitors attached with the PRIME profile set to "On demand"
  2. Loop begins once the Greeter starts

Workaround

This doesn't happen when the PRIME Profile is set to "Performance" (NVIDIA GPU Only). It also doesn't happen with just the laptop's internal display is active

Platform Information

elementary OS 6.0 Odin (fully up to date) Alienware m15 laptop NVIDIA GeForce RTX 2060 Mobile laptop using NVIDIA 470 drivers Intel UHD Graphics 630 Mobile Multiple monitors: laptop display, Dell 27" monitor attached via HDMI, Dell 24" monitor attached via mini Display-Port

marmeladapk commented 2 years ago

I have exactly the same problem, however I'm on desktop with nvidia gpu. Intel integrated gpu is disabled in bios. I'm able to workaround it by repetadly pressing ctrl+alt+f1/2/3 to force change to a different VT, and then ctrl+alt+f7 to force change to VT7 where greeter starts. Eventually greeter starts normally and I can login.

System: elementary OS 6.0 Odin Greeter: 6.0.1+r1280+elementary1+pkg84~ubuntu6.1 Nvidia GeForce GTX 1660 with 470.74 drivers Two monitors (both connected to nvidia gpu)

Logs dmesg outputs:

[   48.979014] traps: io.elementary.g[3436] general protection fault ip:7f7a6d2e4160 sp:7ffdcc42cad8 error:0 in libgobject-2.0.so.0.6400.6[7f7a6d2b6000+36000]
[   52.603789] traps: io.elementary.g[3684] general protection fault ip:7fa7455d3160 sp:7fffef8dd4f8 error:0 in libgobject-2.0.so.0.6400.6[7fa7455a5000+36000]
[   55.937954] traps: io.elementary.g[3805] general protection fault ip:7ff0cdfe8160 sp:7ffcd567cff8 error:0 in libgobject-2.0.so.0.6400.6[7ff0cdfba000+36000]
[   59.632179] traps: io.elementary.g[3964] general protection fault ip:7fa92bb5711f sp:7fff5759aec0 error:0 in libgtk-3.so.0.2404.16[7fa92b8e5000+36f000]
[   62.952777] traps: io.elementary.g[4142] general protection fault ip:7f2f04fa9160 sp:7ffed0931828 error:0 in libgobject-2.0.so.0.6400.6[7f2f04f7b000+36000]
[   66.438712] traps: io.elementary.g[4270] general protection fault ip:7f59d5c1b11f sp:7ffc3c49e270 error:0 in libgtk-3.so.0.2404.16[7f59d59a9000+36f000]
[   69.647514] traps: io.elementary.g[4423] general protection fault ip:7f3f695c6160 sp:7ffdfc5e2748 error:0 in libgobject-2.0.so.0.6400.6[7f3f69598000+36000]
[   73.058702] traps: io.elementary.g[4589] general protection fault ip:7f728f2eb160 sp:7ffdf82be428 error:0 in libgobject-2.0.so.0.6400.6[7f728f2bd000+36000]

Lightdm log:

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=5031
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/40-io.elementary.greeter.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-disable-guest.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-disable-log-backup.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/90-nvidia.conf
[+0.00s] DEBUG:   [SeatDefaults] is now called [Seat:*], please update this configuration
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /var/lib/flatpak/exports/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
[+0.01s] DEBUG: Monitoring logind for seats
[+0.01s] DEBUG: New seat added from logind: seat0
[+0.01s] WARNING: Seat type 'xlocal' is deprecated, use 'type=local' instead
[+0.01s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.01s] DEBUG: Seat seat0: Starting
[+0.01s] DEBUG: Seat seat0: Creating greeter session
[+0.01s] DEBUG: Seat seat0: Creating display server of type x
[+0.01s] DEBUG: posix_spawn avoided (fd close requested) 
[+0.01s] DEBUG: Using VT 7
[+0.01s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.01s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.01s] DEBUG: XServer 0: Writing X server authority to /var/run/lightdm/root/:0
[+0.01s] DEBUG: XServer 0: Launching X Server
[+0.01s] DEBUG: Launching process 5036: /usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.01s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.01s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.01s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.01s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.01s] DEBUG: User /org/freedesktop/Accounts/User1001 added
[+0.02s] DEBUG: posix_spawn avoided (automatic reaping requested) (fd close requested) 
[+1.50s] DEBUG: Got signal 10 from process 5036
[+1.50s] DEBUG: XServer 0: Got signal from X server :0
[+1.50s] DEBUG: XServer 0: Connecting to XServer :0
[+1.50s] DEBUG: Launching process 5099: /sbin/prime-offload
[+1.50s] DEBUG: Process 5099 exited with return value 0
[+1.50s] DEBUG: Seat seat0: Exit status of /sbin/prime-offload: 0
[+1.50s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified) 
[+1.50s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+1.50s] DEBUG: Session pid=5104: Started with service 'lightdm-greeter', username 'lightdm'
[+1.52s] DEBUG: Session pid=5104: Authentication complete with return value 0: Success
[+1.52s] DEBUG: Seat seat0: Session authenticated, running command
[+1.52s] DEBUG: Session pid=5104: Running command /usr/lib/lightdm/lightdm-greeter-session /usr/sbin/io.elementary.greeter
[+1.52s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+1.52s] DEBUG: Session pid=5104: Logging to /var/log/lightdm/seat0-greeter.log
[+1.54s] DEBUG: Activating VT 7
[+1.54s] DEBUG: Activating login1 session c12
[+1.54s] DEBUG: Seat seat0 changes active session to c12
[+1.54s] DEBUG: Session c12 is already active
[+1.67s] DEBUG: Greeter connected version=1.30.0 api=1 resettable=false
[+2.32s] DEBUG: Greeter start authentication for (...)
[+2.32s] DEBUG: Session pid=5151: Started with service 'lightdm', username '(...)'
[+2.32s] DEBUG: Session pid=5151: Got 1 message(s) from PAM
[+2.32s] DEBUG: Prompt greeter with 1 message(s)
[+2.45s] DEBUG: Greeter closed communication channel
[+2.45s] DEBUG: Session pid=5104: Exited with return value 0
[+2.45s] DEBUG: Seat seat0: Session stopped
[+2.45s] DEBUG: Seat seat0: Stopping; failed to start a greeter
[+2.45s] DEBUG: Seat seat0: Stopping
[+2.45s] DEBUG: Seat seat0: Stopping display server
[+2.45s] DEBUG: Sending signal 15 to process 5036
[+2.45s] DEBUG: Seat seat0: Stopping session
[+2.45s] DEBUG: Session pid=5151: Sending SIGTERM
[+2.45s] DEBUG: Session pid=5151: Terminated with signal 15
[+2.45s] DEBUG: Session: Failed during authentication
[+2.45s] DEBUG: Seat seat0: Session stopped
[+3.02s] DEBUG: Process 5036 exited with return value 0
[+3.02s] DEBUG: XServer 0: X server stopped
[+3.02s] DEBUG: Releasing VT 7
[+3.02s] DEBUG: XServer 0: Removing X server authority /var/run/lightdm/root/:0
[+3.02s] DEBUG: Seat seat0: Display server stopped
[+3.02s] DEBUG: Launching process 5171: /sbin/prime-switch
[+3.05s] DEBUG: Process 5171 exited with return value 0
[+3.05s] DEBUG: Seat seat0: Exit status of /sbin/prime-switch: 0
[+3.05s] DEBUG: Seat seat0: Stopped
[+3.05s] DEBUG: Required seat has stopped
[+3.05s] DEBUG: Stopping display manager
[+3.05s] DEBUG: Display manager stopped
[+3.05s] DEBUG: Stopping daemon
[+3.05s] DEBUG: Exiting with return value 1
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=5212
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/40-io.elementary.greeter.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-disable-guest.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-disable-log-backup.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/90-nvidia.conf
[+0.00s] DEBUG:   [SeatDefaults] is now called [Seat:*], please update this configuration
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /var/lib/flatpak/exports/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
[+0.01s] DEBUG: Monitoring logind for seats
[+0.01s] DEBUG: New seat added from logind: seat0
[+0.01s] WARNING: Seat type 'xlocal' is deprecated, use 'type=local' instead
[+0.01s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.01s] DEBUG: Seat seat0: Starting
[+0.01s] DEBUG: Seat seat0: Creating greeter session
[+0.01s] DEBUG: Seat seat0: Creating display server of type x
[+0.01s] DEBUG: posix_spawn avoided (fd close requested) 
[+0.01s] DEBUG: Using VT 7
[+0.01s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.01s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.01s] DEBUG: XServer 0: Writing X server authority to /var/run/lightdm/root/:0
[+0.01s] DEBUG: XServer 0: Launching X Server
[+0.01s] DEBUG: Launching process 5217: /usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.01s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.01s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.01s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.01s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.02s] DEBUG: User /org/freedesktop/Accounts/User1001 added
[+0.02s] DEBUG: posix_spawn avoided (automatic reaping requested) (fd close requested) 
[+1.55s] DEBUG: Got signal 10 from process 5217
[+1.55s] DEBUG: XServer 0: Got signal from X server :0
[+1.55s] DEBUG: XServer 0: Connecting to XServer :0
[+1.55s] DEBUG: Launching process 5229: /sbin/prime-offload
[+1.56s] DEBUG: Process 5229 exited with return value 0
[+1.56s] DEBUG: Seat seat0: Exit status of /sbin/prime-offload: 0
[+1.56s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified) 
[+1.56s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+1.56s] DEBUG: Session pid=5234: Started with service 'lightdm-greeter', username 'lightdm'
[+1.58s] DEBUG: Session pid=5234: Authentication complete with return value 0: Success
[+1.58s] DEBUG: Seat seat0: Session authenticated, running command
[+1.58s] DEBUG: Session pid=5234: Running command /usr/lib/lightdm/lightdm-greeter-session /usr/sbin/io.elementary.greeter
[+1.58s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+1.58s] DEBUG: Session pid=5234: Logging to /var/log/lightdm/seat0-greeter.log
[+1.59s] DEBUG: Activating VT 7
[+1.59s] DEBUG: Activating login1 session c13
[+1.59s] DEBUG: Seat seat0 changes active session to c13
[+1.59s] DEBUG: Session c13 is already active
[+1.73s] DEBUG: Greeter connected version=1.30.0 api=1 resettable=false
[+2.37s] DEBUG: Greeter start authentication for (...)
[+2.38s] DEBUG: Session pid=5332: Started with service 'lightdm', username '(...)'
[+2.38s] DEBUG: Session pid=5332: Got 1 message(s) from PAM
[+2.38s] DEBUG: Prompt greeter with 1 message(s)
[+2.50s] DEBUG: Greeter closed communication channel
[+2.50s] DEBUG: Session pid=5234: Exited with return value 0
[+2.50s] DEBUG: Seat seat0: Session stopped
[+2.50s] DEBUG: Seat seat0: Stopping; failed to start a greeter
[+2.50s] DEBUG: Seat seat0: Stopping
[+2.50s] DEBUG: Seat seat0: Stopping display server
[+2.50s] DEBUG: Sending signal 15 to process 5217
[+2.50s] DEBUG: Seat seat0: Stopping session
[+2.50s] DEBUG: Session pid=5332: Sending SIGTERM
[+2.50s] DEBUG: Session pid=5332: Terminated with signal 15
[+2.50s] DEBUG: Session: Failed during authentication
[+2.50s] DEBUG: Seat seat0: Session stopped
[+3.02s] DEBUG: Process 5217 exited with return value 0
[+3.02s] DEBUG: XServer 0: X server stopped
[+3.02s] DEBUG: Releasing VT 7
[+3.02s] DEBUG: XServer 0: Removing X server authority /var/run/lightdm/root/:0
[+3.02s] DEBUG: Seat seat0: Display server stopped
[+3.02s] DEBUG: Launching process 5343: /sbin/prime-switch
[+3.05s] DEBUG: Process 5343 exited with return value 0
[+3.05s] DEBUG: Seat seat0: Exit status of /sbin/prime-switch: 0
[+3.05s] DEBUG: Seat seat0: Stopped
[+3.05s] DEBUG: Required seat has stopped
[+3.05s] DEBUG: Stopping display manager
[+3.05s] DEBUG: Display manager stopped
[+3.05s] DEBUG: Stopping daemon
[+3.05s] DEBUG: Exiting with return value 1
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=5382
(...)

This loops many times.

Greeter log:

(...)
** (io.elementary.greeter:3964): CRITICAL **: 23:03:58.383: MainWindow.vala:358: prompt: `Password: ' (1)

(io.elementary.greeter:4142): Handy-WARNING **: 23:04:01.628: Failed to load icon: Błąd podczas otwierania pliku /home/(...)/.face: Nie ma takiego pliku ani katalogu

(io.elementary.greeter:4142): Handy-WARNING **: 23:04:01.628: Failed to load icon: Błąd podczas otwierania pliku /home/(....)/.face: Nie ma takiego pliku ani katalogu

** (io.elementary.greeter:4142): CRITICAL **: 23:04:01.692: MainWindow.vala:358: prompt: `Password: ' (1)

(io.elementary.greeter:4270): Handy-WARNING **: 23:04:05.171: Failed to load icon: Błąd podczas otwierania pliku /home/(...)/.face: Nie ma takiego pliku ani katalogu

(io.elementary.greeter:4270): Handy-WARNING **: 23:04:05.171: Failed to load icon: Błąd podczas otwierania pliku /home/(....)/.face: Nie ma takiego pliku ani katalogu

** (io.elementary.greeter:4270): CRITICAL **: 23:04:05.212: MainWindow.vala:358: prompt: `Password: ' (1)

(io.elementary.greeter:4423): Gtk-CRITICAL **: 23:04:08.369: gtk_widget_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(io.elementary.greeter:4423): Handy-WARNING **: 23:04:08.374: Failed to load icon: Błąd podczas otwierania pliku /home/(...)/.face: Nie ma takiego pliku ani katalogu

(io.elementary.greeter:4423): Handy-WARNING **: 23:04:08.374: Failed to load icon: Błąd podczas otwierania pliku /home/(....)/.face: Nie ma takiego pliku ani katalogu

(io.elementary.greeter:4423): Gtk-CRITICAL **: 23:04:08.374: gtk_widget_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

** (io.elementary.greeter:4423): CRITICAL **: 23:04:08.374: MainWindow.vala:358: prompt: `Password: ' (1)

(io.elementary.greeter:4423): Gtk-CRITICAL **: 23:04:08.374: gtk_widget_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(io.elementary.greeter:4589): Handy-WARNING **: 23:04:11.764: Failed to load icon: Błąd podczas otwierania pliku /home/(...)/.face: Nie ma takiego pliku ani katalogu

(io.elementary.greeter:4589): Handy-WARNING **: 23:04:11.765: Failed to load icon: Błąd podczas otwierania pliku /home/(....)/.face: Nie ma takiego pliku ani katalogu

** (io.elementary.greeter:4589): CRITICAL **: 23:04:11.804: MainWindow.vala:358: prompt: `Password: ' (1)

(io.elementary.greeter:4740): Gtk-CRITICAL **: 23:04:15.115: gtk_widget_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(io.elementary.greeter:4740): Handy-WARNING **: 23:04:15.117: Failed to load icon: Błąd podczas otwierania pliku /home/(...)/.face: Nie ma takiego pliku ani katalogu

(io.elementary.greeter:4740): Handy-WARNING **: 23:04:15.117: Failed to load icon: Błąd podczas otwierania pliku /home/(....)/.face: Nie ma takiego pliku ani katalogu

(io.elementary.greeter:4740): Gtk-CRITICAL **: 23:04:15.117: gtk_widget_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(io.elementary.greeter:4740): Gtk-CRITICAL **: 23:04:15.117: gtk_widget_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

** (io.elementary.greeter:4740): CRITICAL **: 23:04:15.186: MainWindow.vala:358: prompt: `Password: ' (1)

(io.elementary.greeter:4933): Gtk-CRITICAL **: 23:04:18.613: gtk_widget_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(io.elementary.greeter:4933): Handy-WARNING **: 23:04:18.614: Failed to load icon: Błąd podczas otwierania pliku /home/(...)/.face: Nie ma takiego pliku ani katalogu

(io.elementary.greeter:4933): Handy-WARNING **: 23:04:18.614: Failed to load icon: Błąd podczas otwierania pliku /home/(....)/.face: Nie ma takiego pliku ani katalogu

(io.elementary.greeter:4933): Gtk-CRITICAL **: 23:04:18.614: gtk_widget_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

** (io.elementary.greeter:4933): CRITICAL **: 23:04:18.654: MainWindow.vala:358: prompt: `Password: ' (1)

(io.elementary.greeter:5113): Handy-WARNING **: 23:04:22.122: Failed to load icon: Błąd podczas otwierania pliku /home/(...)/.face: Nie ma takiego pliku ani katalogu

(io.elementary.greeter:5113): Handy-WARNING **: 23:04:22.122: Failed to load icon: Błąd podczas otwierania pliku /home/(....)/.face: Nie ma takiego pliku ani katalogu

** (io.elementary.greeter:5113): CRITICAL **: 23:04:22.162: MainWindow.vala:358: prompt: `Password: ' (1)

(io.elementary.greeter:5239): Handy-WARNING **: 23:04:25.431: Failed to load icon: Błąd podczas otwierania pliku /home/(...)/.face: Nie ma takiego pliku ani katalogu

(io.elementary.greeter:5239): Handy-WARNING **: 23:04:25.431: Failed to load icon: Błąd podczas otwierania pliku /home/(....)/.face: Nie ma takiego pliku ani katalogu

** (io.elementary.greeter:5239): CRITICAL **: 23:04:25.470: MainWindow.vala:358: prompt: `Password: ' (1)

(io.elementary.greeter:5412): Handy-WARNING **: 23:04:28.612: Failed to load icon: Błąd podczas otwierania pliku /home/(...)/.face: Nie ma takiego pliku ani katalogu

(io.elementary.greeter:5412): Handy-WARNING **: 23:04:28.612: Failed to load icon: Błąd podczas otwierania pliku /home/(....)/.face: Nie ma takiego pliku ani katalogu

** (io.elementary.greeter:5412): CRITICAL **: 23:04:28.652: MainWindow.vala:358: prompt: `Password: ' (1)

(io.elementary.greeter:5412): Gtk-CRITICAL **: 23:04:28.704: gtk_style_context_add_provider: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

** (io.elementary.greeter:5412): CRITICAL **: 23:04:28.987: MainWindow.vala:358: prompt: `Password: ' (1)

** (io.elementary.greeter:5412): CRITICAL **: 23:04:31.847: MainWindow.vala:358: prompt: `Password: ' (1)

(io.elementary.greeter:28601): Handy-WARNING **: 23:54:22.567: Failed to load icon: Błąd podczas otwierania pliku /home/(...)/.face: Nie ma takiego pliku ani katalogu

(io.elementary.greeter:28601): Handy-WARNING **: 23:54:22.567: Failed to load icon: Błąd podczas otwierania pliku /home/(....)/.face: Nie ma takiego pliku ani katalogu

** (io.elementary.greeter:28601): CRITICAL **: 23:54:22.610: MainWindow.vala:358: prompt: `Password: ' (1)

System logs (showing one lightdm restart afaict):

paź 09 23:03:55 pawel-desktop systemd[1]: Starting Detect the available GPUs and deal with any system changes...
paź 09 23:03:55 pawel-desktop systemd[1]: gpu-manager.service: Succeeded.
paź 09 23:03:55 pawel-desktop systemd[1]: Finished Detect the available GPUs and deal with any system changes.
paź 09 23:03:55 pawel-desktop systemd[1]: Starting Light Display Manager...
paź 09 23:03:55 pawel-desktop lightdm[3933]: Seat type 'xlocal' is deprecated, use 'type=local' instead
paź 09 23:03:55 pawel-desktop systemd[1]: Started Light Display Manager.
paź 09 23:03:55 pawel-desktop systemd[1]: NetworkManager-dispatcher.service: Succeeded.
paź 09 23:03:56 pawel-desktop acpid[1970]: client connected from 3938[0:0]
paź 09 23:03:56 pawel-desktop acpid[1970]: 1 client rule loaded
paź 09 23:03:56 pawel-desktop rtkit-daemon[2533]: Supervising 5 threads of 1 processes of 1 users.
paź 09 23:03:56 pawel-desktop rtkit-daemon[2533]: Successfully made thread 3944 of process 3885 owned by '114' RT at priority 5.
paź 09 23:03:56 pawel-desktop rtkit-daemon[2533]: Supervising 6 threads of 1 processes of 1 users.
paź 09 23:03:57 pawel-desktop lightdm[3955]: PAM unable to dlopen(pam_kwallet.so): /lib/security/pam_kwallet.so: cannot open shared object file: No such file or directory
paź 09 23:03:57 pawel-desktop lightdm[3955]: PAM adding faulty module: pam_kwallet.so
paź 09 23:03:57 pawel-desktop lightdm[3955]: PAM unable to dlopen(pam_kwallet5.so): /lib/security/pam_kwallet5.so: cannot open shared object file: No such file or directory
paź 09 23:03:57 pawel-desktop lightdm[3955]: PAM adding faulty module: pam_kwallet5.so
paź 09 23:03:57 pawel-desktop lightdm[3955]: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
paź 09 23:03:57 pawel-desktop systemd-logind[2000]: New session c5 of user lightdm.
paź 09 23:03:57 pawel-desktop systemd[1]: Started Session c5 of user lightdm.
paź 09 23:03:57 pawel-desktop lightdm[3955]: gkr-pam: gnome-keyring-daemon started properly
paź 09 23:03:57 pawel-desktop rtkit-daemon[2533]: Supervising 5 threads of 1 processes of 1 users.
paź 09 23:03:57 pawel-desktop rtkit-daemon[2533]: Successfully made thread 3974 of process 3885 owned by '114' RT at priority 5.
paź 09 23:03:57 pawel-desktop rtkit-daemon[2533]: Supervising 6 threads of 1 processes of 1 users.
paź 09 23:03:57 pawel-desktop rtkit-daemon[2533]: Supervising 5 threads of 1 processes of 1 users.
paź 09 23:03:57 pawel-desktop rtkit-daemon[2533]: Warning: Reached burst limit for user '114', denying request.
paź 09 23:03:57 pawel-desktop rtkit-daemon[2533]: Supervising 5 threads of 1 processes of 1 users.
paź 09 23:03:57 pawel-desktop rtkit-daemon[2533]: Warning: Reached burst limit for user '114', denying request.
paź 09 23:03:58 pawel-desktop rtkit-daemon[2533]: Supervising 5 threads of 1 processes of 1 users.
paź 09 23:03:58 pawel-desktop rtkit-daemon[2533]: Warning: Reached burst limit for user '114', denying request.
paź 09 23:03:58 pawel-desktop rtkit-daemon[2533]: Supervising 5 threads of 1 processes of 1 users.
paź 09 23:03:58 pawel-desktop rtkit-daemon[2533]: Warning: Reached burst limit for user '114', denying request.
paź 09 23:03:58 pawel-desktop rtkit-daemon[2533]: Supervising 5 threads of 1 processes of 1 users.
paź 09 23:03:58 pawel-desktop rtkit-daemon[2533]: Warning: Reached burst limit for user '114', denying request.
paź 09 23:03:58 pawel-desktop lightdm[4006]: PAM unable to dlopen(pam_kwallet.so): /lib/security/pam_kwallet.so: cannot open shared object file: No such file or directory
paź 09 23:03:58 pawel-desktop lightdm[4006]: PAM adding faulty module: pam_kwallet.so
paź 09 23:03:58 pawel-desktop lightdm[4006]: PAM unable to dlopen(pam_kwallet5.so): /lib/security/pam_kwallet5.so: cannot open shared object file: No such file or directory
paź 09 23:03:58 pawel-desktop lightdm[4006]: PAM adding faulty module: pam_kwallet5.so
paź 09 23:03:58 pawel-desktop lightdm[4006]: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "(...)"
paź 09 23:03:58 pawel-desktop kernel: traps: io.elementary.g[3964] general protection fault ip:7fa92bb5711f sp:7fff5759aec0 error:0 in libgtk-3.so.0.2404.16[7fa92b8e5000+36f000]
paź 09 23:03:58 pawel-desktop lightdm[3955]: pam_unix(lightdm-greeter:session): session closed for user lightdm
paź 09 23:03:58 pawel-desktop systemd-logind[2000]: Session c5 logged out. Waiting for processes to exit.
paź 09 23:03:58 pawel-desktop systemd[2518]: pulseaudio.service: Succeeded.
paź 09 23:03:59 pawel-desktop acpid[1970]: client 3938[0:0] has disconnected
paź 09 23:03:59 pawel-desktop systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
paź 09 23:03:59 pawel-desktop systemd[1]: lightdm.service: Failed with result 'exit-code'.
paź 09 23:03:59 pawel-desktop systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 5.
paź 09 23:03:59 pawel-desktop systemd[1]: Stopped Light Display Manager.
paź 09 23:03:59 pawel-desktop systemd[1]: Starting Detect the available GPUs and deal with any system changes...
paź 09 23:03:59 pawel-desktop systemd[1]: gpu-manager.service: Succeeded.
paź 09 23:03:59 pawel-desktop systemd[1]: Finished Detect the available GPUs and deal with any system changes.
paź 09 23:03:59 pawel-desktop systemd[1]: Starting Light Display Manager...
paź 09 23:03:59 pawel-desktop lightdm[4057]: Seat type 'xlocal' is deprecated, use 'type=local' instead
marmeladapk commented 2 years ago

Huh, I just got this problem on a second computer, which has displays connected both to intel igpu and to nvidia gpu. Nvidia gpu was using nouveau drivers. This gpu is used only for passthrough and as soon as I grabbed it with vfio-pci on boot (which prevented using the gpu in any way other than pci passthrough) the issue stopped appearing.

marmeladapk commented 2 years ago

Pressing ctrl+alt in fact does nothing. Greeter randomly appears after some tries. Seems like a race condition of some sort.

thmey commented 2 years ago

This happens for me as well.

Only working solution is to unplug all monitors before logging in.

The issue still occurs when I disable those pam modules and restart lightdm.

paź 09 23:03:58 pawel-desktop rtkit-daemon[2533]: Warning: Reached burst limit for user '114', denying request. paź 09 23:03:58 pawel-desktop lightdm[4006]: PAM unable to dlopen(pam_kwallet.so): /lib/security/pam_kwallet.so: cannot open shared object file: No such file or directory paź 09 23:03:58 pawel-desktop lightdm[4006]: PAM adding faulty module: pam_kwallet.so paź 09 23:03:58 pawel-desktop lightdm[4006]: PAM unable to dlopen(pam_kwallet5.so): /lib/security/pam_kwallet5.so: c

agrawalsourav98 commented 2 years ago

Have been annoyed by the issue since update to the 6.0.1 I believe. It was not an issue with the initial release. Like when the HDMI cable is removed the loop breaks out after one or two blanks but sometimes it even takes 5 minutes or so to just get me to the login screen.

matfantinel commented 2 years ago

I have been getting this issue even with the PRIME profile being Integrated graphics only, on a Dell XPS 9570.

Today, even after unplugging the HDMI cable, Greeter wasn't able to load, and it flashed this on the screen: image

The extracted text, if needed:

[26.291532] pcieport 0000:02:00.0: can't change power state from D3cold to DO
(config space inaccessible)
[26.291665] pcieport 0000:03:02.0: can't change power state from D3cold to DO (config space inaccessible)
[26.292496] ×hci_hed 0000:3a:00.0: can't change power state from D3cold to DO (config space inaccessible)
[26.292617] ×hci_hed 0000:3a:00.0: can't change power state from D3hot to DO (config space inaccessible)
[26.292640] ×hci_hcd 0000:3a:00.0: PCI post-resume error -19!
[26.292641] ×hci_hcd 0000:3a:00.0: HC died; cleaning up
[26.293286] pcieport 0000:03:01.0: can't change power state from D3cold to DO (config space inacessible)
[26.293392] pcieport 0000:03:00.0: can't change power state from D3cold to DO (config space inaccessible)
thmey commented 2 years ago

I think the issue is related to #578, where I did a git bisect. The issue seems to be introduced in 6f18c79. Could someone verify that or do their own bisect?

marmeladapk commented 2 years ago

Since 6.0.2 this is fixed for me.