Bug 182245 - Wobbly extremely slow, but only for new windows, on eeePC
Summary: Wobbly extremely slow, but only for new windows, on eeePC
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-29 02:20 UTC by Chris Fraser
Modified: 2011-01-22 09:35 UTC (History)
1 user (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 Chris Fraser 2009-01-29 02:20:19 UTC
Version:            (using KDE 4.2.0)
Compiler:          gcc version 4.3.2 [gcc-4_3-branch revision 141291] (SUSE Linux) Using built-in specs. Target: i586-suse-linux Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.3 --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=i586-suse-linux Thread model: posix
OS:                Linux
Installed from:    SuSE RPMs

This is on an eeePC 1000h (Atom 1.6ghz, intel 945gm) which I realize isn't the beastliest of graphics setups, however:

- If I activate the wobbly plugin, all windows which were opened at the time I activated the plugin move nice and smooth, with low CPU usage.

- But every window which I open from then on, causes the framerate in kwin to drop massively, cpu usage really high, and kwin will disable compositing if I drag the window around for about 5 seconds as it is so slow.

Therefore I think this is some bug in wobbly, rather than the hardware being too slow. Although on my core2, nvidia 7900 system, wobbly is always smooth.

I have tried with direct rendering and without, with fastest texture filter, no difference.

Using plugins zoom, fade, login, logout, magic lamp, shadow, taskbar thumbs, translucency, wobbly (of course), cover switch, cube, present.
Comment 1 Chris Fraser 2009-01-29 08:04:20 UTC
Just discovered this does not occur if I have disabled the shadow plugin.
Comment 2 eric 2009-01-29 13:14:07 UTC
Same problem here.

Both wobbly and shadow enabled:
Moving a window is smooth for 1 sec. and then not smooth for 1 sec. and then smooth again and then not smooth again... this is repeating until I stop moving. I have a different system (opensource radeon driver). Here kwin doesn't disable compositing.

When Wobbly is enabled and shadow is disabled moving a window is smooth.

For a reliable testing of kwin effects you have to restart kwin after modifying the kwin effects by doing something like "kwin --replace &". This is because I've found out that shadow and maybe other effects as well, will not be applied to the existing windows when after modifying the kwin effects I hit the "apply" button and not restart kwin.
Comment 3 Chris Fraser 2009-02-02 09:42:12 UTC
Ah, I see, when I enable shadows, all existing windows don't get shadows, which explains why they still wobble smoothly. So the problem simply seems to be that wobbly is really slow in combination with shadows...
Comment 4 Martin Flöser 2011-01-22 09:35:04 UTC
there have been some improvments to wobbly in 4.6 and shadow is not used in a default setup for decorated windows. I assume these should remove the problems.

In any case the shadow effect will be dropped in 4.7.