← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 338259] Re: [i945] Black rectangle overlapping text on some sites when zooming in or out with Shiretoko (UXA bug)

 

I had similar problem as described here. I have intel gma950 with UXA.
In my case everything worked O.K after I booted my PC but after a few
hours or so, Shiretoko would start to render pages in some weird way.
The text would become unreadable in some characters, and by doing zoom-
in or zoom-out of the text, one characters would be render fine, while
others would become weird. What I discovered after 2 or 3 weeks is that
the problem is in compiz. Because the problem with the text rendering
would appear after compiz eats a lot of system memory and start to use
the swap file. Following the bug reports about comiz and this memory
leak, I found a simple solution. The memory leak would disappear if I
restart compiz and set it to use indirect rendering option. I am not
sure how it should be probably done, but this is what I did. I edited
file /usr/bin/compiz (it is a script file). So:

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

2. At line 74 (or round 74) I edited 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 and no text rendering problems in Shiretoko. 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.

-- 
[i945] Black rectangle overlapping text on some sites when zooming in or out with Shiretoko (UXA bug)
https://bugs.launchpad.net/bugs/338259
You received this bug notification because you are a member of Ubuntu-X,
which is the registrant for xf86-video-intel.