Universal Ubuntu build script

Darxus at chaosreigns.com Darxus at chaosreigns.com
Sat Nov 20 11:56:39 PST 2010


On 11/20, Chia-I Wu wrote:
> I think
> 
>   $ ./autogen.sh --prefix=$HOME/install --enable-gles2 \
>     --enable-gallium-nouveau --with-state-trackers=dri
> 
> should suffice, for mesa.

Doesn't worth with my nVidia card:
libEGL debug: EGL user error 0x3003 (EGL_BAD_ALLOC) in DRI2: failed to get driver name

egl_dri2 only has PCI IDs for Intel and ATI/AMD.  I successfully added
my card to the dri2_driver_map, but that's not the kind of automated
build I'm looking for.

After suggestions from bnf, I've got:

./autogen.sh --prefix=$HOME/install --enable-egl --enable-gles2 --enable-gallium-nouveau --with-state-trackers=glx,dri,egl --with-egl-platforms=drm --enable-gles-overlay --enable-gallium-r600 --with-dri-drivers=i915,i965 --disable-gallium-{915,965}


http://www.chaosreigns.com/wayland/wayland-build-ubuntu-all.sh is updated
with this.  Tested only with nouveau (nvidia).

--with-dri-drivers=i915,i965 is to disable the classic r600 driver.

-- 
"Life is either a daring adventure or it is nothing at all."
- Helen Keller
http://www.ChaosReigns.com


More information about the wayland-devel mailing list