LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-15-2004, 02:13 AM   #1
Bieh
LQ Newbie
 
Registered: Mar 2004
Distribution: Mandrake 10.0
Posts: 8

Rep: Reputation: 0
3D acceleration with duel displays


Hi, hope someone here can help me

I just installed Linux yesterday, and it seems pretty cool so far. The biggest problem was getting my duel monitors working, but after a struggle with the XF86Config-4 settings, I got it working a little while ago. Unfortunatly, I lost 3D acceleration in the process (ie: Chromium runs so slow as to be unplayable, whereas it used to work really well). So I had a look at the log file for XFree86, and I saw:
Code:
(WW) RADEON(0): Direct Rendering Disabled -- Dual-head configuration is not working with DRI at present.
Please use only one Device/Screen section in your XFConfig file.
Direct rendering means 3D acceleration, right? And Dual-head config is presumably referring to my 2 screen setup.

As a test, I put the settings back to one-monitor mode (which means I have the same display on each screen), and 3D acceleration worked fine.

So, my question is: Is there any way to have both 3D acceleration and dual-head displays at the same time? Or am I stuck in software? This setup worked fine under WinXP, btw

Even getting 3D acceleration on one screen would be fine - I usually code on the second monitor, and test on the main one, so the most stressful thing the second screen would have to run would be whatever the VS.net equivlent in Linux is (KDevelop?)

My specs:
Mandrake 10.0
Dell i4150 laptop
ATI Radeon 7500 32mb video (runs the LCD screen for laptop, and an external monitor)
P4 1.8ghz
256mb RAM

Last edited by Bieh; 03-15-2004 at 04:26 AM.
 
Old 03-15-2004, 04:43 AM   #2
Bieh
LQ Newbie
 
Registered: Mar 2004
Distribution: Mandrake 10.0
Posts: 8

Original Poster
Rep: Reputation: 0
Damn, I just realised I made a spelling mistake in the title
 
Old 03-15-2004, 03:23 PM   #3
Bieh
LQ Newbie
 
Registered: Mar 2004
Distribution: Mandrake 10.0
Posts: 8

Original Poster
Rep: Reputation: 0
Cmon, guys! Someone here must be able to help
 
Old 03-15-2004, 03:31 PM   #4
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
wooooow

OKay... Direct Rendering and 3d acceleration are NOT the same thing.
howeever direct rendering does aid graphics speeds (unless you are running nvidia cards, which have there own version of DRI)

anyways.....
have you installed ATI's Drivers or are you using the graphics drivers that come with linux ?

the drivers which come with linux are generic, and probably dont support the cards more complex features.

i dont have an ATI card myself, and i dont know how good ATI's drivers are.
but im certain the generic drivers dont support that feature.
 
Old 03-15-2004, 05:12 PM   #5
Bieh
LQ Newbie
 
Registered: Mar 2004
Distribution: Mandrake 10.0
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by qwijibow
OKay... Direct Rendering and 3d acceleration are NOT the same thing.
Oh

Quote:

anyways.....
have you installed ATI's Drivers or are you using the graphics drivers that come with linux ?
ATI's official drivers are for the Radeon 8500 and up (IIRC) - I have a Radeon 7500. So I'm using the ones which came with Linux. They ran ok when I only use one screen, but not when I use two.

Last edited by Bieh; 03-15-2004 at 05:14 PM.
 
Old 03-15-2004, 09:54 PM   #6
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
you do realise that with 2 screens your graphics card has to work twice as hard right ???
 
Old 03-15-2004, 10:12 PM   #7
Bieh
LQ Newbie
 
Registered: Mar 2004
Distribution: Mandrake 10.0
Posts: 8

Original Poster
Rep: Reputation: 0
Yes. But it shouldn't lead to the amount of slowdown I'm seeing.
 
Old 03-15-2004, 10:26 PM   #8
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
how much slowdown ?
 
Old 03-15-2004, 10:28 PM   #9
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
Ohh and whats do you get onscreen when you run

glxinfo
or
glinfo

(should indicate what graphics driver is running, ect ect)
 
Old 03-15-2004, 10:46 PM   #10
Bieh
LQ Newbie
 
Registered: Mar 2004
Distribution: Mandrake 10.0
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
How much slowdown?
Well, this is my output (on two screens) from glxgears. Surely I should get better than this:
Code:
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
1439 frames in 5.0 seconds = 287.800 FPS
1360 frames in 5.0 seconds = 272.000 FPS
1360 frames in 5.0 seconds = 272.000 FPS
1360 frames in 5.0 seconds = 272.000 FPS
1280 frames in 5.0 seconds = 256.000 FPS
1360 frames in 5.0 seconds = 272.000 FPS
1280 frames in 5.0 seconds = 256.000 FPS
1360 frames in 5.0 seconds = 272.000 FPS
X connection to :0.1 broken (explicit kill or server shutdown).
I'll change back to single-monitor mode in a few minutes, and find out how different it is.

