You are not logged in.
Hi there,
since updating to plasma 6.2 I have a problem with severe lag on the monitor which is connected to my dGPU (AMD Radeon RX480). Doesn't happen on X11, only wayland.
When I move the mouse cursor over to that monitor, the mouse movement gets very choppy and GPU utilisation of the dGPU skyrocket.
journalctl gives this:
Okt 14 16:38:31 desktop kwin_wayland[995]: kwin_libinput: Libinput: event26 - USB Optical Mouse: client bug: event processing lagging behind by 59ms, your system is too slow
Okt 14 16:38:39 desktop kwin_wayland[995]: kwin_libinput: Libinput: event26 - USB Optical Mouse: client bug: event processing lagging behind by 51ms, your system is too slow
Okt 14 16:41:04 desktop kwin_wayland[995]: kwin_libinput: Libinput: event26 - USB Optical Mouse: client bug: event processing lagging behind by 87ms, your system is too slow
Okt 14 16:45:59 desktop kwin_wayland[995]: kwin_libinput: Libinput: event26 - USB Optical Mouse: client bug: event processing lagging behind by 50ms, your system is too slow
Okt 14 16:46:06 desktop kwin_wayland[995]: kwin_libinput: Libinput: event26 - USB Optical Mouse: client bug: event processing lagging behind by 54ms, your system is too slow
Okt 14 16:46:06 desktop kwin_wayland[995]: kwin_libinput: Libinput: event26 - USB Optical Mouse: WARNING: log rate limit exceeded (5 msgs per 60min). Discarding future messages.
Okt 14 16:46:52 desktop kwin_wayland[995]: kwin_libinput: Libinput: event20 - HID 04b4:6014: client bug: event processing lagging behind by 120ms, your system is too slow
I captured my screens while the problem occurs:
http://0x0.st/X6UI.webm
I've seen problems like this mostly related to nvidia hardware but my system is all AMD. Does somebody know how to further investigate or maybe even fix it?
cheers, nils
Offline
Was it only plasma that got upgraded in that upgraded or were there any other packages upgraded aswell? (maybe post a snippet from your pacman.log)
Offline
@gromit
mostly plasma stuff was updated:
cat /var/log/pacman.log |grep 2024-10-10
[2024-10-10T01:02:42+0200] [PACMAN] Running 'pacman --sync -y -u --'
[2024-10-10T01:02:42+0200] [PACMAN] synchronizing package lists
[2024-10-10T01:02:42+0200] [PACMAN] starting full system upgrade
[2024-10-10T01:02:49+0200] [ALPM] transaction started
[2024-10-10T01:02:49+0200] [ALPM] upgraded s2n-tls (1.5.3-1 -> 1.5.4-1)
[2024-10-10T01:02:53+0200] [ALPM] upgraded aws-sdk-cpp (1.11.415-1 -> 1.11.420-1)
[2024-10-10T01:02:54+0200] [ALPM] upgraded firefox (131.0-1 -> 131.0.2-1)
[2024-10-10T01:02:54+0200] [ALPM] upgraded python-aiosignal (1.3.1-6 -> 1.3.1-7)
[2024-10-10T01:02:54+0200] [ALPM] upgraded python-blessed (1.20.0-5 -> 1.20.0-6)
[2024-10-10T01:02:54+0200] [ALPM] upgraded python-charset-normalizer (3.3.2-2 -> 3.4.0-1)
[2024-10-10T01:02:54+0200] [ALPM] upgraded python-multidict (6.0.5-2 -> 6.0.5-3)
[2024-10-10T01:02:54+0200] [ALPM] upgraded python-yarl (1.9.4-2 -> 1.9.4-3)
[2024-10-10T01:02:54+0200] [ALPM] upgraded tree-sitter (0.23.2-1 -> 0.24.2-1)
[2024-10-10T01:02:54+0200] [ALPM] transaction completed
[2024-10-10T01:02:55+0200] [ALPM] running '30-systemd-update.hook'...
[2024-10-10T01:02:55+0200] [ALPM] running 'gtk-update-icon-cache.hook'...
[2024-10-10T01:02:55+0200] [ALPM] running 'update-desktop-database.hook'...
[2024-10-10T12:11:09+0200] [PACMAN] Running 'pacman --sync -y -u --'
[2024-10-10T12:11:09+0200] [PACMAN] synchronizing package lists
[2024-10-10T12:11:09+0200] [PACMAN] starting full system upgrade
[2024-10-10T12:11:19+0200] [ALPM] transaction started
[2024-10-10T12:11:19+0200] [ALPM] upgraded plasma-activities (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:19+0200] [ALPM] upgraded libplasma (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:19+0200] [ALPM] upgraded bluedevil (1:6.1.5-1 -> 1:6.2.0-1)
[2024-10-10T12:11:19+0200] [ALPM] upgraded kdecoration (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:19+0200] [ALPM] upgraded breeze (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:19+0200] [ALPM] upgraded breeze-gtk (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:19+0200] [ALPM] upgraded discover (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:20+0200] [ALPM] upgraded drkonqi (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:20+0200] [ALPM] upgraded kactivitymanagerd (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:20+0200] [ALPM] upgraded kde-cli-tools (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:20+0200] [ALPM] upgraded kde-gtk-config (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:20+0200] [ALPM] upgraded kglobalacceld (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:20+0200] [ALPM] upgraded layer-shell-qt (6.1.5-3 -> 6.2.0-1)
[2024-10-10T12:11:20+0200] [ALPM] upgraded libkscreen (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:20+0200] [ALPM] upgraded kscreenlocker (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:20+0200] [ALPM] upgraded kwayland (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:20+0200] [ALPM] upgraded kwin (6.1.5-2 -> 6.2.0-1)
[2024-10-10T12:11:20+0200] [ALPM] upgraded kpipewire (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:20+0200] [ALPM] upgraded libksysguard (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:20+0200] [ALPM] upgraded ksystemstats (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:20+0200] [ALPM] upgraded milou (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:20+0200] [ALPM] upgraded ocean-sound-theme (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:20+0200] [ALPM] upgraded plasma-activities-stats (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:20+0200] [ALPM] upgraded plasma5support (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:20+0200] [ALPM] upgraded qqc2-breeze-style (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:20+0200] [ALPM] upgraded xdg-desktop-portal-kde (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:20+0200] [ALPM] upgraded plasma-integration (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:21+0200] [ALPM] upgraded plasma-workspace (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:21+0200] [ALPM] upgraded kdeplasma-addons (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:21+0200] [ALPM] upgraded kgamma (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:21+0200] [ALPM] upgraded systemsettings (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:21+0200] [ALPM] upgraded kinfocenter (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:21+0200] [ALPM] upgraded kmenuedit (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:21+0200] [ALPM] upgraded krdp (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:21+0200] [ALPM] upgraded kscreen (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:21+0200] [ALPM] upgraded ksshaskpass (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:21+0200] [ALPM] upgraded kwallet-pam (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:21+0200] [ALPM] upgraded kwayland-integration (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:21+0200] [ALPM] upgraded kwrited (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:21+0200] [ALPM] upgraded oxygen (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:21+0200] [ALPM] upgraded oxygen-sounds (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:21+0200] [ALPM] upgraded plasma-browser-integration (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:21+0200] [ALPM] upgraded polkit-kde-agent (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:21+0200] [ALPM] upgraded powerdevil (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:22+0200] [ALPM] upgraded plasma-desktop (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:22+0200] [ALPM] upgraded plasma-disks (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:22+0200] [ALPM] upgraded plasma-firewall (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:22+0200] [ALPM] upgraded plasma-nm (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:22+0200] [ALPM] upgraded plasma-pa (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:22+0200] [ALPM] upgraded plasma-systemmonitor (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:22+0200] [ALPM] upgraded plasma-thunderbolt (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:22+0200] [ALPM] upgraded plasma-vault (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:22+0200] [ALPM] upgraded plasma-welcome (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:22+0200] [ALPM] upgraded plasma-workspace-wallpapers (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:22+0200] [ALPM] upgraded print-manager (1:6.1.5-1 -> 1:6.2.0-1)
[2024-10-10T12:11:22+0200] [ALPM] upgraded sddm-kcm (6.1.5-1 -> 6.2.0-1)
[2024-10-10T12:11:22+0200] [ALPM] upgraded syslinux (6.04.pre2.r11.gbf6db5b4-4 -> 6.04.pre3.r3.g05ac953c-3)
[2024-10-10T12:11:22+0200] [ALPM-SCRIPTLET]
[2024-10-10T12:11:22+0200] [ALPM-SCRIPTLET] ==> For setting up Syslinux BIOS using the syslinux-install_update script follow
[2024-10-10T12:11:22+0200] [ALPM-SCRIPTLET] https://wiki.archlinux.org/index.php/Syslinux#Automatic_Install
[2024-10-10T12:11:22+0200] [ALPM-SCRIPTLET]
[2024-10-10T12:11:22+0200] [ALPM-SCRIPTLET] ==> For setting up Syslinux EFI follow
[2024-10-10T12:11:22+0200] [ALPM-SCRIPTLET] https://wiki.archlinux.org/index.php/Syslinux#UEFI_Systems
[2024-10-10T12:11:22+0200] [ALPM-SCRIPTLET]
[2024-10-10T12:11:22+0200] [ALPM-SCRIPTLET] ==> The syslinux-install_update script does not currently support EFI install
[2024-10-10T12:11:22+0200] [ALPM-SCRIPTLET]
[2024-10-10T12:11:22+0200] [ALPM] upgraded tree-sitter (0.24.2-1 -> 0.24.3-1)
[2024-10-10T12:11:22+0200] [ALPM] transaction completed
[2024-10-10T12:11:22+0200] [ALPM] running '30-systemd-daemon-reload-system.hook'...
[2024-10-10T12:11:23+0200] [ALPM] running '30-systemd-daemon-reload-user.hook'...
[2024-10-10T12:11:23+0200] [ALPM] running '30-systemd-update.hook'...
[2024-10-10T12:11:23+0200] [ALPM] running '30-update-mime-database.hook'...
[2024-10-10T12:11:23+0200] [ALPM] running 'dbus-reload.hook'...
[2024-10-10T12:11:23+0200] [ALPM] running 'gtk-update-icon-cache.hook'...
[2024-10-10T12:11:24+0200] [ALPM] running 'update-desktop-database.hook'...
Offline
Hi there,
since updating to plasma 6.2 I have a problem with severe lag on the monitor which is connected to my dGPU (AMD Radeon RX480). Doesn't happen on X11, only wayland.
When I move the mouse cursor over to that monitor, the mouse movement gets very choppy and GPU utilisation of the dGPU skyrocket.
I have a very similar issue on my laptop, but moving a cursor creates severe lags and 100% iGPU (not dGPU) utilization.
"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."
MSI Raider GE78HX 13VI-032PL
Offline
I did some more investigation and found this in the output of
strace -Z
on kwin_wayland
ioctl(126, DRM_IOCTL_MODE_ATOMIC, 0x7ffda81d1800) = -1 EINVAL (Das Argument ist ungültig)
futex(0x5e103a715a94, FUTEX_WAIT_BITSET, 2, NULL, FUTEX_BITSET_MATCH_ANY) = -1 EAGAIN (Die Ressource ist zur Zeit nicht verfügbar)
futex(0x5e103a715a94, FUTEX_WAIT_BITSET, 2, NULL, FUTEX_BITSET_MATCH_ANY) = -1 EAGAIN (Die Ressource ist zur Zeit nicht verfügbar)
futex(0x5e103a715a94, FUTEX_WAIT_BITSET, 2, NULL, FUTEX_BITSET_MATCH_ANY) = -1 EAGAIN (Die Ressource ist zur Zeit nicht verfügbar)
ioctl(126, DRM_IOCTL_MODE_ATOMIC, 0x7ffda81d1800) = -1 EINVAL (Das Argument ist ungültig)
futex(0x5e103a715a94, FUTEX_WAIT_BITSET, 2, NULL, FUTEX_BITSET_MATCH_ANY) = -1 EAGAIN (Die Ressource ist zur Zeit nicht verfügbar)
futex(0x5e103a715a94, FUTEX_WAIT_BITSET, 2, NULL, FUTEX_BITSET_MATCH_ANY) = -1 EAGAIN (Die Ressource ist zur Zeit nicht verfügbar)
futex(0x5e103a715a94, FUTEX_WAIT_BITSET, 2, NULL, FUTEX_BITSET_MATCH_ANY) = -1 EAGAIN (Die Ressource ist zur Zeit nicht verfügbar)
ioctl(126, DRM_IOCTL_MODE_ATOMIC, 0x7ffda81d1800) = -1 EINVAL (Das Argument ist ungültig)
futex(0x5e103a715a94, FUTEX_WAIT_BITSET, 2, NULL, FUTEX_BITSET_MATCH_ANY) = -1 EAGAIN (Die Ressource ist zur Zeit nicht verfügbar)
futex(0x5e103a715a94, FUTEX_WAIT_BITSET, 2, NULL, FUTEX_BITSET_MATCH_ANY) = -1 EAGAIN (Die Ressource ist zur Zeit nicht verfügbar)
futex(0x5e103a715a94, FUTEX_WAIT_BITSET, 2, NULL, FUTEX_BITSET_MATCH_ANY) = -1 EAGAIN (Die Ressource ist zur Zeit nicht verfügbar)
ioctl(126, DRM_IOCTL_MODE_ATOMIC, 0x7ffda81d1800) = -1 EINVAL (Das Argument ist ungültig)
futex(0x5e103a715a94, FUTEX_WAIT_BITSET, 2, NULL, FUTEX_BITSET_MATCH_ANY) = -1 EAGAIN (Die Ressource ist zur Zeit nicht verfügbar)
futex(0x5e103a715a94, FUTEX_WAIT_BITSET, 2, NULL, FUTEX_BITSET_MATCH_ANY) = -1 EAGAIN (Die Ressource ist zur Zeit nicht verfügbar)
futex(0x5e103a715a94, FUTEX_WAIT_BITSET, 2, NULL, FUTEX_BITSET_MATCH_ANY) = -1 EAGAIN (Die Ressource ist zur Zeit nicht verfügbar)
ioctl(126, DRM_IOCTL_MODE_ATOMIC, 0x7ffda81d1800) = -1 EINVAL (Das Argument ist ungültig)
recvmsg(387, {msg_namelen=0}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = -1 EAGAIN (Die Ressource ist zur Zeit nicht verfügbar)
ioctl(126, DRM_IOCTL_MODE_ATOMIC, 0x7ffda81d1800) = -1 EINVAL (Das Argument ist ungültig)
recvmsg(387, {msg_namelen=0}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = -1 EAGAIN (Die Ressource ist zur Zeit nicht verfügbar)
futex(0x5e103a715a94, FUTEX_WAIT_BITSET, 2, NULL, FUTEX_BITSET_MATCH_ANY) = -1 EAGAIN (Die Ressource ist zur Zeit nicht verfügbar)
ioctl(126, DRM_IOCTL_MODE_ATOMIC, 0x7ffda81d1800) = -1 EINVAL (Das Argument ist ungültig)
The
ioctl(126, DRM_IOCTL_MODE_ATOMIC, 0x7ffda81d1800) = -1 EINVAL (Das Argument ist ungültig)
errors occur only when I move my mouse cursor over the affected display.
Any ideas on how I can get more debug info? This is really a showstopper right now
Offline
Could you please install retsnoop and paste an example output of:
sudo retsnoop -e "*sys_ioctl*" -x EINVAL -A -C args.fmt-mode=verbose
Also which kernel are you on?
Offline
here is retsnoop's output:
http://0x0.st/X6hj.out
uname -a
Linux desktop 6.11.3-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 10 Oct 2024 20:11:06 +0000 x86_64 GNU/Linux
...though I have tried with 6.6 lts and the error is still there
Last edited by dingodoppelt (2024-10-15 10:24:27)
Offline
Offline
No ICC profiles but I disabled the nightlight. It doesn't make a difference though.
Last edited by dingodoppelt (2024-10-15 10:36:24)
Offline
After another update I couldn't launch kwin_wayland at all. In this bug report #494382 I found a workaround which "fixes" all my problems.
If you need a workaround until the devs find the real bug, I'm using this script:
#!/bin/sh
export KWIN_COMPOSE=QAdd it to the autostart as a pre-startup script. It will use software rendering for kwin instead of opengl. You will lose the effects and the night light but at least the desktop is usable with that.
I have pasted the code above into here:
~/.config/plasma-workspace/env/debug.sh
Until there is an official bugfix this is my solution. Hope this helps somebody else as well.
cheers, nils
Offline