Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xorg 7.2 memory leak [Solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3, 4, 5  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Phenax
l33t
l33t


Joined: 10 Mar 2006
Posts: 972

PostPosted: Thu Feb 15, 2007 9:13 pm    Post subject: Reply with quote

You might want to culprit one of the patches... I don't think it is X.org, but a patch or addon/extensions to it rather
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2995
Location: Bay Area, CA

PostPosted: Thu Feb 15, 2007 9:27 pm    Post subject: Reply with quote

funny thing is that there are no patches for xorg-server 1.2 that are applied during emerge.
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2995
Location: Bay Area, CA

PostPosted: Fri Feb 16, 2007 4:26 am    Post subject: Reply with quote

slithy wrote:
devsk wrote:
has anybody found a fix yet?


I've downgraded to xorg-server-1.1.1-r4 as a temporary solution.
did you build anything else after downgrading?
Back to top
View user's profile Send private message
slithy
Guru
Guru


Joined: 26 Nov 2005
Posts: 321
Location: Kansas

PostPosted: Fri Feb 16, 2007 4:42 am    Post subject: Reply with quote

devsk wrote:
slithy wrote:
devsk wrote:
has anybody found a fix yet?


I've downgraded to xorg-server-1.1.1-r4 as a temporary solution.
did you build anything else after downgrading?


Nope, I backed up the 7.2 binary with
Code:
quickpkg xorg-server

Then I downgraded with
Code:
emerge -av =xorg-server-1.1.1-r4
and then
Code:
/etc/init.d/xdm restart


X (7.1.1) memory usage:
Code:
PID USER    PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
14916 root  15   0  127m  49m 5676 S    1  4.9   6:41.37 X
Back to top
View user's profile Send private message
jcat
Veteran
Veteran


Joined: 26 May 2006
Posts: 1337

PostPosted: Fri Feb 16, 2007 1:02 pm    Post subject: Reply with quote

No solutions, but some more info and another name to add to the list of people seeing this, I currently have about 34% usage, about 350Mg currently just running the GDM login screen:


Code:
USER    PID   %CPU  %MEM    VSZ      RSS      TTY     STAT     START    TIME     COMMAND
root    7890  0.2   34.2   366192   354100    tty7    SLs+     Feb14    7:38    /usr/bin/X :0 -audit 0 -auth /var/gdm/:0.Xauth -nolisten tcp vt7



But interestingly, I have another Xserver running on the same computer that has more normal memory usage (Xtv is sym linked to X for easier process tracking):


Code:
USER    PID   %CPU  %MEM    VSZ      RSS      TTY     STAT     START    TIME     COMMAND
root    15431 0.1   2.4     34744   25664     ?       SLs      Feb14    3:12     Xtv :2 -layout TV -ac -ignoreABI -novtswitch -sharevts vt9



They are both using Nvidia graphics cards, one is AGP one is PCI.



Cheers,
jcat
Back to top
View user's profile Send private message
slithy
Guru
Guru


Joined: 26 Nov 2005
Posts: 321
Location: Kansas

PostPosted: Sat Feb 17, 2007 6:36 pm    Post subject: Reply with quote

Got a bug submitted at bugs.freedesktop.org.

https://bugs.freedesktop.org/show_bug.cgi?id=10009
Back to top
View user's profile Send private message
VoVaN
l33t
l33t


Joined: 02 Jul 2003
Posts: 688
Location: The Netherlands

PostPosted: Mon Feb 19, 2007 5:47 am    Post subject: Reply with quote

jcat wrote:
No solutions, but some more info and another name to add to the list of people seeing this, I currently have about 34% usage, about 350Mg currently just running the GDM login screen:


Code:
USER    PID   %CPU  %MEM    VSZ      RSS      TTY     STAT     START    TIME     COMMAND
root    7890  0.2   34.2   366192   354100    tty7    SLs+     Feb14    7:38    /usr/bin/X :0 -audit 0 -auth /var/gdm/:0.Xauth -nolisten tcp vt7



But interestingly, I have another Xserver running on the same computer that has more normal memory usage (Xtv is sym linked to X for easier process tracking):


Code:
USER    PID   %CPU  %MEM    VSZ      RSS      TTY     STAT     START    TIME     COMMAND
root    15431 0.1   2.4     34744   25664     ?       SLs      Feb14    3:12     Xtv :2 -layout TV -ac -ignoreABI -novtswitch -sharevts vt9



They are both using Nvidia graphics cards, one is AGP one is PCI.



Cheers,
jcat


I can confirm that. I don't know what is the cause of the problem, but there's two X servers running on the same computer, both with nvidia binary drivers. The first one if running KDE-3.5.6 the second one just openbox:
Code:

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 9130 root       0   0  126m  96m 5872 S    1  9.5   1:01.21 X
 8953 root       0   0 21500  12m 4076 S    0  1.2   2:03.25 X
Back to top
View user's profile Send private message
VoVaN
l33t
l33t


Joined: 02 Jul 2003
Posts: 688
Location: The Netherlands

PostPosted: Mon Feb 19, 2007 8:21 am    Post subject: Reply with quote

slithy wrote:
devsk wrote:
has anybody found a fix yet?


I've downgraded to xorg-server-1.1.1-r4 as a temporary solution.


Can somebody else prove that downgrading just xorg-server but nothing else solves the problem?
Back to top
View user's profile Send private message
AaronPPC
Guru
Guru


Joined: 29 May 2005
Posts: 522
Location: Tucson, AZ

PostPosted: Mon Feb 19, 2007 12:03 pm    Post subject: Reply with quote

I can confirm that.
_________________
--Aaron
Back to top
View user's profile Send private message
VoVaN
l33t
l33t


Joined: 02 Jul 2003
Posts: 688
Location: The Netherlands

PostPosted: Mon Feb 19, 2007 12:15 pm    Post subject: Reply with quote

AaronPPC wrote:
I can confirm that.


Thanx. I donwgraded xorg and I'll post my observations later.
Back to top
View user's profile Send private message
jcat
Veteran
Veteran


Joined: 26 May 2006
Posts: 1337

PostPosted: Tue Feb 20, 2007 9:29 am    Post subject: Reply with quote

Hmmm, new server revision in portage today

Code:
 x11-base/xorg-server-1.2.0-r1


I'm compiling now, I'll report back later.




Cheers,
jcat
Back to top
View user's profile Send private message
VoVaN
l33t
l33t


Joined: 02 Jul 2003
Posts: 688
Location: The Netherlands

PostPosted: Tue Feb 20, 2007 9:39 am    Post subject: Reply with quote

jcat wrote:
Hmmm, new server revision in portage today

Code:
 x11-base/xorg-server-1.2.0-r1


I'm compiling now, I'll report back later.




Cheers,
jcat


According changelog there's nothing about fixing the memory leak... please keep us informed.
Back to top
View user's profile Send private message
johoe
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jun 2005
Posts: 92

PostPosted: Tue Feb 20, 2007 7:24 pm    Post subject: Reply with quote

X consuming up to 200MB memory in a few hours here. after some hours idle time, X is freezed and needs 1 minute or so to come to life again.

no changes with xserver-1.2.0-r1 (emerged it this night).

downgarding to version 1.1.1-r4 solves this problems on my machine too.
also using nvidia graphic card.

regards,
johoe
Back to top
View user's profile Send private message
VoVaN
l33t
l33t


Joined: 02 Jul 2003
Posts: 688
Location: The Netherlands

PostPosted: Tue Feb 20, 2007 9:38 pm    Post subject: Reply with quote

johoe wrote:
X consuming up to 200MB memory in a few hours here. after some hours idle time, X is freezed and needs 1 minute or so to come to life again.

no changes with xserver-1.2.0-r1 (emerged it this night).

downgarding to version 1.1.1-r4 solves this problems on my machine too.
also using nvidia graphic card.

regards,
johoe


The same story here.... back to 1.1.1-r4 :(
Back to top
View user's profile Send private message
adekoba
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2006
Posts: 129

PostPosted: Tue Feb 20, 2007 10:02 pm    Post subject: Reply with quote

johoe wrote:
X consuming up to 200MB memory in a few hours here. after some hours idle time, X is freezed and needs 1 minute or so to come to life again.

no changes with xserver-1.2.0-r1 (emerged it this night).

downgarding to version 1.1.1-r4 solves this problems on my machine too.
also using nvidia graphic card.

regards,
johoe

same.

this kind of sucks.
_________________
website
Back to top
View user's profile Send private message
slithy
Guru
Guru


Joined: 26 Nov 2005
Posts: 321
Location: Kansas

PostPosted: Tue Feb 20, 2007 10:05 pm    Post subject: Reply with quote

dark_speedo wrote:
johoe wrote:
X consuming up to 200MB memory in a few hours here. after some hours idle time, X is freezed and needs 1 minute or so to come to life again.

no changes with xserver-1.2.0-r1 (emerged it this night).

downgarding to version 1.1.1-r4 solves this problems on my machine too.
also using nvidia graphic card.

regards,
johoe

same.

this kind of sucks.


What does xorg 7.2 provide that 7.1.1 doesn't? I'd rather have an X server that I don't have to restart all the damn time.
Back to top
View user's profile Send private message
johoe
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jun 2005
Posts: 92

PostPosted: Tue Feb 20, 2007 11:00 pm    Post subject: Reply with quote

has anyone here tried the xf86-video-nv driver to see if really the nvidia-driver is causing this mess?

johoe
Back to top
View user's profile Send private message
VoVaN
l33t
l33t


Joined: 02 Jul 2003
Posts: 688
Location: The Netherlands

PostPosted: Wed Feb 21, 2007 5:47 am    Post subject: Reply with quote

johoe wrote:
has anyone here tried the xf86-video-nv driver to see if really the nvidia-driver is causing this mess?

johoe


If downgrading xorg-server solves the problem, why do you think it's nvidia related?
Back to top
View user's profile Send private message
johoe
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jun 2005
Posts: 92

PostPosted: Wed Feb 21, 2007 10:47 am    Post subject: Reply with quote

Just an intention, because most of the posters have this problem with nvidia cards.

Is somebody here with this memory leak having no nvidia card?

johoe
Back to top
View user's profile Send private message
jcat
Veteran
Veteran


Joined: 26 May 2006
Posts: 1337

PostPosted: Wed Feb 21, 2007 11:35 am    Post subject: Reply with quote

Confirmed bug is still active in 1.2.0-r1


I agree with Johoe that it could be an nvidia related issue, just because downgrading xorg-server fixes the issue doesn't mean that it's not an xserver nvidia driver interaction issue, don't forget the ABI mismatch issue after the 7.0 to 7.1 upgrade.



Cheers,
jcat
Back to top
View user's profile Send private message
johoe
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jun 2005
Posts: 92

PostPosted: Wed Feb 21, 2007 12:49 pm    Post subject: Reply with quote

Ok, this night I booted my machine with the kernel boot options "acpi=off noacpi"
This seems to help a lot. Sytem up now for 15 hours, with a few hours idle time. Otherwise heavy load: openoffice, evolution, firefox, thunderbird, amarok etc...
Code:
7453 root      15   0  151m  79m  10m S  2.0  5.3   9:20.08 X

This is almost the same amount of memory xorg-server 1.1.1 is consuming after some hours uptime.

regards,
johoe

Currently using:
kernel 2.6.20 (gentoo-sources)
xorg-server 1.2.0-r1
gnome 2.16.3
nvidia-drivers 1.0.9746
Back to top
View user's profile Send private message
slithy
Guru
Guru


Joined: 26 Nov 2005
Posts: 321
Location: Kansas

PostPosted: Wed Feb 21, 2007 9:51 pm    Post subject: Reply with quote

So I did find a thread over at on the ubuntu forums about people testing xorg-7.2 even though it isn't in the ubuntu repos. I had a confirmation of a user having xorg-7.2 taking up over a 1GB of memory. He was using the i810 drivers and a G965 chip.

http://www.ubuntuforums.org/showthread.php?p=2190692
Back to top
View user's profile Send private message
VoVaN
l33t
l33t


Joined: 02 Jul 2003
Posts: 688
Location: The Netherlands

PostPosted: Wed Feb 21, 2007 9:59 pm    Post subject: Reply with quote

slithy wrote:
So I did find a thread over at on the ubuntu forums about people testing xorg-7.2 even though it isn't in the ubuntu repos. I had a confirmation of a user having xorg-7.2 taking up over a 1GB of memory. He was using the i810 drivers and a G965 chip.

http://www.ubuntuforums.org/showthread.php?p=2190692


Too bad....
Back to top
View user's profile Send private message
Kovid
Apprentice
Apprentice


Joined: 25 Aug 2003
Posts: 217
Location: California, USA

PostPosted: Wed Feb 21, 2007 10:18 pm    Post subject: Reply with quote

Im running xorg 7.2 on an nvidia 7300 GT with 1.0.9746 and beryl and my memory usage is stable at ~200M over extended periods. That is the same memory usage i was seeing with fglrx on an X300 w/o beryl. So I doubt this is an nvidia specific problem.
Back to top
View user's profile Send private message
BorgDrone2
Tux's lil' helper
Tux's lil' helper


Joined: 24 Oct 2006
Posts: 107

PostPosted: Wed Feb 21, 2007 11:55 pm    Post subject: Reply with quote

I have 4 machines, all with Xorg 7.2
All run at least 1 kde session
kernel 2.6.16.36
2 have nvidia cards: x11-drivers/nvidia-drivers-1.0.9631
one uses the i915 driver
one is a headless VNC machine running 2 kde sessions
I'm not seeing any memory leak on any of these machines.

So, this suggests that there is some other factor that triggers the leak.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2, 3, 4, 5  Next
Page 2 of 5

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum