linuxmint / cinnamon-screensaver

The Cinnamon screen locker and screensaver program
GNU General Public License v2.0
151 stars 86 forks source link

Screen lock - only black screen and mouse cursor #450

Closed Perlover closed 8 months ago

Perlover commented 8 months ago

Distribution

Mint 21.3

Package version

Cinnamon 6.0.4

Graphics hardware in use

Advanced Micro Devices, Inc. [AMD/ATI] Cezanne

Frequency

Always

Bug description

When the screen is locked, the name and password field do not appear. Only a black screen with a mouse cursor.

Steps to reproduce

Before locking we should have a clean desktop (Super + D)

When I lock the screen (Ctrl + Alt + L), I get a completely black screen where only the mouse cursor is visible. That is, there is no password field to unlock the screen.

If I immediately press Ctrl + Alt + F1 without closing the laptop lid (switch to the text console), and then back to Alt + F7 (switch to the graphics console), then a screensaver with a username and password appears and I can unlock the screen.

Expected behavior

The lock screen should immediately display a splash screen with user names and a field for entering the password to unlock.

Additional information

The full system info:

System:
  Kernel: 6.5.0-14-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 6.0.4 tk: GTK 3.24.33
    wm: muffin vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.3 Virginia base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: LENOVO product: 82N5 v: Yoga Slim 7 Pro 14ACH5 O
    serial: <superuser required> Chassis: type: 10 v: Yoga Slim 7 Pro 14ACH5 O
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0T76530WIN serial: <superuser required> UEFI: LENOVO
    v: GZCN20WW date: 06/08/2021
Battery:
  ID-1: BAT0 charge: 31.2 Wh (59.5%) condition: 52.4/61.0 Wh (86.0%) volts: 15.2 min: 15.4
    model: Sunwoda L19D4PH3 type: Li-poly serial: <filter> status: Discharging cycles: 172
  Device-1: hidpp_battery_0 model: Logitech MX Vertical Advanced Ergonomic Mouse
    serial: <filter> charge: 100% (should be ignored) rechargeable: yes status: Discharging
CPU:
  Info: 8-core model: AMD Ryzen 7 5800H with Radeon Graphics bits: 64 type: MT MCP smt: enabled
    arch: Zen 3 rev: 0 cache: L1: 512 KiB L2: 4 MiB L3: 16 MiB
  Speed (MHz): avg: 1344 high: 2988 min/max: 400/4463 cores: 1: 1909 2: 400 3: 400 4: 2708
    5: 2988 6: 400 7: 1483 8: 400 9: 1753 10: 2685 11: 1773 12: 400 13: 1516 14: 1902 15: 400
    16: 400 bogomips: 102206
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Cezanne vendor: Lenovo driver: amdgpu v: kernel pcie: speed: 8 GT/s lanes: 16
    ports: active: eDP-1 empty: DP-1,DP-2 bus-ID: 03:00.0 chip-ID: 1002:1638 class-ID: 0300
  Device-2: IMC Networks Integrated Camera type: USB driver: uvcvideo bus-ID: 1-3:3
    chip-ID: 13d3:5419 class-ID: fe01 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: amdgpu,ati
    unloaded: fbdev,modesetting,vesa gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2880x1800 s-dpi: 96 s-size: 762x476mm (30.0x18.7") s-diag: 898mm (35.4")
  Monitor-1: eDP res: 2880x1800 hz: 90 dpi: 242 size: 302x189mm (11.9x7.4") diag: 356mm (14")
  OpenGL: renderer: RENOIR (renoir LLVM 15.0.7 DRM 3.54 6.5.0-14-generic)
    v: 4.6 Mesa 23.0.4-0ubuntu1~22.04.1 direct render: Yes
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio vendor: Lenovo driver: snd_hda_intel v: kernel
    pcie: speed: 8 GT/s lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:1637 class-ID: 0403
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Lenovo driver: N/A pcie:
    speed: 8 GT/s lanes: 16 bus-ID: 03:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel pcie:
    speed: 8 GT/s lanes: 16 bus-ID: 03:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Sound Server-1: ALSA v: k6.5.0-14-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter vendor: Lenovo
    driver: mt7921e v: kernel pcie: speed: 5 GT/s lanes: 1 bus-ID: 01:00.0 chip-ID: 14c3:7961
    class-ID: 0280
  IF: wlp1s0 state: up mac: <filter>
Bluetooth:
  Device-1: Foxconn / Hon Hai Wireless_Device type: USB driver: btusb v: 0.8 bus-ID: 3-4:2
    chip-ID: 0489:e0cd class-ID: e001 serial: <filter>
  Report: hciconfig ID: hci0 rfk-id: 2 state: down bt-service: enabled,running rfk-block:
    hardware: no software: yes address: <filter>
