Enabling DRI on Radeon Linux Driver. ati radeon 9200
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Enabling DRI on Radeon Linux Driver. ati radeon 9200
Hi all,
I'm currently am trying to get dri enabled on
my ati radeon 9200 card.I had dri enabled when I used the 8.28.8 driver from ati for the card,but I'm sick of the driver because of crashing, being unstable,and unable to play urban terror still.I had this same question a while ago on enabling dri,but I only enabled dri with the ATI Proprietary Linux x86 Display Driver.
I don't know,
I tried googling on dri on radeon and didn't have
much luck finding info on enabling it.
Am I screwed? I would get a nvidia card, but not on this box I got. I do have a onboard intel 865 chipset
video card in my box, and I thought maybe if I try remove the ati card, start the pc, run xorgconfig
and set the i801 driver and enable dri. Who knows
maybe I could get more FPS than the ati card! I could
only get 244 FPS with the radeon driver currently.
Can you toss me some ideas, or should I just
try rather invest in a nvida video card?
The problem guys,
is I'm trying to get dri working with the radeon linux driver.Not the ATI Proprietary Linux x86 Display Driver.
Lenard: I tried the the "AIGLX" and the "Extensions" sections before with the 8.28.8
driver and it didn't help getting the driver to work better.
jmcustiel: I already tried that too and I just get
a locked up machine and a black screen.
I'm just sick of the ATI Proprietary Linux x86 Display Driver,and just want to get dri enabled with
the radeon linux driver.Maybe then the video card
might work better and I could play urban terror!
You have a strange problem, try uninstalling the ati driver and then load the linux drivers: first modprobe radeon to enable drm, then load dri in xorg.conf.
The Ati driver didn't work for me, i uninstalled it and tried with linux driver and it works fine, i have an asus A9250+ with ati radeon 9250 chipset.
This is really weird.
I uninstalled the proprietary ati driver and
ran modprobe radeon , but I get this error.
Code:
# modprobe radeon
WARNING: Error inserting drm (/lib/modules/2.6.17.13/kernel/drivers/char/drm/drm.ko): Cannot allocate memory
FATAL: Error inserting radeon (/lib/modules/2.6.17.13/kernel/drivers/char/drm/radeon.ko): Unknown symbol in module, or unknown parameter (see dmesg)
I can set the radeon driver by running xorgconfig
but I just can't get dri enabled.
I have all the modules installed for my kernel
and source for the kernel so thats not the problem.
I compiled everything that was required into my kernel(no modules).
The ones that I think are most important are:
Device Drivers->Character Devices->agpgart
Device Drivers->Character Devices->agpgart->Your agp chipset.
Device Drivers->Character Devices->Direct Rendering Manager
Device Drivers->Character Devices->Direct Rendering Manager->ATI Radeon
Now from my kernel config (only the lines that matter) I have an ATI card and an Intel mainboard. It didn't work with only the AGP_ATI activated and not the AGP_INTEL so I guess AGP depends on your mainboard's chipset and not on your video card. I have both activated just in case...:
Okey seems like I got dri enabled.
How I did it,I ran xorgconfig and
and restarted X, then I ran modprobe radeon and it ran fine and restarted X again.
Then I modified my xorg.conf.
Here it is.
I think thats what got it going.Then to make
everything start up, I added
/sbin/modprobe radeon
to my /etc/rc.d/rc.modules
and it seems like dri is starting up as you see
here.
Code:
ame 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_hyperpipe, GLX_SGIX_swap_barrier,
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 20041207 x86/MMX/SSE2 TCL
OpenGL version string: 1.3 Mesa 6.4.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_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_fog_coord, 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_ycbcr_texture, GL_MESA_window_pos,
GL_NV_blend_square, GL_NV_light_max_exponent, GL_NV_texture_rectangle,
GL_NV_texgen_reflection, GL_OES_read_format, 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
This is glxgears
Code:
$ glxgears
3472 frames in 5.0 seconds = 694.333 FPS
3481 frames in 5.0 seconds = 696.034 FPS
3483 frames in 5.0 seconds = 696.417 FPS
3489 frames in 5.0 seconds = 697.607 FPS
3473 frames in 5.0 seconds = 694.554 FPS
3483 frames in 5.0 seconds = 696.575 FPS
3482 frames in 5.0 seconds = 696.267 FPS
3481 frames in 5.0 seconds = 696.160 FPS
I don't get why my FPS is like of low.
I thought I would get at least 1000 FPS
with the radeon driver and dri enabled.
What option can I add to get more or
what option to remove to get more out the
card?
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
Ahh......... a little experiment for you guys.
Start glxgears from an xterm session wait about 15 seconds and completely cover the three gears with the xterm window and wait again for 15 seconds. Your FPS should be more then double while the gears are covered.
But what does that proove? That it can draw really fast when it doesn't actually have to draw?
So what if my fps jumps to over 8 thousand, its not indicative of anything, since its not actually drawing anything on the screen.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.