[Intel-gfx] Huge memory leaks with GEM
Maxim Levitsky
maximlevitsky at gmail.com
Mon Jul 6 21:46:40 CEST 2009
I have recently tried the latest versions of graphics stack for my G965
intel device.
First I must say thanks! The quality of everything did improve
significantly.
I especially happy to see that GoogleEarth is finally usable. I remember
it being very slow back when I tried the intel drivers last time (I have
a nvidia card that I use most of the time on this system, and it is set
to hit the trash as soon as intel drivers became usable - I know that
performance will always be inferior, but as long as compiz, GE, and few
simple games work, I agree to that)
However, it appears that current GEM implementation doesn't free buffers
at all.
looking at /sys/kernel/debug/dri/0/gem_objects reveals that more a GB
of buffers are allocated, after few minutes of GE use. In same time
usual signs of swapping appear. top confirms that GE uses more that a GB
of memory (this system has just 1GB of memory)
This is what I see there:
4614 objects
1152802816 object bytes
3 pinned
13762560 pin bytes
137949184 gtt bytes
260308992 gtt total
Same behavier is observed with all games, and even compiz, just
closing/opening windows triggers same behavior.
Even xorg memory usage is increasing, due to that.
I currently use latest -git versions of everything, including kernel
I also use modesetting.
How can I help with that?
Best regards,
Maxim Levitsky
More information about the Intel-gfx
mailing list