Drives:
  Local Storage: total: 953.87 GiB used: 439.53 GiB (46.1%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB1T0HBLR-000L2 size: 953.87 GiB speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 3L1QEXF7 temp: 34.9 C scheme: GPT
Partition:
  ID-1: / size: 914.69 GiB used: 439.2 GiB (48.0%) fs: ext4 dev: /dev/dm-1 mapped: vgmint-root
  ID-2: /boot size: 703.1 MiB used: 297.7 MiB (42.3%) fs: ext4 dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 256 MiB used: 36.5 MiB (14.3%) fs: vfat dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: partition size: 976 MiB used: 0 KiB (0.0%) priority: -2 dev: /dev/dm-2
    mapped: vgmint-swap_1
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-2:2 info: Logitech Unifying Receiver type: Keyboard,Mouse,HID
    driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s power: 98mA
    chip-ID: 046d:c52b class-ID: 0300
  Device-2: 1-3:3 info: IMC Networks Integrated Camera type: Video driver: uvcvideo
    interfaces: 5 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 13d3:5419 class-ID: fe01
    serial: <filter>
  Hub-2: 2-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 3-4:2 info: Foxconn / Hon Hai Wireless_Device type: Bluetooth driver: btusb
    interfaces: 3 rev: 2.1 speed: 480 Mb/s power: 100mA chip-ID: 0489:e0cd class-ID: e001
    serial: <filter>
  Hub-4: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 40.0 C
  Fan Speeds (RPM): N/A
Repos:
  Packages: 2866 apt: 2853 flatpak: 7 snap: 6
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/insync.list
    1: deb http: //apt.insync.io/mint vera non-free contrib
  Active apt repos in: /etc/apt/sources.list.d/nodesource.list
    1: deb [signed-by=/usr/share/keyrings/nodesource.gpg] https: //deb.nodesource.com/node_18.x jammy main
    2: deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https: //deb.nodesource.com/node_18.x jammy main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb https: //mirror.karneval.cz/pub/linux/linuxmint/packages virginia main upstream import backport
    2: deb http: //mirror.easyname.at/ubuntu-archive jammy main restricted universe multiverse
    3: deb http: //mirror.easyname.at/ubuntu-archive jammy-updates main restricted universe multiverse
    4: deb http: //mirror.easyname.at/ubuntu-archive jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/spotify.list
    1: deb http: //repository.spotify.com stable non-free
  Active apt repos in: /etc/apt/sources.list.d/syncthing.list
    1: deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] https: //apt.syncthing.net/ syncthing stable
Info:
  Processes: 380 Uptime: 25m wakeups: 3 Memory: 13.5 GiB used: 2.91 GiB (21.5%) Init: systemd
  v: 249 runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12/9 Client: Cinnamon v: 6.0.4 inxi: 3.3.13
Perlover commented 8 months ago

UPDATE: I noticed that if an application is open on my screen before blocking, for example Firefox, the lock happens as it should be. If I have a clean desktop (Super + D) before blocking, then the bug always manifests itself.

ghost commented 8 months ago

I am experiencing the same issue with a laptop (Aorus 15G-XC) connected to an external 4K monitor, when the laptop's display is disabled and only the 4K one is active. The issue wasn't present on Mint Cinnamon 21.2, but has appeared right after updating to 21.3. It's a relatively new issue. The issue only exists with the external 4K monitor, not the laptop's own 1080p display.

This may provide some clue: If you unplug the external monitor, the lock screen UI actually gets rendered on the main laptop display.

I have a second laptop at home that also doesn't have this issue with its own display. Haven't had a chance to test this laptop with an external monitor.

Perlover commented 8 months ago

After the last update in Linux Mint () and rebooting the laptop - I no longer observe this bug.

Right now my software:

System:
  Kernel: 6.5.0-15-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 6.0.4 tk: GTK 3.24.33
    wm: muffin vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.3 Virginia base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: LENOVO product: 82N5 v: Yoga Slim 7 Pro 14ACH5 O
    serial: <superuser required> Chassis: type: 10 v: Yoga Slim 7 Pro 14ACH5 O
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0T76530WIN serial: <superuser required> UEFI: LENOVO
    v: GZCN20WW date: 06/08/2021
Battery:
  ID-1: BAT0 charge: 44.4 Wh (85.1%) condition: 52.2/61.0 Wh (85.5%) volts: 16.3 min: 15.4
    model: Sunwoda L19D4PH3 type: Li-poly serial: <filter> status: Discharging cycles: 178
  Device-1: hidpp_battery_0 model: Logitech MX Vertical Advanced Ergonomic Mouse
    serial: <filter> charge: 100% (should be ignored) rechargeable: yes status: Discharging
