LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-16-2003, 01:43 PM   #1
mallouk
LQ Newbie
 
Registered: Sep 2003
Distribution: Conectiva Linux 9.0
Posts: 4

Rep: Reputation: 0
DRI: Please Help Me


Guys,

I have posted the following message a few days ago... I got no replies, so I am posting again, maybe anybody can help me... I see everybody's problems getting solved here... Why not me? Btw, this forum is my last hope, since I have tried about everything.

------------------------------------

Hello guys!

I've been trying for days to get Direct Rendering working... But I'm very frustrated with the results. I'll show you what I've got so far:

By the way, I have the following config:
XFree 4.3
ATI Radeon 9000
Conectiva Linux 9.0

My XFree86.0.log shows:
(II) RADEON(0): [drm] added 1 reserved context for kernel
(II) RADEON(0): [agp] Mode 0x1f000201 [AGP 0x1039/0x0735; Card 0x1002/0x4966]
{...}
(II) RADEON(0): Direct rendering enabled

In my XF86Config-4 file I have the following:
Section "DRI"
Mode 0666
EndSection
Section "Module"
{...}
Load "glx"
Load "dri"
EndSection

When I run glxinfo I get the following message:
# glxinfo | grep direct
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect

When I run strings libGL.so.1.2 | grep DRI" I get the following:
DRI_glXUseXFont
__glXFindDRIScreen
XF86DRIQueryExtension
{...}
XFree86-DRI
LIBGL_DRIVERS_PATH
LIBGL_DRIVERS_DIR
XF86DRIQueryDirectRenderingCapable failed
XF86DRIQueryDirectRenderingCapable returned false
XF86DRIGetClientDriverName: %d.%d.%d %s (screen %d)

Again, I am very frustrated because I have done everything that the troubleshooting of XFree tells me to do, and still I have no DRI... Can anybody please help me?
 
Old 09-16-2003, 05:44 PM   #2
Zoombie
Member
 
Registered: Jul 2003
Distribution: Debian Testing
Posts: 180

Rep: Reputation: 30
A lot of Radeon cards are not support by XFree86. Search the forum for more info.
 
Old 09-16-2003, 08:23 PM   #3
lezek
Member
 
Registered: Apr 2003
Distribution: Gentoo
Posts: 52

Rep: Reputation: 15
Quote:
Originally posted by Zoombie
A lot of Radeon cards are not support by XFree86. Search the forum for more info.
Actually, all Radeon cards are now supported by the latest drivers from ati.com, and the 9000 has been supported for at least six months. Indeed, the logs clearly show that DRI is being enabled on startup, the problem is it isn't being used after that.

It looks very much you're using an old MESA libGL (OpenGL renderer string: Mesa GLX Indirect) instead of the ATI version. Try to find the libGL.so that comes with the Radeon drivers and copy that over any others you can find on your system (including those with names like .so.1 etc, but back them up first and only do this at your own risk ).
 
Old 09-16-2003, 08:29 PM   #4
Zoombie
Member
 
Registered: Jul 2003
Distribution: Debian Testing
Posts: 180

Rep: Reputation: 30
Quote:
Originally posted by lezek
Actually, all Radeon cards are now supported by the latest drivers from ati.com, and the 9000 has been supported for at least six months. Indeed, the logs clearly show that DRI is being enabled on startup, the problem is it isn't being used after that.

It looks very much you're using an old MESA libGL (OpenGL renderer string: Mesa GLX Indirect) instead of the ATI version. Try to find the libGL.so that comes with the Radeon drivers and copy that over any others you can find on your system (including those with names like .so.1 etc, but back them up first and only do this at your own risk ).
I meant that the cards aren't supported natively. XFree86 driver doesn't support the r300; ATI's driver does.
 
Old 09-16-2003, 08:43 PM   #5
lezek
Member
 
Registered: Apr 2003
Distribution: Gentoo
Posts: 52

