Jump to content

Help with Arch


Recommended Posts

Hello,

 

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, ( note 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 with decent graphics, LET ME KNOW! I'm going to compile ther kernel with the ATI drivers built into them.

 

thanks,

 

-Luis

Link to comment
Share on other sites

  • 5 months later...
Guest timosa
$ glxgears
libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering

 

Try adding yourself to the "video" group.

 

Timo

Link to comment
Share on other sites

  • 4 months later...

<BUMP> from someone suffering similar problems.

 

I get the same LibGL errors when running OpenGL-related things as my normal user (no problems with root). glxgears outputs and behaves exactly the same as described above.

 

I joined the video group, but this hasn't made any difference.

 

The difference for me is I get the same amount of output from glxinfo whether running it as root, or user.

 

Also of note, is I don't have any section like this in my xorg.conf:

 

Section "DRI"
   Mode "0666"
EndSection

 

How would I determine how this section should be written for my system? [My graphics card is Intel 82852/82855GM/GME, using the i915 driver, kernel 2.6.12-r1 on Gentoo unstable]

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...