KDE Plasma 6.3 in Fedora 41 unusably slow (kwin-wayland high CPU usage)

On Fedora 41 (Linux 6.13.5), one of my machines upgraded to Plasma 6.3 and became unusable. The desktop environment is slow that I can’t even type. kwin-wayland is using 400 % CPU (all 4 cores). The compositor and framerate “desktop effects” report that the composition is on and framerate is 1-2 fps. I’ve already disabled all animations etc.

The CPU is an AMD A8-7600. I don’t experience any such issue on an even older machine with an Intel i5-3427U.

By switching to the text interface with ctrl-alt-f6 I managed to extract some logs. I’m not sure which of these is relevant. Does it fail to use hardware acceleration?



        mar 03 14:09:36 a88x sddm-helper-start-wayland[1647]: "No backend specified, automatically choosing drm\n"
        mar 03 14:09:36 a88x sddm-helper-start-wayland[1647]: "Accepting client connections on sockets: QList(\"wayland-0\")\n"
        mar 03 14:09:36 a88x sddm-helper-start-wayland[1647]: "kwin_wayland_drm: drmSetClientCap for Atomic Mode Setting failed. Using legacy mode on GPU \"/dev/dri/card0\"\n"
        mar 03 14:09:36 a88x sddm-helper-start-wayland[1647]: "kwin_core: Failed to open drm node: \"\"\nkwin_scene_opengl: couldn't find dev node for drm device \n"
        mar 03 14:09:37 a88x sddm-helper-start-wayland[1647]: "libEGL warning: egl: failed to create dri2 screen\n"
        mar 03 14:09:37 a88x sddm-helper-start-wayland[1647]: "libEGL warning: egl: failed to create dri2 screen\n"
        mar 03 14:09:37 a88x sddm-helper-start-wayland[1647]: "libEGL warning: egl: failed to create dri2 screen\n"
        mar 03 14:09:37 a88x sddm-helper-start-wayland[1647]: "libEGL warning: egl: failed to create dri2 screen\n"
        mar 03 14:09:38 a88x sddm-helper-start-wayland[1647]: "QSoundEffect(pulseaudio): Error decoding source file:///usr/share/maliit/keyboard2/sounds/key_tick2_quiet.wav\n"
        mar 03 14:09:40 a88x sddm-helper-start-wayland[1647]: "QSGContext::initialize: depth buffer support missing, expect rendering errors\nQSGContext::initialize: stencil buffer support missing, expect rendering errors\n"
        mar 03 14:10:25 a88x sddm-helper-start-wayland[1647]: Stopping... "kwin_wayland"
        mar 03 14:10:25 a88x sddm-helper-start-wayland[1647]: "QThreadStorage: Thread 0x560cf4281a90 exited after QThreadStorage 7 destroyed\n"
        mar 03 14:10:25 a88x sddm-helper[1778]: Starting Wayland user session: "/etc/sddm/wayland-session" "/usr/libexec/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland"
        mar 03 14:10:27 a88x systemd[1786]: Starting plasma-kwin_wayland.service - KDE Window Manager...
        mar 03 14:10:27 a88x systemd[1786]: Started plasma-kwin_wayland.service - KDE Window Manager.
        mar 03 14:10:27 a88x kwin_wayland[2081]: No backend specified, automatically choosing drm
        mar 03 14:10:27 a88x kwin_wayland[2081]: kwin_wayland_drm: drmSetClientCap for Atomic Mode Setting failed. Using legacy mode on GPU "/dev/dri/card0"
        mar 03 14:10:27 a88x kwin_wayland[2081]: kwin_core: Failed to open drm node: ""
        mar 03 14:10:27 a88x kwin_wayland[2081]: kwin_scene_opengl: couldn't find dev node for drm device
        mar 03 14:10:28 a88x kwin_wayland_wrapper[2164]: libEGL warning: egl: failed to create dri2 screen
        mar 03 14:10:28 a88x kwin_wayland_wrapper[2164]: libEGL warning: egl: failed to create dri2 screen
        mar 03 14:10:28 a88x kwin_wayland_wrapper[2185]: Refusing to try glamor on llvmpipe
        mar 03 14:10:28 a88x kwin_wayland_wrapper[2185]: XWAYLAND: Disabling GLAMOR support
        mar 03 14:10:29 a88x kwin_wayland_wrapper[2185]: EGL setup failed, disabling glamor
        mar 03 14:10:29 a88x kwin_wayland_wrapper[2185]: Failed to initialize glamor, falling back to sw
        mar 03 14:10:29 a88x kwin_wayland_wrapper[2185]: radeon: Failed to get PCI ID, error number -13
        mar 03 14:10:29 a88x kwin_wayland_wrapper[2227]: The XKEYBOARD keymap compiler (xkbcomp) reports:
        mar 03 14:10:29 a88x kwin_wayland_wrapper[2227]: > Warning:          Unsupported maximum keycode 708, clipping.
        mar 03 14:10:29 a88x kwin_wayland_wrapper[2227]: >                   X11 cannot support keycodes above 255.
        mar 03 14:10:29 a88x kwin_wayland_wrapper[2227]: > Warning:          Could not resolve keysym XF86KbdInputAssistPrevgrou
        mar 03 14:10:29 a88x kwin_wayland_wrapper[2227]: > Warning:          Could not resolve keysym XF86KbdInputAssistNextgrou
        mar 03 14:10:29 a88x kwin_wayland_wrapper[2227]: Errors from xkbcomp are not fatal to the X server
        mar 03 14:10:35 a88x org_kde_powerdevil[2324]: kscreen.kwayland: Connection to Wayland server timed out.
        mar 03 14:10:38 a88x systemd[1786]: Reached target plasma-workspace-wayland.target.
        mar 03 14:10:38 a88x systemd[1786]: Starting app-org.kde.xwaylandvideobridge@autostart.service - Xwayland Video Bridge...
        mar 03 14:10:39 a88x systemd[1786]: Started app-org.kde.xwaylandvideobridge@autostart.service - Xwayland Video Bridge.
        mar 03 14:10:40 a88x kwin_wayland[2081]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
        mar 03 14:10:45 a88x kwin_wayland[2081]: kwin_wayland_drm: Page flip failed: Permesso negato
         

