LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   radeon 9250 with open source drivers? (https://www.linuxquestions.org/questions/linux-hardware-18/radeon-9250-with-open-source-drivers-436844/)

Mig21 04-19-2006 03:18 PM

radeon 9250 with open source drivers?
 
hello

i've been searching for help for 3 days now. overall i get the impression that the radeon 9250 is the last of the radeon line supported in open source drivers.

unfortunately, i can't get it to work. has anyone here set up this card with os drivers?

here's some info:

sapphire radeon 9250
128M ddr
64 bit
slackware 10.2

Code:

~$ /sbin/lspci
01:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 PRO] (rev 01)
01:00.1 Display controller: ATI Technologies Inc: Unknown device 5940 (rev 01)

Code:

~$ /sbin/lsmod | grep radeon
radeon                73600  1
drm                    56852  2 radeon
~$ /sbin/lsmod | grep agp
via_agp                7552  1
agpgart                28616  2 drm,via_agp

Code:

# dmesg | grep drm
[drm] Initialized drm 1.0.0 20040925
[drm] Initialized radeon 1.16.0 20050311 on minor 0: ATI Technologies Inc RV280 [Radeon 9200 PRO]
[drm] Loading R200 Microcode
[drm] Loading R200 Microcode
[drm] Loading R200 Microcode

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_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_allocate_memory,
    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 R200 20040929 AGP 1x x86/MMX+/3DNow!+ TCL
OpenGL version string: 1.3 Mesa 6.2.1
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,
    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_dot3,
    GL_ARB_texture_mirrored_repeat, GL_ARB_texture_rectangle,
    GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object,
    GL_ARB_vertex_program, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
    GL_EXT_blend_color, GL_EXT_blend_equation_separate,
    GL_EXT_blend_func_separate, 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_stencil_wrap, 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_blend_equation_separate, GL_ATI_texture_env_combine3,
    GL_ATI_texture_mirror_once, GL_IBM_rasterpos_clip,
    GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
    GL_MESA_pack_invert, 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

Code:

~$ glxgears
1993 frames in 5.0 seconds = 398.600 FPS
2273 frames in 5.0 seconds = 454.600 FPS
2266 frames in 5.0 seconds = 453.200 FPS

Code:

Section "Device"
    Identifier  "** ATI Radeon (generic)              [radeon]"
    Driver      "radeon"
    #VideoRam    65536
    # Insert Clocks lines here if appropriate

    #none of these make any significant difference
    #Option "AGPMode" "4"
    #Option "EnablePageFlip" "on"
    #Option "EnableDepthMoves" "on"
    # the following 1 gives black screen freeze
    #Option "AGPFastWrite" "1"
EndSection

by the look of it everything except glxgears looks in order. but the fact is that i can't play even quake 3 because the framerate is horrible.

to check i installed the same card in windows and that doesn't have any lag.

btw, before buying this card i used a radeon 7500 which worked perfectly out of the box.

please help

thanks in advance

update:

it doesn't work with fedora core 5 either but does work when i boot knoppix 4.0.2 booted with the radeon parameter!

knoppix comes with xfree86 4.3.0.1 and glxgears gives me:
Code:

# glxgears
4841 frames in 5.0 seconds = 968.200 FPS
4897 frames in 5.0 seconds = 979.400 FPS
4893 frames in 5.0 seconds = 978.600 FPS

which is not terribly impressive, but quake3 works smoothly

still i am no closer to figuring out how to make it work on slackware :(

mmarshall 04-19-2006 04:57 PM

Do you have this in your xorg.conf?
Code:

Section "DRI"
        Mode 0666
EndSection


Quantumstate 04-19-2006 05:27 PM

(I am tired of saying this)

You do not compile the DRM kernel module. This is done by Xorg.

Mig21 04-19-2006 05:50 PM

Quote:

Originally Posted by mmarshall
Do you have this in your xorg.conf?
Code:

Section "DRI"
        Mode 0666
EndSection


yep, ad 3d worked with my old radeon

rickh 04-19-2006 07:29 PM

You'll probably get some improvement by adding this to your Device Section in xorg.conf.

Option "AccelMethod" "exa"
Wiki

Are you using xorg 6.9 or higher?

Edit:
Another thing that will gain a little is changing your default color depth in xorg.conf to 16.

mmarshall 04-19-2006 08:15 PM

Quote:

Originally Posted by Quantumstate
You do not compile the DRM kernel module. This is done by Xorg.

Could you give me a reference for this? I have always compiled the kernel model.

Quote:

Originally Posted by rickh
You'll probably get some improvement by adding this to your Device Section in xorg.conf.

Option "AccelMethod" "exa"

I haven't had the best success with EXA. It makes Composite run fast, but it really slows down drawing. Has anyone else experienced this? (9200SE)


Mig21:

I'm not much of an expert in this stuff, but I would check to make sure that glxinfo and glxgears are linking to the same libGL.so. (use ldd)

Mig21 04-19-2006 08:31 PM

Quote:

You'll probably get some improvement by adding this to your Device Section in xorg.conf.

Option "AccelMethod" "exa"
Wiki
it had no effect at all :(

Quote:

Are you using xorg 6.9 or higher?
6.8.2 that comes with the latest slackware. is this the problem?

Quote:

Another thing that will gain a little is changing your default color depth in xorg.conf to 16.
no effect either

Quote:

I'm not much of an expert in this stuff, but I would check to make sure that glxinfo and glxgears are linking to the same libGL.so. (use ldd)
i'm not sure. the name is the same but what's that address is different
Code:

$ ldd /usr/X11R6/bin/glxinfo
        linux-gate.so.1 =>  (0xffffe000)
        libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0xb7ed6000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0xb7e69000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb7e5b000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7d91000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7d7f000)
        libm.so.6 => /lib/tls/libm.so.6 (0xb7d5c000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7c40000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xb7b87000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7b7e000)
        libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1 (0xb7b79000)
        libdl.so.2 => /lib/tls/libdl.so.2 (0xb7b75000)
        /lib/ld-linux.so.2 (0xb7f69000)
$ ldd /usr/X11R6/bin/glxgears
        linux-gate.so.1 =>  (0xffffe000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0xb7e86000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb7e5d000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7d93000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7d81000)
        libm.so.6 => /lib/tls/libm.so.6 (0xb7d5e000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7c42000)
        libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1 (0xb7c3d000)
        libdl.so.2 => /lib/tls/libdl.so.2 (0xb7c38000)
        /lib/ld-linux.so.2 (0xb7ef2000)

thank you for trying to help, i am very much looking forward to getting the thing to work

mmarshall 04-19-2006 08:37 PM

Hmm... glxgears is also missing libGLU. On my system, I get the same output for both binaries.

Perhaps try running ldconfig?

Edit: Oh, and XOrg 6.8.2 isn't a problem.

Mig21 04-19-2006 08:49 PM

Quote:

Another thing that will gain a little is changing your default color depth in xorg.conf to 16.
Quote:

no effect either

oh sorry that's not true. it does make a difference. thank you.

it brings my glxgears output to ~900 fps and that's what i've got in knoppix also.

but now that i actually try to play a game, it is slow, barely bareable :). for a card of that age shouldn't i be getting 2-5k fps in glxgears?

or is it that the driver isn't so good?

i'll try to change some of those options in the device section but i doubt it will make any difference. what else can i try?

mmarshall 04-19-2006 09:16 PM

I guess running ldconfig (as root) didn't change anything?

glxgears isn't a good benchmark, but I get 1700.

Mig21 04-19-2006 11:17 PM

Quote:

glxgears isn't a good benchmark
so i hear. but quake3 has been used as a benchmark for a decade now (well maybe a bit less) and it's definitely sluggish.

well, i took a chance buying this card and it didn't pay. maybe there will be an updated driver in the next slackware version.

Quantumstate 04-20-2006 01:44 PM

Quote:

Originally Posted by Quantumstate
You do not compile the DRM kernel module. This is done by Xorg.
Quote:

Originally Posted by mmarshall
Could you give me a reference for this? I have always compiled the kernel model.


Don't believe me, huh?

mmarshall 04-20-2006 02:06 PM

That looks like it's specific to the way Gentoo packages it. I don't have to touch xorg when upgrading my kernel.

Quantumstate 04-20-2006 04:04 PM

Ya, it'll work with the kernel module. But it's supposed to be faster with the Xorg module... although I can't tell since Debian's glxgears no longer prints framerates.

I guess if you're not running Gentoo, compile the kernel DRM module.


All times are GMT -5. The time now is 07:25 AM.