[Mesa-dev] problems in building GLES1

Clurado cl clurado1980 at gmail.com
Thu Nov 4 10:34:55 PDT 2010


On Thu, Nov 4, 2010 at 6:56 AM, Chia-I Wu <olvaffe at gmail.com> wrote:

> On Thu, Nov 4, 2010 at 6:14 AM, Clurado cl <clurado1980 at gmail.com> wrote:
> > Hi, i have build mesa with ./configure --disable-gallium-radeon
> > --with-dri-drivers=i915 --enable-gles-overlay --enable-gles1
> > i make it and installed it in /usr/lib
> >
> > the problem is i cant run demos in egl/opengles1 demos from
> > mesa.demos.8.0.1.
> >
> > with EGL_LOG_LEVEL=debug . i get errors like this :
> >
> > libEGL debug: dlopen(/usr/lib/egl/egl_dri2.so)
> > libEGL warning: EGL-DRI2: failed to stat fd 134533128
> Did you set EGL_PLATFORM=drm?  That will force egl_dri2 to treat the
> argument of eglGetDisplay as an fd while it is actually a pointer to
> Xlib Display.
>
Yes , i set EGL_PLATFORM=drm.
when i doesnt set this var , or when i set this to x11 the errors are :

libEGL debug: added /usr/lib/egl/egl_dri2.so to module array
libEGL debug: added /usr/lib/egl/egl_gallium.so to module array
libEGL debug: added /usr/lib/egl/egl_glx.so to module array
libEGL debug: dlopen(/usr/lib/egl/egl_dri2.so)

libEGL debug: DRI2: dlopen(/usr/local/lib/dri/i915_dri.so)
libEGL debug: DRI2: found extension `DRI_Core'
libEGL info: DRI2: found extension DRI_Core version 1
libEGL debug: DRI2: found extension `DRI_DRI2'
libEGL info: DRI2: found extension DRI_DRI2 version 2
libEGL debug: DRI2: found extension `DRI_ReadDrawable'
libEGL debug: DRI2: found extension `DRI_TexBuffer'
libEGL info: DRI2: found extension DRI_TexBuffer version 2
libEGL debug: DRI2: found extension `DRI2_Flush'
libEGL info: DRI2: found extension DRI2_Flush version 3
libEGL debug: DRI2: found extension `DRI_IMAGE'
libEGL info: DRI2: found extension DRI_IMAGE version 1
libEGL debug: DRI2: found extension `DRI_CONFIG_QUERY'
libEGL debug: the best driver is DRI2 (score 100)

EGL_VERSION = 1.4 (DRI2)

libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria
(0x1)
libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria
(0x1)
libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria
(0x1)
EGLUT: failed to choose a config



> > libEGL debug: EGL user error 0x3003 (EGL_BAD_ALOC) in DRI2 : failed to
> get
> > driver name
> >
> > libEGL debug: dlopen(/usr/lib/egl/egl_glx.so)
> > libEGL debug: EGL user error 0x3001 (other) in eglInitialize
> >
> > EGLUT: failed to initialize EGL display
> >
> > ----
> >
> > i able to run xegl_gears from opengl , but nothing from gles1 .
> >
> > is the problem related to demos or the libGLESv1 doesnt work correctly !?
> >
> > _______________________________________________
> > mesa-dev mailing list
> > mesa-dev at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/mesa-dev
> >
> >
>
>
>
> --
> olv at LunarG.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20101104/52ef75f9/attachment.htm>


More information about the mesa-dev mailing list