Summary: | konsole lauched with --enable-transparency is very slow to resize (5 to 10 secs) freezing the whole desktop during this time | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Julien Bigot <anarky> |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | .xsession-error when no effect is enabled |
Description
Julien Bigot
2008-02-20 13:41:12 UTC
I think this might be related to known performance problems with NVidia graphics cards and compositing in KDE 4. 1. How large is your Konsole window? (roughly, in pixels) 2. Does disabling KWin's effects make any difference? I suggest keeping KWin's desktop effects enabled, but turn off all individual effects and then enable them one-by-one to find out which of them cause the most significant performance drop. At a guess I would expect the "blur" effect might be responsible. First, some informations perhaps worth mentioning, xorg & nvidia-driver version : $ dpkg -l xserver-xorg nvidia-kernel-2.6.24-1-686 ii nvidia-kernel-2.6.24-1-686 169.09-1+2.6.24-4 ii xserver-xorg 1:7.3+10 1. this appens whatever the konsole size is (usually resizing from ~1600x1000 -> ~1000x600, but same appens when I do ~200x200 -> ~300x300) 2. - if I fully disable desktop effects Enabled=false in the [Compositing] section, there is not more slowdown (but no more transparency too) - if I disable all effects, I get a black screen on login, as reported by someone else in bug #154637 (see attached xsession-error, even if I don't think there's much interesting here, I'll also post it on #154637) - if I just enable the fade effect, then the behaviour is the same as with all effects enabled. Created attachment 23635 [details]
.xsession-error when no effect is enabled
last bit of information, KWIN_NVIDIA_HACK is set to 1 & exported in my ~/.profile KWIN_NVIDIA_HACK=1 doesn't speed up konsole behaviour for me. I use KDE-SVN (13 narch 2008), X.Org X Server 1.4.0.90 (Release Date: 5 September 2007), nvidia-drivers-169.12. Profiling using sysprof shows that the majority of time is spent in the nvidia closed-source driver for xorg (/usr/lib/xorg/modules/drivers/nvidia_drv.so, and from the the majority is in /usr/lib/xorg/modules/libfb.so), so I'm afraid there's not much we can do for you. I suggest you report the problem to nvidia. |