Gentoo Archives: gentoo-user

From: Thomas Kahle <tom111@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Xorg Performance, on Intel Graphics
Date: Fri, 03 Apr 2009 12:45:13
Message-Id: 49D6048B.2000304@gmx.de
In Reply to: [gentoo-user] Xorg Performance, on Intel Graphics by Thomas Kahle
1 Thomas Kahle wrote:
2 > Hi everyone,
3 >
4 > I use the thinkpad X61s with Intel Graphics Mobile GM965/GL960 running
5 > Gentoo.
6 >
7 > Since an update on Monday I cannot get my X to work the smooth way it
8 > was working before.
9 >
10 > 1) The 2D performance feels very slack, Redrawing Windows just takes
11 > longer than it took before and reaction times in general are worse.
12 > 2) glxgears performance is down to 50FPS (200FPS before, but I remember
13 > 1000FPS a year ago), but reading about kernel 2.6.29 probably it should
14 > be this way.
15 > 3) Googleearth is very slow
16 > 4) X consumes more CPU 10-14 percent when showing 'top' in an xterm, up
17 > to a whole cpu when using firefox.
18 > 5) After using it a while(2 hours, say) X consumes a lot of memory and
19 > responsiveness and performance start getting worse and worse. Feels like
20 > some memory leakage.
21
22 One very important thing seems to be to disable "Synchronization with
23 vertical refresh" in driconf. Up to now it seems to restore the old
24 behaviour for 1-4.
25 Appearently this options default value was changed from mesa 7.3 to 7.4
26
27 >
28 > The things updated are kernel from 2.6.27 to 2.6.29, mesa from 7.3 to
29 > 7.4, intel driver from 2.6.1 to 2.6.3.
30 >
31 > The Xorg Version is 1.5.3 and unchanged.
32 >
33 > Unfortunately I upgraded all these things at once, which is a mistake,
34 > but well.
35 >
36 > Now, the fun thing is that switching back makes the sluggish behaviour
37 > 1-4, go away, but 5 stays and I thought I reverted everything back to
38 > the original state but it is still there.
39 >
40 > Does anybody know a consistent guide how to configure kernel and Xorg to
41 > be on the safe side for the future ?
42 >
43 > Here is glxinfo, just if it matters
44 > ---------------
45 > name of display: :0.0
46 > display: :0 screen: 0
47 > direct rendering: Yes
48 > server glx vendor string: SGI
49 > server glx version string: 1.2
50 > server glx extensions:
51 > GLX_ARB_multisample, GLX_EXT_import_context,
52 > GLX_EXT_texture_from_pixmap,
53 > GLX_EXT_visual_info, GLX_EXT_visual_rating,
54 > GLX_MESA_copy_sub_buffer,
55 > GLX_OML_swap_method, GLX_SGI_swap_control, GLX_SGIS_multisample,
56 >
57 > GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
58 >
59 > client glx vendor string: SGI
60 >
61 > client glx version string: 1.4
62 >
63 > client glx extensions:
64 >
65 > GLX_ARB_get_proc_address, GLX_ARB_multisample,
66 > GLX_EXT_import_context,
67 > GLX_EXT_visual_info, GLX_EXT_visual_rating,
68 > GLX_MESA_allocate_memory,
69 > GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
70 >
71 > GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
72 > GLX_OML_sync_control,
73 > GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
74 >
75 > GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
76 >
77 > GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
78 >
79 > GLX version: 1.2
80 >
81 > GLX extensions:
82 >
83 > GLX_ARB_get_proc_address, GLX_ARB_multisample,
84 > GLX_EXT_import_context,
85 > GLX_EXT_visual_info, GLX_EXT_visual_rating,
86 > GLX_MESA_copy_sub_buffer,
87 > GLX_MESA_swap_control, GLX_MESA_swap_frame_usage,
88 > GLX_OML_swap_method,
89 > GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample,
90 >
91 > GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
92 >
93 > OpenGL vendor string: Tungsten Graphics, Inc
94 >
95 > OpenGL renderer string: Mesa DRI Intel(R) 965GM GEM 20090326 2009Q1 RC2
96 > x86/MMX/SSE2
97 > OpenGL version string: 2.0 Mesa 7.4
98 >
99 > OpenGL shading language version string: 1.10
100 >
101 > OpenGL extensions:
102 >
103 > GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program,
104 >
105 > GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader,
106 >
107 > GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_occlusion_query,
108 >
109 > GL_ARB_pixel_buffer_object, GL_ARB_point_parameters,
110 > GL_ARB_point_sprite,
111 > GL_ARB_shader_objects, GL_ARB_shading_language_100, GL_ARB_shadow,
112 >
113 > GL_ARB_texture_border_clamp, GL_ARB_texture_compression,
114 >
115 > GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
116 >
117 > GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
118 >
119 > GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
120 >
121 > GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle,
122 >
123 > GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object,
124 >
125 > GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ARB_window_pos,
126 >
127 > GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
128 >
129 > GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate,
130 >
131 > GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
132 >
133 > GL_EXT_clip_volume_hint, GL_EXT_cull_vertex,
134 > GL_EXT_compiled_vertex_array,
135 > GL_EXT_copy_texture, GL_EXT_draw_range_elements,
136 >
137 > GL_EXT_framebuffer_object, GL_EXT_fog_coord,
138 > GL_EXT_multi_draw_arrays,
139 > GL_EXT_packed_depth_stencil, GL_EXT_packed_pixels,
140 >
141 > GL_EXT_pixel_buffer_object, GL_EXT_point_parameters,
142 >
143 > GL_EXT_polygon_offset, GL_EXT_rescale_normal,
144 > GL_EXT_secondary_color,
145 > GL_EXT_separate_specular_color, GL_EXT_shadow_funcs,
146 > GL_EXT_stencil_wrap,
147 > GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D,
148 >
149 > GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
150 >
151 > GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
152 >
153 > GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias,
154 >
155 > GL_EXT_texture_object, GL_EXT_texture_rectangle,
156 > GL_EXT_texture_sRGB,
157 > GL_EXT_vertex_array, GL_3DFX_texture_compression_FXT1,
158 >
159 > GL_APPLE_client_storage, GL_APPLE_packed_pixels,
160 >
161 > GL_ATI_blend_equation_separate, GL_ATI_texture_env_combine3,
162 >
163 > GL_ATI_separate_stencil, GL_IBM_rasterpos_clip,
164 >
165 > GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
166 >
167 > GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_MESA_window_pos,
168 >
169 > GL_NV_blend_square, GL_NV_light_max_exponent, GL_NV_point_sprite,
170 >
171 > GL_NV_texture_rectangle, GL_NV_texgen_reflection,
172 > GL_NV_vertex_program,
173 > GL_NV_vertex_program1_1, GL_OES_read_format,
174 > GL_SGIS_generate_mipmap,
175 > GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
176 >
177 > GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SUN_multi_draw_arrays
178 >
179 >
180 > 3 GLX Visuals
181 > visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
182 > id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
183 > ----------------------------------------------------------------------
184 > 0x21 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
185 > 0x22 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
186 > 0x71 32 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
187 >
188 > 36 GLXFBConfigs:
189 > visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
190 > id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
191 > ----------------------------------------------------------------------
192 > 0x72 0 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
193 > 0x73 0 tc 0 32 0 r . . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow
194 > 0x74 0 tc 0 32 0 r y . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
195 > 0x75 0 tc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow
196 > 0x76 0 tc 0 32 0 r y . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
197 > 0x77 0 tc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow
198 > 0x78 0 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
199 > 0x79 0 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
200 > 0x7a 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
201 > 0x7b 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
202 > 0x7c 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
203 > 0x7d 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
204 > 0x7e 0 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
205 > 0x7f 0 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
206 > 0x80 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
207 > 0x81 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
208 > 0x82 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
209 > 0x83 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
210 > 0x84 0 dc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
211 > 0x85 0 dc 0 32 0 r . . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow
212 > 0x86 0 dc 0 32 0 r y . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
213 > 0x87 0 dc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow
214 > 0x88 0 dc 0 32 0 r y . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
215 > 0x89 0 dc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow
216 > 0x8a 0 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
217 > 0x8b 0 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
218 > 0x8c 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
219 > 0x8d 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
220 > 0x8e 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
221 > 0x8f 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
222 > 0x90 0 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
223 > 0x91 0 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
224 > 0x92 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
225 > 0x93 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
226 > 0x94 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
227 > 0x95 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
228 > ---------------
229 >
230
231
232 --
233 Thomas Kahle
234
235 The fundamental theorem of algebra is open source. Like any other
236 mathematical theorem it can be applied free of charge and everybody
237 has access to its proof and can convince himself how it works. Why
238 should software be any different?

Attachments

File name MIME type
signature.asc application/pgp-signature