greeter icon indicating copy to clipboard operation
greeter copied to clipboard

Greeter / Lock Screen prevents the display from going to sleep

Open rdrms opened this issue 5 years ago • 3 comments

If the lock screen or greeter is active, it prevents my display from going to sleep. Instead, if you lock it, after a few moments the screen will turn black with the backlight still on and the display still awake (constant blue LED on the monitor).

I am able to get the display to sleep with 'xset dpms force off', but if "Lock when screen turns off" is active the behaviour is that the screen will turn off for roughly one second (blue LED flashing), then turn back on (red LED), and then display the lock screen (with constant blue "on" LED). Eventually the screen will turn black with backlight on after a few moments of showing the lock screen.

My graphics card is an NVIDIA GTX 750 Ti, current graphics drivers are from the nvidia-driver-390 series, driver: 390.48-0ubuntu3

The monitor is a Achieva Shimian QH270 27" LED 2560x1440. Reported to Switchboard's Displays module as an Aculab Ltd 27". I had some trouble getting this monitor to work with Xorg in earlier versions, but now it works at full resolution with an xorg.conf file.

I'm fairly certain that this is an issue with the greeter, as the monitor turns off without it running and it doesn't happen in other distros or flavours of Ubuntu.

Kernel: Linux hostname 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/lsb-release
DISTRIB_ID=elementary
DISTRIB_RELEASE=5.0
DISTRIB_CODENAME=juno
DISTRIB_DESCRIPTION="elementary OS 5.0 Juno"


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

rdrms avatar Sep 10 '18 07:09 rdrms

I've noticed on my machine as well, that when on the greeter screen, the monitor never turns off. I've tried manually setting the same settings that I've got for both user accounts when it comes to idle time (org.gnome.desktop.session idle-delay 300), and nothing changes.

When locking via Super+L, the screen immediately turns off as expected, though once the monitor is awoken, it will not turn back off on its own.

My system info

elementary OS 6 Odin, fully updated as of posting.

System:    Kernel: 5.11.0-34-generic x86_64 bits: 64 compiler: N/A Desktop: Pantheon Distro: elementary OS 6 Odin 
Machine:   Type: Desktop Mobo: ASUSTeK model: PRIME B350-PLUS v: Rev X.0x serial: <filter> 
           UEFI: American Megatrends v: 5407 date: 12/31/2019 
CPU:       Topology: 8-Core model: AMD Ryzen 7 2700 bits: 64 type: MT MCP arch: Zen+ rev: 2 L2 cache: 4096 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 108800 
           Speed: 1374 MHz min/max: 1550/3400 MHz Core speeds (MHz): 1: 1375 2: 1377 3: 1377 4: 1377 5: 1378 
           6: 1374 7: 1374 8: 1385 9: 1377 10: 1376 11: 1377 12: 1376 13: 1374 14: 1377 15: 1376 16: 1377 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] 
           vendor: XFX Pine driver: amdgpu v: kernel bus ID: 0c:00.0 
           Display: x11 server: X.Org 1.20.11 driver: amdgpu,ati unloaded: fbdev,modesetting,radeon,vesa 
           resolution: 3840x1080~144Hz 
           OpenGL: renderer: AMD Radeon RX 5700 XT (NAVI10 DRM 3.40.0 5.11.0-34-generic LLVM 12.0.0) 
           v: 4.6 Mesa 21.0.3 direct render: Yes 
Audio:     Device-1: Creative Labs Sound Core3D [Sound Blaster Recon3D / Z-Series] driver: snd_hda_intel v: kernel 
           bus ID: 09:00.0 
           Device-2: Advanced Micro Devices [AMD/ATI] Navi 10 HDMI Audio driver: snd_hda_intel v: kernel 
           bus ID: 0c:00.1 
           Device-3: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel 
           v: kernel bus ID: 0e:00.3 
           Device-4: C-Media Blue Snowball type: USB driver: hid-generic,snd-usb-audio,usbhid bus ID: 3-1:2 
           Sound Server: ALSA v: k5.11.0-34-generic 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK driver: r8169 
           v: kernel port: f000 bus ID: 04:00.0 
           IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A 
