Bug 181565

Summary: enabling blur slows down fading and minimize effects
Product: [Plasma] kwin Reporter: bgn66922
Component: compositingAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: roland.leissa
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: present
expected

Description bgn66922 2009-01-22 07:17:15 UTC
Version:            (using KDE 4.1.3)
OS:                Linux
Installed from:    SuSE RPMs

If blur plugin is enabled, some other effects such as fading and minimize become very slow laggy. Disable blur then everything's smooth.

It seems that the blur plugin blurs all semi-transparent windows including those are fading.
Maybe some code could be add to temporarily disable blur for windows which is under animation?
Comment 1 bgn66922 2009-01-22 07:26:35 UTC
Created attachment 30507 [details]
present
Comment 2 bgn66922 2009-01-22 07:27:05 UTC
Created attachment 30508 [details]
expected
Comment 3 bgn66922 2009-01-22 07:32:51 UTC
Maybe doing blur and fade/zoom at the same time overloads the video card.
Comment 4 Martin Flöser 2009-02-09 19:54:49 UTC
I set this bug as a duplicate of bug #182809 as it's in general the same problem: we should not blur windows during fade animation.

I'm not really sure if that would speed up blur effect. The used technique for blur effect makes everything a little bit slower (painting is redirected into a texture). The blurring itself should be fast as it uses shaders.

*** This bug has been marked as a duplicate of bug 182809 ***
Comment 5 Roland Leißa 2009-02-09 20:07:28 UTC
No, this is not a duplicate. Furthermore fading in windows/menus with blur enabled looks great. There has been a patch which went into kde 4.2 which makes this possible. No reason to switch it off completely. If blur is slow for you -> don't use it. Perhaps an option should be added which disables bluring during fade-in. But disabling it in general is a mistake.