From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: [PATCH 0/2] Introduce Glamor to UXA framework. Date: Thu, 17 Nov 2011 10:57:28 +0000 Message-ID: References: <1321427077-26350-1-git-send-email-zhigang.gong@linux.intel.com> <07b501cca4d4$6774c670$365e5350$@linux.intel.com> <07d301cca516$a2364170$e6a2c450$@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id 229C69E771 for ; Thu, 17 Nov 2011 02:57:38 -0800 (PST) In-Reply-To: <07d301cca516$a2364170$e6a2c450$@linux.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Zhigang Gong , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Thu, 17 Nov 2011 18:49:49 +0800, "Zhigang Gong" wrote: > > -----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" > > 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. It was actually mesa insisting on only building egl_platform=drm and the pre-requisite egl_dri2 if and only if libxcb-dri2 was installed. Seems a bit strange for something that is supposed to be used on an X-less system. > Another thing need to pay attention is that when you build xserver, you need > to disable > glx. Rebuild the xserver... Oh well, that rules out testing by simply replacing distro drivers. I'm having a lot of fun with building glamor as it is missing or including headers in the wrong order and deciding that XID is 8 bytes when the server was compiled with a 4 byte XID. Fun. And the usual problems with incomplete framebuffers, but hopefully that is just the glx confusion. -Chris -- Chris Wilson, Intel Open Source Technology Centre