Drives:    Local Storage: total: 6.60 TiB used: 159.57 GiB (2.4%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 960 EVO 250GB size: 232.89 GiB 
           ID-2: /dev/sda vendor: Western Digital model: WDS500G2B0A-00SM50 size: 465.76 GiB 
           ID-3: /dev/sdb vendor: Western Digital model: WDS500G2B0A-00SM50 size: 465.76 GiB 
           ID-4: /dev/sdc vendor: Western Digital model: WDS500G2B0A-00SM50 size: 465.76 GiB 
           ID-5: /dev/sdd type: USB vendor: Western Digital model: WD easystore 2624 size: 4.55 TiB 
           ID-6: /dev/sde vendor: Western Digital model: WDS500G2B0A-00SM50 size: 465.76 GiB 
Partition: ID-1: / size: 230.88 GiB used: 56.76 GiB (24.6%) fs: btrfs dev: /dev/nvme0n1p3 
           ID-2: /boot size: 991.9 MiB used: 218.4 MiB (22.0%) fs: ext4 dev: /dev/nvme0n1p2 
Sensors:   System Temperatures: cpu: 34.0 C mobo: N/A gpu: amdgpu temp: 48 C 
           Fan Speeds (RPM): N/A gpu: amdgpu fan: 0 
Info:      Processes: 469 Uptime: 2h 10m Memory: 31.36 GiB used: 2.49 GiB (7.9%) Init: systemd runlevel: 5 
           Compilers: gcc: 9.3.0 Shell: fish v: 3.1.0 inxi: 3.0.38

Schykle avatar Sep 19 '21 18:09 Schykle

I can confirm the same behavior on my Lenovo Thinkpad T430.

System: Host: ThinkPad-T430-80c847cb Kernel: 5.11.0-34-generic x86_64 bits: 64 Desktop: Pantheon Distro: elementary OS 6 Odin Machine: Type: Laptop System: LENOVO product: 23427YU v: ThinkPad T430 serial: <superuser/root required> Mobo: LENOVO model: 23427YU v: 0B98401 PRO serial: <superuser/root required> UEFI: LENOVO v: G1ETA1WW (2.61 ) date: 12/03/2013 Battery: ID-1: BAT0 charge: 27.1 Wh condition: 27.3/47.5 Wh (57%) CPU: Topology: Dual Core model: Intel Core i5-3320M bits: 64 type: MT MCP L2 cache: 3072 KiB Speed: 1210 MHz min/max: 1200/3300 MHz Core speeds (MHz): 1: 1258 2: 1412 3: 1309 4: 1230 Graphics: Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel Display: x11 server: X.Org 1.20.11 driver: modesetting unloaded: fbdev,vesa resolution: 1366x768~60Hz OpenGL: renderer: Mesa DRI Intel HD Graphics 4000 (IVB GT2) v: 4.2 Mesa 21.0.3 Audio: Device-1: Intel 7 Series/C216 Family High Definition Audio driver: snd_hda_intel Sound Server: ALSA v: k5.11.0-34-generic Network: Device-1: Intel 82579LM Gigabit Network driver: e1000e IF: enp0s25 state: down mac: 28:d2:44:53:b0:c7 Device-2: Intel Centrino Advanced-N 6205 [Taylor Peak] driver: iwlwifi IF: wlp3s0 state: up mac: e0:9d:31:3d:64:38 Drives: Local Storage: total: 238.47 GiB used: 10.28 GiB (4.3%) ID-1: /dev/sda vendor: Lexar model: SSD size: 238.47 GiB Partition: ID-1: / size: 229.71 GiB used: 10.27 GiB (4.5%) fs: ext4 dev: /dev/dm-0 ID-2: swap-1 size: 3.82 GiB used: 1.8 MiB (0.0%) fs: swap dev: /dev/dm-2 Sensors: System Temperatures: cpu: 42.0 C mobo: 0.0 C Fan Speeds (RPM): cpu: 0 Info: Processes: 231 Uptime: 1h 16m Memory: 3.66 GiB used: 1.22 GiB (33.2%) Shell: bash inxi: 3.0.38

Dale-CDL avatar Sep 19 '21 20:09 Dale-CDL

I also have this problem on my Lenovo Y580 with fresh stable EOS 6.1. And another related problem: after pressing Super+L the screen goes immediately off, but the music keeps playing(Spotify) and the PC is actually not locked, because if I press some key or move my mouse - the screen goes on and the keyboard/mouse action is executed as if it's not locked(I've moved my mouse to the hot corner and a multitasking view appeared). And only then the greeter appears, the music becomes paused and the PC is actually locked. And the screen stays on forever :grin: Locking action in EOS 5.1.7 was fine.

