Linux LTS 5.10 Gnome lock screen crash

LTS 5.4 is running perfectly fine.

I installed 5.10 and rebooted. I can login and everything is working well until I lock the screen.

Then I can’t do anything. The screen remains black, even if I try to open a TTY (e.g. Ctrl+Alt+F3).

Only a hard reset helps and I need to switch back to 5.4.

I couldn’t find any information on this issue, any clue where I can start to investigate?

A good start is to provide some info as described in this post.

How to get your computer to more safely reboot can be found here.

1 Like

Reboot and hold Shift while rebooting.

When grub appears select advanced options and boot to linux54.

When booted to linux54 remove the undesired kernel(s)

Yes, this is what I did (except pressing shift, grub always show up after reboot).

So there’s no hurry for me to fix it, until I get a problem with 5.4.

Usually an issue with KMS not being ready before the graphics server tries to start, enable early KMS for your kernel driver, i.e. amdgpu for the amd systems, and nvidia and nvidia_drm for the prop nvidia driver(arch forum)
https://wiki.archlinux.org/index.php/Kernel_mode_setting#Early_KMS_start

I added i915 in /etc/mkinitcpio.conf without success.

Here is the output of inxi --admin --verbosity=7 --filter --no-host --width:

System:
  Kernel: 5.10.32-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64 
  root=UUID=c36d880b-9bb0-4ac3-9cbf-b6e8a2c5fb55 rw quiet udev.log_priority=3 
  Desktop: GNOME 3.38.4 tk: GTK 3.24.29 wm: gnome-shell dm: GDM 40.0 
  Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Laptop System: AWOW product: AK41 v: N/A serial: <filter> 
  Mobo: AWOW model: AK41 PC BOX serial: <filter> UEFI: American Megatrends 
  v: AWOW-BI-MINIPC-M9GR200-GF60A-101-B date: 03/25/2020 
Battery:
  Device-1: hidpp_battery_0 
  model: Logitech Marathon Mouse/Performance Plus M705 serial: <filter> 
  charge: 10% (should be ignored) rechargeable: yes status: Discharging 
