[ltp] Xorg Performance, on Intel Graphics

Andrew Mason linux-thinkpad@linux-thinkpad.org
Fri, 3 Apr 2009 21:05:37 +1030


Yep I have the same problem here with X4500. I am guessing you are
using one of the distros with DRI2/ UXA ?



On Fri, Apr 3, 2009 at 8:02 PM, Thomas Kahle <tom111@gmx.de> wrote:
> Hi everyone,
>
> I use the thinkpad X61s with Intel Graphics Mobile GM965/GL960 running
> Gentoo.
>
> Since an update on Monday I cannot get my X to work the smooth way it
> was working before.
>
> 1) The 2D performance feels very slack, Redrawing Windows just takes
> longer than it took before and reaction times in general are worse.
> 2) glxgears performance is down to 50FPS (200FPS before, but I remember
> 1000FPS a year ago), but reading about kernel 2.6.29 probably it should
> be this way.
> 3) Googleearth is very slow
> 4) X consumes more CPU 10-14 percent when showing 'top' in an xterm, up
> to a whole cpu when using firefox.
> 5) After using it a while(2 hours, say) X consumes a lot of memory and
> responsiveness and performance start getting worse and worse. Feels like
> some memory leakage.
>
> The things updated are kernel from 2.6.27 to 2.6.29, mesa from 7.3 to
> 7.4, intel driver from 2.6.1 to 2.6.3.
>
> The Xorg Version is 1.5.3 and unchanged.
>
> Unfortunately I upgraded all these things at once, which is a mistake,
> but well.
>
> Now, the fun thing is that switching back makes the sluggish behaviour
> 1-4, go away, but 5 stays and I thought I reverted everything back to
> the original state but it is still there.
>
> Does anybody know a consistent guide how to configure kernel and Xorg to
> be on the safe side for the future ?
>
> Here is glxinfo, just if it matters
> ---------------
> name of display: :0.0
> display: :0 =A0screen: 0
> direct rendering: Yes
> server glx vendor string: SGI
> server glx version string: 1.2
> server glx extensions:
> =A0 =A0GLX_ARB_multisample, GLX_EXT_import_context,
> GLX_EXT_texture_from_pixmap,
> =A0 =A0GLX_EXT_visual_info, GLX_EXT_visual_rating,
> GLX_MESA_copy_sub_buffer,
> =A0 =A0GLX_OML_swap_method, GLX_SGI_swap_control, GLX_SGIS_multisample,
>
> =A0 =A0GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
>
> client glx vendor string: SGI
>
> client glx version string: 1.4
>
> client glx extensions:
>
> =A0 =A0GLX_ARB_get_proc_address, GLX_ARB_multisample,
> GLX_EXT_import_context,
> =A0 =A0GLX_EXT_visual_info, GLX_EXT_visual_rating,
> GLX_MESA_allocate_memory,
> =A0 =A0GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
>
> =A0 =A0GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
> GLX_OML_sync_control,
> =A0 =A0GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_syn=
c,
>
> =A0 =A0GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
>
> =A0 =A0GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
>
> GLX version: 1.2
>
> GLX extensions:
>
> =A0 =A0GLX_ARB_get_proc_address, GLX_ARB_multisample,
> GLX_EXT_import_context,
> =A0 =A0GLX_EXT_visual_info, GLX_EXT_visual_rating,
> GLX_MESA_copy_sub_buffer,
> =A0 =A0GLX_MESA_swap_control, GLX_MESA_swap_frame_usage,
> GLX_OML_swap_method,
> =A0 =A0GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample,
>
> =A0 =A0GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
>
> OpenGL vendor string: Tungsten Graphics, Inc
>
> OpenGL renderer string: Mesa DRI Intel(R) 965GM GEM 20090326 2009Q1 RC2
> x86/MMX/SSE2
> OpenGL version string: 2.0 Mesa 7.4
>
> OpenGL shading language version string: 1.10
>
> OpenGL extensions:
>
> =A0 =A0GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program=
,
>
> =A0 =A0GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader,
>
> =A0 =A0GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_occlusion_query,
>
> =A0 =A0GL_ARB_pixel_buffer_object, GL_ARB_point_parameters,
> GL_ARB_point_sprite,
> =A0 =A0GL_ARB_shader_objects, GL_ARB_shading_language_100, GL_ARB_shadow,
>
> =A0 =A0GL_ARB_texture_border_clamp, GL_ARB_texture_compression,
>
> =A0 =A0GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
>
> =A0 =A0GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
>
> =A0 =A0GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
>
> =A0 =A0GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle,
>
> =A0 =A0GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object,
>
> =A0 =A0GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ARB_window_pos,
>
> =A0 =A0GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
>
> =A0 =A0GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate,
>
> =A0 =A0GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
>
> =A0 =A0GL_EXT_clip_volume_hint, GL_EXT_cull_vertex,
> GL_EXT_compiled_vertex_array,
> =A0 =A0GL_EXT_copy_texture, GL_EXT_draw_range_elements,
>
> =A0 =A0GL_EXT_framebuffer_object, GL_EXT_fog_coord,
> GL_EXT_multi_draw_arrays,
> =A0 =A0GL_EXT_packed_depth_stencil, GL_EXT_packed_pixels,
>
> =A0 =A0GL_EXT_pixel_buffer_object, GL_EXT_point_parameters,
>
> =A0 =A0GL_EXT_polygon_offset, GL_EXT_rescale_normal,
> GL_EXT_secondary_color,
> =A0 =A0GL_EXT_separate_specular_color, GL_EXT_shadow_funcs,
> GL_EXT_stencil_wrap,
> =A0 =A0GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D,
>
> =A0 =A0GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
>
> =A0 =A0GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
>
> =A0 =A0GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias,
>
> =A0 =A0GL_EXT_texture_object, GL_EXT_texture_rectangle,
> GL_EXT_texture_sRGB,
> =A0 =A0GL_EXT_vertex_array, GL_3DFX_texture_compression_FXT1,
>
> =A0 =A0GL_APPLE_client_storage, GL_APPLE_packed_pixels,
>
> =A0 =A0GL_ATI_blend_equation_separate, GL_ATI_texture_env_combine3,
>
> =A0 =A0GL_ATI_separate_stencil, GL_IBM_rasterpos_clip,
>
> =A0 =A0GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
>
> =A0 =A0GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_MESA_window_pos,
>
> =A0 =A0GL_NV_blend_square, GL_NV_light_max_exponent, GL_NV_point_sprite,
>
> =A0 =A0GL_NV_texture_rectangle, GL_NV_texgen_reflection,
> GL_NV_vertex_program,
> =A0 =A0GL_NV_vertex_program1_1, GL_OES_read_format,
> GL_SGIS_generate_mipmap,
> =A0 =A0GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
>
> =A0 =A0GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SUN_multi_draw_arra=
ys
>
>
> 3 GLX Visuals
> =A0 visual =A0x =A0bf lv rg d st colorbuffer ax dp st accumbuffer =A0ms =
=A0cav
> =A0id dep cl sp sz l =A0ci b ro =A0r =A0g =A0b =A0a bf th cl =A0r =A0g =
=A0b =A0a ns b eat
> ----------------------------------------------------------------------
> 0x21 24 tc =A00 32 =A00 r =A0y =A0. =A08 =A08 =A08 =A08 =A00 24 =A08 =A00=
 =A00 =A00 =A00 =A00 0 None
> 0x22 24 dc =A00 32 =A00 r =A0y =A0. =A08 =A08 =A08 =A08 =A00 24 =A08 =A00=
 =A00 =A00 =A00 =A00 0 None
> 0x71 32 tc =A00 32 =A00 r =A0. =A0. =A08 =A08 =A08 =A08 =A00 =A00 =A00 =
=A00 =A00 =A00 =A00 =A00 0 None
>
> 36 GLXFBConfigs:
> =A0 visual =A0x =A0bf lv rg d st colorbuffer ax dp st accumbuffer =A0ms =
=A0cav
> =A0id dep cl sp sz l =A0ci b ro =A0r =A0g =A0b =A0a bf th cl =A0r =A0g =
=A0b =A0a ns b eat
> ----------------------------------------------------------------------
> 0x72 =A00 tc =A00 32 =A00 r =A0. =A0. =A08 =A08 =A08 =A08 =A00 =A00 =A00 =
=A00 =A00 =A00 =A00 =A00 0 None
> 0x73 =A00 tc =A00 32 =A00 r =A0. =A0. =A08 =A08 =A08 =A08 =A00 =A00 =A00 =
16 16 16 16 =A00 0 Slow
> 0x74 =A00 tc =A00 32 =A00 r =A0y =A0. =A08 =A08 =A08 =A08 =A00 =A00 =A00 =
=A00 =A00 =A00 =A00 =A00 0 None
> 0x75 =A00 tc =A00 32 =A00 r =A0y =A0. =A08 =A08 =A08 =A08 =A00 =A00 =A00 =
16 16 16 16 =A00 0 Slow
> 0x76 =A00 tc =A00 32 =A00 r =A0y =A0. =A08 =A08 =A08 =A08 =A00 =A00 =A00 =
=A00 =A00 =A00 =A00 =A00 0 None
> 0x77 =A00 tc =A00 32 =A00 r =A0y =A0. =A08 =A08 =A08 =A08 =A00 =A00 =A00 =
16 16 16 16 =A00 0 Slow
> 0x78 =A00 tc =A00 32 =A00 r =A0. =A0. =A08 =A08 =A08 =A08 =A00 24 =A08 =
=A00 =A00 =A00 =A00 =A00 0 None
> 0x79 =A00 tc =A00 32 =A00 r =A0. =A0. =A08 =A08 =A08 =A08 =A00 24 =A08 16=
 16 16 16 =A00 0 Slow
