Continuous Plasma freeze

Hi community,
I have a lenovo thinkpad carbon X1 with manjaro+plasma KDE. This is the output of inxi -Fxz

System:    Kernel: 5.10.19-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 Desktop: KDE Plasma 5.21.3 Distro: Manjaro Linux 
           base: Arch Linux 
Machine:   Type: Laptop System: LENOVO product: 20QESA1200 v: ThinkPad X1 Carbon 7th serial: <filter> 
           Mobo: LENOVO model: 20QESA1200 serial: <filter> UEFI: LENOVO v: N2HET46W (1.29 ) date: 02/21/2020 
Battery:   ID-1: BAT0 charge: 52.0 Wh (100.0%) condition: 52.0/51.0 Wh (101.9%) volts: 16.9 min: 15.4 model: LGC 5B10W13930 
           status: Full 
CPU:       Info: Quad Core model: Intel Core i7-8565U bits: 64 type: MT MCP arch: Kaby Lake note: check rev: C cache: 
           L2: 8 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 bogomips: 32012 
           Speed: 1095 MHz min/max: 400/4600 MHz Core speeds (MHz): 1: 1095 2: 1225 3: 1117 4: 1161 5: 1336 6: 1163 7: 1164 
           8: 1199 
Graphics:  Device-1: Intel UHD Graphics 620 vendor: Lenovo driver: i915 v: kernel bus-ID: 00:02.0 
           Device-2: Chicony Integrated Camera type: USB driver: uvcvideo bus-ID: 1-8:2 
           Display: x11 server: X.Org 1.20.10 driver: loaded: intel unloaded: modesetting resolution: 1: 2560x1440~60Hz 
           2: 1920x1080 
           OpenGL: renderer: Mesa Intel UHD Graphics 620 (WHL GT2) v: 4.6 Mesa 20.3.4 direct render: Yes 
Audio:     Device-1: Intel Cannon Point-LP High Definition Audio vendor: Lenovo driver: sof-audio-pci bus-ID: 00:1f.3 
           Sound Server-1: ALSA v: k5.10.19-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.23 running: yes 
Network:   Device-1: Intel Cannon Point-LP CNVi [Wireless-AC] driver: iwlwifi v: kernel port: 2000 bus-ID: 00:14.3 
           IF: wlp0s20f3 state: up mac: <filter> 
           Device-2: Intel Ethernet I219-V vendor: Lenovo driver: e1000e v: kernel port: efa0 bus-ID: 00:1f.6 
           IF: enp0s31f6 state: down mac: <filter> 
Drives:    Local Storage: total: 953.87 GiB used: 75.64 GiB (7.9%) 
           ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN730 SDBQNTY-1T00-1001 size: 953.87 GiB temp: 46.9 C 
Partition: ID-1: / size: 928.94 GiB used: 75.64 GiB (8.1%) fs: ext4 dev: /dev/nvme0n1p2 
           ID-2: /boot/efi size: 299.4 MiB used: 280 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 
Swap:      ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) dev: /dev/nvme0n1p3 
Sensors:   System Temperatures: cpu: 59.0 C mobo: N/A 
           Fan Speeds (RPM): cpu: 3015 
Info:      Processes: 249 Uptime: 3d 1h 17m Memory: 15.45 GiB used: 4.59 GiB (29.7%) Init: systemd Compilers: gcc: 10.2.0 
           Packages: 1423 Shell: Bash v: 5.1.0 inxi: 3.3.03 

It happens that the Plasma desktop freezes from time to time, typically after ~1hour after booting, without any explicit sign of CPU or memory overload. The desktop effects freeze, as well as the task manager at the bottom of my screen. All the programs works fine. I’ve tried some solutions found in the forum but the only one which temporarily works is running killall plasmashell && kstart5 plasmashell, which successfully unfreezes everything. However, after a few minutes it freezes again.

This is the output of journalctl -p 3 -xb

Mar 22 08:48:51 carbonX1 wpa_supplicant[838]: nl80211: kernel reports: Attribute failed policy validation
Mar 22 08:48:51 carbonX1 wpa_supplicant[838]: Failed to create interface p2p-dev-wlp0s20f3: -22 (Invalid argument)
Mar 22 08:48:51 carbonX1 wpa_supplicant[838]: nl80211: Failed to create a P2P Device interface p2p-dev-wlp0s20f3
Mar 22 10:11:25 carbonX1 kernel: i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=192661 end=192662) time 179 us, min 1431, max 1439, scanline start 1429, end 1442
Mar 22 10:11:42 carbonX1 kernel: i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=193710 end=193711) time 109 us, min 1431, max 1439, scanline start 1430, end 1440
Mar 22 10:11:42 carbonX1 kernel: i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=193737 end=193738) time 223 us, min 1431, max 1439, scanline start 1429, end 1449
Mar 22 10:11:59 carbonX1 kernel: i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=194727 end=194728) time 154 us, min 1431, max 1439, scanline start 1430, end 1444
Mar 22 10:17:44 carbonX1 kernel: i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=215405 end=215406) time 225 us, min 1431, max 1439, scanline start 1420, end 1440
Mar 22 10:21:41 carbonX1 kernel: i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=229616 end=229617) time 212 us, min 1431, max 1439, scanline start 1423, end 1442
Mar 22 10:32:24 carbonX1 kernel: i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=268220 end=268221) time 130 us, min 1431, max 1439, scanline start 1429, end 1439
Mar 22 11:40:23 carbonX1 kernel: i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=457301 end=457302) time 164 us, min 1431, max 1439, scanline start 1429, end 1444

