[Mesa-dev] Trouble building gallium x11/softpipe
olvaffe at gmail.com
Wed Sep 8 22:23:05 PDT 2010
On Thu, Sep 9, 2010 at 6:39 AM, Gregory Prisament
<greg at lycheesoftware.com> wrote:
> With some debugging I've figured out that setting EGL_DRIVERS_PATH to
> $MESA_ROOT/lib/egl fixes my problem. I'm back in business! ('til I hit the
> next roadblock at least). Sorry for the spam.
There is now a single gallium-based EGL driver, egl_gallium.so. Its role is
similar to DRI libGL.so in that it is a slim layer that loads the hardware
drivers (pipe_xxx.so) and client APIs (st_xxx.so), found in $EGL_DRIVERS_PATH.
If the setup is too complex for your need, you may also consider build a
egl_gallium.so that statically links to the softpipe/llvmpipe and the client
APIs selected at build time. Have a look at targets/egl-gdi/ as an example.
The suggested way to configure Mesa has also changed to:
$ ./configure --enable-gles-overlay --with-state-trackers=egl,vega
> -Greg Prisament, Lychee Software
> On Wed, Sep 8, 2010 at 2:31 PM, Gregory Prisament <greg at lycheesoftware.com>
>> I'm working with the Khronos Group to implement several EGL extensions in
>> gallium3d. Up until now, I've been working with a mesa codebase that I
>> grabbed way back in April. I'm now trying to migrate to the latest version
>> of mesa (and "rebase" daily) so that I can send my changes to you folk for
>> However, it seems my old ways of building no longer work.
>> Specifically, I used to do:
>> ./autogen.sh --with-state-trackers=egl,es,vega --enable-gallium-swrast
>> export LD_LIBRARY_PATH=$MESA_ROOT/lib
>> export EGL_DRIVER=$MESA_ROOT/lib/egl_x11_swrast.so
>> When I try that today, egl_x11_swrast.so does not get built, and (not
>> surprisingly) EGL initialization fails.
>> Any hints? Are the build instructions documented somewhere? This
>> trial-and-error approach is getting tiresome ;)
>> Thanks so much for your help! If you can get me through this I'll have
>> some exciting patches for you guys!
>> -Greg Prisament, Lychee Software
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
olv at LunarG.com
More information about the mesa-dev