I’ve tried switching to something other than sddm and the errors changed a bit but login would just fail. The kwin-wayland errors stayed the same.

Reinstalling all the packages in the kde groups didn’t help either.

I’ve seen a discussion in Arch Linux forums about that " failed to create dri2 screen" error but no solution there.

A live USB with Fedora 41 and Plasma 6.3 works so it’s probably something in my configuration, but removing ~/.config did not help.

Hallo. I have the same problem. After comand
Dnf downgrade mesa-dri-drivers all working

2 Likes

Try to disable night light and see if it helps.

Thank you! That did the trick. Version 24.2.4 is ok, version 25.0.0 is broken.

I also did sudo dnf versionlock add mesa-dri-drivers for good measure.

$ dnf history info 12
Status         : Ok
Releasever     : 41
Description    : dnf downgrade mesa-dri-drivers
Comment        : 
Packages altered:
  Action    Package                                    Reason          Repository
  Install   mesa-libglapi-0:24.2.4-1.fc41.x86_64       Dependency      fedora
  Downgrade mesa-dri-drivers-0:24.2.4-1.fc41.x86_64    Group           fedora
  Downgrade mesa-filesystem-0:24.2.4-1.fc41.x86_64     Dependency      fedora
  Downgrade mesa-libgbm-0:24.2.4-1.fc41.x86_64         Dependency      fedora
  Downgrade mesa-libGL-0:24.2.4-1.fc41.x86_64          Dependency      fedora
  Downgrade mesa-libEGL-0:24.2.4-1.fc41.x86_64         Dependency      fedora
  Downgrade mesa-vulkan-drivers-0:24.2.4-1.fc41.x86_64 Group           fedora
  Downgrade mesa-va-drivers-0:24.2.4-1.fc41.x86_64     Weak Dependency fedora
  Replaced  mesa-dri-drivers-0:25.0.0-2.fc41.x86_64    Group           @System
  Replaced  mesa-filesystem-0:25.0.0-2.fc41.x86_64     Dependency      @System
  Replaced  mesa-libEGL-0:25.0.0-2.fc41.x86_64         Dependency      @System
  Replaced  mesa-libGL-0:25.0.0-2.fc41.x86_64          Dependency      @System
  Replaced  mesa-libgbm-0:25.0.0-2.fc41.x86_64         Dependency      @System
  Replaced  mesa-va-drivers-0:25.0.0-2.fc41.x86_64     Weak Dependency @System
  Replaced  mesa-vulkan-drivers-0:25.0.0-2.fc41.x86_64 Group           @System

There are several other examples of breakage in bodhi.fedoraproject[.]org/updates/FEDORA-2025-ef64588235, hopefully the package is reverted soon.