On Fri, Nov 5, 2010 at 1:34 AM, Clurado cl <clurado1...@gmail.com> wrote: > > > On Thu, Nov 4, 2010 at 6:56 AM, Chia-I Wu <olva...@gmail.com> wrote: >> >> On Thu, Nov 4, 2010 at 6:14 AM, Clurado cl <clurado1...@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 The DRI driver reported only OpenGL support (0x8) while the demo asked for OpenGL ES 1.x (0x1). You may check if FEATURE_ES1 is defined to 1 in configs/current and "make clean; make" again. > >> >> > 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@lists.freedesktop.org >> > http://lists.freedesktop.org/mailman/listinfo/mesa-dev >> > >> > >> >> >> >> -- >> o...@lunarg.com > >
-- o...@lunarg.com _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev