Comment 30 for bug 360319

Revision history for this message
In , Garry-camvine (garry-camvine) wrote :

There is definitely a system memory leak from using UXA acceleration with OpenGL compositing. In the freedesktop bugzilla I can see #20766 #21770 #18820 #20704 which all seem to be the same issue.

I am running on an Eee Box B202 Atom with an Intel 945GM. I have tried 2.7.1 and 2.7.99 and the latest git revision, all exhibiting the same leak (in GEM objects). I have also tried the latest git revisions of Mesa, libdrm and Xorg.

I have a small example using Clutter and GTK+ which demonstrates the leak with hopefully the minimum of code - I'll add the attachment after this comment.

The bug is also referenced in other bug trackers:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/360319
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/367377
You can also see a few on Moblin:
http://bugzilla.moblin.org/buglist.cgi?quicksearch=leak

I've been trying to track this down for quite a while and it looks like it is related to the glXBindTexImageEXT call and it not being released with glXReleaseTexImageEXT.