Re: [PATCH 0/2] Introduce Glamor to UXA framework.

Zhigang Gong
2011-11-17T10:49:52Z

> -----Original Message-----
> From: Chris Wilson [mailto:chris@chris-wilson.co.uk]
> Sent: Thursday, November 17, 2011 5:20 PM
> To: Zhigang Gong; intel-gfx@lists.freedesktop.org
> Subject: RE: [PATCH 0/2] Introduce Glamor to UXA framework.
>
> On Thu, 17 Nov 2011 10:55:39 +0800, "Zhigang Gong"
> <zhigang.gong@linux.intel.com> wrote:
> > Now glamor was extracted from the xorg and be a separate library.
> > Please checkout glamor at :
> git://people.freedesktop.org/~gongzg/glamor.
> > This library implements two modules glamor and glamor_egl which are
> > required for intel video driver to enable glamor.
>
> Hmm, I did install the glamor library. A
/usr/lib/xorg/modules/libglamor.so
> is installed but the ddx is looking for a "glamor_egl" module.
>
> Ah, looks to be due to the
> checking for EGL... no
> checking for EGL... yes
> in glamor. How very confusing. ;-)
I think I know the reason, there is a typo error in glamor's configure.ac
which doesn't
Check the required packages correctly. Please pull the latest glamor master.
One of the
two above checks should be checking for GBM. I guess your mesa hasn't been
built with
gbm enabled. Then glamor will not build glamor_egl which depends on that.

Another thing need to pay attention is that when you build xserver, you need
to disable
glx.

Sorry for the confusing.

> -Chris
>
> --
> Chris Wilson, Intel Open Source Technology Centre