[Bug 151168] Re: memory leak with ring

2007-10-23 Thread yellowbread
Travis, that's my exactly my point.  With the nvidia driver, I was
seeing the same behavior as described here. While running top, I could
see the resident memory used by compiz.real rising steadily. Then I
removed the nvidia driver. Of course compiz.real was no longer one of
the running processes, but the increase in memory usage overall followed
the same pattern as before, there was just no particular process to
attribute it to. So, I either have at least two separate massive memory
leaks, or neither the nvidia driver nor compiz are responsible for it.

Carl Darby

-- 
memory leak with ring
https://bugs.launchpad.net/bugs/151168
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 151168] Re: memory leak with ring

2007-10-23 Thread Matt Price

On Tue, 2007-10-23 at 11:41 +, yellowbread wrote:
 Travis, that's my exactly my point.  With the nvidia driver, I was
 seeing the same behavior as described here. While running top, I could
 see the resident memory used by compiz.real rising steadily. Then I
 removed the nvidia driver. Of course compiz.real was no longer one of
 the running processes, but the increase in memory usage overall followed
 the same pattern as before, there was just no particular process to
 attribute it to. So, I either have at least two separate massive memory
 leaks, or neither the nvidia driver nor compiz are responsible for it.
 
just fyi, i do *not* see this pattern, and I think most of the original
contributors to the bug also don't.  Is the memory just getting lost in
the abyss?  is it stashed under Xorg?  like i say, i don't see this
behaviour on my currently running nvidia/metacity system (been running
for over a week now).

matt


 Carl Darby
 
-- 
Matt Price
[EMAIL PROTECTED]

-- 
memory leak with ring
https://bugs.launchpad.net/bugs/151168
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 151168] Re: memory leak with ring

2007-10-23 Thread Chris McCauley
Hi,

I agree with Matt, this problem does not seem to happen with the 
nvidia/metacity combination. That doesn't mean that it is definitely a 
compiz problem though - the black windows problem with earlier nvidia 
drivers running out of video memory was only seen with beryl and nvidia.

Chris


Matt Price wrote:
 On Tue, 2007-10-23 at 11:41 +, yellowbread wrote:
   
 Travis, that's my exactly my point.  With the nvidia driver, I was
 seeing the same behavior as described here. While running top, I could
 see the resident memory used by compiz.real rising steadily. Then I
 removed the nvidia driver. Of course compiz.real was no longer one of
 the running processes, but the increase in memory usage overall followed
 the same pattern as before, there was just no particular process to
 attribute it to. So, I either have at least two separate massive memory
 leaks, or neither the nvidia driver nor compiz are responsible for it.

 
 just fyi, i do *not* see this pattern, and I think most of the original
 contributors to the bug also don't.  Is the memory just getting lost in
 the abyss?  is it stashed under Xorg?  like i say, i don't see this
 behaviour on my currently running nvidia/metacity system (been running
 for over a week now).

 matt


   
 Carl Darby



-- 
memory leak with ring
https://bugs.launchpad.net/bugs/151168
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 151168] Re: memory leak with ring

2007-10-23 Thread yellowbread
Ah, so maybe I do have two separate leaks. I'll sit back and listen
until I learn more about how this all works.

Carl

-- 
memory leak with ring
https://bugs.launchpad.net/bugs/151168
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 151168] Re: memory leak with ring

2007-10-23 Thread yellowbread
I don't know if this will help any of you, but running in a xgl session
seems to have fixed the memory leak with compiz. Now to figure out whats
going on with the streaming stuff.

Carl

-- 
memory leak with ring
https://bugs.launchpad.net/bugs/151168
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 151168] Re: memory leak with ring

2007-10-22 Thread Chris Halse Rogers
I've tried this, and it's not a problem with any plugin.