CPU:
  Info: 8-core model: AMD Ryzen 7 5800H with Radeon Graphics bits: 64 type: MT MCP smt: enabled
    arch: Zen 3 rev: 0 cache: L1: 512 KiB L2: 4 MiB L3: 16 MiB
  Speed (MHz): avg: 1834 high: 3155 min/max: 400/4463 cores: 1: 2185 2: 400 3: 2810 4: 400
    5: 3155 6: 400 7: 1511 8: 1741 9: 2995 10: 2893 11: 1405 12: 400 13: 2676 14: 2774 15: 1443
    16: 2159 bogomips: 102208
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Cezanne vendor: Lenovo driver: amdgpu v: kernel pcie: speed: 8 GT/s lanes: 16
    ports: active: eDP-1 empty: DP-1,DP-2 bus-ID: 03:00.0 chip-ID: 1002:1638 class-ID: 0300
  Device-2: IMC Networks Integrated Camera type: USB driver: uvcvideo bus-ID: 1-3:3
    chip-ID: 13d3:5419 class-ID: fe01 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: amdgpu,ati
    unloaded: fbdev,modesetting,vesa gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2880x1800 s-dpi: 96 s-size: 762x476mm (30.0x18.7") s-diag: 898mm (35.4")
  Monitor-1: eDP res: 2880x1800 hz: 90 dpi: 242 size: 302x189mm (11.9x7.4") diag: 356mm (14")
  OpenGL: renderer: RENOIR (renoir LLVM 15.0.7 DRM 3.54 6.5.0-15-generic)
    v: 4.6 Mesa 23.0.4-0ubuntu1~22.04.1 direct render: Yes
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio vendor: Lenovo driver: snd_hda_intel v: kernel
    pcie: speed: 8 GT/s lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:1637 class-ID: 0403
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Lenovo driver: N/A pcie:
    speed: 8 GT/s lanes: 16 bus-ID: 03:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel pcie:
    speed: 8 GT/s lanes: 16 bus-ID: 03:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Sound Server-1: ALSA v: k6.5.0-15-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter vendor: Lenovo
    driver: mt7921e v: kernel pcie: speed: 5 GT/s lanes: 1 bus-ID: 01:00.0 chip-ID: 14c3:7961
    class-ID: 0280
  IF: wlp1s0 state: up mac: <filter>
Bluetooth:
  Device-1: Foxconn / Hon Hai Wireless_Device type: USB driver: btusb v: 0.8 bus-ID: 3-4:2
    chip-ID: 0489:e0cd class-ID: e001 serial: <filter>
  Report: hciconfig ID: hci0 rfk-id: 2 state: down bt-service: enabled,running rfk-block:
    hardware: no software: yes address: <filter>
Drives:
  Local Storage: total: 953.87 GiB used: 430.59 GiB (45.1%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB1T0HBLR-000L2 size: 953.87 GiB speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 3L1QEXF7 temp: 31.9 C scheme: GPT
Partition:
  ID-1: / size: 914.69 GiB used: 430.26 GiB (47.0%) fs: ext4 dev: /dev/dm-1 mapped: vgmint-root
  ID-2: /boot size: 703.1 MiB used: 300 MiB (42.7%) fs: ext4 dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 256 MiB used: 36.5 MiB (14.3%) fs: vfat dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: partition size: 976 MiB used: 0 KiB (0.0%) priority: -2 dev: /dev/dm-2
    mapped: vgmint-swap_1
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-2:2 info: Logitech Unifying Receiver type: Keyboard,Mouse,HID
    driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s power: 98mA
    chip-ID: 046d:c52b class-ID: 0300
  Device-2: 1-3:3 info: IMC Networks Integrated Camera type: Video driver: uvcvideo
    interfaces: 5 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 13d3:5419 class-ID: fe01
    serial: <filter>
  Hub-2: 2-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 3-4:2 info: Foxconn / Hon Hai Wireless_Device type: Bluetooth driver: btusb
    interfaces: 3 rev: 2.1 speed: 480 Mb/s power: 100mA chip-ID: 0489:e0cd class-ID: e001
    serial: <filter>
  Hub-4: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 42.0 C
  Fan Speeds (RPM): N/A
Repos:
  Packages: 2866 apt: 2853 flatpak: 7 snap: 6
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/insync.list
    1: deb http: //apt.insync.io/mint vera non-free contrib
  Active apt repos in: /etc/apt/sources.list.d/nodesource.list
    1: deb [signed-by=/usr/share/keyrings/nodesource.gpg] https: //deb.nodesource.com/node_18.x jammy main
    2: deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https: //deb.nodesource.com/node_18.x jammy main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb https: //mirror.karneval.cz/pub/linux/linuxmint/packages virginia main upstream import backport
    2: deb http: //mirror.easyname.at/ubuntu-archive jammy main restricted universe multiverse
    3: deb http: //mirror.easyname.at/ubuntu-archive jammy-updates main restricted universe multiverse
    4: deb http: //mirror.easyname.at/ubuntu-archive jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/spotify.list
    1: deb http: //repository.spotify.com stable non-free
  Active apt repos in: /etc/apt/sources.list.d/syncthing.list
    1: deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] https: //apt.syncthing.net/ syncthing stable
Info:
  Processes: 393 Uptime: 20m wakeups: 3 Memory: 13.5 GiB used: 2.56 GiB (19.0%) Init: systemd
  v: 249 runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12/9 Client: Cinnamon v: 6.0.4 inxi: 3.3.13