Comment 73 for bug 328232

Revision history for this message
Petar Velkovski (pvelkovski) wrote :

Using "indirect rendering" option for compiz solves this memory leak.

1. Press ALT+F2 and type:
gksudo gedit /usr/bin/compiz

or

open your console and type:
sudo gedit /usr/bin/compiz

2. At line 74 (or round 74) edit the line :

COMPIZ_OPTIONS="--ignore-desktop-hints --replace"
and changed it into:
COMPIZ_OPTIONS="--replace --sm-disable --ignore-desktop-hints ccp --indirect-rendering"

After this there was no compiz memory leak. The compiz bug report mentions that with "indirect rendering" enabled, there is another problem, like a bug in rendering transparent windows, but that bug does not appear at my system. All this is done in combination with
xf86-video-intel 2.7.99.1+git2009 from https://launchpad.net/~xorg-edgers/+archive/ppa and all the other updates from that repository (mesa, dri2 etc.) and also kernel 2.6.30.