[Intel-gfx] Huge memory leaks with GEM
Maxim Levitsky
maximlevitsky at gmail.com
Mon Jul 6 22:40:40 CEST 2009
On Mon, 2009-07-06 at 23:27 +0300, Maxim Levitsky wrote:
> On Mon, 2009-07-06 at 21:14 +0100, Colin Guthrie wrote:
> > 'Twas brillig, and Maxim Levitsky at 06/07/09 20:46 did gyre and gimble:
> > > I currently use latest -git versions of everything, including kernel
> >
> > May I recommend the following two patches we add in Mandrvia packages as
> > previously recommended on this list:
> >
> > http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/mesa/current/SOURCES/0200-i965-fix-memory-leak-in-context-renderbuffer-region-.patch?revision=392643&view=markup
> >
> compiling mesa 7_5 branch (seems to be sligtly more recent that master,
> with this patch)
>
>
>
>
>
> > The other major leaks we used to experience are now rolled into the mesa
> > 7.5 rc4 (or before).
> >
> > A corresponding fix to Compiz:
> > http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/compiz/current/SOURCES/0506-glx-Use-glXDestroyPixmap-rather-than-glXDestroyGLXPi.patch?revision=387195&view=markup
> >
> Compiz leaks memory, but not that much, I especially hate the GBytes GE
> allocates.
> I compile it too, when have time.
>
>
>
> > My memory usage is pretty reasonable these days, but I'm still feel like
> > it could be plugged up a bit more still.
>
> At least, I need a bounded memory usage.
>
>
> Thanks,
> Maxim Levitsky
>
Nah, same leaks.
maxim at MAIN:~$ cat /sys/kernel/debug/dri/0/gem_objects
4182 objects
1041948672 object bytes
3 pinned
13762560 pin bytes
238170112 gtt bytes
260308992 gtt total
This after few minutes of GE usage.
Best regards,
Maxim Levitsky
More information about the Intel-gfx
mailing list