Under nvidia-glx-new, I ran compiz with no plugins enabled, spawned 100 
gnome-terminals then killed them.  compiz.real's shared memory size increased 
by ~150Mb and didn't decrease on closing the terminals.  Spawning another 100 
terminals resulted in a further ~150Mb increase, and so on.
Running under nvidia-glx I tried the same thing and the compiz memory usage 
appeared stable.  However, the 96xx drivers really didn't like running compiz, 
so it'd be good to get some confirmation from someone else here.

It looks very much like this is a bug in the nvidia-glx-new drivers.

Interestingly, trying to spawn 200 gnome terminals at once crashes X :).

** Changed in: compiz-fusion-plugins-main (Ubuntu)
   Status: Confirmed = Invalid

-- 
memory leak with ring
https://bugs.launchpad.net/bugs/151168
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 151168] Re: memory leak with ring

2007-10-22 Thread [EMAIL PROTECTED]
I can confirm this.

Running a HP Pavilion  dv6106 Laptop with a Nvidia 6150 and nvidia-glx-
new.

I'm with tombrus that medium is to cafeful, and should be upped a bit,
as it seems to be affecting all people with the new nvidia drivers.

Then again this could be a bug in the new Nvidia drivers, in that case
we should make sure Nvidia knows about it, and release a update for
Gutsy once the problem is solved.

I hope this gets fixed soon...

Cheers :)

-- 
memory leak with ring
https://bugs.launchpad.net/bugs/151168
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 151168] Re: memory leak with ring

2007-10-22 Thread Travis Watkins
Seems this is a driver problem.

** Changed in: linux-restricted-modules-2.6.22 (Ubuntu)
Sourcepackagename: compiz = linux-restricted-modules-2.6.22

-- 
memory leak with ring
https://bugs.launchpad.net/bugs/151168
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 151168] Re: memory leak with ring

2007-10-22 Thread tombrus
Salvation seems near: on tweakers.net I just saw an update of the nvidia
drivers to 100.14.23 (I currently have 100.14.19). The release
highlights mention: Fixed a problem with a Compiz after vt-switching.

-Tom

-- 
memory leak with ring
https://bugs.launchpad.net/bugs/151168
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 151168] Re: memory leak with ring

2007-10-22 Thread Matt Price

On Mon, 2007-10-22 at 18:26 +, tombrus wrote:
 Salvation seems near: on tweakers.net I just saw an update of the nvidia
 drivers to 100.14.23 (I currently have 100.14.19). The release
 highlights mention: Fixed a problem with a Compiz after vt-switching.
 
i don't think that's our bug.  it would be nice if there was some way to
contact the nvidia engineers and actually get a response...  hopefuly
the growing number of users reporting this bug will somehow get this to
their attention.  does anyone know whether there are people using recent
nvidia hardware under gutsy who AREN'T affected by this bug?

matt


 -Tom
 
-- 
Matt Price
[EMAIL PROTECTED]

-- 
memory leak with ring
https://bugs.launchpad.net/bugs/151168
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 151168] Re: memory leak with ring

2007-10-22 Thread Matt Price

I've started a forum thread on nvnews about this issue; maybe someone
will report a workaround or something.  and james jones an nvidia has
responded to an email on compiz.net  entered this bug into their
system.  so maybe this'll get osme attention from them.

the nvidia forum url is :
http://www.nvnews.net/vbulletin/showthread.php?p=1420886#post1420886

matt

Matt Price
[EMAIL PROTECTED]

-- 
memory leak with ring
https://bugs.launchpad.net/bugs/151168
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 151168] Re: memory leak with ring

2007-10-22 Thread yellowbread
Don't be so quick to point the finger at nvidia. I removed the nvidia
drivers and found the same behavior. Often, not all the memory a window
uses gets freed upon closing the window, and streaming applications,
music, video, seem to leave behind about 20% of the data they process in
memory. In all the memory loss didn't seem any different with
nvidia/compiz or without.

Carl Darby

-- 
memory leak with ring
https://bugs.launchpad.net/bugs/151168
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 151168] Re: memory leak with ring

