[Intel-gfx] Memory leak using UXA acceleration and EXT_texture_from_pixmap
garry at camvine.com
Wed May 27 02:34:05 PDT 2009
I am having a problem with a memory leak when I use UXA in the Intel
drivers. Each time a pixmap is assigned to a texture in OpenGL using
XComposite (EXT_texture_from_pixmap) GEM objects are leaking.
I have tried various versions of the kernel and Intel driver, but I am
using the latest 2.6.30 kernel and Intel 2.7.1 driver. Also the Mesa
version is 7.4 and libdrm is 2.4.9. I have tried the latest git
version of all items.
The hardware I am using is a EeeBox B202 with a 1.6GHz Atom and an
Intel 945GM integrated graphics processor.
I've put together a small example of it going wrong (attached) in the
hope that someone can either diagnose it or tell me where to look so I
might be able to do so. As I am writing a kind of compositor I hit
the memory leak really hard, but it meant I could create a cut-down
example. It is attached to the email - building instructions are in
I have found related issues in various bug trackers, all phrased in
slightly different ways, but people tend to notice the most when they
are using a compositing window manager. I've put a few of them at the
end of this email if anyone is interested.
The following two links are to commits that says they attempt to fix
the problem in xorg and mesa respectively:
Other than this issue (admittedly a show stopper) the performance is
really good because I can composite XVideo sources at a really good
framerate - also with no tearing thanks to whoever implemented
memory leak: Keep resizing glxgears window with compiz will make X hang
i915: drm: xorg leaks drm objects massively
High load average, disk read, no apparent reason - 2.6.28-11
[GM45] (Needs -intel 2.7.0) memory leak causes system to run out of
memory leak while playing video stream
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3191 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/intel-gfx/attachments/20090527/abb4757a/attachment.obj
More information about the Intel-gfx