Memory:
  RAM: total: 7.59 GiB used: 3.4 GiB (44.8%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: Quad Core model: Intel Celeron J4115 bits: 64 type: MCP 
  arch: Goldmont Plus family: 6 model-id: 7A (122) stepping: 1 microcode: 34 
  cache: L2: 4 MiB bogomips: 14284 
  Speed: 1217 MHz min/max: 800/2500 MHz Core speeds (MHz): 1: 1217 2: 977 
  3: 874 4: 2219 
  Flags: 3dnowprefetch acpi aes aperfmperf apic arat arch_capabilities 
  arch_perfmon art bts cat_l2 cdp_l2 clflush clflushopt cmov constant_tsc 
  cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts ept ept_ad erms est 
  flexpriority fpu fsgsbase fxsr ht ibpb ibrs ibrs_enhanced ida intel_pt 
  lahf_lm lm mca mce md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl 
  nx pae pat pbe pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti 
  pts rdpid rdrand rdseed rdt_a rdtscp rep_good sdbg sep sha_ni smap smep ss 
  ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc 
  tsc_adjust tsc_deadline_timer tsc_known_freq umip vme vmx vnmi vpid x2apic 
  xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel UHD Graphics 605 driver: i915 v: kernel bus-ID: 00:02.0 
  chip-ID: 8086:3185 class-ID: 0300 
  Display: x11 server: X.org 1.20.11 compositor: gnome-shell driver: 
  loaded: intel unloaded: modesetting alternate: fbdev,vesa 
  resolution: <missing: xdpyinfo> 
  OpenGL: renderer: Mesa Intel UHD Graphics 600 (GLK 2) v: 4.6 Mesa 21.0.3 
  direct render: Yes 
Audio:
  Device-1: Intel Celeron/Pentium Silver Processor High Definition Audio 
  driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_sof_pci 
  bus-ID: 00:0e.0 chip-ID: 8086:3198 class-ID: 0403 
  Sound Server-1: ALSA v: k5.10.32-1-MANJARO running: yes 
  Sound Server-2: JACK v: 0.125.0 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
  Sound Server-4: PipeWire v: 0.3.26 running: yes 
Network:
  Device-1: Intel AC 1550i Wireless driver: iwlwifi v: kernel port: f000 
  bus-ID: 00:0c.0 chip-ID: 8086:31dc class-ID: 0280 
  IF: wlo2 state: up mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: dynamic noprefixroute scope: global 
  IP v6: <filter> type: noprefixroute scope: link 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  driver: r8169 v: kernel port: d000 bus-ID: 02:00.0 chip-ID: 10ec:8168 
  class-ID: 0200 
  IF: eno1 state: down mac: <filter> 
  WAN IP: <filter> 
Bluetooth:
  Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB 
  driver: btusb v: 0.8 bus-ID: 1-9:5 chip-ID: 8087:0aaa class-ID: e001 
  Report: bt-adapter ID: hci0 rfk-id: 1 state: up address: <filter> 
Logical:
  Message: No logical block device data found. 
  Device-1: chome maj-min: 254:0 type: LUKS dm: dm-0 size: 931.51 GiB 
  Components: 
  p-1: sda maj-min: 8:0 size: 931.51 GiB 
RAID:
  Message: No RAID data found. 
Drives:
<edited>
Partition:
<edited>
Swap:
  Alert: No swap data was found. 
Unmounted:
  ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required> 
  label: N/A uuid: N/A 
  ID-2: /dev/nvme0n1p3 maj-min: 259:3 size: 75.05 GiB fs: ntfs label: Windows 
  uuid: F2E6333AE632FF03 
  ID-3: /dev/nvme0n1p4 maj-min: 259:4 size: 800 MiB fs: ntfs label: Recovery 
  uuid: 6EF43374F4333DA1 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 9 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-2: 1-3:2 info: Terminus Hub ports: 4 rev: 2.0 speed: 480 Mb/s 
  power: 100mA chip-ID: 1a40:0101 class-ID: 0900 
  Device-1: 1-4:3 info: Realtek RTS5129 Card Reader Controller 
  type: <vendor specific> driver: rtsx_usb,rtsx_usb_ms,rtsx_usb_sdmmc 
  interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 0bda:0129 
  class-ID: ff00 serial: <filter> 
  Hub-3: 1-7:4 info: NEC HighSpeed Hub ports: 4 rev: 2.0 speed: 480 Mb/s 
  power: 100mA chip-ID: 0409:0059 class-ID: 0900 
  Device-1: 1-7.2:6 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-7.3:7 info: HP OfficeJet 3830 series type: Printer driver: usblp 
  interfaces: 4 rev: 2.0 speed: 480 Mb/s power: 2mA chip-ID: 03f0:e511 
  class-ID: 0701 serial: <filter> 
  Device-3: 1-7.4:8 info: Logitech Logicool HID-Compliant Keyboard (106 key) 
  type: Keyboard,HID driver: hid-generic,usbhid interfaces: 2 rev: 1.1 
  speed: 1.5 Mb/s power: 100mA chip-ID: 046d:c30f class-ID: 0300 
  Device-4: 1-9:5 info: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) 
  type: Bluetooth driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s 
  power: 100mA chip-ID: 8087:0aaa class-ID: e001 
  Hub-4: 2-0:1 info: Full speed (or root) Hub ports: 7 rev: 3.0 speed: 5 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Device-1: 2-3:2 info: Toshiba America External Disk 1.5TB type: Mass Storage 
  driver: usb-storage interfaces: 1 rev: 3.0 speed: 5 Gb/s power: 896mA 
  chip-ID: 0480:a006 class-ID: 0806 serial: <filter> 
Sensors:
  System Temperatures: cpu: 58.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 258 Uptime: 2m wakeups: 2 Init: systemd v: 247 tool: systemctl 
  Compilers: gcc: 10.2.0 clang: 11.1.0 Packages: 1914 pacman: 1904 lib: 455 
  flatpak: 5 snap: 5 Shell: Zsh v: 5.8 running-in: tilda inxi: 3.3.04 

