<div class="gmail_quote"><br>Mesa 7.9 from ftp , demos 8.0.1 from ftp<br>
<br>
<br>
when there is no gallium egl driver , without setting EGL_DRIVER=egl_dri2: <br>
<br>
egl/opengl/xeglgears : <br>
<br>
./xeglgears<div class="im"><br>libEGL debug: added /usr/lib/egl/egl_dri2.so to module array<br></div><div class="im">libEGL debug: added /usr/lib/egl/egl_glx.so to module array<br></div>libEGL debug: added /usr/lib/egl/egl_x11_nouveau.so to module array<div class="im">
<br>libEGL debug: dlopen(/usr/lib/egl/egl_dri2.so)<br></div>
libEGL debug: DRI2: dlopen(/usr/lib/dri/i915_dri.so)<div class="im"><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 1<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>
</div><div class="im">
libEGL debug: the best driver is DRI2 (score 100)<br>EGL_VERSION = 1.4 (DRI2)<br></div>libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1)<br>libEGL debug: the value (0x0) of attribute 0x3040 did not meet the criteria (0x8)<br>
libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1)<br>libEGL debug: the value (0x0) of attribute 0x3040 did not meet the criteria (0x8)<br>libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1)<br>
libEGL debug: the value (0x0) of attribute 0x3040 did not meet the criteria (0x8)<br>eglChooseConfig() failed<br><br>-------------------<br>./eglgears_x11<div class="im"><br>libEGL debug: added /usr/lib/egl/egl_dri2.so to module array<br>
</div><div class="im">
libEGL debug: added /usr/lib/egl/egl_glx.so to module array<br></div>libEGL debug: added /usr/lib/egl/egl_x11_nouveau.so to module array<div class="im"><br>libEGL debug: dlopen(/usr/lib/egl/egl_dri2.so)<br></div>libEGL debug: DRI2: dlopen(/usr/lib/dri/i915_dri.so)<div class="im">
<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 1<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></div><div class="im">libEGL debug: the best driver is DRI2 (score 100)<br>
EGL_VERSION = 1.4 (DRI2)<br></div>libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1)<br>libEGL debug: the value (0x0) of attribute 0x3040 did not meet the criteria (0x8)<br>libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1)<br>
libEGL debug: the value (0x0) of attribute 0x3040 did not meet the criteria (0x8)<br>libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1)<br>libEGL debug: the value (0x0) of attribute 0x3040 did not meet the criteria (0x8)<div class="im">
<br>
EGLUT: failed to choose a config<br><br><br></div>with EGL_DRIVER=egl_dri2 there is any difference. <br><br>is there any egl/dri2 binaries available for download ?!<div><div></div><div class="h5"><br><br><div class="gmail_quote">
On Wed, Nov 10, 2010 at 8:34 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>On Wed, Nov 10, 2010 at 6:26 AM, Clurado cl <<a href="mailto:clurado1980@gmail.com" target="_blank">clurado1980@gmail.com</a>> wrote:<br>
> Still having the problem , i attached the config file , anybody can help !?<br>
</div>The config file looks correct. Do not set any variable except for<br>
EGL_LOG_LEVEL. What happens when you run xeglgears under X11? What<br>
happens when you have EGL_DRIVER=egl_dri2 set?<br>
<br>
What are the versions of your Mesa and Mesa Demos?<br>
<div><div>> On Fri, Nov 5, 2010 at 5:09 PM, Clurado cl <<a href="mailto:clurado1980@gmail.com" target="_blank">clurado1980@gmail.com</a>> wrote:<br>
>><br>
>> yes , those configs has -DFEATURE_ES1=y<br>
>><br>
>> On Fri, Nov 5, 2010 at 5:19 AM, Chia-I Wu <<a href="mailto:olvaffe@gmail.com" target="_blank">olvaffe@gmail.com</a>> wrote:<br>
>>><br>
>>> 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>><br>
>>> >> 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<br>
>>> > criteria<br>
>>> > (0x1)<br>
>>> > libEGL debug: the value (0x8) of attribute 0x3040 did not meet the<br>
>>> > criteria<br>
>>> > (0x1)<br>
>>> > libEGL debug: the value (0x8) of attribute 0x3040 did not meet the<br>
>>> > criteria<br>
>>> > (0x1)<br>
>>> > EGLUT: failed to choose a config<br>
>>> 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>
>>> ><br>
>>> >><br>
>>> >> > libEGL debug: EGL user error 0x3003 (EGL_BAD_ALOC) in DRI2 : failed<br>
>>> >> > 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<br>
>>> >> > 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>
>>> --<br>
>>> olv@LunarG.com<br>
>><br>
><br>
><br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
olv@LunarG.com<br>
</font></blockquote></div><br>
</div></div></div><br>