https://bugs.kde.org/show_bug.cgi?id=480885
Bug ID: 480885 Summary: High CPU usage for window under cursor \ plasma shell (if over desktop) and kwin_wayland when moving mouse cursor Classification: Plasma Product: kwin Version: master Platform: Neon OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: kwin-bugs-n...@kde.org Reporter: feat...@engineer.com Target Milestone: --- SUMMARY When moving the mouse, the CPU usage of the window under the cursor, as well as kwin_wayland is very high. STEPS TO REPRODUCE 1. move cursor over a window or over the desktop OBSERVED RESULT The CPU usage shoots up (over 30% for kwin_wayland, and another over 25% for the window under the cursor) on my machine, i.e. more than 50% cpu. Interestingly, when there's another process which uses 100% cpu, when moving the cursor kwin_wayland "only" uses 17%, and the window under the cursor "only" uses 7%. EXPECTED RESULT There should be a negligible cpu usage from just moving the mouse cursor around SOFTWARE/OS VERSIONS Linux/KDE Plasma: (available in About System) KDE Plasma Version: 6.0.80 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.1 ADDITIONAL INFORMATION System: Kernel: 6.5.0-15-generic x86_64 bits: 64 compiler: N/A Desktop: KDE Plasma 6.0.80 Distro: KDE neon 22.04 Unstable Edition base: Ubuntu 22.04 LTS Jammy Machine: Type: Desktop System: Dell product: Precision 3630 Tower v: N/A serial: <superuser required> Mobo: Dell model: 0NNNCT v: A01 serial: <superuser required> UEFI: Dell v: 2.25.0 date: 11/09/2023 CPU: Info: 6-core model: Intel Core i7-8700 bits: 64 type: MT MCP arch: Coffee Lake rev: A cache: L1: 384 KiB L2: 1.5 MiB L3: 12 MiB Speed (MHz): avg: 800 high: 804 min/max: 800/4600 cores: 1: 804 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800 bogomips: 76799 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx Graphics: Device-1: Intel CoffeeLake-S GT2 [UHD Graphics 630] vendor: Dell CometLake-S driver: i915 v: kernel bus-ID: 00:02.0 Device-2: NVIDIA GP104 [GeForce GTX 1080] vendor: Dell driver: nouveau v: kernel bus-ID: 01:00.0 Display: wayland server: X.org v: 1.21.1.4 with: Xwayland v: 23.2.3 compositor: kwin_wayland driver: X: loaded: modesetting unloaded: fbdev,vesa gpu: i915,nouveau resolution: 1920x1080 OpenGL: renderer: NV134 v: 4.3 Mesa 23.0.4-0ubuntu1~22.04.1 direct render: Yes Audio: Device-1: Intel Cannon Lake PCH cAVS vendor: Dell driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 Device-2: NVIDIA GP104 High Definition Audio vendor: Dell driver: snd_hda_intel v: kernel bus-ID: 01:00.1 Sound Server-1: ALSA v: k6.5.0-15-generic running: yes Sound Server-2: PulseAudio v: 15.99.1 running: yes Sound Server-3: PipeWire v: 0.3.48 running: yes Network: Device-1: Intel Ethernet I219-LM vendor: Dell driver: e1000e v: kernel port: N/A bus-ID: 00:1f.6 IF: eno1 state: up speed: 100 Mbps duplex: full mac: <filter> RAID: Hardware-1: Intel SATA Controller [RAID mode] driver: ahci v: 3.0 bus-ID: 00:17.0 Drives: Local Storage: total: 476.94 GiB used: 0 KiB (0.0%) ID-1: /dev/sda vendor: Micron model: 1100 SATA 512GB size: 476.94 GiB Partition: ID-1: / size: 15.58 GiB used: 338.7 MiB (2.1%) fs: overlay source: ERR-102 Swap: Alert: No swap data was found. Sensors: System Temperatures: cpu: 29.0 C pch: 43.0 C mobo: 29.0 C gpu: nouveau temp: 39.0 C Fan Speeds (RPM): cpu: 1561 fan-2: 852 gpu: nouveau fan: 1008 Info: Processes: 276 Uptime: 2h 38m Memory: 31.17 GiB used: 3.96 GiB (12.7%) Init: systemd runlevel: 5 Compilers: gcc: 11.4.0 Packages: 2184 Shell: Bash v: 5.1.16 inxi: 3.3.13 -- You are receiving this mail because: You are watching all bug changes.