Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Thread Tools
Old 08-18-08, 08:56 PM   #121
NVIDIA Corporation
jamesjones's Avatar
Join Date: Feb 2005
Location: San Jose
Posts: 37
Default Re: memory leak under compiz w/ 100.14.19

No, I haven't forgotten about this bug. Yes, you're correct, I haven't made progress on it in a long time. To answer a few questions:

1) No, I didn't stop working on it, I just haven't made any progress finding the memory leaks. I did find that in some cases compiz will leave A LOT of drawables allocated for way longer than it needs to. That is, even after windows have been destroyed, compiz was keeping a long list of pixmaps allocated and bound as textures. It lazily frees them, but I ran into cases where this never happened. I didn't track down the root cause of that, but that was definitely a compiz bug, or at least a problem in compiz that needed optimizing. I haven't checked if this has been fixed in the past few months.

2) I run compiz full time on 2 of my dev systems and my personal machine at home (gentoo x86, ubuntu x86, and ubuntu x86-64). I constantly swap the video cards in these systems (yes we have plenty of our own hardware). I have never seen persistent memory usage growth on any of these systems, so I'm guessing there is some path in the code (compiz or the driver or both) the people that see this hit that I don't.

3) Yes I already made numerous fixes related to this problem and eliminated a handful of memory leaks. Some of these fixes only made it into r173 and later, so testing with the latest driver is always best. Of course, I backported the fixes to the legacy drivers where applicable as well.

Now I'll boldly make some requests:

A while ago I asked for nvidia-bug-report.log's from people experiencing this problem, preferably generated while they are experiencing it. I got a few (thanks!), but not enough to say anything conclusive about what configurations are affected. So far I suspect low-vidmem GeForce 6/7 HW is primarily affected, but I can't say for sure, so please, if this bug affects you, generate a log and attach it to this thread. I'll add it to my data.

So far what I have gotten from this thread is that people run compiz, do some stuff, and after a while memory usage is high. This isn't a big help in reproducing, because I do stuff too, just probably not the same stuff you do :-) To help me reproduce, I need details. Preferably an exact list of steps to cause this bug to show up. For example:

-Start X.org version N.N.N with these options
-Start compiz version N.N.N with these command line options and these plugins/settings (provide screenshots of ccsm or equivalent information)

If you just installed ubuntu/fedora, turned on desktop effects, and left all the options at default values, great. That is good to know too, but

-Run some program (what version?) N times, with these options.

I understand providing an exact list of programs run in an exact order can be hard, so please at least provide a list of the programs you generally use, and about how long you run them, what you do with them, and how often you start/stop them.

Thank you for your help and patience thus far.
jamesjones is offline   Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
GPU memory consumption, back buffer, Quadro tdsussman NVIDIA Linux 5 08-14-12 09:14 PM
Video: For HPC Energy Efficiency, Samsung 20-nm Memory Fab Makes a Difference News Archived News Items 0 06-26-12 06:00 AM
Measuring card memory usage peter_ga NVIDIA Linux 0 05-24-12 08:07 PM
new memory tech QBM (Quad band memory) sebazve Rumor Mill 9 09-24-02 09:38 PM
Best DDR Memory... pelly General Hardware 10 09-01-02 04:17 PM

All times are GMT -5. The time now is 06:53 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.