> 0x7a =A00 tc =A00 32 =A00 r =A0y =A0. =A08 =A08 =A08 =A08 =A00 24 =A08 =
=A00 =A00 =A00 =A00 =A00 0 None
> 0x7b =A00 tc =A00 32 =A00 r =A0y =A0. =A08 =A08 =A08 =A08 =A00 24 =A08 16=
 16 16 16 =A00 0 Slow
> 0x7c =A00 tc =A00 32 =A00 r =A0y =A0. =A08 =A08 =A08 =A08 =A00 24 =A08 =
=A00 =A00 =A00 =A00 =A00 0 None
> 0x7d =A00 tc =A00 32 =A00 r =A0y =A0. =A08 =A08 =A08 =A08 =A00 24 =A08 16=
 16 16 16 =A00 0 Slow
> 0x7e =A00 tc =A00 32 =A00 r =A0. =A0. =A08 =A08 =A08 =A08 =A00 24 =A08 =
=A00 =A00 =A00 =A00 =A00 0 None
> 0x7f =A00 tc =A00 32 =A00 r =A0. =A0. =A08 =A08 =A08 =A08 =A00 24 =A08 16=
 16 16 16 =A00 0 Slow
> 0x80 =A00 tc =A00 32 =A00 r =A0y =A0. =A08 =A08 =A08 =A08 =A00 24 =A08 =
=A00 =A00 =A00 =A00 =A00 0 None
> 0x81 =A00 tc =A00 32 =A00 r =A0y =A0. =A08 =A08 =A08 =A08 =A00 24 =A08 16=
 16 16 16 =A00 0 Slow
> 0x82 =A00 tc =A00 32 =A00 r =A0y =A0. =A08 =A08 =A08 =A08 =A00 24 =A08 =
=A00 =A00 =A00 =A00 =A00 0 None
> 0x83 =A00 tc =A00 32 =A00 r =A0y =A0. =A08 =A08 =A08 =A08 =A00 24 =A08 16=
 16 16 16 =A00 0 Slow
