Bug 30481 - OpenVG demos does not launch
Summary: OpenVG demos does not launch
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Demos (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-29 17:19 UTC by Sergey Kondakov
Modified: 2010-10-08 01:02 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Sergey Kondakov 2010-09-29 17:19:06 UTC
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.
Comment 1 Sergey Kondakov 2010-10-02 10:05:59 UTC
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
Comment 2 David Gorst 2010-10-05 22:05:27 UTC
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.
Comment 3 David Gorst 2010-10-06 16:48:42 UTC
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.
Comment 4 David Gorst 2010-10-06 19:07:36 UTC
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
Comment 5 Chia-I Wu 2010-10-06 21:21:15 UTC
(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?
Comment 6 Chia-I Wu 2010-10-06 21:24:01 UTC
(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.
Comment 7 David Gorst 2010-10-06 21:32:44 UTC
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.
Comment 8 Chia-I Wu 2010-10-06 21:58:35 UTC
(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.
Comment 9 David Gorst 2010-10-06 22:35:04 UTC
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.
Comment 10 David Gorst 2010-10-06 23:12:34 UTC
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.
Comment 11 David Gorst 2010-10-07 00:31:43 UTC
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.
Comment 12 David Gorst 2010-10-07 00:33:57 UTC
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.
Comment 13 David Gorst 2010-10-07 01:05:16 UTC
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.
Comment 14 Sergey Kondakov 2010-10-07 05:26:30 UTC
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.