2007-10-22 Thread Travis Watkins
If you're not using the nvidia driver you're not using compiz so you
couldn't be seeing a 'memory leak in compiz'.

-- 
memory leak with ring
https://bugs.launchpad.net/bugs/151168
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 151168] Re: memory leak with ring

2007-10-21 Thread tombrus
Same here.

Just upgraded from Feisty to Gutsy. When I maximize/minimize windows
compiz eats my memory eagerly. I switched window resizing from the
default 'outline' to 'normal' and that seems to worsen things: resizing
then also eats memory by the meg. I attached a log of 'ps aux' of compiz
each second and you can see it grow from 32M to 256M in 80 seconds! I
have no idea what module causes this.

i.m.h.o medium for this bug is a bit too careful, I would like to see
this upped a bit.

-Tom

** Attachment added: ps of compiz with one line/sec
   http://launchpadlibrarian.net/10106768/compiz-ps

-- 
memory leak with ring
https://bugs.launchpad.net/bugs/151168
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 151168] Re: memory leak with ring

2007-10-21 Thread Chris McCauley
I agree with Tombrus, this appears to be a critical failure in Compiz. 
Hopefully this will get fixed very quickly

tombrus wrote:
 Same here.

 Just upgraded from Feisty to Gutsy. When I maximize/minimize windows
 compiz eats my memory eagerly. I switched window resizing from the
 default 'outline' to 'normal' and that seems to worsen things: resizing
 then also eats memory by the meg. I attached a log of 'ps aux' of compiz
 each second and you can see it grow from 32M to 256M in 80 seconds! I
 have no idea what module causes this.

 i.m.h.o medium for this bug is a bit too careful, I would like to see
 this upped a bit.

 -Tom

 ** Attachment added: ps of compiz with one line/sec
http://launchpadlibrarian.net/10106768/compiz-ps



-- 
memory leak with ring
https://bugs.launchpad.net/bugs/151168
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 151168] Re: memory leak with ring

2007-10-21 Thread Hotpocketdeath
Well, add another to the list.

I am running Gutsey on a HP DV2200 w/ a geforce go 7200 and I also get
this bug.  I'm using custom effects from Compiz Fusion as well.  System
Monitor shows compiz.real eating 330Virtual and 310 resident memory.

My memory keeps climbing and it will eventually get to the point where I
am out of system memory and and my HDD starts thrashing from the swap.
This eventually leads to a complete system crash and I have to restart
Ubuntu completely.

I agree with Chris.  This is a catastrophic memory leak.  It really
needs to be fixed.

-- 
memory leak with ring
https://bugs.launchpad.net/bugs/151168
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 151168] Re: memory leak with ring

2007-10-20 Thread klerfayt
what happens if you maximize/restore a window about 20 times?
https://bugs.freedesktop.org/show_bug.cgi?id=12613
also I believe that 50MB for a start is not normal by itself with 
compiz-corecompiz-kde packages only?

** Attachment added: screenshot of compiz memory leak with maximize/restore
   http://launchpadlibrarian.net/10082555/pilt30.png

-- 
memory leak with ring
https://bugs.launchpad.net/bugs/151168
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 151168] Re: memory leak with ring

2007-10-20 Thread cuby
Same here.
I have an nvidea card, core2duo and 1GB ram. I've the upgrade from feisty 
during the beta stage of gutsy.
Last night I had to shutdown the computer because compiz.real consumed all 
memory and the machine turn unusable. 


** Attachment added: system monitor image
   http://launchpadlibrarian.net/10082931/Screenshot.png

-- 
memory leak with ring
https://bugs.launchpad.net/bugs/151168
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 151168] Re: memory leak with ring

2007-10-19 Thread Ramesh Dharan
I should also add that the amount of memory leaked appears to be
(somewhat unsurprisingly) proportional to the size of the window.

That is to say, if I open and close a new firefox window, I see compiz
resident memory jump by ~10MB. With a smaller terminal window, it's ~3MB
as noted before.

