Version: (using Devel) Compiler: GCC 4.4.č OS: Linux Installed from: Compiled sources Windows moving and resizing is very slow and choppy. It is like that only if "Display window geometry when moving or resizing" option in "Window Behaviour" section is on, and only if compositing is on. KDE version is 4.3.85 (in 4.3.82 it was the same), compiled via gentoo kde overlay's ebuilds. Graphics card is ATI X1250, with latest xf86-video-ati driver from git, mesa 7.7rc4, kms off
*** This bug has been marked as a duplicate of bug 208770 ***
Hey, it's not duplicate. Bug 208770 is seen on 4.3.1, but for me, everything was OK until 4.3.80. On 4.3.0-4.3.4 everything was all right, but on 4.4 betas - no. And there is nothing about windows moving which is the worst case here
And you are sure that this is not related to the fact that you use unstable drivers?
Quite sure. Just compiled a stable version (6.12.4), and everything was the same. Actually, I am quite sure that it's related to KDE, because showing window geometry is just another kwin effect, isn't it? Because other kwin effects work fine
no, show window geometry is not a kwin effect. In fact that you say that moving windows is shown is slow is for me an indicator that it's related to X. Moving a window with compositing turned on is just moving a texture, so it's the same as for example present windows. With compositing turned off it's reasonable slower as all windows behind the moving window have to be repainted. So if it's slow with Compositing turned on it has to be X.
Ok, but how could you explain that with compositing on, and showing geometry off, everything is nice and smooth?
(In reply to comment #6) > Ok, but how could you explain that with compositing on, and showing geometry > off, everything is nice and smooth? I have no idea - here it is fast. I neither use your distribution, nor your X Server, nor your kernel nor your hardware - so it's difficult to reproduce. The option should not have any impact on the performance of moving. Could you please name your settings for the other options in Window Behaviour -> Moving.
Tab Moving Windows: Display content in moving windows: on Display content in resizing windows: on Display window geometry when moving or resizing: if on bug is present, if off - bug is not there. Currently off Allow moving and resizing of maximized windows: off Snap zones: Border snap zone: 10 pixels Window snap zone: 10 pixels Center snap zone: none Snap windows only when overlapping: off
ok that are the same options as I use. Can you try other combinations, e.g. Display content while moving off and display geometry on?
Without content it's moving fast, but blinking a lot and leaving trail on the screen. And geometry box is laggy and choppy as before.
the geometry indicator has a heavy content update nature, maybe this stumbles your driver. Have you watched cpu load on move/resize w/ geometry display? I guess it makes quite some sense to implement this feature as desktop effect ;-)
Yeah, kwin cpu load gets up to 22%, while without geometry box - up to 6%. But still I wonder why it was ok before >4.3.4
I see this bug also using NVIDIA hardware (9600GT). I use Gentoo, with KDE-4.5 beta2 (at least for now, until stable comes out), and have tried several Nvidia-drivers to no avail (currently using driver version 256). If I disable the geometry box, everything moves fine. If I turn of compositing, everything moves fine. Even so, on a fresh newly opened X session, everything works as normal, but when some time passes (can't quite specify the time amount, but for example I was at work today and when I came back 9 hours later, it was like this), moving windows goes at 1fps or slower. When moving and displaying the geometry box, CPU spikes really high (eats up one core of my E2180). I have 6GB of memory, so that shouldn't be a problem. I see this behaviour both using the native QT4 backend or raster.
try this: http://kde-look.org/content/show.php?content=127177
SVN commit 1195300 by luebking: add windowgeometry tip effect, bind it to the general setting and generalize effect feature provide api, thus update resize effect BUG: 219755 M +2 -2 effects.cpp M +1 -1 effects.h M +1 -0 effects/CMakeLists.txt M +1 -1 effects/resize/resize.desktop M +1 -1 effects/resize/resize.h A effects/windowgeometry (directory) A effects/windowgeometry/CMakeLists.txt A effects/windowgeometry/windowgeometry.cpp [License: GPL (v2+)] A effects/windowgeometry/windowgeometry.desktop A effects/windowgeometry/windowgeometry.h [License: GPL (v2+)] A effects/windowgeometry/windowgeometry_config.cpp [License: GPL (v2+)] A effects/windowgeometry/windowgeometry_config.desktop A effects/windowgeometry/windowgeometry_config.h [License: GPL (v2+)] A effects/windowgeometry/windowgeometry_config.ui M +4 -2 geometry.cpp M +2 -0 kcmkwin/kwinoptions/windows.cpp M +5 -0 lib/kwineffects.cpp M +6 -1 lib/kwineffects.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1195300