matinlotfali / KDE-Rounded-Corners

Rounds the corners of your windows in KDE Plasma 5 and 6
GNU General Public License v3.0
638 stars 22 forks source link

"Enable animation between active and inactive state" leads to heightened gpu wattage #220

Closed tjumar closed 6 months ago

tjumar commented 6 months ago

Hello, if "Enable animation between active and inactive state" is enabled my rx6700 clocks from 96Mhz memory clock to the next highest state 456Mhz and increases wattage on an idling desktop by ~10-12W. With the option disabled and desktop idling the memory and gpu clocks return to their deepest state again and normal wattage.

GPU infos can be looked at via a tool like nvtop (newer versions also work for amd and intel).

jonwilts commented 6 months ago

Thank you!

For the last few days I've been seeing the CPU usage on my laptop go up significantly - fans constantly running and battery draining super fast. I've been trying to isolate the problem, and tracked it down to KDE-Rounded-Corners. Just saw your post, re-enabled the Effect, but turned off the animation between active/inactive states, and CPU usage is back to normal.

Old 2015 MacBook Air running KDE with integrated intel GPU so I imagine some of the work was being offloaded to the CPU.

matinlotfali commented 6 months ago

@tjumar @jonwilts Can you test #224 and see if it fixes the GPU/CPU issue?

tjumar commented 6 months ago

Yes, seems to work fine now with this commit, no change in clocks when enabling the animation option!

jonwilts commented 6 months ago

Yes agreed - seems much better. Thank you.