https://bugs.kde.org/show_bug.cgi?id=479126

            Bug ID: 479126
           Summary: Wayland: High CPU on mouse move
    Classification: Plasma
           Product: kwin
           Version: 5.91.0
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: compositing
          Assignee: kwin-bugs-n...@kde.org
          Reporter: john.etted...@gmail.com
  Target Milestone: ---

SUMMARY
Hello,

Just moved to Plasma 6 Wayland from Plasma 5.27.10 Wayland and as is the
session is unusable. I'm having 2 major issues:

- If I don't do anything it seems fine but if I move the mouse kwin_wayland
uses a crazy amount of CPU, well on this very weak CPU maybe on a powerful one
it wouldn't be noticeable, but on mine the desktop can freeze if I move it
much. By crazy amount I mean I can see a kwin_wayland process taking up to 190%
in HTOP and I believe there's more than one process, whereas in the same
situation without touching the mouse it's more like 2%. Using the input from
kde connect causes the same behavior, but using my keyboard doesn't seem to
have any bad effect.

- With HDR on the screen keeps flickering. It could be some power/bandwidth
issue related to the above, I never had that problem with gamescope/mpv.

This machine has a first gen SSD, 8GB of RAM, a sandy bridge pentium and a
Radeon 580 8Gb on Arch. The mouse is a Logitech G900 if it matters. 

It seems dropping the polling rate in piper for my mouse and disabling screen
tearing in KCM drastically reduces the issue. Now kwin_wayland uses around 30%
on mouse moves, interestingly systemsettings uses about the same (that's the
main window currently) on mouse moves.

STEPS TO REPRODUCE
1. start HTOP
2. move the mouse

OBSERVED RESULT
CPU used is super high.

EXPECTED RESULT
CPU used barely changes.

SOFTWARE/OS VERSIONS
Linux: 6.6.8
KDE Plasma Version: 5.91
KDE Frameworks Version: I'm not on that machine right now but through SSH I see
this frameworkintegration 5.247.0 and plasma-framework5 5.113.0 (that one
shouldn't matter I'm thinking)
Qt Version: 6.7.0beta1

ADDITIONAL INFORMATION
I only upgraded my system to latest, maybe I need to install some kind of meta
package for 6 that would help?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to