journalctl --catalog --priority=3 --boot=-1

-- Journal begins at Tue 2020-12-29 21:34:14 CET, ends at Sat 2021-05-01 20:41:07 CEST. --
Mai 01 20:31:23 username-awow kernel: proc: Bad value for 'hidepid'
Mai 01 20:31:23 username-awow kernel: proc: Bad value for 'hidepid'
Mai 01 20:31:23 username-awow kernel: proc: Bad value for 'hidepid'
Mai 01 20:31:23 username-awow bluetoothd[780]: src/adapter.c:reset_adv_monitors_complete() Failed to reset Adv Monitors: Unknown Command (0x01)
Mai 01 20:31:24 username-awow kernel: iwlwifi 0000:00:0c.0: BIOS contains WGDS but no WRDS
Mai 01 20:31:24 username-awow kernel: iwlwifi 0000:00:0c.0: BIOS contains WGDS but no WRDS
Mai 01 20:31:24 username-awow colord-sane[981]: io/hpmud/musb.c 2099: Invalid usb_open: Permission denied
Mai 01 20:31:24 username-awow colord-sane[981]: io/hpmud/musb.c 2099: Invalid usb_open: Permission denied
Mai 01 20:31:24 username-awow colord-sane[981]: io/hpmud/musb.c 2099: Invalid usb_open: Permission denied
Mai 01 20:31:24 username-awow colord-sane[981]: io/hpmud/musb.c 2099: Invalid usb_open: Permission denied
Mai 01 20:31:24 username-awow colord-sane[981]: io/hpmud/musb.c 2099: Invalid usb_open: Permission denied
Mai 01 20:31:24 username-awow colord-sane[981]: io/hpmud/musb.c 2099: Invalid usb_open: Permission denied
Mai 01 20:31:24 username-awow colord-sane[981]: io/hpmud/musb.c 2099: Invalid usb_open: Permission denied
Mai 01 20:31:26 username-awow kernel: proc: Bad value for 'hidepid'
Mai 01 20:31:57 username-awow gdm-password][1573]: gkr-pam: unable to locate daemon control file
Mai 01 20:32:02 username-awow kernel: ata2.00: exception Emask 0x10 SAct 0x80000 SErr 0x440101 action 0x6 frozen
Mai 01 20:32:02 username-awow kernel: ata2.00: irq_stat 0x08000000, interface fatal error
Mai 01 20:32:02 username-awow kernel: ata2: SError: { RecovData UnrecovData CommWake Handshk }
Mai 01 20:32:02 username-awow kernel: ata2.00: failed command: WRITE FPDMA QUEUED
Mai 01 20:32:02 username-awow kernel: ata2.00: cmd 61/10:98:08:10:04/01:00:3a:00:00/40 tag 19 ncq dma 139264 out
                                               res 40/00:98:08:10:04/00:00:3a:00:00/40 Emask 0x10 (ATA bus error)
Mai 01 20:32:02 username-awow kernel: ata2.00: status: { DRDY }
Mai 01 20:32:03 username-awow kernel: ata2.00: exception Emask 0x10 SAct 0x80000000 SErr 0x400100 action 0x6 frozen
Mai 01 20:32:03 username-awow kernel: ata2.00: irq_stat 0x08000000, interface fatal error
Mai 01 20:32:03 username-awow kernel: ata2: SError: { UnrecovData Handshk }
Mai 01 20:32:03 username-awow kernel: ata2.00: failed command: WRITE FPDMA QUEUED
Mai 01 20:32:03 username-awow kernel: ata2.00: cmd 61/10:f8:08:10:04/01:00:3a:00:00/40 tag 31 ncq dma 139264 out
                                               res 40/00:f8:08:10:04/00:00:3a:00:00/40 Emask 0x10 (ATA bus error)
