[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 100% cpu usage instead of using hardware acceleration



Knut Auvor Grythe schrieb:

Thanks, I checked all these infos, but they do not seem to fit for my situation (see below).

So, do I have - maybe - to delete something from MESA ? I work mostly with apt-get and I cannot remove MESA without also removing all that depends on :-( the ati module can be loaded into the kernel, XFree86 does not report problems and still - no hardware acceleration! maybe something with mtrr ? (How can I find out/ fix it?) -> something in menu.lst (-> grub?)


Something probably went wrong, and you are using software rendering. fglrxinfo and glxinfo probably mentions "Mesa GLX indirect", no Direct
Rendering. This means slooow 3D ;-)
leo at mudita:~$ fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY FIREGL T2 Pentium 4 (SSE2) (FireGL) (GNU_ICD)
OpenGL version string: 1.3.4893 (X4.3.0-8.10.19)

-->> no indirect MESA!

leo at mudita:~$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
   GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
   GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float,
   GLX_ATI_render_texture
GLX extensions:
   GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY FIREGL T2 Pentium 4 (SSE2) (FireGL) (GNU_ICD)
OpenGL version string: 1.3.4893 (X4.3.0-8.10.19)
OpenGL extensions:
GL_ARB_multitexture, GL_EXT_texture_env_add, GL_EXT_compiled_vertex_array,
   GL_S3_s3tc, GL_ARB_depth_texture, GL_ARB_fragment_program,
   GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader, GL_ARB_imaging,
   GL_ARB_multisample, GL_ARB_occlusion_query, GL_ARB_point_parameters,
   GL_ARB_point_sprite, GL_ARB_shader_objects, GL_ARB_shading_language_100,
   GL_ARB_shadow, GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp,
   GL_ARB_texture_compression, GL_ARB_texture_cube_map,
   GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
   GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3,
   GL_ARB_texture_mirrored_repeat, GL_ARB_transpose_matrix,
   GL_ARB_vertex_blend, GL_ARB_vertex_buffer_object, GL_ARB_vertex_program,
   GL_ARB_vertex_shader, GL_ARB_window_pos, GL_ATI_draw_buffers,
   GL_ATI_element_array, GL_ATI_envmap_bumpmap, GL_ATI_fragment_shader,
   GL_ATI_map_object_buffer, GL_ATI_separate_stencil,
   GL_ATI_texture_env_combine3, GL_ATI_texture_float,
   GL_ATI_texture_mirror_once, GL_ATI_vertex_array_object,
   GL_ATI_vertex_attrib_array_object, GL_ATI_vertex_streams,
   GL_ATIX_texture_env_combine3, GL_ATIX_texture_env_route,
   GL_ATIX_vertex_shader_output_point_size, GL_EXT_abgr, GL_EXT_bgra,
   GL_EXT_blend_color, GL_EXT_blend_func_separate, GL_EXT_blend_minmax,
   GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
   GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
   GL_EXT_packed_pixels, GL_EXT_point_parameters, GL_EXT_polygon_offset,
   GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap,
   GL_EXT_texgen_reflection, GL_EXT_texture3D,
   GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map,
   GL_EXT_texture_edge_clamp, GL_EXT_texture_env_combine,
   GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic,
   GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp,
   GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array,
   GL_EXT_vertex_shader, GL_HP_occlusion_test, GL_NV_blend_square,
   GL_NV_occlusion_query, GL_NV_texgen_reflection, GL_SGI_color_matrix,
   GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays
glu version: 1.3
glu extensions:
   GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

  visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x23 24 tc  0 24  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  1 0 None
0x24 24 tc  0 24  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  1 0 None
0x25 24 tc  0 24  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  1 0 None
0x26 24 tc  0 24  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  1 0 None
0x27 24 tc  0 24  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x28 24 tc  0 24  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x29 24 tc  0 24  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
0x2a 24 tc  0 24  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
0x2b 24 dc  0 24  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  1 0 None
0x2c 24 dc  0 24  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  1 0 None
0x2d 24 dc  0 24  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  1 0 None
0x2e 24 dc  0 24  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  1 0 None
0x2f 24 dc  0 24  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x30 24 dc  0 24  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x31 24 dc  0 24  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
0x32 24 dc  0 24  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
leo at mudita:~$

You should check out what the drivers print in /var/log/XFree86.0.log
and see where it fails. It will probably be a lot more helpful than
dmesg. Look for lines starting with (EE) or (WW) (Errors and Warnings)

->>> some warnings, but seem not to be related to GL, no errors at all.


(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
....
(II) LoadModule: "GLcore"
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_clip.o": No symbols found Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_norm.o": No symbols found Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_xform.o": No symbols found Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_vertex.o": No symbols found
(II) Module GLcore: vendor="The XFree86 Project"
       compiled for 4.3.0.1, module version = 1.0.0
       ABI class: XFree86 Server Extension, version 0.2
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="The XFree86 Project"
       compiled for 4.3.0.1, module version = 1.0.0
       ABI class: XFree86 Server Extension, version 0.2
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Reloading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Loading extension GLX
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="The XFree86 Project"
       compiled for 4.3.0.1, module version = 1.0.0
       ABI class: XFree86 Server Extension, version 0.2
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
(II) Module drm: vendor="The XFree86 Project"
       compiled for 4.3.0.1, module version = 1.0.0
       ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension XFree86-DRI
(II) LoadModule: "fglrx"
(II) Loading /usr/X11R6/lib/modules/drivers/fglrx_drv.o
(II) Module fglrx: vendor="FireGL - ATI Technologies Inc."
       compiled for 4.3.0.1, module version = 8.10.19
       Module class: XFree86 Video Driver
       ABI class: XFree86 Video Driver, version 0.6
...
(WW) fglrx(0): board is an unknown third party board, chipset is supported
...
(WW) fglrx(0): Only single display is connected, DesktopOption will be ignored
...
(II) fglrx(0): Splitting WC range: base: 0xe0000000, size: 0x7ad000
(II) fglrx(0): Splitting WC range: base: 0xe0400000, size: 0x3ad000
(II) fglrx(0): Splitting WC range: base: 0xe0600000, size: 0x1ad000
(II) fglrx(0): Splitting WC range: base: 0xe0700000, size: 0xad000
(II) fglrx(0): Splitting WC range: base: 0xe0780000, size: 0x2d000
(II) fglrx(0): Splitting WC range: base: 0xe07a0000, size: 0xd000
(II) fglrx(0): Splitting WC range: base: 0xe07a8000, size: 0x5000
(==) fglrx(0): Write-combining range (0xe07ac000,0x1000)
(==) fglrx(0): Write-combining range (0xe07a8000,0x5000)
(==) fglrx(0): Write-combining range (0xe07a0000,0xd000)
(==) fglrx(0): Write-combining range (0xe0780000,0x2d000)
(==) fglrx(0): Write-combining range (0xe0700000,0xad000)
(==) fglrx(0): Write-combining range (0xe0600000,0x1ad000)
(==) fglrx(0): Write-combining range (0xe0400000,0x3ad000)
(==) fglrx(0): Write-combining range (0xe0000000,0x7ad000)


thanks for further hints. I do not understand it as fglrx can be built, loaded into the kernel, but no acceleration,

greetings,

leo