luisbocanegra / plasma-smart-video-wallpaper-reborn

Plasma 6 wallpaper plugin to play videos on your Desktop/Lock Screen.
https://store.kde.org/p/2139746
GNU General Public License v2.0
70 stars 1 forks source link

Around 2x GPU usage caused by blur effect even when it is disabled #26

Closed luisbocanegra closed 3 months ago

luisbocanegra commented 3 months ago

The blur effect uses a lot of GPU, this expected as the source of the effect is a video.

But turns out it uses the same amount even when the blur radius is set to 0 (disabled) and doesn't seem to vary at all comparing 1 vs 100 radius. Completely removing the blur code reduces the usage from ~50% to ~25% playing a 3840x2160 video!

Moving the blur to a Component that so it can be created and destroyed when is not needed should fix this.