Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long delay before greeter shows up after suspend #595

Open
ghost opened this issue Jan 28, 2022 · 3 comments
Open

Long delay before greeter shows up after suspend #595

ghost opened this issue Jan 28, 2022 · 3 comments

Comments

@ghost
Copy link

ghost commented Jan 28, 2022

What Happened?

When the laptop is suspended and I open the lid, it takes the greeter a few seconds to show up. The only thing that is visible is the screen's backlight and a blinking cursor in the upper-left corner.

Steps to Reproduce

  1. Suspend laptop
  2. Wait for a minute or two
  3. Open lid

Expected Behavior

Greeter should show up within 2-3 seconds instead of ~10 seconds, which is the current behavior.

OS Version

6.x (Odin)

Software Version

Latest release (I have run all updates)

Log Output

$ journalctl -b -0 -q | grep lightdm

Jan 28 13:49:47 elementary gsd-color[1460]: failed to set screen _ICC_PROFILE: Failed to open file “/var/lib/lightdm/.local/share/icc/edid-f4c44e0f3e2cc9cf730e801289e573d2.icc”: Permission denied
Jan 28 13:49:51 elementary gsd-color[1460]: failed to connect to device: Failed to connect to missing device /org/freedesktop/ColorManager/devices/xrandr_Chimei_Innolux_Corporation_lightdm_114
Jan 28 13:49:51 elementary gsd-color[1460]: failed to connect to device: Failed to connect to missing device /org/freedesktop/ColorManager/devices/xrandr_Chimei_Innolux_Corporation_lightdm_114
Jan 28 13:54:37 elementary gsd-color[1460]: failed to connect to device: Failed to connect to missing device /org/freedesktop/ColorManager/devices/xrandr_Chimei_Innolux_Corporation_lightdm_114
Jan 28 13:54:37 elementary gsd-color[1460]: failed to connect to device: Failed to connect to missing device /org/freedesktop/ColorManager/devices/xrandr_Chimei_Innolux_Corporation_lightdm_114

Hardware Info

System:    Kernel: 5.13.0-27-generic x86_64 bits: 64 compiler: N/A Desktop: Pantheon Distro: elementary OS 6.1 Jólnir 
Machine:   Type: Laptop System: LENOVO product: 82A1 v: Yoga Slim 7 14IIL05 serial: <filter> 
           Mobo: LENOVO model: LNVNB161216 v: SDK0J40709 WIN serial: <filter> UEFI: LENOVO v: DHCN32WW date: 05/27/2021 
Battery:   ID-1: BAT1 charge: 31.2 Wh condition: 52.4/60.7 Wh (86%) model: Celxpert L19C4PF4 status: Unknown 
CPU:       Topology: Quad Core model: Intel Core i7-1065G7 bits: 64 type: MT MCP arch: Ice Lake rev: 5 L2 cache: 8192 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 23961 
           Speed: 832 MHz min/max: 400/3900 MHz Core speeds (MHz): 1: 1300 2: 1300 3: 1301 4: 1302 5: 1139 6: 1281 7: 1200 
           8: 1208 
Graphics:  Device-1: Intel Iris Plus Graphics G7 vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0 
           Device-2: NVIDIA GP107M [GeForce MX350] vendor: Lenovo driver: N/A bus ID: 30:00.0 
           Display: x11 server: X.Org 1.20.13 driver: modesetting unloaded: fbdev,vesa resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa Intel Iris Plus Graphics (ICL GT2) v: 4.6 Mesa 21.0.3 direct render: Yes 
Audio:     Device-1: Intel Smart Sound Audio vendor: Lenovo driver: sof-audio-pci-intel-icl bus ID: 00:1f.3 
           Sound Server: ALSA v: k5.13.0-27-generic 
Network:   Device-1: Intel Killer Wi-Fi 6 AX1650i 160MHz Wireless Network Adapter driver: iwlwifi v: kernel port: 6000 
           bus ID: 00:14.3 
           IF: wlp0s20f3 state: up mac: <filter> 
Drives:    Local Storage: total: 476.94 GiB used: 35.18 GiB (7.4%) 
           ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN730 SDBPNTY-512G-1101 size: 476.94 GiB 
Partition: ID-1: / size: 463.50 GiB used: 35.05 GiB (7.6%) fs: ext4 dev: /dev/dm-1 
           ID-2: /boot size: 945.2 MiB used: 116.4 MiB (12.3%) fs: ext4 dev: /dev/nvme0n1p2 
           ID-3: swap-1 size: 3.80 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-2 
Sensors:   System Temperatures: cpu: 44.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 337 Uptime: 54m Memory: 15.37 GiB used: 1.80 GiB (11.7%) Init: systemd runlevel: 5 Compilers: gcc: N/A 
           Shell: bash v: 5.0.17 inxi: 3.0.38
@ghost
Copy link
Author

ghost commented Feb 1, 2022

Update: After running sudo apt install --reinstall lightdm io.elementary.greeter and rebooting, the greeter shows up a lot quicker (2-3s) than before (5-10s). I guess there was some conflict causing that. Still, the elementary greeter is way slower to show up than Gnome's which shows up almost instantly after waking up from suspend. I won't close this myself as I hope for someone to look into it and try to improve its performance.

Thank you guys for your hard work and this great distribution!

@o-alquimista
Copy link

Your workaround didn't make a difference here. It's a Dell laptop with Intel graphics.

There are many other bug reports like this.

@ghost
Copy link
Author

ghost commented Jul 9, 2022

What I've done wasn't really a workaround, but for some reason it worked. I thought that I had meddled with some config files and that replacing them with their original version would fix the issue, and although it did fix it for me, I switched distros very shortly after so yeah.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant