You are not logged in.

#1 2004-10-03 20:05:11

Jet2k5
Member
Registered: 2004-10-03
Posts: 37

Better performance from my ATI card?

Hello,

This is my first post here in ArchLinux, I've been using Arch for no more than about 2 weeks or so.  I'm having some troubles with my ATI Radeon Mobility M6 32MB video card.

My frames are very low, usually in Mandrake I was able to get aroud 3500 now this is what I get, ( not the error when I run it from user )

$ glxgears
libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering
648 frames in 5.0 seconds = 129.600 FPS
678 frames in 5.0 seconds = 135.600 FPS
678 frames in 5.0 seconds = 135.600 FPS
678 frames in 5.0 seconds = 135.600 FPS
X connection to :0.0 broken (explicit kill or server shutdown).

I have looked into the Error and I added something about DRI in my xorg config, I have not re-started X yet because I'm currently in the process of downloading Americas Army.

This is what I get when I run glxgears from root,

# glxgears
1894 frames in 5.0 seconds = 378.800 FPS
1898 frames in 5.0 seconds = 379.600 FPS
1890 frames in 5.0 seconds = 378.000 FPS
1879 frames in 5.0 seconds = 375.800 FPS
Broken pipe

As you can see the numbers go up.  I have looked around the board and have found that some people have had the same problem, so I googled a bit and adding the DRI section to xorg.conf seemed to fix the problem for most cases.

This is what I get when I run glxinfo as a user,

$ glxinfo
name of display: :0.0
Segmentation fault

but once again when I run it as root everything seems to work,

# 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

And finally I think that I might have some kind of problem with my refresh rate I looked at some posts around here and it said to run ' xrandr ' and this is what I got,

$ xrandr
 SZ:    Pixels          Physical       Refresh
*0   1024 x 768    ( 347mm x 260mm )  *60
 1    800 x 600    ( 347mm x 260mm )   60
 2    640 x 350    ( 347mm x 260mm )   60
 3    640 x 400    ( 347mm x 260mm )   60
 4    720 x 400    ( 347mm x 260mm )   60
 5    640 x 480    ( 347mm x 260mm )   60
 6    832 x 624    ( 347mm x 260mm )   60
Current rotation - normal
Current reflection - none
Rotations possible - normal
Reflections possible - none

I think that I might have something totally different in my xorg.conf.  Here is my xorg.conf,

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
    Load  "freetype"
    # Load "xtt"
    Load  "extmod"
    Load  "glx"
    Load  "dri"
    Load  "dbe"
    Load  "record"
    Load  "xtrap"
    Load  "type1"
    # Load  "speedo"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "ExplorerPS/2"
    Option        "Device" "/dev/input/mouse0"
    Option      "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
    Option        "XkbModel" "pc102"
    Option        "XkbLayout" "us"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
 ### Uncomment if you don't want to default to DDC:
#    HorizSync    31.5 - 57.0
#    VertRefresh  50.0 - 70.0
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "ati"
    Option      "DPMS"
    Option      "AGPMode" "4"
    Option      "EnablePageFlip" "true"
    Option      "AGPFastWrite" "true"
    Option      "BackingStore" "on"
    Option      "Accel"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes    "1024x768" "800x600"
    EndSubSection
EndSection

Section "DRI"
     Mode "0666"
EndSection

So If any of you guys have somethings that I add to hopfully bring some of those numbers up and actually be able to run Americas Army in Linux, and not having to use windows for it  smile

Thanks a lot for your time,

-Luis

Offline

#2 2004-10-03 21:35:30

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Better performance from my ATI card?

hi
there is a few other threads you can take a look at and also a wiki page, may give you a clue


arch + gentoo + initng + python = enlisy

Offline

#3 2004-10-03 23:13:08

Jet2k5
Member
Registered: 2004-10-03
Posts: 37

Re: Better performance from my ATI card?

yeah but some of those threads have options that are not fitted for my video card.  I'll check out the wiki tho, but I'm sure I've seen it before and was not helpfull for me.

-Luis

Edit: Nvm this looks like it might do some good !!! I'll try it out thanks

Offline

#4 2004-10-04 14:02:34

Jet2k5
Member
Registered: 2004-10-03
Posts: 37

Re: Better performance from my ATI card?

Well that didn't seem to work, so I think that I'm going to compile my own kernel again, thanks for the help.

-Luis

Offline

#5 2004-10-04 15:06:29

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Better performance from my ATI card?

to bad
maybe you can sell it and get an nvidia instead,
or change with a friend,


arch + gentoo + initng + python = enlisy

Offline

#6 2004-10-04 15:18:17

whatah
Member
Registered: 2003-08-10
Posts: 114

Re: Better performance from my ATI card?

If you didn't restart X, dri wouldn't be working, probably. You have to enable dri for your card. Then the permissions in the xorg.conf should take care of the segfault, hopefully. Finally, to raise the performance there are some options you can set in your video card device section, like AGPFastWrite and AGPMode that should give you a better performance, i have a m7 radeon if you want to see my config on how to speed it up.

Offline

#7 2004-10-04 23:43:58

Jet2k5
Member
Registered: 2004-10-03
Posts: 37

Re: Better performance from my ATI card?

Sure!!! I might compile the kernel like I did for Mandrake that pretty much covered all the problems, just reading a little bit more on it.  Also that will be awesome if you can give me your xorg.conf , thanks!!!

-Luis

Offline

Board footer

Powered by FluxBB