Plasma freezes often

Hello,

I have problem with KDE Plasma environment. I’m using stable branch and problems started to appear relatively recently (being using KDE for more than 2 years, problem started about 1 month ago).
During normal use of the laptop plasmashell will freeze completely (I can’t use any panels, alt+f2 doesn’t work), but previously started applications working fine, I can switch between virtual desktops and use Yakuyake with no problem.
It occurs in different periods of time, from 1 hour to like few minutes between freezes.
I tried to check journalctl but haven’t found anything suspicious. Usually I resolve this problem with restarting plasmashell from terminal.

Did someone have something similar?
What kind of logs I can provide to make it easier to investigate?

3 Likes

Hi,

Yes, i have the same problem too, even it can freeze all my screen for awhile, mouse can be moved, the response is slow, especially if i use a second screen.

I use default settings/theme from the beginning of the installation.

2 Likes

Similar problem was reported on KDE forum, but no solution yet available:

1 Like

Hi,
Can I ask which kernel you using?
It seems that for my problem I cann’t reproduce it if I switch back to the 4.19 series kernel.

Hello, i have the same problem.
I’m on lenovo thinkpad x260 with manjaro kde freshly installed less than a week ago. The problem has always been persistent from the beginning. :unamused:

Recently I switched from kernel 5.7 to kernel 5.4 LTS with no luck, obviously.
I tried the Timeshift fix as mentioned in a different thread, but the problem is still present.

I may suggest you to try to switch to 4.19 kernel - for me it seems problem was resolved.

1 Like

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.

Happens to me too. Kernel 4.19 doesn’t help, switching tty also. I have to restart Plasma to unfreeze.

i used 5.9, 5.8, 5.7, 5.4. All got the issue

Have you tried 4.14?

Here’s journalctl -f a few minutes after the freeze happened (clock stopped at 15:06). I don’t know if that’s helpful.

Sep 16 15:12:15 user-pc kwin_x11[490]: Could not attach Keys property to: PlasmaQuick::Dialog(0x555f95e82b40) is not an Item
Sep 16 15:12:15 user-pc kwin_x11[490]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/windowswitcher/WindowSwitcher.qml:62:17: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { … }
Sep 16 15:12:15 user-pc kwin_x11[490]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ScrollViewStyle.qml:60:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { … }
Sep 16 15:12:15 user-pc kwin_x11[490]: Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Sep 16 15:12:15 user-pc kwin_x11[490]: file:///usr/lib/qt/qml/org/kde/plasma/components/Highlight.qml:47:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { … }
Sep 16 15:12:15 user-pc kwin_x11[490]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 48146, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
Sep 16 15:12:15 user-pc kwin_x11[490]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48147, resource id: 12583118, major code: 55 (CreateGC), minor code: 0
Sep 16 15:12:15 user-pc kwin_x11[490]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48148, resource id: 12583118, major code: 72 (PutImage), minor code: 0
Sep 16 15:12:15 user-pc kwin_x11[490]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 48149, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
Sep 16 15:12:15 user-pc kwin_x11[490]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48150, resource id: 12583120, major code: 55 (CreateGC), minor code: 0
Sep 16 15:12:15 user-pc kwin_x11[490]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48151, resource id: 12583120, major code: 72 (PutImage), minor code: 0
Sep 16 15:12:15 user-pc kwin_x11[490]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 48152, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
Sep 16 15:12:15 user-pc kwin_x11[490]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48153, resource id: 12583122, major code: 55 (CreateGC), minor code: 0
Sep 16 15:12:15 user-pc kwin_x11[490]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48154, resource id: 12583122, major code: 72 (PutImage), minor code: 0
Sep 16 15:12:15 user-pc kwin_x11[490]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 48155, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
Sep 16 15:12:15 user-pc kwin_x11[490]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48156, resource id: 12583124, major code: 55 (CreateGC), minor code: 0
Sep 16 15:12:15 user-pc kwin_x11[490]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48157, resource id: 12583124, major code: 72 (PutImage), minor code: 0
Sep 16 15:12:15 user-pc kwin_x11[490]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 48158, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
Sep 16 15:12:15 user-pc kwin_x11[490]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48159, resource id: 12583126, major code: 55 (CreateGC), minor code: 0
Sep 16 15:12:15 user-pc kwin_x11[490]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48160, resource id: 12583126, major code: 72 (PutImage), minor code: 0
Sep 16 15:12:15 user-pc kwin_x11[490]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 48161, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
Sep 16 15:12:15 user-pc kwin_x11[490]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48162, resource id: 12583128, major code: 55 (CreateGC), minor code: 0
Sep 16 15:12:15 user-pc kwin_x11[490]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48163, resource id: 12583128, major code: 72 (PutImage), minor code: 0
Sep 16 15:12:15 user-pc kwin_x11[490]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 48164, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
Sep 16 15:12:15 user-pc kwin_x11[490]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48165, resource id: 12583130, major code: 55 (CreateGC), minor code: 0
Sep 16 15:12:15 user-pc kwin_x11[490]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48166, resource id: 12583130, major code: 72 (PutImage), minor code: 0
Sep 16 15:12:15 user-pc kwin_x11[490]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 48167, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
Sep 16 15:12:15 user-pc kwin_x11[490]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48168, resource id: 12583132, major code: 55 (CreateGC), minor code: 0
Sep 16 15:12:15 user-pc kwin_x11[490]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 48169, resource id: 12583132, major code: 72 (PutImage), minor code: 0
Sep 16 15:12:15 user-pc kwin_x11[490]: Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Sep 16 15:12:16 user-pc kwin_x11[490]: Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Sep 16 15:12:16 user-pc kwin_x11[490]: file:///usr/lib/qt/qml/org/kde/plasma/components/Highlight.qml:47:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { … }
Sep 16 15:12:16 user-pc kwin_x11[490]: Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.

A few minutes later another freeze (15:23):

Sep 16 15:24:34 user-pc kwin_x11[490]: Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Sep 16 15:24:34 user-pc kwin_x11[490]: file:///usr/lib/qt/qml/org/kde/plasma/components/Highlight.qml:47:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { … }
Sep 16 15:24:34 user-pc kwin_x11[490]: Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Sep 16 15:24:36 user-pc kwin_x11[490]: Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Sep 16 15:24:36 user-pc kwin_x11[490]: Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.

I have a similar issue when using nVidia GPU on 450.66 driver and with external screen. But for me freezes never happen randomly: the desktop seems to freeze when the automatic screen lock due to inactivity is supposed to be engaged, or also right after waking up from suspend (in which case I have a black screen with working mouse). Sometimes this does not happen and expected behavior occurs instead.

In all cases the workaround which I use is to kill kscreenlocker_greet process. It helps, but it would be good to eliminate the issue completely.

2 Likes

With me it is exactly the same. Everything except the curser freezes and always when the automatic lock should happen.

1 Like

Latest update didn’t help.

I’m part of this club now having same issue, hope it get resolve

Hey there,
I have the same issue since I reinstalled my Laptop. (with manjaro-architect (+zfs on root, + luks) kernel is linux57).

However I figured if I don´ t open certain applications (such as spotify (from AUR)), everything works fine for me. (Spotify in Firefox does work ;D)

(at least firefox, konsole, teamspeak, telegram, intellij, rocketchat, chromium do work without the problem occuring in my case.)

Can anyone confirm this behavior ?

Recently, I had some freezes in plasmashell, so i had to killall and restart plasmashell. I’ll try to switch to kernel 5.9. Also, i found out a possible solution in my specific case (Thinkpad x260, intel core i3, 16gb ram) → ThinkPad X260 screen freezes for a few seconds / Newbie Corner / Arch Linux Forums

I don’t think this solution will work, but I’ll try anyway :confused:

I am having the same problem and my journalctl looks similar, with lots of stuff like this:

Oct 31 01:23:13 workstation plasmashell[3350]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationHeader.qml:78:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Oct 31 01:23:18 workstation kwin_x11[3256]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 59170, resource id: 31458007, major code: 20 (GetProperty), minor code: 0
Oct 31 01:23:18 workstation kwin_x11[3256]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 59171, resource id: 31458007, major code: 15 (QueryTree), minor code: 0
Oct 31 01:24:39 workstation msm_kde_notifier[3610]: "qt5-translations"
Oct 31 01:32:21 workstation systemd[1]: Started Getty on tty2.
Oct 31 01:32:21 workstation audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty2 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 31 01:32:21 workstation kernel: audit: type=1130 audit(1604122341.298:96): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty2 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 31 01:32:21 workstation org_kde_powerdevil[4107]: powerdevil: ACTIVE SESSION PATH CHANGED: "/"

I am using a GTX1060 with Nouveau drivers, with three monitors.

1 Like

yeah, i got same issue, sometimes i am just even browsing and it freezes for no reason; kernel : linux 58 by the way,

but after a few minutes it just goes back working

I had a manjaro kde with same problem some months ago and I fixed mine by not doing opengl compositing! I think nvidia drives does not like open gl on kde?