Rep: Reputation: 15
Oh, I see. Well it does look mallouk is using the ATI driver given this line:
Quote:
(II) RADEON(0): Direct rendering enabled
Mallouk, can you confirm if you have downloaded and installed the drivers from www.ati.com?
 
Old 09-16-2003, 10:15 PM   #6
Zoombie
Member
 
Registered: Jul 2003
Distribution: Debian Testing
Posts: 180

Rep: Reputation: 30
Quote:
Originally posted by lezek
Oh, I see. Well it does look mallouk is using the ATI driver given this line:


Mallouk, can you confirm if you have downloaded and installed the drivers from www.ati.com?
That actually indicates that he's using the XFree86 drivers. The ATI driver is "fgrlx."
 
Old 09-16-2003, 10:19 PM   #7
Zoombie
Member
 
Registered: Jul 2003
Distribution: Debian Testing
Posts: 180

Rep: Reputation: 30
I sent this to someone else who was having trouble with a radeon card. I'm not sure if your card falls into the same category as mine (9500 pro), but...here goes:
Quote:
Your process may vary somewhat, depending on your
motherboard. I have an nForce2. First, I downloaded and installed a fresh
kernel (version 2.4.22 or higher is required for nForce AGPGART support).
Next, I downloaded ATI's drivers for XFree86 4.3.0. I believe these were
released just recently. Then I ran pkgtool in the directory that contained
the ATI driver tarball, and installed the package. Then you go into the
install directory, and you have to run 2 scripts to actually install the
drivers: first change to /lib/modules/fglrx/build_mod and run ./make.sh, and
then change to /lib/modules/fglrx and run ./make_install.sh. Now the drivers
should be installed, but they're still not configured yet. The drivers
install a modified version of xf86config called fglrxconfig, which you'll
need to run. This program will overwrite your XF86Config-4, so make sure you
have a backup copy in case you need to refer to it or restore it later.
Depending on your motherboard, you may need to use an external AGPGART
module, but you can usually just use the internal one. After you've
configured X, actually load the kernel module (you need to load agpgart first
if you're using an external one), and restart the X server. You should now
get 3D acceleration. You'll want to add agpgart and fglrx to the modules to
be loaded on startup (see /etc/rc.d/rc.modules).

One major drawback of these drivers seems to be that they only support a color
depth of exactly 24bpp. This breaks compatibility with some programs (like
zsnes).
I am by no means a Linux expert, so any/all of this may be somewhat incorrect.
 
Old 09-17-2003, 07:04 AM   #8
mallouk
LQ Newbie
 
Registered: Sep 2003
Distribution: Conectiva Linux 9.0
Posts: 4

Original Poster
Rep: Reputation: 0
Guys! Thanks for the support.

I have tried the fglrx drivers, but I hadn't had much success either. Then I looked at the forums and decided to give a try with the drivers that come with XFree 4.3 (that's what I'm using).

I'm gonna try copying the drivers (libGL) and then get back to you.
 
Old 09-17-2003, 07:45 PM   #9
lezek
Member
 
Registered: Apr 2003
Distribution: Gentoo
Posts: 52

Rep: Reputation: 15
Drivers supporting your card were only released by ATI a very short time ago, so unless you're 100% certain you got the right ones, I strongly suggest you go back to www.ati.com and download them. You will definitely need to be using the ATI drivers since there are no XFree86 drivers for your card yet (coming up in the next release).

Also, if you're using an nforce motherboard, make sure you're using kernel 2.4.22 or later as zoombie said, since you'll need AGPGART support for your board. This only applies if you're using a motherboard with an nforce chipset, don't bother updating your kernel otherwise.
 
  


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
always DRI... Ictus Linux - Hardware 5 03-12-2005 12:01 PM
Dri folavo Linux - Hardware 2 04-12-2004 09:58 AM
How do I know if DRI is on or off? Mackan Linux - Hardware 20 11-24-2003 01:54 PM
Dri greg108 Red Hat 3 09-24-2003 06:18 AM
Dri newbie45 Linux - Software 4 09-08-2003 09:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:36 AM.

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
Open Source Consulting | Domain Registration