> 0x84 =A00 dc =A00 32 =A00 r =A0. =A0. =A08 =A08 =A08 =A08 =A00 =A00 =A00 =
=A00 =A00 =A00 =A00 =A00 0 None
> 0x85 =A00 dc =A00 32 =A00 r =A0. =A0. =A08 =A08 =A08 =A08 =A00 =A00 =A00 =
16 16 16 16 =A00 0 Slow
> 0x86 =A00 dc =A00 32 =A00 r =A0y =A0. =A08 =A08 =A08 =A08 =A00 =A00 =A00 =
=A00 =A00 =A00 =A00 =A00 0 None
> 0x87 =A00 dc =A00 32 =A00 r =A0y =A0. =A08 =A08 =A08 =A08 =A00 =A00 =A00 =
16 16 16 16 =A00 0 Slow
> 0x88 =A00 dc =A00 32 =A00 r =A0y =A0. =A08 =A08 =A08 =A08 =A00 =A00 =A00 =
=A00 =A00 =A00 =A00 =A00 0 None
> 0x89 =A00 dc =A00 32 =A00 r =A0y =A0. =A08 =A08 =A08 =A08 =A00 =A00 =A00 =
16 16 16 16 =A00 0 Slow
> 0x8a =A00 dc =A00 32 =A00 r =A0. =A0. =A08 =A08 =A08 =A08 =A00 24 =A08 =
=A00 =A00 =A00 =A00 =A00 0 None
> 0x8b =A00 dc =A00 32 =A00 r =A0. =A0. =A08 =A08 =A08 =A08 =A00 24 =A08 16=
 16 16 16 =A00 0 Slow
> 0x8c =A00 dc =A00 32 =A00 r =A0y =A0. =A08 =A08 =A08 =A08 =A00 24 =A08 =
=A00 =A00 =A00 =A00 =A00 0 None
> 0x8d =A00 dc =A00 32 =A00 r =A0y =A0. =A08 =A08 =A08 =A08 =A00 24 =A08 16=
 16 16 16 =A00 0 Slow
> 0x8e =A00 dc =A00 32 =A00 r =A0y =A0. =A08 =A08 =A08 =A08 =A00 24 =A08 =
=A00 =A00 =A00 =A00 =A00 0 None
> 0x8f =A00 dc =A00 32 =A00 r =A0y =A0. =A08 =A08 =A08 =A08 =A00 24 =A08 16=
 16 16 16 =A00 0 Slow
> 0x90 =A00 dc =A00 32 =A00 r =A0. =A0. =A08 =A08 =A08 =A08 =A00 24 =A08 =
=A00 =A00 =A00 =A00 =A00 0 None
> 0x91 =A00 dc =A00 32 =A00 r =A0. =A0. =A08 =A08 =A08 =A08 =A00 24 =A08 16=
 16 16 16 =A00 0 Slow
> 0x92 =A00 dc =A00 32 =A00 r =A0y =A0. =A08 =A08 =A08 =A08 =A00 24 =A08 =
=A00 =A00 =A00 =A00 =A00 0 None
> 0x93 =A00 dc =A00 32 =A00 r =A0y =A0. =A08 =A08 =A08 =A08 =A00 24 =A08 16=
 16 16 16 =A00 0 Slow
> 0x94 =A00 dc =A00 32 =A00 r =A0y =A0. =A08 =A08 =A08 =A08 =A00 24 =A08 =
=A00 =A00 =A00 =A00 =A00 0 None
> 0x95 =A00 dc =A00 32 =A00 r =A0y =A0. =A08 =A08 =A08 =A08 =A00 24 =A08 16=
 16 16 16 =A00 0 Slow
> ---------------
>
> --
> Thomas Kahle
>
> The fundamental theorem of algebra is open source. Like any other
> mathematical theorem it can be applied free of charge and everybody
> has access to its proof and can convince himself how it works. Why
> should software be any different?
>
>