https://bugs.freedesktop.org/show_bug.cgi?id=32285
--- Comment #10 from Jammy Zhou <[email protected]> 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@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@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@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. _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
