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

            Bug ID: 529088
           Summary: Micro Stutter when using Aurorae window decorations
    Classification: Plasma
           Product: kwin
      Version First 6.8.3
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: aurorae
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 198638
  --> https://bugs.kde.org/attachment.cgi?id=198638&action=edit
kwin support information

DESCRIPTION
When using any Aurorae window decorations; opening windows, moving windows,
resizing windows produces short stuttering on my system.
I watched my GPU and CPU while doing this and got a clear feedback:

with "watch -n 0.2 "grep . /sys/class/drm/card1/device/pp_dpm_sclk
/sys/class/drm/card1/device/pp_dpm_mclk""
I could clearly see that pp_dpm_sclk:S is dropping to 5-12 MHz for one or two
refresh intervals ( when resizing a window, the stutter gets longer the larger
the window is resized to )

also with "top -H -d 0.2 -p $(pgrep -x kwin_wayland)" i could see that, in
these short stutter periods, kwin_wayland shot up to 60%+ cpu usage

But it was not clear to me if that is the cause or the effect.

Created a new user to see if the issue stems from my system or my settings ->
new user had no issues.
I narrowed it down by moving my configuration files until I found that the
window decoration from my global theme was the culprit.
Tried 5 other Aurorae decorations, same result.

STEPS TO REPRODUCE
1. Set window decoration to any Aurorae design
2. The most clear way to see the issue is to resize a window, to be specific,
go to system setting->colors & themes->plasma style->click on any theme and
"edit theme"->  resize this window. ( to be clear, i don't mean the stutter
this window has at the moment of resizing but directly afterwards, it was just
the best method for me to replicate the issue ). Opening or moving windows
should also have some stutters but it is not as reproducible as the method
above.
3. after resizing a window the system stutters briefly, best seen when looking
at the mouse cursor and animations

OBSERVED RESULT
Aurorae window decorations cause stutters when being opened, moved or,
especially, resized.
Resource data after resizing a window with Aurorae: pp_dpm_sclk:S 5-12MHz, cpu
usage of kwin_wayland 60%+

EXPECTED RESULT
No stuttering while windows are being opened, moved or resized.
Resource data after resizing a window with Breeze: pp_dpm_sclk:S 80-100MHz, cpu
usage of kwin_wayland 4.9%-14.9%


SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 45
Kernel Version: 7.3.4-300.fc45.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor
Memory: 64 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 GRE


KDE Plasma Version: 6.8.3
KDE Frameworks Version: 6.32.0
Qt Version: 6.11.2

ADDITIONAL INFORMATION
Display 1 : [email protected]
Display 2 : [email protected]

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

Reply via email to