Plasma freezes often

you know what on my amd 5700xt I swapped to opengl 3.0 or 3.1 for the composition (whatever one they use) and my KDE started freezing up also when I was using KDE… maybe its that?

1 Like

Hi there,
i’m really rookie btw on manjaro, and searching info about my problem (completly freeze, didn’t even respond to ping or ssh connection try, absolutly DEAD only hard reset works) i find your post, and in my case spotify app can be the main thing about it, all my crashes has come with the app opened.
I will re-edit this post if i find out new info.
Thank you all.

1 Like

I had a similar issue but I have solved it by changing the compositor to use opengl 2.
That solved all my freezing problems

Hi again, another crash without spotify app opened. I commented with a colleague that the Nvidia GPU could be the problem. I had freezes with open and non-open drivers, and as he achieved to resolve this problem, i will try to disable the Nvidia GPU and work just with the intel implemented. I will feedback this post. Luck out there.

I was having the issue as well. Using iotop, I was noticing plasmashell writting 2MB/s quite constantly.
Tried clearing ~/.cache, removing plasma* in ~/.config, still the same. Noticed the menu was refreshing.

Ran kbuildsycoca5 or kbuildsycoca5 --noincremental, still the same.

So I tried reinstalling any package that provide kbuildsycoca5, to my surprise I found both:
kservice
kservice-git * I was surprised this is the installed version

I tried reinstalling the non -git version, and along with its non -git dependencies/recommended, i.e.
sudo pacman -S kservice ktextwidgets kwallet kio kxmlgui kbookmarks knotifyconfig kio-extras kdoctools knetattach kio-fuse

Now the plasma 35~50% CPU (on a 6c/12t CPU) and 2MB/s write is gone. Lag gone.

I am having the same freezing issue sometimes, it feels like it happens randomly.

opencl-nvidia-455xx and cuda packages are installed. I have to switch to CTRL+ALT+F2 then CTRL+ALT+F1 in order back to normal.

sysinfo:

System:    Kernel: 5.4.80-2-MANJARO x86_64 bits: 64 Desktop: KDE Plasma 5.20.4 Distro: Manjaro Linux
Graphics:  Device-1: NVIDIA RTX 2060 driver: nvidia v: 455.45.01
Display:   x11 server: X.Org 1.20.10 driver: nvidia resolution: 2560x1440~60Hz
OpenGL:    renderer: GeForce RTX 2060/PCIe/SSE2 v: 4.6.0 NVIDIA 455.45.01
Memory:    16GB RAM + 16GB swapfile

dmesg log when the freezing happened