[EDIT]
ok, done it
Code:
3956 frames in 5.0 seconds = 791.200 FPS
4512 frames in 5.0 seconds = 902.400 FPS
4380 frames in 5.0 seconds = 876.000 FPS
4341 frames in 5.0 seconds = 868.200 FPS
4382 frames in 5.0 seconds = 876.400 FPS
4382 frames in 5.0 seconds = 876.400 FPS
4382 frames in 5.0 seconds = 876.400 FPS
4342 frames in 5.0 seconds = 868.400 FPS
That's a pretty big difference. Also, note that I get no warnings about failing DRI.
[/EDIT]



And here's the output from glxinfo (2 screens):
Code:
name of display: :0.0
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
display: :0  screen: 0
direct rendering: No
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: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.3 Mesa 4.0.4
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
    GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
    GL_EXT_texture_lod_bias
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  1 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
0x24 16 tc  1 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16  0  0 0 None
0x25 16 tc  1 16  0 r  y  .  5  6  5  8  0 16  8 16 16 16 16  0 0 None
0x26 16 tc  1 16  0 r  .  .  5  6  5  8  0 16  8 16 16 16 16  0 0 None
0x27 16 dc  1 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
0x28 16 dc  1 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16  0  0 0 None
0x29 16 dc  1 16  0 r  y  .  5  6  5  8  0 16  8 16 16 16 16  0 0 None
0x2a 16 dc  1 16  0 r  .  .  5  6  5  8  0 16  8 16 16 16 16  0 0 None


display: :0  screen: 1
direct rendering: No
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: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.3 Mesa 4.0.4
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
    GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
    GL_EXT_texture_lod_bias
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
----------------------------------------------------------------------
0x41 16 tc  1 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
0x42 16 tc  1 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16  0  0 0 None
0x43 16 tc  1 16  0 r  y  .  5  6  5  8  0 16  8 16 16 16 16  0 0 None
0x44 16 tc  1 16  0 r  .  .  5  6  5  8  0 16  8 16 16 16 16  0 0 None
0x45 16 dc  1 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
0x46 16 dc  1 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16  0  0 0 None
0x47 16 dc  1 16  0 r  y  .  5  6  5  8  0 16  8 16 16 16 16  0 0 None
0x48 16 dc  1 16  0 r  .  .  5  6  5  8  0 16  8 16 16 16 16  0 0 None

Last edited by Bieh; 03-15-2004 at 11:10 PM.
 
Old 03-15-2004, 11:12 PM   #11
Bieh
LQ Newbie
 
Registered: Mar 2004
Distribution: Mandrake 10.0
Posts: 8

Original Poster
Rep: Reputation: 0
And here's the output of glxinfo on one screen
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_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: Tungsten Graphics, Inc.
OpenGL renderer string: Mesa DRI Radeon 20020611 AGP 1x x86/MMX/SSE TCL
OpenGL version string: 1.2 Mesa 4.0.4
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_dot3, GL_ARB_texture_mirrored_repeat,
    GL_ARB_transpose_matrix, 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_convolution, GL_EXT_compiled_vertex_array,
    GL_EXT_histogram, GL_EXT_packed_pixels, GL_EXT_polygon_offset,
    GL_EXT_rescale_normal, GL_EXT_secondary_color, GL_EXT_texture3D,
    GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
    GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic,
    GL_EXT_texture_object, GL_EXT_texture_lod_bias, GL_EXT_vertex_array,
    GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat, GL_MESA_window_pos,
    GL_NV_blend_square, GL_NV_texgen_reflection, GL_SGI_color_matrix,
    GL_SGI_color_table, GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp
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 None
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 None
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 None
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 None
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
Whew, that's a lot of stuff I've posted. Hope that helps
 
Old 03-16-2004, 07:22 AM   #12
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
seems like you dont have the ATI drivers installed. you are using Messa GL which is much slower than Real OpenGL.

also, your drivers vendor string is SGI, shouldnt it be ATI ?

check your ATi driver installation, and make sure you edited XF86COnfig to load the new drivers.
 
Old 03-30-2004, 01:54 AM   #13
sleepindawg
Member
 
Registered: Aug 2003
Location: Kansas... USA
Distribution: Mandrake10 Offical, Debian Sarge, Knoppix, GO Ubuntu!!! my new home
Posts: 79

Rep: Reputation: 15
I am thinking about dual/triple monitors as well, and from what i have read, mesa doesnt play nice and is VERY slow.......
 
Old 03-30-2004, 03:58 AM   #14
Bieh
LQ Newbie
 
Registered: Mar 2004
Distribution: Mandrake 10.0
Posts: 8

Original Poster
Rep: Reputation: 0
I actually gave up on this problem, as it's become moot. I'm getting a new desktop over Easter, which I will use my second monitor for. Till then, I just put up with it or use Windows
 
  


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
Enabling Radeon tv-out and 3D accleration eranj Mandriva 6 07-30-2005 11:10 AM
ATI Radeon 9600 Pro, 3d accleration? sharpie Linux - General 6 03-08-2004 06:53 PM
Duel OS Software Linux - General 5 01-17-2004 12:33 AM
Duel boot?? Lost_linux_Noob Linux - Newbie 6 10-08-2003 04:41 AM
duel boot seingoku *BSD 2 06-05-2003 05:57 PM


All times are GMT -5. The time now is 01:21 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration