Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1017613: kwin-x11 session stops working (semi-freeze) every few days

104 views
Skip to first unread message

Ralf Jung

unread,
Aug 18, 2022, 9:00:04 AM8/18/22
to
Package: kwin-x11
Version: 4:5.25.4-2
Severity: important

Dear Maintainer,

The latest update from kwin 4:5.24.5-1+b1 to 4:5.25.4-2 has made KDE very unreliable for me: every other day, the entire session just basically freezes up; I can still move the cursor, but that's about it.
Just before that happens, I usually get a black rectangle in the bottom right corner of the screen, where the Plasma notifications usually appear.
At that point I can still interact with the foreground application, but if I do alt-tab, then the session is doomed and I need to Ctrl-Alt-Backspace, losing all unsaved data.

Also see https://bugs.kde.org/show_bug.cgi?id=457847.

Kind regards,
Ralf

-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'testing-debug'), (100, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.18.0-3-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_USER, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages kwin-x11 depends on:
ii kwin-common 4:5.25.4-2
ii libc6 2.34-3
ii libepoxy0 1.5.10-1
ii libgcc-s1 12.1.0-8
ii libkdecorations2-5v5 4:5.25.4-1
ii libkf5configcore5 5.96.0-1
ii libkf5configgui5 5.96.0-1
ii libkf5configwidgets5 5.96.0-1
ii libkf5coreaddons5 5.96.0-1
ii libkf5crash5 5.96.0-1
ii libkf5globalaccel-bin 5.96.0-1
ii libkf5globalaccel5 5.96.0-1
ii libkf5i18n5 5.96.0-1
ii libkf5notifications5 5.96.0-1
ii libkf5plasma5 5.96.0-1
ii libkf5service-bin 5.96.0-1
ii libkf5service5 5.96.0-1
ii libkf5windowsystem5 5.96.0-1
ii libkwineffects13 4:5.25.4-2
ii libkwinglutils13 4:5.25.4-2
ii libkwinxrenderutils13 4:5.25.4-2
ii libqaccessibilityclient-qt5-0 0.4.1-1+b1
ii libqt5core5a 5.15.4+dfsg-5
ii libqt5dbus5 5.15.4+dfsg-5
ii libqt5gui5 5.15.4+dfsg-5
ii libqt5qml5 5.15.4+dfsg-4
ii libqt5widgets5 5.15.4+dfsg-5
ii libqt5x11extras5 5.15.4-2
ii libstdc++6 12.1.0-8
ii libx11-6 2:1.8.1-2
ii libxcb-composite0 1.15-1
ii libxcb-keysyms1 0.4.0-1+b2
ii libxcb-randr0 1.15-1
ii libxcb-render0 1.15-1
ii libxcb-shape0 1.15-1
ii libxcb-xfixes0 1.15-1
ii libxcb1 1.15-1
ii libxi6 2:1.8-1

kwin-x11 recommends no packages.

kwin-x11 suggests no packages.

-- no debconf information

Adilson dos Santos Dantas

unread,
Aug 31, 2022, 7:10:04 AM8/31/22
to
I got this bug too. But only in my notebook. I have another computer and kwin-x11 does not freeze. Maybe because my computer uses a nvidia GPU and my notebook uses an onboard Intel Graphics. 

One workaround is open konsole (Ctrl-Alt-T) and restart plasma with this command:

killall -9 plasmashell && kstart5 plasmashell

When kwin crashes I got these syslog messages: 

Aug 31 07:24:57 r2d2 dbus-daemon[776]: [system] Successfully activated service 'org.kde.powerdevil.backlighthelper'
Aug 31 07:26:15 r2d2 kwin_x11[93502]: OpenGL vendor string:                   Intel
Aug 31 07:26:15 r2d2 kwin_x11[93502]: OpenGL renderer string:                 Mesa Intel(R) HD Graphics 620 (KBL GT2)
Aug 31 07:26:15 r2d2 kwin_x11[93502]: OpenGL version string:                  4.6 (Compatibility Profile) Mesa 22.2.0-rc3
Aug 31 07:26:15 r2d2 kwin_x11[93502]: OpenGL shading language version string: 4.60
Aug 31 07:26:15 r2d2 kwin_x11[93502]: Driver:                                 Intel
Aug 31 07:26:15 r2d2 kwin_x11[93502]: GPU class:                              Kaby Lake
Aug 31 07:26:15 r2d2 kwin_x11[93502]: OpenGL version:                         4.6
Aug 31 07:26:15 r2d2 kwin_x11[93502]: GLSL version:                           4.60
Aug 31 07:26:15 r2d2 kwin_x11[93502]: Mesa version:                           22.2
Aug 31 07:26:15 r2d2 kwin_x11[93502]: X server version:                       1.21.1
Aug 31 07:26:15 r2d2 kwin_x11[93502]: Linux kernel version:                   5.19.5
Aug 31 07:26:15 r2d2 kwin_x11[93502]: Requires strict binding:                yes
Aug 31 07:26:15 r2d2 kwin_x11[93502]: GLSL shaders:                           yes
Aug 31 07:26:15 r2d2 kwin_x11[93502]: Texture NPOT support:                   yes
Aug 31 07:26:15 r2d2 kwin_x11[93502]: Virtual Machine:                        no

Aug 31 07:26:16 r2d2 kwin_x11[93502]: XIO:  fatal IO error 0 (Sucesso) on X server ":0"
Aug 31 07:26:16 r2d2 kwin_x11[93502]:       after 3526176 requests (3526176 known processed) with 0 events remaining.
Aug 31 07:26:16 r2d2 kwin_x11[93502]: Application::crashHandler() called with signal 11; recent crashes: 1
Aug 31 07:26:16 r2d2 systemd[4872]: plasma-kwin_x11.service: Main process exited, code=exited, status=1/FAILURE
Aug 31 07:26:16 r2d2 systemd[4872]: plasma-kwin_x11.service: Failed with result 'exit-code'.

Aug 31 07:26:17 r2d2 systemd[4872]: plasma-kwin_x11.service: Scheduled restart job, restart counter is at 5.
Aug 31 07:26:17 r2d2 systemd[4872]: Stopped KDE Window Manager.
Aug 31 07:26:17 r2d2 systemd[4872]: Starting KDE Window Manager...
Aug 31 07:26:18 r2d2 systemd[4872]: Started KDE Window Manager.
Aug 31 07:26:19 r2d2 dbus-daemon[4892]: [session uid=1000 pid=4892] Activating service name='org.kde.KSplash' requested by ':1.699' (uid=1000 pid=154595 comm="/usr/bin/kwin_x11 --replace")
Aug 31 07:26:20 r2d2 kwin_x11[154595]: OpenGL vendor string:                   Intel
Aug 31 07:26:20 r2d2 kwin_x11[154595]: OpenGL renderer string:                 Mesa Intel(R) HD Graphics 620 (KBL GT2)
Aug 31 07:26:20 r2d2 kwin_x11[154595]: OpenGL version string:                  4.6 (Compatibility Profile) Mesa 22.2.0-rc3
Aug 31 07:26:20 r2d2 kwin_x11[154595]: OpenGL shading language version string: 4.60
Aug 31 07:26:20 r2d2 kwin_x11[154595]: Driver:                                 Intel
Aug 31 07:26:20 r2d2 kwin_x11[154595]: GPU class:                              Kaby Lake
Aug 31 07:26:20 r2d2 kwin_x11[154595]: OpenGL version:                         4.6
Aug 31 07:26:20 r2d2 kwin_x11[154595]: GLSL version:                           4.60
Aug 31 07:26:20 r2d2 kwin_x11[154595]: Mesa version:                           22.2
Aug 31 07:26:20 r2d2 kwin_x11[154595]: X server version:                       1.21.1
Aug 31 07:26:20 r2d2 kwin_x11[154595]: Linux kernel version:                   5.19.5
Aug 31 07:26:20 r2d2 kwin_x11[154595]: Requires strict binding:                yes
Aug 31 07:26:20 r2d2 kwin_x11[154595]: GLSL shaders:                           yes
Aug 31 07:26:20 r2d2 kwin_x11[154595]: Texture NPOT support:                   yes
Aug 31 07:26:20 r2d2 kwin_x11[154595]: Virtual Machine:                        no

Aug 31 07:26:36 r2d2 kwin_x11[154595]: Freeze in OpenGL initialization detected
Aug 31 07:26:36 r2d2 kwin_x11[154595]: Application::crashHandler() called with signal 6; recent crashes: 1
Aug 31 07:26:37 r2d2 kwin_x11[154595]: KCrash: crashing... crashRecursionCounter = 2
Aug 31 07:26:37 r2d2 kwin_x11[154595]: KCrash: Application Name = kwin_x11 path = /usr/bin pid = 154595
Aug 31 07:26:37 r2d2 kwin_x11[154595]: KCrash: Arguments: /usr/bin/kwin_x11 --replace
Aug 31 07:26:37 r2d2 systemd[4872]: plasma-kwin_x11.service: Main process exited, code=killed, status=6/ABRT
Aug 31 07:26:37 r2d2 systemd[4872]: plasma-kwin_x11.service: Failed with result 'signal'.
Aug 31 07:26:37 r2d2 systemd[4872]: plasma-kwin_x11.service: Scheduled restart job, restart counter is at 6.
Aug 31 07:26:37 r2d2 systemd[4872]: Stopped KDE Window Manager.
Aug 31 07:26:37 r2d2 systemd[4872]: Starting KDE Window Manager...
Aug 31 07:26:37 r2d2 systemd[4872]: Started KDE Window Manager.

Maybe it is related with opengl but, even disable composing, I got kwin random freezing hours later.

Paul Gevers

unread,
Jan 3, 2023, 11:24:24 AM1/3/23
to
Hi,

On Thu, 18 Aug 2022 08:47:45 -0400 Ralf Jung <po...@ralfj.de> wrote:
> Also see https://bugs.kde.org/show_bug.cgi?id=457847.

That bug was determined to be caused by
https://gitlab.freedesktop.org/mesa/mesa/-/issues/7674. I *think* (but
haven't confirmed yet as that doesn't seem trivial to do) that that bug
should be fixed in mesa 22.3 which is in bookworm since 2023-01-02 (and
in unstable since 2022-12-01). So if this bug reoccurs for somebody, it
would be good to update the bug report.

I had the same issue as in this report and decided today to investigate.
However, my system updated mesa yesterday, so if my searching is true,
the bug should be gone for me.

I think this bug (and maybe similar bugs) should be reassigned to mesa,
raised in severity and closed... (or just the latter).

Paul
OpenPGP_signature

Brad

unread,
Jan 25, 2023, 6:20:04 AM1/25/23
to
Package: kwin-x11
Version: 4:5.26.4-1+b1
Followup-For: Bug #1017613

I think I have this bug. If true, it's still present. I'm on mesa 22.3.3-1. I upgraded this system on the 7th and started having the issue.

My entire desktop freezes. Seconds on the clock stops. My mouse cursor still moves but I can't interact with anything. My music player keeps playing. I can get to a console with ctrl+alt+f5 and it shows very low CPU activity. Nothing in syslog or xsession-errors. I have to restart sddm or something similar.

I think the trigger is when I do an alt+tab switcher activity.

I have a near-identically configured/versioned laptop and don't see the issue there. It's using an internal Intel GPU while my freezing desktop has an AMD RX 570.


-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.17.0-2-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages kwin-x11 depends on:
ii kwin-common 4:5.26.4-1+b1
ii libc6 2.36-7
ii libepoxy0 1.5.10-1
ii libgcc-s1 12.2.0-13
ii libkdecorations2-5v5 4:5.26.4-1
ii libkf5configcore5 5.101.0-1
ii libkf5configgui5 5.101.0-1
ii libkf5configwidgets5 5.101.0-1
ii libkf5coreaddons5 5.101.0-1
ii libkf5crash5 5.101.0-1
ii libkf5globalaccel-bin 5.101.0-1
ii libkf5globalaccel5 5.101.0-1
ii libkf5i18n5 5.101.0-1+b1
ii libkf5notifications5 5.101.0-1
ii libkf5plasma5 5.101.0-1
ii libkf5service-bin 5.101.0-1
ii libkf5service5 5.101.0-1
ii libkf5windowsystem5 5.101.0-2
ii libkwineffects14 4:5.26.4-1+b1
ii libkwinglutils14 4:5.26.4-1+b1
ii libqaccessibilityclient-qt5-0 0.4.1-1+b1
ii libqt5core5a 5.15.7+dfsg-2
ii libqt5dbus5 5.15.7+dfsg-2
ii libqt5gui5 5.15.7+dfsg-2
ii libqt5qml5 5.15.7+dfsg-2
ii libqt5quick5 5.15.7+dfsg-2
ii libqt5widgets5 5.15.7+dfsg-2
ii libqt5x11extras5 5.15.7-2
ii libstdc++6 12.2.0-13
ii libx11-6 2:1.8.3-3
ii libxcb-composite0 1.15-1
ii libxcb-keysyms1 0.4.0-1+b2
ii libxcb-randr0 1.15-1
ii libxcb-render0 1.15-1
ii libxcb-shape0 1.15-1
ii libxcb-xfixes0 1.15-1
ii libxcb1 1.15-1
ii libxi6 2:1.8-1+b1
0 new messages