-   Slackware (
-   -   Enabling DRI on Radeon 9000 Pro (

Locura 07-06-2003 11:26 PM

Enabling DRI on Radeon 9000 Pro
I've done some searching, and dug up different pieces of information on several old threads. Rather than posting 3 or 4 questions on 3 or 4 threads, I thought I would create a new thread here.

First of all, I see some threads referring to the "radeon" driver, and some referring to something called "fglrx". What is the difference?

Here are the module and graphics device sections of my XF86Config. I don't know what to add/remove from the XF86Config file because I have searched and found so many varying configurations, some using the radeon driver, and some using this fglrx thing I know nothing about, and I am truly lost as to what I need to define and what I maybe need to comment out.


# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"          # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"  # don't initialise the DGA extension

# This loads the font modules
    Load        "type1"
    Load        "freetype"
    Load        "speedo"

# This loads the GLX module
    Load      "glx"


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

Section "Device"
    Identifier  "Radeon"
    Driver      "radeon"
    # Insert Clocks lines here if appropriate

Next, should I have the modprobe agpgart line uncommented in the rc.modules file? Is there anything else I need to uncomment or add?

And I also came across this post saying that I need to recompile my kernel with DRM/Radeon support as a module. I'm not sure what he means by this, I checked the .config in the kernel source directory and I don't see any lines about DRM. On top of that I've never compiled a kernel so I'm gonna have to read up on that.

Anyways, any info that any of you could provide to get me on the way to getting this thing working would be much appreciated.

Locura 07-07-2003 07:30 PM

Well I tried modprobe agpgart, adding Load "dri" to my modules section, and adding a DRI section as so:

Section "DRI"
Mode 0666

These were some of the suggestions brought up in some of the other threads. I didn't recompile my kernel. After starting up X I fired up glxgears and was getting almost 1800 FPS!!! That is in contrast to the 220 FPS I was getting before.

So, looks like I got it working. Thanks anyway :cool:

Obscure 07-08-2003 07:18 AM

Just a suggestion...
It 's better to add in the section:

Section "Device"
Identifier "Radeon"
Driver "radeon"
# Insert Clocks lines here if appropriate

the line

Option "AGPMode" "4"

(4 if yr AGP is 4 or the correct one for you)

You can also fix yr memory amount but it's not necessary with radeon driver!!
I think that 1800 is a very good value!!!
Good work!!

Locura 07-08-2003 11:49 AM

I added that line, but I am seeing no change in the performance. Ran glxgears again and still getting 1800 FPS. But I am satisfied with this :)

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