[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 272256] kwin memory leak usually with desktop effects enabled
From:       Andrey Batyiev <batyiev () gmail ! com>
Date:       2011-05-10 21:25:55
Message-ID: 20110510212555.7541087838 () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=272256





--- Comment #5 from Andrey Batyiev <batyiev gmail com>  2011-05-10 23:25:54 ---
(In reply to comment #4)
> does it happen if
> a) you're using another driver (flgrx, iff supported by your GPU)
> b) you disable all effects, but keep compositing enabled

I have radeon 9200, so it looks like there is no fglrx option for me (well, I
try to downgrade X, kernel and other stuff; also i'll try to use another
version of Mesa).

I've disabled all effects right now. Original poster said that bug related to
screensaver and long usage. I, however, found out that simple move&resize any
window (e.g. krunner) increase memory usage. Kwin & X related stuff is
suprizely OK, however look at numbers of used memory:

andrey@evilhorse ~ $ ps -eo rss,%mem,cmd|sort -k1,1nr|grep kwin
30408  2.9 kwin --replace
  736  0.0 grep --colour=auto kwin
andrey@evilhorse ~ $ ps -eo rss,%mem,cmd|sort -k1,1nr|grep X
56856  5.4 /usr/bin/X -br -novtswitch -quiet :0 vt7 -nolisten tcp -auth
/var/run/xauth/A:0-64WNPa
  732  0.0 grep --colour=auto X
andrey@evilhorse ~ $ free
             total       used       free     shared    buffers     cached
Mem:       1034732    1011672      23060          0       1868     267592
-/+ buffers/cache:     742212     292520
Swap:            0          0          0
andrey@evilhorse ~ $ kwin --replace &
[1] 25748
andrey@evilhorse ~ $ OpenGL vendor string:                   Tungsten Graphics,
Inc.
OpenGL renderer string:                 Mesa DRI R200 (RV280 5961) 20090101
x86/MMX/SSE2 TCL DRI2
OpenGL version string:                  1.3 Mesa 7.10.1
Driver:                                 R200
GPU class:                              R200
OpenGL version:                         1.3
Mesa version:                           7.10.1
X server version:                       1.9.4
Linux kernel version:                   2.6.38
Direct rendering:                       yes
Requires strict binding:                yes
GLSL shaders:                           no
Texture NPOT support:                   no

andrey@evilhorse ~ $ free
             total       used       free     shared    buffers     cached
Mem:       1034732     752092     282640          0       4632     121208
-/+ buffers/cache:     626252     408480
Swap:            0          0          0
andrey@evilhorse ~ $ ps -eo rss,%mem,cmd|sort -k1,1nr|grep X
57404  5.5 /usr/bin/X -br -novtswitch -quiet :0 vt7 -nolisten tcp -auth
/var/run/xauth/A:0-64WNPa
  736  0.0 grep --colour=auto X
andrey@evilhorse ~ $ ps -eo rss,%mem,cmd|sort -k1,1nr|grep kwin
31880  3.0 kwin --replace
  732  0.0 grep --colour=auto kwin
andrey@evilhorse ~ $ 

See - after kwin restart more than 100Mb of ram freed.

I'll try to change video driver to see what happens.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic