<br><br><div class="gmail_quote">2013/2/22 Michel Dänzer <span dir="ltr"><<a href="mailto:michel@daenzer.net" target="_blank">michel@daenzer.net</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Don, 2013-02-21 at 16:41 +0100, Yannick Meyer wrote:<br>
> Hi all,<br>
><br>
> I am currently wondering why I have a big difference in performance<br>
> between 2 Mesa drivers: egl_glx and egl_gallium.<br>
> I have already posted a mesasge 2 weeks ago on the mesa user list, but<br>
> I did not receive any answer. Please find below my previous mail<br>
><br>
> I am currently working on an ARM processor without graphical<br>
> acceleration (based on A5 without any GPU and neon instruction).<br>
> I used Open Embedded to build the distribution for my board, and<br>
> therefore Mesa was compiled with the whole system for the ARM board.<br>
><br>
> I made some test performance using egl_gears to find the best<br>
> configuration of the EGL library.<br>
> I am surprised by the difference between egl_glx and egl_gallium<br>
> driver.<br>
><br>
> I was expecting that the egl_gallium driver will be faster that the<br>
> egl_glx driver. The egl_glx driver is around 9-10 times faster than<br>
> egl_gallium.<br>
><br>
> Can someone explain me what could be the difference?<br>
<br>
</div>egl_glx uses the underlying GLX implementation, so its performance<br>
depends on that. You'll need to provide more details, e.g. the output of<br>
glxinfo in the environment you're running the tests in.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Earthling Michel Dänzer           |                   <a href="http://www.amd.com" target="_blank">http://www.amd.com</a><br>
Libre software enthusiast         |          Debian, X and DRI developer<br></font></span></blockquote><div> </div></div>Please find below the extract of glxinfo. But from what I know, glxinfo will give information about the GLX implementation, and no details about the gallium stuff.<br>
<br><br><br>name of display: :0<br>Mesa warning: couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable<br>Mesa warning: XMesaCreateWindowBuffer: depth mismatch between visual (32) and window (0)!<br>
<br>display: :0  screen: 0<br>direct rendering: Yes<br>server glx vendor string: Brian Paul<br>server glx version string: 1.4 Mesa 8.0.5<br>server glx extensions:<br>    GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,<br>
    GLX_MESA_release_buffers, GLX_ARB_get_proc_address,<br>    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating,<br>    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer<br>client glx vendor string: Brian Paul<br>
client glx version string: 1.4 Mesa 8.0.5<br>client glx extensions:<br>    GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,<br>    GLX_MESA_release_buffers, GLX_ARB_get_proc_address,<br>    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating,<br>
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer<br>GLX version: 1.4<br>GLX extensions:<br>    GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,<br>    GLX_MESA_release_buffers, GLX_ARB_get_proc_address,<br>    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating,<br>
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer<br>OpenGL vendor string: Brian Paul<br>OpenGL renderer string: Mesa X11<br>OpenGL version string: 2.1 Mesa 8.0.5<br>OpenGL shading language version string: 1.20<br>OpenGL extensions:<br>
    GL_ARB_multisample, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,<br>    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_copy_texture,<br>    GL_EXT_polygon_offset, GL_EXT_subtexture, GL_EXT_texture_object,<br>    GL_EXT_vertex_array, GL_EXT_compiled_vertex_array, GL_EXT_texture,<br>
    GL_EXT_texture3D, GL_IBM_rasterpos_clip, GL_ARB_point_parameters,<br>    GL_EXT_draw_range_elements, GL_EXT_packed_pixels, GL_EXT_point_parameters,<br>    GL_EXT_rescale_normal, GL_EXT_separate_specular_color,<br>    GL_EXT_texture_edge_clamp, GL_SGIS_generate_mipmap,<br>
    GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,<br>    GL_SGIS_texture_lod, GL_ARB_multitexture, GL_IBM_multimode_draw_arrays,<br>    GL_IBM_texture_mirrored_repeat, GL_3DFX_texture_compression_FXT1,<br>    GL_ARB_texture_cube_map, GL_ARB_texture_env_add, GL_ARB_transpose_matrix,<br>
    GL_EXT_blend_func_separate, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,<br>    GL_EXT_secondary_color, GL_EXT_texture_env_add,<br>    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias,<br>    GL_INGR_blend_func_separate, GL_MESA_resize_buffers, GL_NV_blend_square,<br>
    GL_NV_light_max_exponent, GL_NV_texgen_reflection,<br>    GL_NV_texture_env_combine4, GL_SUN_multi_draw_arrays,<br>    GL_ARB_texture_border_clamp, GL_ARB_texture_compression,<br>    GL_EXT_framebuffer_object, GL_EXT_texture_env_combine,<br>
    GL_EXT_texture_env_dot3, GL_MESA_window_pos, GL_NV_packed_depth_stencil,<br>    GL_NV_texture_rectangle, GL_NV_vertex_program, GL_ARB_depth_texture,<br>    GL_ARB_occlusion_query, GL_ARB_shadow, GL_ARB_shadow_ambient,<br>
    GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,<br>    GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,<br>    GL_ARB_window_pos, GL_ATI_envmap_bumpmap, GL_ATI_fragment_shader,<br>    GL_EXT_stencil_two_side, GL_EXT_texture_cube_map, GL_NV_depth_clamp,<br>
    GL_NV_fragment_program, GL_NV_point_sprite, GL_NV_vertex_program1_1,<br>    GL_APPLE_packed_pixels, GL_APPLE_vertex_array_object, GL_ARB_draw_buffers,<br>    GL_ARB_fragment_program, GL_ARB_fragment_shader, GL_ARB_shader_objects,<br>
    GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ATI_draw_buffers,<br>    GL_ATI_texture_env_combine3, GL_EXT_depth_bounds_test,<br>    GL_EXT_shadow_funcs, GL_EXT_stencil_wrap, GL_MESA_pack_invert,<br>    GL_MESA_ycbcr_texture, GL_ARB_depth_clamp, GL_ARB_fragment_program_shadow,<br>
    GL_ARB_half_float_pixel, GL_ARB_occlusion_query2, GL_ARB_point_sprite,<br>    GL_ARB_shading_language_100, GL_ARB_sync, GL_ARB_texture_non_power_of_two,<br>    GL_ARB_vertex_buffer_object, GL_ATI_blend_equation_separate,<br>
    GL_EXT_blend_equation_separate, GL_OES_read_format,<br>    GL_ARB_pixel_buffer_object, GL_ARB_texture_compression_rgtc,<br>    GL_ARB_texture_rectangle, GL_ATI_texture_compression_3dc,<br>    GL_EXT_pixel_buffer_object, GL_EXT_texture_compression_rgtc,<br>
    GL_EXT_texture_mirror_clamp, GL_EXT_texture_rectangle,<br>    GL_EXT_texture_sRGB, GL_EXT_texture_shared_exponent,<br>    GL_ARB_framebuffer_object, GL_EXT_framebuffer_blit,<br>    GL_EXT_framebuffer_multisample, GL_EXT_packed_depth_stencil,<br>
    GL_NV_fragment_program_option, GL_APPLE_object_purgeable,<br>    GL_ARB_vertex_array_object, GL_ATI_separate_stencil,<br>    GL_ATI_texture_mirror_once, GL_EXT_draw_buffers2, GL_EXT_draw_instanced,<br>    GL_EXT_gpu_program_parameters, GL_EXT_texture_array,<br>
    GL_EXT_texture_compression_latc, GL_EXT_texture_sRGB_decode,<br>    GL_EXT_timer_query, GL_MESA_texture_array, GL_ARB_copy_buffer,<br>    GL_ARB_draw_instanced, GL_ARB_half_float_vertex, GL_ARB_map_buffer_range,<br>    GL_ARB_texture_rg, GL_ARB_texture_swizzle, GL_ARB_vertex_array_bgra,<br>
    GL_EXT_separate_shader_objects, GL_EXT_texture_swizzle,<br>    GL_EXT_vertex_array_bgra, GL_NV_conditional_render,<br>    GL_ARB_draw_elements_base_vertex, GL_ARB_explicit_attrib_location,<br>    GL_ARB_fragment_coord_conventions, GL_ARB_provoking_vertex,<br>
    GL_EXT_provoking_vertex, GL_ARB_robustness, GL_ARB_texture_storage<br><br>2 GLX Visuals<br>    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav<br>  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat<br>
----------------------------------------------------------------------------<br>0x021 16 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  8 16 16 16 16  0 0 None<br>0x041 32 tc  0  32  0 r  y .   8  8  8  0 .  .  0 16  8 16 16 16  0  0 0 None<br>
<br>2 GLXFBConfigs:<br>    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav<br>  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat<br>----------------------------------------------------------------------------<br>
0x021 16 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  8 16 16 16 16  0 0 None<br>0x041 32 tc  0  32  0 r  y .   8  8  8  0 .  .  0 16  8 16 16 16 16  0 0 None<br><br>Regards,<br>Yannick<br>