[Mesa-dev] problems in building GLES1

Clurado cl clurado1980 at gmail.com
Tue Nov 9 14:26:56 PST 2010


Still having the problem , i attached the config file , anybody can help !?

On Fri, Nov 5, 2010 at 5:09 PM, Clurado cl <clurado1980 at gmail.com> wrote:

> yes , those configs has  -DFEATURE_ES1=y
>
>
> On Fri, Nov 5, 2010 at 5:19 AM, Chia-I Wu <olvaffe at gmail.com> wrote:
>
>> On Fri, Nov 5, 2010 at 1:34 AM, Clurado cl <clurado1980 at gmail.com> wrote:
>> >
>> >
>> > 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
>> 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 at lists.freedesktop.org
>> >> > http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>> >> >
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> olv at LunarG.com
>> >
>> >
>>
>>
>>
>> --
>> olv at LunarG.com
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20101110/7e38c012/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: autoconf
Type: application/octet-stream
Size: 6101 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20101110/7e38c012/attachment.obj>


More information about the mesa-dev mailing list