[ubuntu-x] Patch for bad border rendering on 965 w/ EXA+Compiz

Bryce Harrington bryce at canonical.com
Tue Feb 19 23:37:48 GMT 2008

On Mon, Feb 18, 2008 at 12:39:07PM +0200, Timo Jyrinki wrote:
> Bryce Harrington wrote:
> > With -intel 2:2.2.0+git20080107-1ubuntu2 on 965GM, using EXA and Compiz,
> > the borders of windows are drawn incorrectly:
> >
> >  http://bryceharrington.org/files/borders-bad.png
> >
> > Poking around a bit, I came up with the patch below which makes the
> > issue go away.  Probably this is just covering up a real problem deeper
> > down, so feedback would be appreciated.
> The same problem occurred here, and the patch worked fine also on top
> of the current version!
> This was the only clear problem I had with hardy + i965 + EXA
> acceleration, so it might be a nice thing to evaluate the patch
> further. This patch might still be a better option than using Option
> "MigrationHeuristic "greedy" which also fixes the problem.

Hi Timo,

Thanks for the feedback.  I took a second approach and came up with a
different approach which not only fixes the borders, but also some
performance and tearing issues on 965.  We've uploaded this patch to
hardy, so please check it out and let me know if any issues still remain
for you.

(To see the patch and additional details, see this bug:


More information about the Ubuntu-x mailing list