Getting egl clients to work

Bill Spitzak spitzak at gmail.com
Mon Jun 2 12:54:44 PDT 2014


I recompiled mesa with --enable-gallium-egl (is there a reason this is 
disabled in the build instructions?). This certainly had some effect but 
the egl test program still fails:

$ weston/weston-simple-egl
...
libEGL debug: Native platform type: wayland (autodetected)
libEGL debug: EGL search path is /home/wspitzak/install/lib/egl
libEGL debug: added /home/wspitzak/install/lib/egl/egl_gallium.so to 
module array
libEGL debug: added egl_dri2 to module array
libEGL debug: dlopen(/home/wspitzak/install/lib/egl/egl_gallium.so)
libEGL info: use wayland for display 0xa0c010
...
libEGL debug: EGL user error 0x3001 (EGL_NOT_INITIALIZED) in 
eglInitialize(failed to initialize screen)
...
libEGL info: use wayland for display 0xa0c010
libEGL info: use software fallback
...
libEGL debug: the best driver is Gallium
libEGL debug: the value (0x0) of attribute 0x3040 did not meet the 
criteria (0x4)
libEGL debug: the value (0x0) of attribute 0x3040 did not meet the 
criteria (0x4)
libEGL debug: the value (0x0) of attribute 0x3040 did not meet the 
criteria (0x4)
libEGL debug: the value (0x0) of attribute 0x3040 did not meet the 
criteria (0x4)
libEGL debug: the value (0x0) of attribute 0x3040 did not meet the 
criteria (0x4)
libEGL debug: the value (0x0) of attribute 0x3040 did not meet the 
criteria (0x4)
libEGL debug: the value (0x0) of attribute 0x3040 did not meet the 
criteria (0x4)
libEGL debug: the value (0x0) of attribute 0x3040 did not meet the 
criteria (0x4)
libEGL debug: the value (0x0) of attribute 0x3040 did not meet the 
criteria (0x4)
libEGL debug: the value (0x0) of attribute 0x3040 did not meet the 
criteria (0x4)
weston-simple-egl: clients/simple-egl.c:163: init_egl: Assertion `ret && 
n >= 1' failed.
Aborted (core dumped)


More information about the wayland-devel mailing list