i tested with gallium drivers , it works well but its not dri enabled . it uses swrast_pipe instead of dri.<br><br><div class="gmail_quote">On Thu, Nov 4, 2010 at 9:04 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;"><br><br><div class="gmail_quote"><div class="im">On Thu, Nov 4, 2010 at 6:56 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 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>
</div>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></blockquote></div><div>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<div class="im"><br>libEGL debug: dlopen(/usr/lib/egl/egl_dri2.so)<br><br></div>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 (0x1)<br>libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x1)<br>libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x1)<br>
EGLUT: failed to choose a config<br><br> </div><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>> libEGL debug: EGL user error 0x3003 (EGL_BAD_ALOC) in DRI2 : failed to 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>
</div>> _______________________________________________<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>
<font color="#888888"><br>
<br>
<br>
--<br>
olv@LunarG.com<br>
</font></blockquote></div></div><br>
</blockquote></div><br>