I've saved the syslog part of this experiment, but seems like there are no interesting details there:

locking, waiting ~5sec, moving mouse or pressing `Space`(sorry, I forgot :) ), then unlocking with a password
Jan 25 01:35:13 Lenovo-IdeaPad-Y580-d4dce24c kernel: [22950.305321] nouveau 0000:01:00.0: Enabling HDA controller
Jan 25 01:35:13 Lenovo-IdeaPad-Y580-d4dce24c kernel: [22950.866453] rfkill: input handler enabled
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c systemd[1]: Created slice User Slice of UID 114.
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c systemd[1]: Starting User Runtime Directory /run/user/114...
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c systemd[1]: Finished User Runtime Directory /run/user/114.
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c systemd[1]: Starting User Manager for UID 114...
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c systemd[110707]: Reached target Paths.
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c systemd[110707]: Reached target Timers.
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c systemd[110707]: Starting D-Bus User Message Bus Socket.
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c systemd[110707]: Listening on GnuPG network certificate management daemon.
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c systemd[110707]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c systemd[110707]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c systemd[110707]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c systemd[110707]: Listening on GnuPG cryptographic agent and passphrase cache.
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c systemd[110707]: Listening on debconf communication socket.
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c systemd[110707]: Listening on Sound System.
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c systemd[110707]: Listening on D-Bus User Message Bus Socket.
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c systemd[110707]: Reached target Sockets.
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c systemd[110707]: Reached target Basic System.
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c systemd[1]: Started User Manager for UID 114.
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c systemd[110707]: Starting Sound Service...
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c systemd[1]: Started Session c5 of user lightdm.
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c systemd[110707]: Started D-Bus User Message Bus.
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c dbus-daemon[110725]: [session uid=114 pid=110725] AppArmor D-Bus mediation is enabled
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c rtkit-daemon[1170]: Successfully made thread 110715 of process 110715 owned by '114' high priority at nice level -11.
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c rtkit-daemon[1170]: Supervising 4 threads of 2 processes of 2 users.
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c dbus-daemon[110725]: [session uid=114 pid=110725] Activating via systemd: service name='org.a11y.Bus' unit='at-spi-dbus-bus.service' requested by ':1.3' (uid=114 pid=110722 comm="/usr/sbin/io.elementary.greeter " label="unconfined")
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c systemd[110707]: Starting Accessibility services bus...
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c dbus-daemon[110725]: [session uid=114 pid=110725] Activating via systemd: service name='org.gtk.vfs.Daemon' unit='gvfs-daemon.service' requested by ':1.4' (uid=114 pid=110731 comm="/usr/libexec/at-spi-bus-launcher " label="unconfined")
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c systemd[110707]: Starting Virtual filesystem service...
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c dbus-daemon[110725]: [session uid=114 pid=110725] Successfully activated service 'org.gtk.vfs.Daemon'
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c systemd[110707]: Started Virtual filesystem service.
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c dbus-daemon[110725]: [session uid=114 pid=110725] Successfully activated service 'org.a11y.Bus'
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c systemd[110707]: Started Accessibility services bus.
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c rtkit-daemon[1170]: Supervising 4 threads of 2 processes of 2 users.
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c rtkit-daemon[1170]: Successfully made thread 110760 of process 110715 owned by '114' RT at priority 5.
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c rtkit-daemon[1170]: Supervising 5 threads of 2 processes of 2 users.
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c rtkit-daemon[1170]: Supervising 5 threads of 2 processes of 2 users.
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c rtkit-daemon[1170]: Successfully made thread 110761 of process 110715 owned by '114' RT at priority 5.
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c rtkit-daemon[1170]: Supervising 6 threads of 2 processes of 2 users.
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c at-spi-bus-launcher[110744]: dbus-daemon[110744]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=114 pid=110722 comm="/usr/sbin/io.elementary.greeter " label="unconfined")
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c systemd[110707]: Started Sound Service.
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c systemd[110707]: Reached target Main User Target.
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c systemd[110707]: Startup finished in 405ms.
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c bluetoothd[1160]: Endpoint registered: sender=:1.238 path=/MediaEndpoint/A2DPSink/sbc
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c bluetoothd[1160]: Endpoint registered: sender=:1.238 path=/MediaEndpoint/A2DPSource/sbc
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c bluetoothd[1160]: RFCOMM server failed for Headset Voice gateway: rfcomm_bind: Address already in use (98)
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c bluetoothd[1160]: RFCOMM server failed for :1.238/Profile/HSPHSProfile/00001108-0000-1000-8000-00805f9b34fb: rfcomm_bind: Address already in use (98)
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c at-spi-bus-launcher[110744]: dbus-daemon[110744]: Successfully activated service 'org.a11y.atspi.Registry'
Jan 25 01:35:14 Lenovo-IdeaPad-Y580-d4dce24c at-spi-bus-launcher[110764]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Jan 25 01:35:15 Lenovo-IdeaPad-Y580-d4dce24c dbus-daemon[813]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.239' (uid=114 pid=110770 comm="/usr/libexec/gsd-media-keys " label="unconfined")
Jan 25 01:35:15 Lenovo-IdeaPad-Y580-d4dce24c systemd[1]: Starting Hostname Service...
Jan 25 01:35:15 Lenovo-IdeaPad-Y580-d4dce24c dbus-daemon[110725]: [session uid=114 pid=110725] Activating service name='ca.desrt.dconf' requested by ':1.13' (uid=114 pid=110762 comm="io.elementary.wingpanel -g " label="unconfined")
Jan 25 01:35:15 Lenovo-IdeaPad-Y580-d4dce24c dbus-daemon[110725]: [session uid=114 pid=110725] Successfully activated service 'ca.desrt.dconf'
Jan 25 01:35:15 Lenovo-IdeaPad-Y580-d4dce24c gsd-color[2055]: failed to set screen _ICC_PROFILE: Не удалось открыть файл «/var/lib/lightdm/.local/share/icc/edid-c2240ef24797685daf3eed09b63968a3.icc»: Отказано в доступе
Jan 25 01:35:15 Lenovo-IdeaPad-Y580-d4dce24c dbus-daemon[813]: [system] Successfully activated service 'org.freedesktop.hostname1'
Jan 25 01:35:15 Lenovo-IdeaPad-Y580-d4dce24c systemd[1]: Started Hostname Service.
Jan 25 01:35:19 Lenovo-IdeaPad-Y580-d4dce24c kernel: [22956.288027] rfkill: input handler disabled
Jan 25 01:35:19 Lenovo-IdeaPad-Y580-d4dce24c systemd[1]: Stopping Session c5 of user lightdm.
Jan 25 01:35:19 Lenovo-IdeaPad-Y580-d4dce24c systemd[1]: session-c5.scope: Succeeded.
Jan 25 01:35:19 Lenovo-IdeaPad-Y580-d4dce24c systemd[1]: Stopped Session c5 of user lightdm.
Jan 25 01:35:19 Lenovo-IdeaPad-Y580-d4dce24c bluetoothd[1160]: Endpoint unregistered: sender=:1.238 path=/MediaEndpoint/A2DPSink/sbc
Jan 25 01:35:19 Lenovo-IdeaPad-Y580-d4dce24c bluetoothd[1160]: Endpoint unregistered: sender=:1.238 path=/MediaEndpoint/A2DPSource/sbc
Jan 25 01:35:19 Lenovo-IdeaPad-Y580-d4dce24c systemd[110707]: pulseaudio.service: Succeeded.
Jan 25 01:35:20 Lenovo-IdeaPad-Y580-d4dce24c gsd-color[2055]: failed to connect to device: Failed to connect to missing device /org/freedesktop/ColorManager/devices/xrandr_LG_Display_lightdm_114
Jan 25 01:35:21 Lenovo-IdeaPad-Y580-d4dce24c kernel: [22958.627983] [UFW BLOCK] IN=wlp3s0 OUT= MAC=01:00:5e:00:00:01:28:d1:27:d2:62:18:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 

pridumkuvatyj avatar Jan 25 '22 00:01 pridumkuvatyj