Bug 498757

Summary: Debian Trixie KDE causes GPU clock spikes on Virtual Desktop switching
Product: [Plasma] kwin Reporter: apricorum <fabio9000dg>
Component: performanceAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 6.2.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Here, as you can see, the spikes are very predictable and common, happening every virtual desktop switch.

Description apricorum 2025-01-16 17:39:09 UTC
Created attachment 177425 [details]
Here, as you can see, the spikes are very predictable and common, happening every virtual desktop switch.

***
SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.8.0
Qt Version: 6.7.2
Kernel Version: 6.12.9-amd64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × 11th Gen Intel® Core™ i5-11400F @ 2.60GHz
Memory: 31.2 GiB of RAM
Graphics Processor: AMD Radeon RX 6650 XT

***

SUMMARY
Debian Trixie (KDE Wayland) here. I installed the latest LACT .deb package and for tuning purposes, on my RX 6650xt, I kept an historical data graph. What I noticed is that changing virtual desktop causes a GPU clock spikes. I did alread notice KDE having ordinary stutters, especially now that I havea 165Hz monitor. 

STEPS TO REPRODUCE
a. Change Virtual Desktop via shortcuts. 
b. Change Virtual Desktop via mouse.
b. Disabling system animations, specifically Virtual Desktop switching animations, doesn't solve the issue

OBSERVED RESULT
The overall system performance, over intense GPU sessions, is very stable and performant, albeit whenever I switch to the Virtual Desktop overview using the mouse gesture, i.e., moving the cursor over the top-left corner in my case, there is a recurring clock spike which leads to stutter. I also forced the P-State to be only 2750 Mhz, yet, the stutters and clock spikes were still happening