[Mesa-dev] [Bug 32285] Check OpenGL and OpenGL ES2.0 renderer info in one process

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Feb 20 19:11:06 PST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=32285

--- Comment #10 from Jammy Zhou <jammy.zhou at linaro.org> 2011-02-20 19:11:04 PST ---
(In reply to comment #9)
> Can you show me the result with EGL_LOG_LEVEL=debug set?  Maybe also the
> backtrace?
> 
> This is what I get when mesa is configured with --enable-shared-glapi:
> 
> olvaffe at m500:~$ EGL_LOG_LEVEL=debug EGL_SOFTWARE=1 ./renderer_info 
> libEGL debug: EGL search path is /usr/local/lib/egl
> libEGL debug: added /usr/local/lib/egl/egl_gallium.so to module array
> libEGL debug: added egl_dri2 to module array
> libEGL debug: added egl_glx to module array
> libEGL debug: dlopen(/usr/local/lib/egl/egl_gallium.so)
> libEGL info: use X11 for display 0x9791838
> libEGL info: use software fallback
> libEGL debug: searching for pipe module swrast
> libEGL debug: loaded /usr/local/lib/egl/pipe_swrast.so
> couldn't open libtxc_dxtn.so, software DXTn compression/decompression
> unavailable
> libEGL debug: the best driver is Gallium
> libEGL debug: searching for st module GL
> libEGL debug: loaded /usr/local/lib/egl/st_GL.so
> Mesa warning: couldn't open libtxc_dxtn.so, software DXTn
> compression/decompression unavailable
> OpenGL ES2.0 Renderer: Gallium 0.4 on llvmpipe
> Mesa warning: couldn't open libtxc_dxtn.so, software DXTn
> compression/decompression unavailable
> OpenGL Renderer: Gallium 0.4 on i915 (chipset: 945GM)

I re-checked this problem, for egl_gallium driver, this problem is fixed no
matter using eglGetConfigs or eglChooseConfig.
jammy at jammy-ThinkPad-T400:~/tests$ EGL_LOG_LEVEL=debug EGL_SOFTWARE=1
./renderer_info
libEGL debug: EGL search path is /usr/lib/egl
libEGL debug: added /usr/lib/egl/egl_gallium.so to module array
libEGL debug: dlopen(/usr/lib/egl/egl_gallium.so)
libEGL info: use X11 for display 0x13bba90
libEGL info: use software fallback
libEGL debug: searching for pipe module swrast
libEGL debug: loaded /usr/lib/egl/pipe_swrast.so
libEGL debug: the best driver is Gallium
libEGL debug: searching for st module GL
libEGL debug: loaded /usr/lib/egl/st_GL.so
OpenGL ES2.0 Renderer: Gallium 0.4 on softpipe
OpenGL Renderer: Mesa DRI Mobile Intel® GM45 Express Chipset GEM 20100330
DEVELOPMENT

But with egl_dri2 driver, there is segmentation fault.
jammy at jammy-ThinkPad-T400:~/tests$ EGL_LOG_LEVEL=debug EGL_DRIVER=egl_dri2
./renderer_info
libEGL debug: EGL search path is /usr/lib/egl
libEGL debug: added /usr/lib/egl/egl_dri2.so to module array
libEGL debug: dlopen(/usr/lib/egl/egl_dri2.so)
Segmentation fault

Because I am using an x86_64 system with a possible buggy gdb, it seems hard to
debug the application and get the backtrace currently. But I can confirm that
the segfault happens in eglInitialize.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list