Manjaro KDE frequently freezes/crashes when locked

Hi, I recently installed Manjaro KDE and have been loving the experience. One thing that has been quite annoying though is that after the computer locks itself, usually within a few hours, it will completely freeze. It doesn’t give an error or anything, just a frozen lock screen with the time of whenever it froze, and requires a restart to continue using the computer. I never have any stability issues when using the computer, but this is a consistent problem when locked. I haven’t found a surefire way to reproduce it, sometimes it goes slightly longer, sometimes it doesn’t freeze even overnight.

So, has anyone had this issue themselves or know how to fix it? How would I go about finding the problem, is there a log or something I can look at? A linux newbie here so try to have some patience.

Thanks.

inxi -Fazy

System:
  Kernel: 5.7.17-2-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.7-x86_64 
  root=UUID=6b420bc0-7827-4c39-98d5-712be766fa88 rw quiet apparmor=1 
  security=apparmor resume=UUID=31efe5fb-c24b-428c-9ba1-2ae446e42d6d 
  udev.log_priority=3 
  Desktop: KDE Plasma 5.19.4 tk: Qt 5.15.0 wm: kwin_x11 dm: SDDM 
  Distro: Manjaro Linux 
Machine:
  Type: Desktop Mobo: Micro-Star model: B350 PC MATE (MS-7A34) v: 2.0 
  serial: <filter> UEFI: American Megatrends v: A.D0 date: 03/16/2018 
