Bug#451571: xserver-xorg-video-intel: uses lots of CPU with Compiz and (new default) EXA
On Wed, 2007-11-21 at 18:26 +0000, brian m. carlson wrote:
> On Wed, Nov 21, 2007 at 12:19:25PM +0100, Michel Dänzer wrote:
> >Not really; the problem is that GLX_EXT_texture_from_pixmap is
> >implemented inefficiently. XaaNoOffscreenPixmaps just happens to make it
> >usable, at the cost of basically disabling 2D acceleration. While the
> >same workaround could be implemented for EXA, there's little point in
> >using it (or XAA, for that matter) at all in that case. So there's
> >really no point in implementing such an option for EXA, compared to just
> >switching to XAA.
>
> Ah. That explains a lot. However, XVideo doesn't work with XAA, while
> it does with EXA. Upstream has no intention of fixing this, AFAIK.
> Which means that programs (like miro) that don't allow disabling XVideo
> don't work with XAA. Oops.
It's not a matter of intention but simply not fixable reliably with XAA.
(Textured video also can't work without offscreen memory)
> >With the i915tex Mesa driver (or the i915 driver from upstream Git, but
> >that also requires xserver Git), EXA allows for more efficient
> >GLX_EXT_texture_from_pixmap together with 2D acceleration, but
> >unfortunately this is difficult to set up.
>
> How do I enable the i915tex driver? It seems it's already present in
> libgl1-mesa-dri.
At the very least, you need libdrm and the i915 kernel module from the
drm Git branch i915tex-compat. I'm not sure it'll work without
rebuilding Mesa and/or xf86-video-intel (2.1; 2.2 is incompatible with
i915tex, it requires the i915 driver from mesa Git master for this)
though. Then you'll need Option "Legacy3D" "off" to make it use i915tex
instead of i915.
--
Earthling Michel Dänzer | http://tungstengraphics.com
Libre software enthusiast | Debian, X and DRI developer
Reply to: