You are not logged in.
Hi,
I have the following problem:
I am using the current xorg-xserver package from extra, together with the xf86-video-intel drivers from extra (actually everything related to graphics is from extra)
I use KDE 4.2 from extra) with Compositing effects disabled.
After some time, my X consumes up to 240 MB of RAM memory and constantly stays at at least 5 % CPU usage (although *nothing* is running)
Am I the only one suffering from this?
Also If I enable the desktop effects, X constantly uses 10-15% CPU, while being idle
thanks
pano
Offline
Is that memory cached/buffered or reserved? Post the output of 'free -m'.
Offline
total used free shared buffers cached
Mem: 2002 1545 456 0 147 549
-/+ buffers/cache: 848 1153
Swap: 509 13 496
thanks
Offline
So you have 848MB reserved, this is the memory that is necessary for applications and processes, and 549MB cached/buffered. That part is useful for performance, but isn't necessary.
That's a lot of RAM in use. What does 'ps aux | grep /usr/bin/X' say?
Offline
sorry I took so long, but I had to wait until my X' ram usage grew again up to 180 (if I let my pc run longer I'm sure it will reach the 240 MB again, if not an even higher amount)
The funny thing is:
After booting up, my X used about 65MB...
Nevertheless here's the output:
root 4400 11.9 9.5 268820 196816 tty7 Ss+ 17:17 36:24 /usr/bin/X -nolisten tcp :0 vt7 -auth /var/run/xauth/A:0-KhI9tq
pano 21324 0.0 0.0 9592 1004 pts/1 S+ 22:22 0:00 grep /usr/bin/X
Thank you
Offline
Wow, not that I was doubting you before, but I wanted to be sure that it was X. There's no doubt. I'm not seeing numbers even close to that with nVidia, so I'm wondering if it's the intel driver. Is anyone else with the intel driver seeing this happen?
Offline
I could try to update my driver to the latest version (afaik 2.6.1) from AUR...
Just need to to do the necessary steps to get it working, as it also requires a newer libdrm than in extra
edit:
I just activated the compositing effects of KWin, and now X constantly uses aout 15-20% CPU usage...
The ram usage also jumped up a little
edit2:
"A little" is a little to little (wow what a sentence )
The ram usage just keeps on growing constantly:
root 4400 12.0 13.9 396404 286268 tty7 Rs+ 17:17 38:37 /usr/bin/X -nolisten tcp :0 vt7 -auth /var/run/xauth/A:0-KhI9tq
after 5 minutes of compositing effects
Last edited by pano (2009-02-03 21:37:41)
Offline
Wow, not that I was doubting you before, but I wanted to be sure that it was X. There's no doubt. I'm not seeing numbers even close to that with nVidia, so I'm wondering if it's the intel driver. Is anyone else with the intel driver seeing this happen?
[stijn@hermes ~]$ ps aux | grep /usr/bin/X
root 4673 5.5 2.6 75168 53900 tty7 Ss+ Feb02 75:22 /usr/bin/X -nolisten tcp vt07 -auth /var/run/slim.auth
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
@ B:
Are you also using KDE 4.2?
Offline
No, Openbox. But I have X eating a lot of memory too, and I'm running the xf86-video-intel driver.
This topic I started a while ago may look familiar to you.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Just for clarity. This is also Openbox, but with the nVidia driver. The system has been up for eight hours. These are totally normal numbers. As one can see, the memory usage is fairly low:
root 3346 0.2 0.5 354260 24088 tty7 Ss+ 07:05 1:20 /usr/bin/X -nolisten tcp
Offline
root 5513 17.9 5.7 231736 207788 tty7 Rs+ Feb03 19:07 /usr/bin/X -br -novtswitch -quiet -nolisten tcp :0 vt7 -auth /var/run/xauth/A:0-sguoGu
Running KDE4.2 with intel graphics too.
Offline
I have a similar problem if X ever growing memory usage.
$ ps aux | grep X
root 3772 1.2 4.3 53292 44744 tty7 Rs+ 01:38 12:25 /usr/bin/Xorg :0 -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7
$ free -m
total used free shared buffers cached
Mem: 1010 786 224 0 101 356
-/+ buffers/cache: 327 683
Swap: 1953 0 1953
I'm using the opensource ati drivers.
My solution, so far, has been to restart X every other day or so...
Edit: X been running for a bit longer now on my machine. As you can see, the memory usage just grows:
root 3772 1.6 9.8 110712 102008 tty7 Rs+ Feb03 35:57 /usr/bin/Xorg :0 -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7
This is almost turning into a "who's X can use the most RAM" competition...
Last edited by Odd-rationale (2009-02-04 19:51:17)
Offline
I am using a Nvidia card with 180.27 driver, before the *.27 release, After several days of usage without restart X, the X memory usage is always beyond 200mb, since the *.27, the situation seems getting better, it keeps around 100mb or so.
Offline
KDE 4 always eats more video memory (Xorg) than gnome. QT4 has double buffering by default, that is the reason. My X process reach easily 300 MB on my KDE 4.2 machine.
Excuse my poor English.
Offline
KDE 4.2 with desktop effects enabled and nvidia 8800gt and here's my ps output:
root 4602 6.4 7.5 376116 303624 tty7 Ss+ 19:13 8:31 /usr/bin/X -nolisten tcp :0 vt7 -auth /var/run/xauth/A:0-AS2SYB
I'm using nvidia's 180.22 drivers
Last edited by Rehto (2009-02-04 19:59:21)
Offline
8 days up, ratpoison, nvida 180.22, 44MB in RAM.
Offline
Kde 4.2 with Catalyst 9.1
root 5517 6.9 10.6 423372 359188 tty7 Rs+ Feb01 309:57 /usr/bin/X -br -novtswitch -quiet -nolisten tcp :0 vt7 -auth /var/run/xauth/A:0-l4gqRL
--------------
total used free shared buffers cached
Mem: 3295 3200 94 0 53 1924
-/+ buffers/cache: 1222 2072
Swap: 1906 170 1736
Offline
You can use xrestop to see what's really eating the ram. Firefox is a usual suspect if you are using it.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
You can use xrestop to see what's really eating the ram. Firefox is a usual suspect if you are using it.
With Openbox, nVidia, and Firefox open, I don't see numbers anywhere near what people are seeing. I'm looking at 245MB total reserved RAM right now.
Offline
xrestop often shows lower memory usage than top/htop shows, but it is a good indicator to what is eating the most amount. Eg if Firefox or some other app is on top with 100x more ram usage than the rest in the list, then it's a good indication that it is the guilty app
Edit: Example:
# top
4443 root 20 0 460m 87m 10m S 0 2.2 2:08.15 X
4477 oh 20 0 678m 237m 26m S 0 6.0 19:32.35 firefox
# xrestop
0c00000 494 257 1 163 324 3755K 26K 3781K 4477 Firefox
0a00000 2 2 10 1 35 144B 10K 11K 4459 rxvt-256color - (4) [oh@Alice]% [~] (screen)
1200000 2 2 6 0 9 0B 6K 6K 4593 rxvt-256color - (4) [oh@Alice]% [~] (xrestop)
0400000 0 1 0 0 225 0B 5K 5K ? <unknown>
0000000 1 0 2 0 59 32B 3K 3K ? <unknown>
0800000 1 1 1 0 2 0B 1K 1K ? <unknown>
0600000 0 1 0 0 30 0B 744B 744B ? <unknown>
1400000 1 1 0 0 0 0B 48B 48B ? xrestop
0e00000 1 1 0 0 0 0B 48B 48B ? <unknown>
1000000 0 1 0 0 0 0B 24B 24B ? <unknown>
0200000 0 1 0 0 0 0B 24B 24B ? <unknown>
Last edited by Mr.Elendig (2009-02-04 22:50:45)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
the last couple of days, my X stayed around 120 MB ram...
weird...
also xrestop says that the application with the most ram usage is Qt-subaplication...
weirder...
pano
Offline
Are you using Firefox extensively? AFAIK, all Gecko engine browsers have this issue where the pixmem cache isn't properly handled(or at least leads to misleading memory reports).
Offline
I don't use firefox at all. I don't even have it installed
Offline
Do you want to hear a really weird thing?
I installed Mandriva 2009.0 with KDE 4.2 on my brothers notebook (intel x3100 integrated graphics chip, 512MB RAM) and the funny thing is:
Although he has less RAM than my notebook and a weaker CPU (I have a pentium dual core, and he has a single core Celeron) his X server *never* uses more than 100 MB. He also has the compositing effects enabled, that also run *much* faster/smoother than they do on my arch linux.
All in all his KDE runs much smoother.
I really don't understand why...
Last edited by pano (2009-02-11 22:20:08)
Offline