https://bugs.kde.org/show_bug.cgi?id=517893
Bug ID: 517893
Summary: wayland: system performance degrades, compositor
freezes while playing video
Classification: Plasma
Product: kwin
Version First 6.5.4
Reported In:
Platform: Debian testing
OS: Linux
Status: REPORTED
Severity: major
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
While playing a video (with mpv, firefox, etc.) system performance degrades.
The compositor freezes and stops processing input for about 1 second at random.
STEPS TO REPRODUCE
Just play a video.
OBSERVED RESULT
Playing more than a video adds a proportional cpu usage to kwin_wayland. The
dimensions of the surface that shows the video also increase kwin_wayland cpu
usage.
System performance degradation is way greater than the cpu used by kwin_wayland
+ the video player. For instance, a parallel compile job that takes 10 seconds
on x11 takes 14 on wayland, while kwin_wayland + mpv adds to about 15% of one
of the 8 execution threads of this cpu. My guess is that kwin_wayland is using
a lot of RAM bandwidth.
I disabled all effects and experimented with the settings in Display
Configuration. The one thing that reduced kwin_wayland cpu usage is setting the
color profile to None.
The worse part is this: when the compositor freezes, input is not processed. It
happened multiple times that pressing a key when a freeze happens results on
registering that key press as it was pressed for the duration of the freeze
(typing `x' on konsole results on `xxxxxxxxxx'.) It can also miss a key press
altogether.
Sometimes the freezes don't happen for hours, then happen multiple times on a
matter of minutes. System performance is impaired all the time.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian Testing
KDE Plasma Version: 6.5.4
Qt Version: 6.9.2
ADDITIONAL INFORMATION
cpu: intel 6700k.
gpu: the processor's igpu.
3 monitors: 1980x1080 60Hz, 1680x1050 59.88Hz, 3840x2160 60Hz
I was waiting for 6.6 to check if the problem persists but seems that Debian's
KDE maintainers are busy and no updates are on the way.
With kwin_x11 cpu usage is practically zero, everything is smooth and can play
videos on all 3 displays full-screen without issues.
Otherwise, plasma works great on wayland. This is the only issue preventing me
from leaving x11 behind.
Thanks!
--
You are receiving this mail because:
You are watching all bug changes.