[Mon Dec 14 02:09:08 2020] nvidia-modeset/: page allocation failure: order:4, mode:0x40cc0(GFP_KERNEL|__GFP_COMP), nodemask=(null),cpuset=/,mems_allowed=0
[Mon Dec 14 02:09:08 2020] CPU: 8 PID: 564 Comm: nvidia-modeset/ Tainted: P           OE     5.4.80-2-MANJARO #1
[Mon Dec 14 02:09:08 2020] Call Trace:
[Mon Dec 14 02:09:08 2020]  dump_stack+0x64/0x88
[Mon Dec 14 02:09:08 2020]  warn_alloc.cold+0x78/0xdc
[Mon Dec 14 02:09:08 2020]  ? __alloc_pages_direct_compact+0x140/0x160
[Mon Dec 14 02:09:08 2020]  __alloc_pages_slowpath+0xd73/0xdb0
[Mon Dec 14 02:09:08 2020]  ? _nv000151kms+0x7e0/0x7e0 [nvidia_modeset]
[Mon Dec 14 02:09:08 2020]  __alloc_pages_nodemask+0x2ee/0x320
[Mon Dec 14 02:09:08 2020]  kmalloc_order+0x1b/0x80
[Mon Dec 14 02:09:08 2020]  kmalloc_order_trace+0x1d/0xb0
[Mon Dec 14 02:09:08 2020]  nvkms_alloc+0x20/0x50 [nvidia_modeset]
[Mon Dec 14 02:09:08 2020]  _nv002718kms+0x16/0x30 [nvidia_modeset]
[Mon Dec 14 02:09:08 2020]  ? _nv002593kms+0x4e/0x1610 [nvidia_modeset]
[Mon Dec 14 02:09:08 2020]  ? _nv000550kms+0x365/0x3c0 [nvidia_modeset]
[Mon Dec 14 02:09:08 2020]  ? _nv002680kms+0x309/0x3c0 [nvidia_modeset]
[Mon Dec 14 02:09:08 2020]  ? _nv002698kms+0x29f/0x540 [nvidia_modeset]
[Mon Dec 14 02:09:08 2020]  ? schedule+0x4d/0xd0
[Mon Dec 14 02:09:08 2020]  ? schedule_timeout+0x12a/0x160
[Mon Dec 14 02:09:08 2020]  ? preempt_count_add+0x68/0xa0
[Mon Dec 14 02:09:08 2020]  ? _raw_spin_lock_irq+0x1a/0x40
[Mon Dec 14 02:09:08 2020]  ? __down_interruptible+0x94/0x100
[Mon Dec 14 02:09:08 2020]  ? _nv000528kms+0x71/0x80 [nvidia_modeset]
[Mon Dec 14 02:09:08 2020]  ? nvkms_kthread_q_callback+0x7c/0xd0 [nvidia_modeset]
[Mon Dec 14 02:09:08 2020]  ? _main_loop+0x83/0x130 [nvidia_modeset]
[Mon Dec 14 02:09:08 2020]  ? nvkms_sema_up+0x10/0x10 [nvidia_modeset]
[Mon Dec 14 02:09:08 2020]  ? kthread+0x13e/0x160
[Mon Dec 14 02:09:08 2020]  ? __kthread_bind_mask+0x60/0x60
[Mon Dec 14 02:09:08 2020]  ? ret_from_fork+0x22/0x40
[Mon Dec 14 02:09:08 2020] Mem-Info:
[Mon Dec 14 02:09:08 2020] active_anon:2925286 inactive_anon:401009 isolated_anon:0
                            active_file:111209 inactive_file:113102 isolated_file:0
                            unevictable:56 dirty:647 writeback:0 unstable:0
                            slab_reclaimable:50062 slab_unreclaimable:156752
                            mapped:456865 shmem:177552 pagetables:31287 bounce:0
                            free:63401 free_pcp:185 free_cma:0

The exact same thing happens to me. Currently switching through the supported kernels to see if the problem persists.

1 Like

I have the same issue after clean install and 1 day of usage.

Operating System: Manjaro Linux
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.10.7-3-MANJARO
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-8705G CPU @ 3.10GHz
Memory: 15,4 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 630

journalctl log just before the freeze:

I had the same problem for weeks. I thought it was GNOME, so I switched to KDE Plasma (latest Manjaro 20.2.1. I literally reinstalled the OS from scratch on my Lenovo X1 Nano.

I tried everything above and more. Finally, after running top and just banging my head with some scripts to see what happens during the freezing, I can confirm – for me at least – the problem is the Baloo file index system.

When I disable Baloo using the commands:

$ balooctl suspend
$ balooctl disable

And then, in System Settings “File Search” uncheck “Enable File Search”, the problem goes away completely.

4 Likes

I’ve been having a similar problem to everyone in this thread, every so often my Plasma environment and one open application will freeze for between 20 seconds and a minute. A clean install of Manjaro KDE didn’t seem to fix the issue, although it took a little while to manifest itself–I’m guessing this means it comes from one of the more recent updates. @Aleph0ne would you be able to share that script you used to diagnose the problem? In addition to Plasma itself freezing Dolphin will frequently become nonresponsive for me even while my desktop environment remains unfrozen, so this may be my issue as well.

I have stop index system but it doesn’t work

1 Like

Hello everyone! I’m new to Linux. Had recently installed Manjaro KDE Plasma Version: 5.23.4 (about a week ago). For last two days I’m noticing that my screen freezes frequently and becomes absolutely unresponsive, when I’m using Dolphin and Mozilla, even cursor and timescreen freezes, until i restart my laptop.
My ASUS Processors is: 2 × Intel® Celeron® CPU N3050
Memory: 3,7 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 400
Will there be any update with the issue fixed, soon?

Thank you in advance.
Have a nice holidays :slight_smile:

  • What is the output of journactl -p 3 -b and journactl -p 3 -b -1

  • Did you disable balooctl: balooctl disable ?

  • Try to switch to OpenGL 2.0 in KDE menu → search: “Compositor”

On the assumption that Kwin is buggy, I switched to KwinFT. I use the Nouveau driver with x 11 and the 5.15x kernel. It seems to have resolved a LOT of freeze issues. It is a drop in replacement. You can easily switch back.