Mai 01 20:32:03 username-awow kernel: ata2.00: status: { DRDY }
Mai 01 20:32:03 username-awow kernel: ata2.00: exception Emask 0x10 SAct 0x1200000 SErr 0x400100 action 0x6 frozen
Mai 01 20:32:03 username-awow kernel: ata2.00: irq_stat 0x08000000, interface fatal error
Mai 01 20:32:03 username-awow kernel: ata2: SError: { UnrecovData Handshk }
Mai 01 20:32:03 username-awow kernel: ata2.00: failed command: WRITE FPDMA QUEUED
Mai 01 20:32:03 username-awow kernel: ata2.00: cmd 61/10:a8:08:10:04/01:00:3a:00:00/40 tag 21 ncq dma 139264 out
                                               res 40/00:c0:00:00:00/00:00:00:00:00/40 Emask 0x10 (ATA bus error)
Mai 01 20:32:03 username-awow kernel: ata2.00: status: { DRDY }
Mai 01 20:32:03 username-awow kernel: ata2.00: failed command: READ FPDMA QUEUED
Mai 01 20:32:03 username-awow kernel: ata2.00: cmd 60/01:c0:00:00:00/00:00:00:00:00/40 tag 24 ncq dma 512 in
                                               res 40/00:c0:00:00:00/00:00:00:00:00/40 Emask 0x10 (ATA bus error)
Mai 01 20:32:03 username-awow kernel: ata2.00: status: { DRDY }
Mai 01 20:32:04 username-awow kernel: ata2.00: exception Emask 0x10 SAct 0x300 SErr 0x400100 action 0x6 frozen
Mai 01 20:32:04 username-awow kernel: ata2.00: irq_stat 0x08000000, interface fatal error
Mai 01 20:32:04 username-awow kernel: ata2: SError: { UnrecovData Handshk }
Mai 01 20:32:04 username-awow kernel: ata2.00: failed command: WRITE FPDMA QUEUED
Mai 01 20:32:04 username-awow kernel: ata2.00: cmd 61/10:40:08:10:04/01:00:3a:00:00/40 tag 8 ncq dma 139264 out
                                               res 40/00:48:00:00:00/00:00:00:00:00/40 Emask 0x10 (ATA bus error)
Mai 01 20:32:04 username-awow kernel: ata2.00: status: { DRDY }
Mai 01 20:32:04 username-awow kernel: ata2.00: failed command: READ FPDMA QUEUED
Mai 01 20:32:04 username-awow kernel: ata2.00: cmd 60/01:48:00:00:00/00:00:00:00:00/40 tag 9 ncq dma 512 in
                                               res 40/00:48:00:00:00/00:00:00:00:00/40 Emask 0x10 (ATA bus error)
Mai 01 20:32:04 username-awow kernel: ata2.00: status: { DRDY }
Mai 01 20:32:09 username-awow kernel: proc: Bad value for 'hidepid'
Mai 01 20:32:10 username-awow kernel: proc: Bad value for 'hidepid'
Mai 01 20:34:59 username-awow kernel: proc: Bad value for 'hidepid'
Mai 01 20:36:43 username-awow gdm[837]: Gdm: Failed to contact accountsservice: Error calling StartServiceByName for org.freedesktop.Accounts: Refusing activation, D-Bus is shutting down.
Mai 01 20:36:45 username-awow kernel: watchdog: watchdog0: watchdog did not stop!

Added that inside modules? & Have u regenerated the initramfs?

sudo mkinitcpio -p linux (or linux-lts if u have lts kernel)

I wasn’t sure, so I regenerated the initramfs. Without success.

Note that I got some error messages and had to use sudo mkinitcpio -P.

ERROR: Failed to load preset: `/etc/mkinitcpio.d/linux.preset'
ERROR: Failed to load preset: `/etc/mkinitcpio.d/linux-lts.preset'

This is the topic on Arch forum.

https://bbs.archlinux.org/viewtopic.php?id=262589

This is not exactly the same issue, as it describes the inaccessibility of gdm, while I can always login at first. Additionally, the solution presented there didn’t work in my case.

My problem appears after I lock the screen and the monitor turns off. If I try to unlock during the few seconds before the screen turns off, there is no issue.

I found the same issue on Arch forum. Unfortunately, not fixed yet.

I tested today with Kernek 5.10.49, still happening.