Bug 2276 - Poor 3d performance of Radeon M6 LY
Summary: Poor 3d performance of Radeon M6 LY
Status: RESOLVED NOTABUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/R100 (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: low normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-14 09:25 UTC by Tomasz Jarzynka
Modified: 2007-02-15 14:03 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Tomasz Jarzynka 2005-01-14 09:25:39 UTC
Hi,

3D video rendered with my Radeon Mobility is very slow.
I've come across another similar report on the net, but found no solution.

I own an IBM Thinkpad T40, my friend does as well. The only difference between
the two is apparently the graphics card - I have Radeon M6 LY
and he has M7 LW if I recall correctly. We both have a similar
Linux configuration, with 2.6 kernels, X.org 6.8.x (6.8.1-6mdk for me) and agpgart
(both cards get initialized at 4x mode).

There are no errors reported by dmesg or syslog that I could relate
to this issue, still I get ~300fps in glxgears, and my friend gets ~1000fps.
A triple boost can't be caused by a minor design enhancement...

I also seem to have all the proper modules loaded (see the
output of glxinfo attached).

What is going on here? Why is 3d performance so sluggish under X?
The card works well with Windows.
Is this issue known at all? If this report is a duplicate please
excuse me, but I searched the db and found no similar reports.

dmesg: http://tomee.kadu.net/dmesg.txt
xorg.conf: http://tomee.kadu.net/xorg.conf
Xorg.0.log: http://tomee.kadu.net/Xorg.0.log


Output of glxinfo:
--
[root@ixtlan /home/tomee/atitvout]# 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_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
    GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
    GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control,
    GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_swap_control,
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_video_sync,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig
OpenGL vendor string: Tungsten Graphics, Inc.
OpenGL renderer string: Mesa DRI Radeon 20030328 AGP 4x x86/MMX/SSE2 NO-TCL
OpenGL version string: 1.2 Mesa 6.1
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,
    GL_ARB_texture_border_clamp, GL_ARB_texture_compression,
    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_window_pos, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
    GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
    GL_EXT_clip_volume_hint, GL_EXT_compiled_vertex_array, GL_EXT_convolution,
    GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_histogram,
    GL_EXT_packed_pixels, GL_EXT_polygon_offset, GL_EXT_rescale_normal,
    GL_EXT_secondary_color, GL_EXT_separate_specular_color, GL_EXT_subtexture,
    GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
    GL_EXT_texture_env_add, 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_APPLE_packed_pixels, GL_ATI_texture_env_combine3,
    GL_ATI_texture_mirror_once, GL_IBM_rasterpos_clip,
    GL_IBM_texture_mirrored_repeat, GL_MESA_ycbcr_texture, GL_MESA_window_pos,
    GL_NV_blend_square, GL_NV_light_max_exponent, GL_NV_texture_rectangle,
    GL_NV_texgen_reflection, GL_SGI_color_matrix, GL_SGI_color_table,
    GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod
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 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x24 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x25 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x27 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x28 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x29 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x2a 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2b 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x2c 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x2d 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x2e 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2f 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x30 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x31 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x32 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x47 32 tc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
--
Comment 1 Tomasz Jarzynka 2005-01-14 10:02:01 UTC
Whats more:
[tomee@ixtlan ~]$ export LIBGL_DEBUG=1
[tomee@ixtlan ~]$ export MESA_DEBUG=1
[tomee@ixtlan ~]$ glxgears
libGL error: dlopen /usr/X11R6/lib/modules/dri/radeon_dri.so failed
(/usr/X11R6/lib/modules/dri/radeon_dri.so: undefined symbol: _glapi_get_dispatch)
libGL error: unable to find driver: radeon_dri.so
libGL error: dlopen /usr/X11R6/lib/modules/dri/radeon_dri.so failed
(/usr/X11R6/lib/modules/dri/radeon_dri.so: undefined symbol: _glapi_get_dispatch)
libGL error: unable to find driver: radeon_dri.so
1451 frames in 5.0 seconds = 290.200 FPS
1488 frames in 5.0 seconds = 297.600 FPS
1364 frames in 5.0 seconds = 272.800 FPS


Ummmmmmm... what?
Comment 2 Tomasz Jarzynka 2005-01-14 14:01:24 UTC
Okay, 
to be sure I downloaded the latest CVS head. 
Everything loads OK, but I still get 275fps. 
Please, shed some light on this issue, please... 
Comment 3 Alex Deucher 2005-01-17 06:27:38 UTC
re-assigning to mesa
Comment 4 Christian Kellner 2005-07-22 09:04:14 UTC
I also have this bug here. It is very annoying, if I can do something to help
here please let me know. Thanks!
Comment 5 James Le Cuirot 2006-01-12 20:43:08 UTC
Not sure if your card supports it but try putting this in /etc/drirc.

<driconf>
    <device screen="0" driver="radeon">
        <application name="all">
            <option name="hyperz" value="true" />
        </application>
    </device>
</driconf>
Comment 6 Roland Scheidegger 2006-05-07 05:19:05 UTC
I am not exactly sure what the bug here is? M6 is a low-end device. You can
boost performance if you enable color tiling (enabled by default with xorg
6.9/7.0), enable page flip (in xorg.conf) and hyperz with driconf. (16bit depth
would also help.)
As for the M6-M7 comparison, this is NOT a "minor design enhancement". M6
corresponds to a radeon 7000, M7 to a radeon 7500. M7 has (depending on the
exact clocks, I believe they can vary a bit for the mobile parts) twice the
memory bandwidth, roughly 3 times the raw rendering performance (2 pipes instead
of 1 and clocked higher), not to mention hardware tcl (doesn't matter for
glxgears, though).
Apart from the things mentioned above, I don't think there is really that much
more performance to gain for that chip.
Comment 7 Erik Andren 2006-05-10 06:27:29 UTC
As Roland stated, performance is what to be expected for a R6 chipset. 
Comment 8 Jochen 2007-02-15 13:54:46 UTC
(In reply to comment #7)
> As Roland stated, performance is what to be expected for a R6 chipset. 

I've also got an Radeon 7000 (aka Radeon LY M6) in my Sony Z1RMP notebook and I get 568 FPS with glxgears (default window size) using the opensource radeon driver under openSUSE 10.2.

My config is:

Section "Device"
  BoardName    "Radeon LY"
  BusID        "1:0:0"
  Driver       "radeon"
  Identifier   "Device[0]"
  Option       "SaXDualHead"
  Option       "IgnoreEDID"
  Option       "MergedFB"
  Option       "SaXDualMonitorVendor" "--> VESA"
  Option       "CRT2VRefresh" "50-60"
  Option       "CRT2Position" "Clone"
  Option       "MetaModes" "1400x1050,1024x768;1280x1024,1024x768;1280x960,1024x768;1366x768,1024x768;1280x800,10
24x768;1152x864,1024x768;1280x768,1024x768;1024x768,1024x768;1280x600,1280x600;1024x600,1024x600;800x600,800x600;
768x576,768x576;640x480,640x480"
  Option       "SaXDualOrientation" "LeftOf"
  Option       "SaXDualResolution" "1024x768"
  Option       "SaXDualMode" "Clone"
  Option       "CRT2HSync" "31-50"
  Option       "SaXDualHSync" "31-50"
  Option       "SaXDualMonitorModel" "1024X768@60HZ"
  Option       "SaXDualVSync" "50-60"
  Option       "XAANoOffscreenPixmaps" "true"
  Option       "DRI" "true"
  Option       "AGPMode" "4"
  Option       "EnablePageFlip" "true"
  Option       "ColorTiling" "true"
  Option       "AGPFastWrite" "true"
  Screen       0
  VendorName   "ATI"
EndSection

Not that much, but I guess much more FPS won't be possible with this gfx card. Please correct me if I'm wrong! *g*

HTH,
Jochen
Comment 9 Jochen 2007-02-15 14:03:01 UTC
Sorry, 

I forgot to mention that Xorg's version is 7.2 and I'm using a color depth of 16 bits at a resolution of 1400x1050. You can't use a higher color depth with this resolution for the gfx card has only 16 MB of RAM installed while having DRI available (see [1]).

Keep on rockin'
Jochen
[1] http://home.tiscalinet.ch/r.rosenberg/linux/start.html


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.