Any help with removing this issue is very appreciated, thanks!

Hi mark, I am not at all competent enough to help you.

But here’s another thread that sounds like the same problem that has gotten some traction. You’ve probably already seen it, but just in case you haven’t here’s the link.

I hope you get your problem resolved.

1 Like

Hi helpcomputer,

thank you, it really looks like the same issue. I tried several suggestions there but still having the freezes. I’ll follow the discussion and look for updates.

I believe I’m facing the same problem. Usually for me plasmashell only freezes when the memory stays full for a long time, but since I plugged an external monitor its happens at least twice a day. I tryed to change compositor from OpenGL 2.0 to 3.1, tryed to use XRender but none of this solved the problem.

I’m not an linux expert, so I don’t know where should I dig to catch useful log that can lead us to identify the problem.

I will post below the output of inxi -Fxz for my laptop for comparison reasons, maybe we can found something related:

System:    Kernel: 5.11.10-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 Desktop: KDE Plasma 5.21.3 Distro: Manjaro Linux 
           base: Arch Linux 
Machine:   Type: Laptop System: Dell product: Latitude 7400 v: N/A serial: <filter> 
           Mobo: Dell model: 0GDM7P v: A00 serial: <filter> UEFI: Dell v: 1.6.1 date: 11/14/2019 
Battery:   ID-1: BAT0 charge: 49.5 Wh (100.0%) condition: 49.5/60.0 Wh (82.5%) volts: 8.2 min: 7.6 
           model: LGC-LGC7.895 DELL 829MX96 status: Full 
CPU:       Info: Quad Core model: Intel Core i7-8665U bits: 64 type: MT MCP arch: Kaby Lake note: check rev: C cache: 
           L2: 8 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 33615 
           Speed: 600 MHz min/max: 400/4800 MHz Core speeds (MHz): 1: 600 2: 595 3: 508 4: 690 5: 700 6: 700 7: 700 8: 627 
Graphics:  Device-1: Intel UHD Graphics 620 vendor: Dell driver: i915 v: kernel bus-ID: 00:02.0 
           Device-2: Realtek Integrated_Webcam_HD type: USB driver: uvcvideo bus-ID: 1-6:4 
           Display: x11 server: X.Org 1.20.10 driver: loaded: intel unloaded: modesetting resolution: 1: 1600x900~60Hz 
           2: 1920x1080 
           OpenGL: renderer: Mesa Intel UHD Graphics 620 (WHL GT2) v: 4.6 Mesa 21.0.1 direct render: Yes 
Audio:     Device-1: Intel Cannon Point-LP High Definition Audio vendor: Dell driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 
           Sound Server-1: ALSA v: k5.11.10-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.24 running: yes 
Network:   Device-1: Intel Cannon Point-LP CNVi [Wireless-AC] driver: iwlwifi v: kernel port: 3000 bus-ID: 00:14.3 
           IF: wlo1 state: up mac: <filter> 
Bluetooth: Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB driver: btusb v: 0.8 bus-ID: 1-10:6 
           Report: This feature requires one of these tools: hciconfig/bt-adapter 
Drives:    Local Storage: total: 238.47 GiB used: 116.76 GiB (49.0%) 
           ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN520 NVMe WDC 256GB size: 238.47 GiB temp: 44.9 C 
Partition: ID-1: / size: 114.66 GiB used: 49.45 GiB (43.1%) fs: ext4 dev: /dev/nvme0n1p2 
           ID-2: /boot/efi size: 125.7 MiB used: 270 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 
           ID-3: /home size: 103.19 GiB used: 67.31 GiB (65.2%) fs: ext4 dev: /dev/nvme0n1p4 
Swap:      ID-1: swap-1 type: partition size: 16.02 GiB used: 0 KiB (0.0%) dev: /dev/nvme0n1p3 
Sensors:   System Temperatures: cpu: 46.0 C mobo: N/A 
           Fan Speeds (RPM): cpu: 0 
Info:      Processes: 277 Uptime: 17m Memory: 31.18 GiB used: 4.72 GiB (15.1%) Init: systemd Compilers: gcc: 10.2.0 
           Packages: 1380 Shell: Bash v: 5.1.0 inxi: 3.3.03

Sorry about my pour English.

It seems to be related with lock screen somehow. After lock the session (WINDOWS + L) and the screen turns off, sometimes the plasmashell freezes. It happened this way 5 times today.

I found this open issue on kde, related with external monitor: 428999 – Plasmashell is freezing when laptop is connected to an external monitor

I’ll downgraded my kernel to 4.19 for a while to see if solves the problem.

After kernel downgrade to 4.19, the freezing problem didn’t happen anymore.