-- 
memory leak with ring
https://bugs.launchpad.net/bugs/151168
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 151168] Re: memory leak with ring

2007-10-19 Thread Ramesh Dharan
Is it possible to change the title of this bug? Something like compiz
leaks memory with NVIDIA proprietary driver (or similar)?

I just filed a new bug about compiz leaking memory and I ignored this
one because the title said it only affected the Ring plugin which I
never use.

On my machine, it's *really* bad. I see resident memory usage increase
by ~3MB each time I open a window.

*Sigh*. So I can't run Compiz on my work machine, because it leaks
memory like crazy with NVIDIA cards. And I can't run it at home, because
it locks up my laptop with an ATI Mobility 9600. Are Intel cards the
only ones that can actually run this damn thing? What gives?

-- 
memory leak with ring
https://bugs.launchpad.net/bugs/151168
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 151168] Re: memory leak with ring

2007-10-16 Thread Danny Baumann
Although I'm obviously biased (as the one who wrote ring), I have to say that I 
really, really doubt there is a leak that may fill several hundred megabytes of 
memory inside ring.
Besides the usual boilerplate code that every compiz plugin has, there is only 
one place of allocation where a 8 byte structure is allocated for each window 
in the ring. So even if it wasn't freed correctly (which it is here), it would 
take ages to fill up memory with that allocation, unless you have a really 
absurd amount of windows in the ring.
The second place where stuff is allocated from ring is the window title display 
(which is also freed just fine here) ... if you want to check that, just 
disable either the window title display or the text plugin.

For me, the issue sounds like a driver problem, just as sampsa wrote
before me.

-- 
memory leak with ring
https://bugs.launchpad.net/bugs/151168
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 151168] Re: memory leak with ring

2007-10-16 Thread Chris McCauley
Hi,

I'm not using ring, nor desktop cube - just the extra effects and top
shows my nvidia.real using the following virtual = 489M, Resident = 421M
and that's just over the course of three hours with no video playback.
Yesterday I experienced several restarts of the desktop and dmesg showed
processes being killed due to a lack of available memory. Most likely
there's a bug in either nvidia (mine is a Ge Force 5200) or the core
compiz.

Chris

-- 
memory leak with ring
https://bugs.launchpad.net/bugs/151168
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 151168] Re: memory leak with ring

2007-10-16 Thread Matt Price

On Tue, 2007-10-16 at 05:54 +, Danny Baumann wrote:
 Although I'm obviously biased (as the one who wrote ring), I have to say that 
 I really, really doubt there is a leak that may fill several hundred 
 megabytes of memory inside ring.
 Besides the usual boilerplate code that every compiz plugin has, there is 
 only one place of allocation where a 8 byte structure is allocated for each 
 window in the ring. So even if it wasn't freed correctly (which it is here), 
 it would take ages to fill up memory with that allocation, unless you have a 
 really absurd amount of windows in the ring.
 The second place where stuff is allocated from ring is the window title 
 display (which is also freed just fine here) ... if you want to check that, 
 just disable either the window title display or the text plugin.
 
 For me, the issue sounds like a driver problem, just as sampsa wrote
 before me.
 
i unfortunately seem to have spoken too soon.  after about 15 hours with
the ring disabled, my usage is creeping up, from around 20M now up to
75M, and I expect it will continue to rise.sorry about that.  the
creep was much much faster when ring *was* enabled, but maybe my usage
pattern was different as well.

matt


-- 
Matt Price
[EMAIL PROTECTED]

-- 
memory leak with ring
https://bugs.launchpad.net/bugs/151168
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 151168] Re: memory leak with ring

2007-10-16 Thread militanz
Same problem here, with an hp Pavilion dv2000, 1GB Ram, probably like
sampsa... Nothing special to say, only another feedback for this boring
situation!

militanz

-- 
memory leak with ring
https://bugs.launchpad.net/bugs/151168
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs