LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 06-02-2004, 12:15 AM   #1
terran4000
LQ Newbie
 
Registered: Mar 2004
Location: Morton Grove
Distribution: Debian
Posts: 19

Rep: Reputation: 0
FGLRX vs DRI/DRM


So, there went another two days of me playing around with system setting and all .. all wasted, sort of. I'm running Debian testing with kernel 2.6.6 and I also have X.org running. Thing is, about a week ago I installed the ATI fglrx drivers, without problem, and had those running well enough for the time being. Then about 2 days ago I tried watching a anime in xine and mplayer and I couldn't watch ANY encoded movies, no matter the encoding. I played around with the setting a bit only to find out that the ATI drivers were causing the problem for me. So I uninstalled them, recompiled and now I'm running on DRM/DRI (I can't remember which one XFREE uses .. the driver called "radeon"). I had this exact same setup before I installed the fglrx drivers and I was getting FPS in glxgears as high as 1300, but now the most I get is ~300 ... I tweaked it a bit, enable a few more things in the kernel, cause originally (right after I put DRM back in) I was getting FPS of about 80. if I run glxinfo I get this:

terran4000@Rei:~$ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: No
server glx vendor string: Brian Paul
server glx version string: 1.4 Mesa 5.0
server glx extensions:
GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
GLX_MESA_release_buffers, GLX_ARB_get_proc_address, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_SGI_video_sync, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer
client glx vendor string: Brian Paul
client glx version string: 1.4 Mesa 5.0
client glx extensions:
GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
GLX_MESA_release_buffers, GLX_ARB_get_proc_address, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_SGI_video_sync, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer
GLX extensions:
GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
GLX_MESA_release_buffers, GLX_ARB_get_proc_address, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_SGI_video_sync, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer
OpenGL vendor string: Brian Paul
OpenGL renderer string: Mesa X11
OpenGL version string: 1.4 Mesa 5.0
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multisample,
GL_ARB_multitexture, GL_ARB_point_parameters, GL_ARB_shadow,
GL_ARB_shadow_ambient, 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_crossbar, GL_ARB_texture_env_dot3,
GL_ARB_texture_mirrored_repeat, GL_ARB_transpose_matrix,
GL_ARB_window_pos, GL_ATI_texture_mirror_once, GL_EXT_abgr, GL_EXT_bgra,
GL_EXT_blend_color, GL_EXT_blend_func_separate, GL_EXT_blend_logic_op,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
GL_EXT_convolution, GL_EXT_compiled_vertex_array, GL_EXT_fog_coord,
GL_EXT_histogram, GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels,
GL_EXT_paletted_texture, GL_EXT_point_parameters, GL_EXT_polygon_offset,
GL_EXT_rescale_normal, GL_EXT_secondary_color, GL_EXT_shadow_funcs,
GL_EXT_shared_texture_palette, GL_EXT_stencil_wrap,
GL_EXT_stencil_two_side, 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_object, GL_EXT_texture_lod_bias,
GL_EXT_vertex_array, GL_HP_occlusion_test, GL_IBM_rasterpos_clip,
GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
GL_MESA_pack_invert, GL_MESA_resize_buffers, GL_MESA_ycbcr_texture,
GL_MESA_window_pos, GL_NV_blend_square, GL_NV_point_sprite,
GL_NV_texture_rectangle, GL_NV_texgen_reflection, GL_NV_vertex_program,
GL_NV_vertex_program1_1, GL_SGI_color_matrix, GL_SGI_color_table,
GL_SGIS_generate_mipmap, GL_SGIS_pixel_texture,
GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
GL_SGIX_depth_texture, GL_SGIX_pixel_texture, GL_SGIX_shadow,
GL_SGIX_shadow_ambient
glu version: 1.3
glu extensions:

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 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 0 0 None
0x24 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x25 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x26 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x27 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x28 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x29 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x2a 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x2b 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x2c 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x2d 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x2e 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x2f 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x30 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x31 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x32 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

I get the same thing as root ... so I'm really befuddled. my X.org config file (which works the exact same way as the regular XFree config file) set "correctly" ... I think ...
here are a few snippets of it:

Load "dbe"
Load "glx"
Load "dri"
Load "GLcore"

Section "Device"
Identifier "ATI Graphics Adapter"
Driver "radeon"
#VideoRam 32768
EndSection
Section "Screen"
Identifier "Screen0"
Device "ATI Graphics Adapter"
Monitor "Monitor0"
DefaultDepth 24

Subsection "Display"
Depth 24
Modes "1680x1050"
ViewPort 0 0
EndSubsection

EndSection
Section "DRI"
Mode 0666
EndSection

in the kernel:

RadeonFB compiled in
agpgart as a module
DRI not compiled in nor as a module (but I tried with it both in and out and no difference)

So I'm really confused ... can anyone please help me?
 
Old 06-02-2004, 05:37 PM   #2
ultrabeam16
LQ Newbie
 
Registered: Mar 2004
Distribution: Debian Sarge
Posts: 7

Rep: Reputation: 0
The reason you're getting low FPS is because for some reason your driver setup is using software rendering -- look at the line that says "direct rendering: No" from glxinfo.

By the looks of things your X config seems to be ok since you have Load "dri" and Section "DRI"... so I don't really have any idea why your driver setup is using the Mesa software rendering.

Is agpgart loading your chipset driver eg intel_agp? try lsmod to see if it is...
there should be a line like "agpgart 28712 2 intel_agp" in there... obviously intel_agp might be replaced by your chipset driver.

Regarding the DRI... you should have it, either as a module or compiled in, but it should be there in one form or another.
 
Old 06-03-2004, 01:36 AM   #3
terran4000
LQ Newbie
 
Registered: Mar 2004
Location: Morton Grove
Distribution: Debian
Posts: 19

Original Poster
Rep: Reputation: 0
I have agp_gart loading the driver, I see it in the /var/log/messages ... so I'm really really out of ideas now :-( .... only option left is to re-install linux and/or X.org .... and I don't feel like doing either :-(

May anyone list what I should have compiled into the kernel? Maybe I'm really forgetting something simple?! idk

TIA!!
 
Old 09-01-2004, 08:31 AM   #4
Zumt
LQ Newbie
 
Registered: Sep 2004
Posts: 1

Rep: Reputation: 0
Hi,

I had a similar problem when switching back from ATI's fglrx to XFree86's radeon. The point was that fglrx comes with its own libGL.so.1.2 (located in /usr/X11/lib/) and you must make sure that, when switching back to XFree's radeon, the libGL.so.1.2 from XFree86-Mesa is reinstalled (located in /usr/lib/; on a system with rpm run "rpm --verify XFree86-Mesa"; don't forget to run "ldconfig" when (de)installing libs)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DRM/DRI and Gentoo 2005.0 nirj Linux - Software 5 09-03-2005 10:58 PM
ATI fglrx driver - can't get dri working SpruceMoose Linux - Hardware 1 06-20-2005 11:22 PM
cannot get DRI to work with ATI fglrx drivers under X alesz Fedora 2 06-09-2005 07:39 AM
fglrx 3D acceleration failes due to DRM/DRI/AGPGART problems in Slackware 10, 2.6.8 DaneM Linux - Hardware 1 10-20-2004 01:33 AM
[ATI] fglrx vs dri-radeon <what is the diff?> carboncopy Slackware 1 06-18-2004 02:50 AM


All times are GMT -5. The time now is 12:29 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration