On Thu, 28 Feb 2002, Mike A. Harris wrote:
> On Thu, 28 Feb 2002, SA wrote:
>
> >Date: Thu, 28 Feb 2002 10:18:31 +0000
> >From: SA <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Content-Type: text/plain;
> > charset="iso-8859-15"
> >List-Id: General X Discussion <xpert.XFree86.Org>
> >Subject: Memory Leak / suggestions please?
> >
> >
> >Dear list,
> >
> >i am running
> >
> >X -version
> >
> >XFree86 Version 4.1.0 (Red Hat Linux release: 4.1.0-3) / X Window System
> >(protocol Version 11, revision 0, vendor release 6510)
> >Release Date: 2 June 2001
> > If the server is older than 6-12 months, or if your card is
> > newer than the above date, look for a newer version before
> > reporting problems. (See http://www.XFree86.Org/FAQ)
> >Build Operating System: Linux 2.4.7-0.13.1smp i686 [ELF]
> >Build Host: stripples.devel.redhat.com
> >Module Loader present
> >
> >on
> >uname -a
> >Linux trouble 2.4.7-10 #1 Thu Sep 6 16:46:36 EDT 2001 i686 unknown
> >
> >using the nvidia kernel driver 2314
> >
> >I am experiencing a severe memory leak where X is grow by ~100Mb / hour of use
> >this has taken my machine down on at least one occasion and requires that I
> >constantly monitor it and restart X on a regular basis.
> >
> >If this is a known situation could some let me know if there is a fix.
>
> I've had a few reports now both internally and externally, that
> both the nv and nvidia drivers are memleak'ing if the RENDER
> extension is used, or more specifically if KDE AA fonts are
> enabled while using Nvidia hardware. Aparently this problem is
> in XFree86 4.1.0 but is fixed in 4.2.0, however I have no idea
> what the fix is specifically.
>
> There is a SuSE article on their website about this problem as
> well, but with no workaround yet other than to use XFree86 4.2.0.
> If someone familiar with the nv driver could whip up a patch that
> fixes this problem, I'd be glad to include it in unofficial
> builds of XFree86 until our next erratum release.
The "nv" driver doesn't have anything to do with RENDER.
It's completely out of the picture. I don't see how this
can be specific to the "nv" or "nvidia" drivers. Growing
memory usage in the server is almost always a client resource
leak. You'll notice that the "nv" driver doesn't allocate
any memory outside of initialization.
In 4.1.0 and previous there was a serious pixmap leak in XAA that
happened when purging the cache, which the "nvidia" driver did
frequently when making room for textures when running 3D apps.
I worked around that in 2314 and maybe in the previous version too.
So this shouldn't be an issue, and the "nv" driver was uneffected.
Mark.
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert