Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ati rage128 + glx = trouble
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
blitz303
n00b
n00b


Joined: 20 May 2004
Posts: 45

PostPosted: Mon Jul 19, 2004 11:25 pm    Post subject: ati rage128 + glx = trouble Reply with quote

Hello, I have an ati rage 128 graphics card on an asus CUV4x mainboard w/ a Pentium III coppermine processor. I am currently using kernel version 2.6.5-gentoo-r1 and XFree86 Version 4.3.0.1.

I have been getting weird errors with my graphics. Most screensavers don't work. I can run atunnel for about 1 seccond before my graphics locks up. At this point my computer still works, except that the screen display remains locked and frozen. I need to ssh into the machine to reboot. Also, aggpart keeps putting my card into 1x mode, even though the card and the mainboard are both capable of 4x. I am also concerned with a more than slow glx gears.

Here is all revelant information:

Code:

# lspci -v
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8605 [ProSavage PM133] (rev 81)
        Subsystem: Asustek Computer, Inc. CUV4X mainboard
        Flags: bus master, medium devsel, latency 0
        Memory at fc000000 (32-bit, prefetchable)
        Capabilities: [a0] AGP version 2.0
        Capabilities: [c0] Power Management version 2

0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8605 [PM133 AGP] (prog-if 00 [Normal decode])
        Flags: bus master, 66Mhz, medium devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 0000d000-0000dfff
        Memory behind bridge: f7000000-f7dfffff
        Prefetchable memory behind bridge: f7f00000-fbffffff
        Expansion ROM at 0000d000 [disabled] [size=4K]
        Capabilities: [80] Power Management version 2

...

0000:01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 RF/SG AGP (prog-if 00 [VGA])
        Subsystem: ATI Technologies Inc Magnum/Xpert128/X99/Xpert2000
        Flags: bus master, stepping, 66Mhz, medium devsel, latency 64, IRQ 11
        Memory at f8000000 (32-bit, prefetchable)
        I/O ports at d800 [size=256]
        Memory at f7000000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [50] AGP version 2.0
        Capabilities: [5c] Power Management version 1


I'm guessing agp version 2.0 is capable of 4x, but agpgart insists on 1x:
Code:

# tail -n 100 /var/log/messages|grep agpgart
Jul 19 18:44:19 bing165 agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
Jul 19 18:44:19 bing165 agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
Jul 19 18:44:19 bing165 agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode


The problem seems also to lie in glx, which is not working up to expectations:

Code:


# 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: SGI
client glx version string: 1.2
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: VA Linux Systems, Inc.
OpenGL renderer string: Mesa DRI Rage128 20020221 AGP 1x x86/MMX/SSE
OpenGL version string: 1.2 Mesa 4.0.4
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_env_add,
    GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
    GL_EXT_convolution, GL_EXT_compiled_vertex_array, GL_EXT_histogram,
    GL_EXT_packed_pixels, GL_EXT_polygon_offset, GL_EXT_rescale_normal,
    GL_EXT_texture3D, GL_EXT_texture_env_add, GL_EXT_texture_object,
    GL_EXT_vertex_array, GL_IBM_rasterpos_clip, GL_MESA_window_pos,
    GL_NV_texgen_reflection, GL_SGI_color_matrix, GL_SGI_color_table
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess...

# glxgears
915 frames in 5.0 seconds = 183.000 FPS
1046 frames in 5.0 seconds = 209.200 FPS
1044 frames in 5.0 seconds = 208.800 FPS


I have direct rendering enabled at the kernel level, and I have all the required lines in my XFree86Config :

Code:

Section "Device"
    Identifier  "** ATI Rage 128 based (generic)       [r128]"
    Driver      "r128"
    VideoRam   32768
    # Insert Clocks lines here if appropriate
EndSection

...

Section "DRI"
    Mode 0666
EndSection


I would appreciate it if anyone at all could figure out the problem w/ my graphics card. Thanks in advance.

James M. Leddy
Back to top
View user's profile Send private message
blitz303
n00b
n00b


Joined: 20 May 2004
Posts: 45

PostPosted: Fri Jul 23, 2004 1:56 am    Post subject: please help Reply with quote

is there no solution?
Back to top
View user's profile Send private message
jasonflores
n00b
n00b


Joined: 12 Feb 2004
Posts: 6
Location: Ft. Lauderdale, FL

PostPosted: Fri Jul 23, 2004 2:47 am    Post subject: Reply with quote

I am using a ATI Rage 128 as well. I have no problems with the card. I have tested several screen savers and they all seem to work fine. I am running a 2.0GHz P4 on a Compaq Motherboard .I am running 2.6.8-rc2-love1 for my kernel right now. I am also using Xorg instead of X-Free.

Here is the output of some of glxinfo on my system:
Code:
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_SGI_make_current_read, GLX_SGIS_multisample
client glx vendor string: SGI
client glx version string: 1.2
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_visual_select_group
GLX extensions:
    GLX_ARB_get_proc_address, GLX_EXT_import_context, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_MESA_swap_control, GLX_MESA_swap_frame_usage,
    GLX_SGI_video_sync
OpenGL vendor string: VA Linux Systems, Inc.
OpenGL renderer string: Mesa DRI Rage 128 20030328 AGP 4x x86/MMX+/SSE2
OpenGL version string: 1.2 Mesa 5.0.2
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_env_add,
    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_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_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_object, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
    GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat,
    GL_MESA_ycbcr_texture, GL_MESA_window_pos, GL_NV_texgen_reflection,
    GL_SGI_color_matrix, GL_SGI_color_table, GL_SGIS_generate_mipmap,
    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 16 tc  0 16  0 r  .  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
0x24 16 tc  0 16  0 r  .  .  5  6  5  0  0 16  8  0  0  0  0  0 0 Slow
0x25 16 tc  0 16  0 r  .  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
0x26 16 tc  0 16  0 r  .  .  5  6  5  0  0 16  8 16 16 16  0  0 0 Slow
0x27 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
0x28 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  8  0  0  0  0  0 0 Slow
0x29 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
0x2a 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16  0  0 0 Slow
0x2b 16 dc  0 16  0 r  .  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
0x2c 16 dc  0 16  0 r  .  .  5  6  5  0  0 16  8  0  0  0  0  0 0 Slow
0x2d 16 dc  0 16  0 r  .  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
0x2e 16 dc  0 16  0 r  .  .  5  6  5  0  0 16  8 16 16 16  0  0 0 Slow
0x2f 16 dc  0 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
0x30 16 dc  0 16  0 r  y  .  5  6  5  0  0 16  8  0  0  0  0  0 0 Slow
0x31 16 dc  0 16  0 r  y  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
0x32 16 dc  0 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16  0  0 0 Slow

My glxgears score is as follows (this is with a 16 bit screen depth).
Code:
5795 frames in 5.0 seconds = 1159.000 FPS
5794 frames in 5.0 seconds = 1158.800 FPS

My card is being put into 4x mode:
Code:
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode

In my xorg.conf file I have GLX and DRI enabled. My config for my video card is:
Code:
Section "Device"
    Identifier  "Card1"
    VendorName  "ATI Technologies Inc"
    BoardName   "Rage 128 Pro"
    Driver      "r128"
    Option      "AGPFastWrite"  "true"
    Option      "AGPMode"       "4"
EndSection

For the kernel configuration I have my motherboard agp controller (i845G = i8xx) selected for agpgart and rage128 selected for direct rendering manager. Both are configured as built-in modules.

Hope some of that is useful to you.

Jason
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum