programs "lion" and "sp" from mesa-progs (commit: 60eeb7b3062af90ae5ca175f3fe31739f4ca845e) fail to launch with error: symbol lookup error: /usr/lib64/egl/egl_gallium.so: undefined symbol: drmGetMagic while demos for glx, egl and gles works just fine. i use r300g on RV515 with mesa-git (commit: 4378c17c88c6d1fb046f53ef83955fd7fbd992db). kernel is 2.6.35. global CFLAGS set to "-march=k8-sse3 -Os -mfpmath=sse,387 -frename-registers -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block -ftree-loop-distribution -floop-parallelize-all -Wno-error -pipe" LDFLAGS="-Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=gnu -Wl,-O1 -Wl,-znow -Wl,-zmuldefs". tried LDFLAGS="" CFLAGS="-march=k8-sse3 -O2 -pipe". didn't helped.
even if i forcibly link those programs with libdrm, they fail with: EGLUT: failed to create context even though eglinfo says: EGL client APIs: OpenGL OpenVG
I've the same issue. eglCreateContext returns EGL_NO_CONTEXT, unless I bind to GLES rather than OpenVG (or leave it as the default GLES). eglGetError immediately afterwards returns EGL_SUCCESS (incorrectly). This used to work about a month ago when I tried it - the same code works fine on the reference implementation of OpenVG. This seems to happen whether using Gallium or not (?). I can cobble together some code to demonstrate if it's required.
Just checked - the same issue is present in the OpenGL demos, and binding the API as OpenGL in my code is giving the same results as binding to OpenVG.
Rebuilt again from the latest Git source and the OpenGL demos are running, but not OpenVG or OpenGLES. This is the debug output from lion_x11. Attribute 0x3040 is EGL_RENDERABLE_TYPE and 0x08 is EGL_OPENGL_BIT. libEGL debug: added /home/dgorst/mesa-git/lib/egl/egl_gallium.so to module array libEGL debug: added /home/dgorst/mesa-git/lib/egl/egl_glx.so to module array libEGL debug: dlopen(/home/dgorst/mesa-git/lib/egl/egl_gallium.so) libEGL info: use X11 for display 0x9cd0008 libEGL warning: use software fallback libEGL debug: searching for pipe module swrast libEGL debug: loaded /home/dgorst/mesa-git/lib/egl/pipe_swrast.so couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable libEGL debug: the best driver is Gallium (score 100) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) libEGL debug: the value (0x8) of attribute 0x3040 did not meet the criteria (0x2) EGLUT: failed to choose a config
(In reply to comment #1) > even if i forcibly link those programs with libdrm, they fail with: > EGLUT: failed to create context > > even though eglinfo says: > EGL client APIs: OpenGL OpenVG I've fixed both the linking issue and OpenVG context creation. Sorry for the late response. Could you try again with the latest mesa master?
(In reply to comment #4) > Rebuilt again from the latest Git source and the OpenGL demos are running, but > not OpenVG or OpenGLES. This is the debug output from lion_x11. Attribute > 0x3040 is EGL_RENDERABLE_TYPE and 0x08 is EGL_OPENGL_BIT. This looks like a different issue. How did you configure mesa? You need --enable-gles-overlay or --enable-gles[12] for OpenGL ES, and at least --with-state-trackers=egl,vega for OpenVG.
The last time I used : /configure --prefix=/home/dgorst/mesa-git --enable-gles-overlay --enable-debug --with-state-trackers=egl,vega --enable-gallium-swrast (In reply to comment #6) > (In reply to comment #4) > > Rebuilt again from the latest Git source and the OpenGL demos are running, but > > not OpenVG or OpenGLES. This is the debug output from lion_x11. Attribute > > 0x3040 is EGL_RENDERABLE_TYPE and 0x08 is EGL_OPENGL_BIT. > This looks like a different issue. How did you configure mesa? You need > --enable-gles-overlay or --enable-gles[12] for OpenGL ES, and at least > --with-state-trackers=egl,vega for OpenVG.
(In reply to comment #7) > The last time I used : > > /configure --prefix=/home/dgorst/mesa-git --enable-gles-overlay --enable-debug > --with-state-trackers=egl,vega --enable-gallium-swrast I am not able to reproduce it. Did you "make clean" before or after running configure? Could you set a break point at loader_init and see which API/profile is enabled? > > (In reply to comment #6) > > (In reply to comment #4) > > > Rebuilt again from the latest Git source and the OpenGL demos are running, but > > > not OpenVG or OpenGLES. This is the debug output from lion_x11. Attribute > > > 0x3040 is EGL_RENDERABLE_TYPE and 0x08 is EGL_OPENGL_BIT. > > This looks like a different issue. How did you configure mesa? You need > > --enable-gles-overlay or --enable-gles[12] for OpenGL ES, and at least > > --with-state-trackers=egl,vega for OpenVG.
Apologies - I've just re-checked out the source and done a clean/rebuild and the issue with OpenGL is gone. However I still have this issue running lion_x11 : couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable libEGL debug: the best driver is Gallium (score 100) EGL_VERSION = 1.4 (Gallium) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) etc.
Also I should add that it's still failing to create a context : libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x1) libEGL debug: searching for st module OpenVG libEGL debug: loaded /usr/lib/egl/st_OpenVG.so EGLUT: failed to create context Anything else I can check? (In reply to comment #9) > Apologies - I've just re-checked out the source and done a clean/rebuild and > the issue with OpenGL is gone. However I still have this issue running lion_x11 > : > > couldn't open libtxc_dxtn.so, software DXTn compression/decompression > unavailable > libEGL debug: the best driver is Gallium (score 100) > EGL_VERSION = 1.4 (Gallium) > libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria > (0x1) > libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria > (0x1) > libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria > (0x1) > etc.
This is odd - if I comment out this section in vg_manager.c the context is created fine : /* only 1.0 is supported */ if (attribs->major != 1 || attribs->minor > 0) return NULL; (In reply to comment #10) > Also I should add that it's still failing to create a context : > > libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria > (0x1) > libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria > (0x1) > libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria > (0x1) > libEGL debug: searching for st module OpenVG > libEGL debug: loaded /usr/lib/egl/st_OpenVG.so > EGLUT: failed to create context > > Anything else I can check? > > (In reply to comment #9) > > Apologies - I've just re-checked out the source and done a clean/rebuild and > > the issue with OpenGL is gone. However I still have this issue running lion_x11 > > : > > > > couldn't open libtxc_dxtn.so, software DXTn compression/decompression > > unavailable > > libEGL debug: the best driver is Gallium (score 100) > > EGL_VERSION = 1.4 (Gallium) > > libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria > > (0x1) > > libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria > > (0x1) > > libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria > > (0x1) > > etc.
It seems to think the version is 0.0 ... (In reply to comment #11) > This is odd - if I comment out this section in vg_manager.c the context is > created fine : > > /* only 1.0 is supported */ > if (attribs->major != 1 || attribs->minor > 0) > return NULL; > > (In reply to comment #10) > > Also I should add that it's still failing to create a context : > > > > libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria > > (0x1) > > libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria > > (0x1) > > libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria > > (0x1) > > libEGL debug: searching for st module OpenVG > > libEGL debug: loaded /usr/lib/egl/st_OpenVG.so > > EGLUT: failed to create context > > > > Anything else I can check? > > > > (In reply to comment #9) > > > Apologies - I've just re-checked out the source and done a clean/rebuild and > > > the issue with OpenGL is gone. However I still have this issue running lion_x11 > > > : > > > > > > couldn't open libtxc_dxtn.so, software DXTn compression/decompression > > > unavailable > > > libEGL debug: the best driver is Gallium (score 100) > > > EGL_VERSION = 1.4 (Gallium) > > > libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria > > > (0x1) > > > libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria > > > (0x1) > > > libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria > > > (0x1) > > > etc.
Sorry - for some reason I didn't get this change last time I did a "git pull" - sigh. I see you've already picked up on it. It's working fine now. Many thanks, Dave. (In reply to comment #12) > It seems to think the version is 0.0 ... > > (In reply to comment #11) > > This is odd - if I comment out this section in vg_manager.c the context is > > created fine : > > > > /* only 1.0 is supported */ > > if (attribs->major != 1 || attribs->minor > 0) > > return NULL; > > > > (In reply to comment #10) > > > Also I should add that it's still failing to create a context : > > > > > > libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria > > > (0x1) > > > libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria > > > (0x1) > > > libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria > > > (0x1) > > > libEGL debug: searching for st module OpenVG > > > libEGL debug: loaded /usr/lib/egl/st_OpenVG.so > > > EGLUT: failed to create context > > > > > > Anything else I can check? > > > > > > (In reply to comment #9) > > > > Apologies - I've just re-checked out the source and done a clean/rebuild and > > > > the issue with OpenGL is gone. However I still have this issue running lion_x11 > > > > : > > > > > > > > couldn't open libtxc_dxtn.so, software DXTn compression/decompression > > > > unavailable > > > > libEGL debug: the best driver is Gallium (score 100) > > > > EGL_VERSION = 1.4 (Gallium) > > > > libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria > > > > (0x1) > > > > libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria > > > > (0x1) > > > > libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria > > > > (0x1) > > > > etc.
ok, they do launch now but drawn incorrectly (if it can be counted as "drawn") on my r300g hardware. i will file another report about that and this should be regarded as FIXED if it drawn correctly on softpipe for you. thank you.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.