Bug 181800 - resizing windows really slow (even without GUI effects)
Summary: resizing windows really slow (even without GUI effects)
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 158984 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-24 20:17 UTC by Jelle Geerts
Modified: 2009-10-03 16:09 UTC (History)
5 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 Jelle Geerts 2009-01-24 20:17:21 UTC
Version:            (using KDE 4.1.96)
Compiler:          gcc 4.2.4 
OS:                Linux
Installed from:    Compiled From Sources

Even when disabling GUI effects, resizing windows is horribly slow.

I'm using the NVIDIA 177.xx driver series.

Note: direct rendering is enabled.
Comment 1 Martin Flöser 2009-01-24 20:20:33 UTC
Have you setup your graphics drivers as explained in http://userbase.kde.org/GPU-Performance ?
Comment 2 Jelle Geerts 2009-01-24 20:32:08 UTC
Sorry, this only occurs for GTK windows, not Qt windows.
And I disabled 'Display content in moving windows' and 'Display content in resizing windows'.

Just drawing a rectangle shouldn't be affected by the setup of the drivers (really) since in KDE3 this worked just fine (with the same settings).
Comment 3 Tadas Šubonis 2009-05-20 16:21:56 UTC
I am having almost the same issue. The windows resizing is slow when I enable desktop effects. When I disable desktop effects switching between virtual desktops is very slow.

Using fglrx 9.4 and kde 4.2.3 . I think this happens to all applications. Haven't tested it thouroughly
Comment 4 Markus Strobl 2009-05-20 16:56:24 UTC
I've run into this as well and what I have found is that the problem occurs with XAA acceleration. Switching to the Radeon (open source) driver and EXA acceleration fixes it. Fglrx does not support EXA though so AFAIK there is no way to correct the problem with fglrx.
Comment 5 Thomas Lübking 2009-05-20 18:53:56 UTC
@ bughunter@sth.
could this be #183263?

@tadas
this is probably another bug and likely about bad pixmap allocation strategy in your driver (see #191253)
do you have issues when un-minimize as well?
Comment 6 Jelle Geerts 2009-05-20 19:18:09 UTC
@Thomas Lübking:
Unlikely, since that's about GTK+ apps and about resizing windows after they reached their minimum size.
Comment 7 Thomas Lübking 2009-05-20 19:32:54 UTC
so this only occurs on GTK 1.x (i.e. good old xmms?) windows?
try skipping arbg visuals then, e.g. from a textshell:
export XLIB_SKIP_ARGB_VISUALS=1 xmms
Comment 8 Martin Flöser 2009-05-27 09:57:06 UTC
*** Bug 158984 has been marked as a duplicate of this bug. ***
Comment 9 Tadas Šubonis 2009-05-27 10:01:36 UTC
 Option "XAANoOffscreenPixmaps" "true"
helped in xorg.conf device section
Comment 10 Clemens Eisserer 2009-08-18 17:48:28 UTC
this seems to be quite related to: 183263
Comment 11 Thomas Lübking 2009-08-18 18:44:05 UTC
unsure, see comments #2 #6 and (unanswered) #7
Comment 12 kpoxo6op 2009-10-02 05:26:25 UTC
Some guy researched this bug:
http://blog.jasondonenfeld.com/190

He has found the reason of this bug in xorg source cod in file
./composite/compalloc.c

I would be glad to test his solution, but i don't use Gentoo and I don't know
how to copmpile xorg...

May be somebody will try that solution?
Comment 13 lucas 2009-10-03 12:13:48 UTC
Can someone please test this in current KDE 4.4 trunk as it may have been fixed by r1030473. The possible fix isn't in 4.3.2 (Unless distributions unofficially backport the change) but it will be in 4.3.3.

I have to remind everyone that this bug report is about slow window resizing when desktop effects are DISABLED.
Comment 14 lucas 2009-10-03 16:07:52 UTC
SVN commit 1030921 by lmurray:

Don't send sync requests when using the rubber band for window resizing.
BUG: 181800
CCBUG: 183263


 M  +2 -1      geometry.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1030921
Comment 15 lucas 2009-10-03 16:09:26 UTC
SVN commit 1030922 by lmurray:

Backport r1030921:
Don't send sync requests when using the rubber band for window resizing.
CCBUG: 181800
CCBUG: 183263


 M  +2 -1      geometry.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1030922