Bug 208770

Summary: Slow windows resize on fglrx and compositing
Product: [Plasma] kwin Reporter: karaluh <karaluh>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: 0x101010, alberto3d.1984, juanantonio_garcia_01, nforce25, subscryer
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description karaluh 2009-09-28 13:48:38 UTC
Version:            (using KDE 4.3.1)
Installed from:    Ubuntu Packages

Without compositing speed is ok. When compositing is turned on, speed is painfuly slow.
Comment 1 subscryer 2009-10-12 11:07:56 UTC
This is not limited to fglrx, the radeon driver is the same. Also, when I minimize or maximize a window there is a slight pause, if I minimize and the immediately maximize it, I have a (seconds) long pause during which nothing happens.
Disabling desktop effects makes thing happen instantly.

Driver ati 6.12.4
DRI from 2.6.30 kernel (compiled from source will cause panic on shutdown...)
Mesa 7.5.2
Xorg 7.4
Xorg server 1.6.4
Comment 2 Martin Flöser 2009-10-30 15:22:37 UTC
SVN commit 1042711 by graesslin:

Adding the missing pieces for a nice and fast letterbox resizing as a replacement for the drawbound resizing.
Perhaps we should not display the totally ugly drawbound when we have an active resize effect.
CCBUG: 208770
CCBUG: 152638

 M  +6 -0      effects.cpp  
 M  +1 -0      effects.h  
 M  +12 -2     effects/resize/resize.cpp  
 M  +2 -0      effects/resize/resize.h  
 M  +3 -0      geometry.cpp  
 M  +4 -0      lib/kwineffects.cpp  
 M  +3 -1      lib/kwineffects.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1042711
Comment 3 Martin Flöser 2009-12-23 10:36:31 UTC
*** Bug 219755 has been marked as a duplicate of this bug. ***
Comment 4 Juan Garcia 2010-02-02 18:59:54 UTC
I can confirm this bug in KDE SC 4.4 RC2.

And ATI driver 9.12 and 10.1.
Comment 5 Martin Flöser 2010-02-12 11:10:14 UTC
*** Bug 226495 has been marked as a duplicate of this bug. ***
Comment 6 Alberto 2010-02-12 11:13:18 UTC
I can confirm this bugs in KDE 4.4.0

This affect me since KDE 4.0 in all the drivers of my ATI 4850
Comment 7 Gorka 2010-03-01 17:28:03 UTC
I can also confirm this bug with KDE 4.3.5 and xorg-driver-fglrx version 2:8.660-0ubuntu4.
Comment 8 Martin Flöser 2011-01-22 09:21:08 UTC
The resize effect has by now been significantly improved to provide a fast texture scaling. This provides a fast and useful workaround for the slow resizing with fglrx. Sorry that we cannot do something real about it, but fglrx is out of our control. From personal experience the resizing is better with radeon and even worse with NVIDIA blob, but significantly better on nouveau.