CPU:
  Topology: 6-Core model: AMD Ryzen 5 1600 bits: 64 type: MT MCP arch: Zen 
  family: 17 (23) model-id: 1 stepping: 1 microcode: 8001136 
  L2 cache: 3072 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 76822 
  Speed: 1433 MHz min/max: 1550/3200 MHz boost: enabled Core speeds (MHz): 
  1: 2208 2: 2086 3: 1376 4: 1377 5: 1368 6: 1369 7: 1368 8: 1367 9: 1378 
  10: 1376 11: 1377 12: 1377 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  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: Full AMD retpoline, IBPB: conditional, STIBP: 
  disabled, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] 
  vendor: Micro-Star MSI driver: amdgpu v: kernel bus ID: 20:00.0 
  chip ID: 1002:67df 
  Display: x11 server: X.Org 1.20.8 compositor: kwin_x11 driver: amdgpu 
  FAILED: ati unloaded: modesetting alternate: fbdev,vesa display ID: :0 
  screens: 1 
  Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x285mm (40.0x11.2") 
  s-diag: 1055mm (41.5") 
  Monitor-1: DisplayPort-2 res: 1920x1080 hz: 60 dpi: 92 
  size: 531x299mm (20.9x11.8") diag: 609mm (24") 
  Monitor-2: HDMI-A-0 res: 1920x1080 hz: 60 dpi: 94 
  size: 521x293mm (20.5x11.5") diag: 598mm (23.5") 
  OpenGL: renderer: Radeon RX 580 Series (POLARIS10 DRM 3.37.0 
  5.7.17-2-MANJARO LLVM 10.0.1) 
  v: 4.6 Mesa 20.1.6 direct render: Yes 
Audio:
  Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] 
  vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus ID: 20:00.1 
  chip ID: 1002:aaf0 
  Device-2: AMD Family 17h HD Audio vendor: Micro-Star MSI 
  driver: snd_hda_intel v: kernel bus ID: 22:00.3 chip ID: 1022:1457 
  Device-3: Logitech HD Pro Webcam C920 type: USB 
  driver: snd-usb-audio,uvcvideo bus ID: 3-4:4 chip ID: 046d:082d 
  serial: <filter> 
  Device-4: C-Media Blue Snowball type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus ID: 3-2:3 chip ID: 0d8c:0005 
  serial: <filter> 
  Sound Server: ALSA v: k5.7.17-2-MANJARO 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Micro-Star MSI driver: r8169 v: kernel port: f000 bus ID: 1e:00.0 
  chip ID: 10ec:8168 
  IF: enp30s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:
  Local Storage: total: 2.16 TiB used: 21.24 GiB (1.0%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/sda vendor: Western Digital model: WD10EZEX-08WN4A0 
  size: 931.51 GiB block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  rotation: 7200 rpm serial: <filter> rev: 1A01 scheme: GPT 
  ID-2: /dev/sdb vendor: Seagate model: ST1000DM010-2EP102 size: 931.51 GiB 
  block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  rotation: 7200 rpm serial: <filter> rev: CC43 scheme: GPT 
  ID-3: /dev/sdc vendor: Kingston model: SA400S37120G size: 111.79 GiB 
  block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s serial: <filter> 
  rev: 61K1 scheme: GPT 
  ID-4: /dev/sdd vendor: Silicon Power model: SPCC Solid State Disk 
  size: 238.47 GiB block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  serial: <filter> rev: 81.3 scheme: GPT 
Partition:
  ID-1: / raw size: 102.69 GiB size: 100.58 GiB (97.94%) 
  used: 21.24 GiB (21.1%) fs: ext4 dev: /dev/sdc2 
Swap:
  Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 8.80 GiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/sdc3 
Sensors:
  System Temperatures: cpu: 32.2 C mobo: N/A gpu: amdgpu temp: 45 C 
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 1893 
Info:
  Processes: 304 Uptime: 18m Memory: 15.65 GiB used: 2.57 GiB (16.4%) 
  Init: systemd v: 246 Compilers: gcc: 10.2.0 Packages: 1215 pacman: 1211 
  lib: 346 flatpak: 0 snap: 4 Shell: Bash v: 5.0.18 running in: konsole 
  inxi: 3.1.05
2 Likes

I am having the same issue since yesterday. Just commenting to keep track of the following comments.

2 Likes

Can you try another kernel?

1 Like

I am using a different Kernel (5.8.3-2) as the OP and it also happens.

1 Like

Another older LTS kernel, like 5.4 or 4.19 ?

1 Like

Thanks for the reply, I’m now using 5.4, and locked my computer for around an hour with no crash. Will try overnight to see if its fixed. Fingers crossed :slight_smile:.

Will not other functions be unusable if i regress the kernel?

You can try to read the kernel development log, which functions are included into higher kernel versions.

Hi, after leaving the computer on overnight I found that it lasted around an hour or two before freezing even on a lower kernel unfortunately.

Below are the final journalctl logs before the reboot. Anything that jumps out or a solution that can be deciphered from this?

Sep 04 00:29:57 jimothy-stream xdg-desktop-portal-kde[1598]: xdp-kde-background: GetAppState called: no parameters
Sep 04 00:29:57 jimothy-stream msm_kde_notifier[1458]: "qt5-translations"
Sep 04 00:29:58 jimothy-stream plasma_waitforname[1692]: org.kde.knotifications: WaitForName: Service was not registered within timeout
Sep 04 00:29:58 jimothy-stream dbus-daemon[1270]: [session uid=1000 pid=1270] Activated service 'org.kde.KSplash' failed: Process org.kde.KSplash exited with status 1
Sep 04 00:31:27 jimothy-stream kscreenlocker_greet[1846]: kf.config.core: couldn't lock local file
Sep 04 00:43:47 jimothy-stream systemd[1]: Starting Cleanup of Temporary Directories...
Sep 04 00:43:47 jimothy-stream systemd[1]: systemd-tmpfiles-clean.service: Succeeded.
Sep 04 00:43:47 jimothy-stream systemd[1]: Finished Cleanup of Temporary Directories.
Sep 04 00:43:47 jimothy-stream audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-tmpfiles-clean comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Sep 04 00:43:47 jimothy-stream audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-tmpfiles-clean comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Sep 04 00:43:47 jimothy-stream kernel: audit: type=1130 audit(1599194627.384:73): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-tmpfiles-clean comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Sep 04 00:43:47 jimothy-stream kernel: audit: type=1131 audit(1599194627.384:74): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-tmpfiles-clean comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Sep 04 01:01:01 jimothy-stream CROND[1944]: (root) CMD (run-parts /etc/cron.hourly)
Sep 04 01:01:01 jimothy-stream anacron[1949]: Anacron started on 2020-09-04
Sep 04 01:01:01 jimothy-stream anacron[1949]: Normal exit (0 jobs run)
Sep 04 01:27:18 jimothy-stream plasmashell[1427]: libkcups: Create-Printer-Subscriptions last error: 1282 Bad file descriptor
Sep 04 01:27:18 jimothy-stream plasmashell[1427]: libkcups: Request failed 1282 -1
Sep 04 02:01:01 jimothy-stream CROND[1995]: (root) CMD (run-parts /etc/cron.hourly)
Sep 04 02:01:01 jimothy-stream anacron[2000]: Anacron started on 2020-09-04
Sep 04 02:01:01 jimothy-stream anacron[2000]: Normal exit (0 jobs run)
Sep 04 02:25:38 jimothy-stream plasmashell[1427]: libkcups: Create-Printer-Subscriptions last error: 1282 Bad file descriptor
Sep 04 02:25:38 jimothy-stream plasmashell[1427]: libkcups: Request failed 1282 -1
-- Reboot --

Have the same.

Have you tried to Ctrl+Alt+F7 and then Ctrl+Alt+F1? For me it makes plasma alive. But unfortunately, no solution…

I also noticed that functionality is alive, but drawing freezes.

1 Like

I had the exact same problem. Switching to an older kernel (4.19) solved the problem for me. Any kernel above that recreated the problem.

I am on 5.9.11-3 and have this problem for a while. Have to switch to console and back. (ctrl+alt+F2,F1)

Same problem. System hard freezes - can only reboot with power button.

Same problem - in linux59, linux510 and linux511.
My laptop - ASUS Vivobook AMD Ryzen 4700U processor.
Happy to provide any logs if that helps. :slight_smile:

Is anyone having any luck troubleshooting this? Seeing it on a fresh install as well.