Bug 152638 - Resize window look heavy
Summary: Resize window look heavy
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 218781 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-11-21 08:11 UTC by Teddy Widhi Laksono
Modified: 2011-01-29 16:14 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Teddy Widhi Laksono 2007-11-21 08:11:05 UTC
Version:            (using KDE KDE 3.96.0)
Installed from:    Compiled From Sources
Compiler:          GCC 4.x 
OS:                Linux

Hi all,

just now i installed KDE 4 from last night SVN. compilation no have problem, i can run KDE 4 session smoothly. It look KDE 4 the composite enabled by default, its look heavy in my computer with the spec : Athlon (barton) 2.6GHz, 512 RAM, 128Mb GForceFX 5200, and NVidia Driver software. In composite mode is ON, during resize window look very very heavy. Can it make the smoothly resize window like in composite off?

Tank you.
Comment 1 Lubos Lunak 2007-11-21 19:56:07 UTC
How does KWin's performance compare to resizing in Compiz?
Comment 2 Magnus 2007-11-21 20:07:39 UTC
Last I checked Compiz Fusion was smoother than kwin when resizing the window. Also, resizing the window seems to be the heaviest operation for kwin, hopefully due to room for optimization. :-) 

My system is a 2.0GHz Core 2 Duo, 2048MB Ram and a GeForce 7400GO. 
Comment 3 Søren Holm 2009-07-18 22:19:24 UTC
It is still a problem in KDE 4.3rc2. GTK-applications look allright though, so I suspect it might be a QT-issue. Even though I am a software developer I am not a KDE-developer so I do not know the exact details of window resizing but I am happy to help out.
Comment 4 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 5 Martin Flöser 2009-12-15 12:11:44 UTC
*** Bug 218781 has been marked as a duplicate of this bug. ***
Comment 6 aapgorilla 2009-12-15 12:34:32 UTC
(In reply to comment #5)
> *** Bug 218781 has been marked as a duplicate of this bug. ***

if this patch is to be backported to kde 4.3.4 is the 	 #define KWIN_EFFECT_API_VERSION_MINOR 106 to be changed (and to what number?)
Comment 7 Martin Flöser 2009-12-15 12:43:42 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > *** Bug 218781 has been marked as a duplicate of this bug. ***
> 
> if this patch is to be backported to kde 4.3.4 is the      #define
> KWIN_EFFECT_API_VERSION_MINOR 106 to be changed (and to what number?)
sorry I don't think it's a good idea to backport this. It has changes in kwin core, the library and the effects. And there have been more than the one commit mentioned in this bug for this feature.
Comment 8 aapgorilla 2009-12-15 13:53:50 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > (In reply to comment #5)
> > > *** Bug 218781 has been marked as a duplicate of this bug. ***
> > 
> > if this patch is to be backported to kde 4.3.4 is the      #define
> > KWIN_EFFECT_API_VERSION_MINOR 106 to be changed (and to what number?)
> sorry I don't think it's a good idea to backport this. It has changes in kwin
> core, the library and the effects. And there have been more than the one commit
> mentioned in this bug for this feature.

well I decided to upgrade my laptop (c2d/ nvidia 9500m gs, a lot smoother than my old desktop) to kde4.4b1 and resizing is still not smooth
Comment 9 Martin Flöser 2009-12-15 14:13:32 UTC
(In reply to comment #8)
> well I decided to upgrade my laptop (c2d/ nvidia 9500m gs, a lot smoother than
> my old desktop) to kde4.4b1 and resizing is still not smooth
just disable the show window content while resizing option.
Comment 10 aapgorilla 2009-12-15 14:16:01 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > well I decided to upgrade my laptop (c2d/ nvidia 9500m gs, a lot smoother than
> > my old desktop) to kde4.4b1 and resizing is still not smooth
> just disable the show window content while resizing option.

where is this option?
Comment 11 Martin Flöser 2009-12-15 14:29:12 UTC
(In reply to comment #10)
> (In reply to comment #9)
> > (In reply to comment #8)
> > > well I decided to upgrade my laptop (c2d/ nvidia 9500m gs, a lot smoother than
> > > my old desktop) to kde4.4b1 and resizing is still not smooth
> > just disable the show window content while resizing option.
> 
> where is this option?
Systemsettings -> Window behaviour -> Window behaviour -> Moving -> "Display content in resizing windows"
Comment 12 aapgorilla 2009-12-15 14:56:20 UTC
> Systemsettings -> Window behaviour -> Window behaviour -> Moving -> "Display
> content in resizing windows"

Indeed there it was although this setting is even less aesthetically pleasing than the jerky resize :(
Comment 13 Martin Flöser 2009-12-15 15:06:57 UTC
(In reply to comment #12)
> > Systemsettings -> Window behaviour -> Window behaviour -> Moving -> "Display
> > content in resizing windows"
> 
> Indeed there it was although this setting is even less aesthetically pleasing
> than the jerky resize :(
That's true and therefore the resize effect has been implemented.
Comment 14 Søren Holm 2010-01-10 11:00:17 UTC
I installed kde 4.4 rc1 last night. It is slower than 4.3.3 resizing windows. I'm running the proprietary nvidia driver.
Comment 15 Martin Flöser 2011-01-29 09:41:58 UTC
With the resize effect nowadays supporting fast texture scaling I consider this problem as resolved. Especially if you use the NVIDIA blob you should disable the option to show window content while resizing and use the resize effect. It's a known problem of the NVIDIA blob.
Comment 16 Thomas Lübking 2011-01-29 16:14:31 UTC
note: you don't haver to explicitly disable "show content" - at least while compositing activating the resize effect is sufficient (in case uncomposited resizes fast enough)