Still having the problem , i attached the config file , anybody can help !?<br><br><div class="gmail_quote">On Fri, Nov 5, 2010 at 5:09 PM, Clurado cl <span dir="ltr"><<a href="mailto:clurado1980@gmail.com">clurado1980@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">yes , those configs has -DFEATURE_ES1=y<div><div></div><div class="h5"><br><br><div class="gmail_quote">
On Fri, Nov 5, 2010 at 5:19 AM, Chia-I Wu <span dir="ltr"><<a href="mailto:olvaffe@gmail.com" target="_blank">olvaffe@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div>On Fri, Nov 5, 2010 at 1:34 AM, Clurado cl <<a href="mailto:clurado1980@gmail.com" target="_blank">clurado1980@gmail.com</a>> wrote:<br>
><br>
><br>
> On Thu, Nov 4, 2010 at 6:56 AM, Chia-I Wu <<a href="mailto:olvaffe@gmail.com" target="_blank">olvaffe@gmail.com</a>> wrote:<br>
>><br>
>> On Thu, Nov 4, 2010 at 6:14 AM, Clurado cl <<a href="mailto:clurado1980@gmail.com" target="_blank">clurado1980@gmail.com</a>> wrote:<br>
>> > Hi, i have build mesa with ./configure --disable-gallium-radeon<br>
>> > --with-dri-drivers=i915 --enable-gles-overlay --enable-gles1<br>
>> > i make it and installed it in /usr/lib<br>
>> ><br>
>> > the problem is i cant run demos in egl/opengles1 demos from<br>
>> > mesa.demos.8.0.1.<br>
>> ><br>
>> > with EGL_LOG_LEVEL=debug . i get errors like this :<br>
>> ><br>
>> > libEGL debug: dlopen(/usr/lib/egl/egl_dri2.so)<br>
>> > libEGL warning: EGL-DRI2: failed to stat fd 134533128<br>
>> Did you set EGL_PLATFORM=drm? That will force egl_dri2 to treat the<br>
>> argument of eglGetDisplay as an fd while it is actually a pointer to<br>
>> Xlib Display.<br>
><br>
> Yes , i set EGL_PLATFORM=drm.<br>
> when i doesnt set this var , or when i set this to x11 the errors are :<br>
><br>
> libEGL debug: added /usr/lib/egl/egl_dri2.so to module array<br>
> libEGL debug: added /usr/lib/egl/egl_gallium.so to module array<br>
> libEGL debug: added /usr/lib/egl/egl_glx.so to module array<br>
> libEGL debug: dlopen(/usr/lib/egl/egl_dri2.so)<br>
><br>
> libEGL debug: DRI2: dlopen(/usr/local/lib/dri/i915_dri.so)<br>
> libEGL debug: DRI2: found extension `DRI_Core'<br>
> libEGL info: DRI2: found extension DRI_Core version 1<br>
> libEGL debug: DRI2: found extension `DRI_DRI2'<br>
> libEGL info: DRI2: found extension DRI_DRI2 version 2<br>
> libEGL debug: DRI2: found extension `DRI_ReadDrawable'<br>
> libEGL debug: DRI2: found extension `DRI_TexBuffer'<br>
> libEGL info: DRI2: found extension DRI_TexBuffer version 2<br>
> libEGL debug: DRI2: found extension `DRI2_Flush'<br>
> libEGL info: DRI2: found extension DRI2_Flush version 3<br>
> libEGL debug: DRI2: found extension `DRI_IMAGE'<br>
> libEGL info: DRI2: found extension DRI_IMAGE version 1<br>
> libEGL debug: DRI2: found extension `DRI_CONFIG_QUERY'<br>
> libEGL debug: the best driver is DRI2 (score 100)<br>
><br>
> EGL_VERSION = 1.4 (DRI2)<br>
><br>
> libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria<br>
> (0x1)<br>
> libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria<br>
> (0x1)<br>
> libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria<br>
> (0x1)<br>
> EGLUT: failed to choose a config<br>
</div></div>The DRI driver reported only OpenGL support (0x8) while the demo asked<br>
for OpenGL ES 1.x (0x1). You may check if FEATURE_ES1 is defined to 1<br>
in configs/current and "make clean; make" again.<br>
<div><div></div><div>><br>
>><br>
>> > libEGL debug: EGL user error 0x3003 (EGL_BAD_ALOC) in DRI2 : failed to<br>
>> > get<br>
>> > driver name<br>
>> ><br>
>> > libEGL debug: dlopen(/usr/lib/egl/egl_glx.so)<br>
>> > libEGL debug: EGL user error 0x3001 (other) in eglInitialize<br>
>> ><br>
>> > EGLUT: failed to initialize EGL display<br>
>> ><br>
>> > ----<br>
>> ><br>
>> > i able to run xegl_gears from opengl , but nothing from gles1 .<br>
>> ><br>
>> > is the problem related to demos or the libGLESv1 doesnt work correctly<br>
>> > !?<br>
>> ><br>
>> > _______________________________________________<br>
>> > mesa-dev mailing list<br>
>> > <a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
>> > <a href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
>> ><br>
>> ><br>
>><br>
>><br>
>><br>
>> --<br>
>> olv@LunarG.com<br>
><br>
><br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
olv@LunarG.com<br>
</font></blockquote></div><br>
</div></div></blockquote></div><br>