old-www/HOWTO/XFree86-R200/using_ati_driver.html

340 lines
6.1 KiB
HTML

<HTML
><HEAD
><TITLE
>Alternative 2: Using ATI's own R200 Driver</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="ATI R200 + XFree86 4.x mini-HOWTO"
HREF="index.html"><LINK
REL="UP"
TITLE="Step-by-step instructions"
HREF="instructions.html"><LINK
REL="PREVIOUS"
TITLE="Alternative 1: Using XFree86's Radeon driver"
HREF="using_xf_driver.html"><LINK
REL="NEXT"
TITLE="Alternative 3: Using DRI's Latest Radeon Driver"
HREF="using_dri_driver.html"></HEAD
><BODY
CLASS="sect1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>ATI R200 + XFree86 4.x mini-HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="using_xf_driver.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 4. Step-by-step instructions</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="using_dri_driver.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="using_ati_driver"
></A
>4.2. Alternative 2: Using ATI's own R200 Driver</H1
><P
>ATI's R200 driver comes in three distributions - one for XFree4.1, one for XFree4.2 and one for XFree4.3. You can download ATIs driver from <A
HREF="http://mirror.ati.com/support/drivers/linux/radeon-linux.html"
TARGET="_top"
>here</A
>. Sadly, for those of us who do not use a RedHat-based or other RPM-supporting distribution, the package is only available in RPM format. For those of us who do not have RPM support, <TT
CLASS="literal"
>alien</TT
> is the program to use. Alien converts between various package formats. To convert the ATI driver package to a <TT
CLASS="filename"
>.deb</TT
> package, use <B
CLASS="command"
>alien --to-deb packagename.rpm</B
>. To convert it to a <TT
CLASS="filename"
>.tgz</TT
> package, use <B
CLASS="command"
>alien --to-tgz packagename.rpm</B
>.</P
><P
>You are now ready to install the driver. To install it, use:</P
><P
></P
><UL
><LI
><P
><B
CLASS="command"
>rpm -i --force /path/to/packagename.rpm</B
>, if you are installing the rpm package</P
></LI
><LI
><P
><B
CLASS="command"
>dpkg -i --force-overwrite /path/to/packagename.deb</B
>, if you made a .deb package</P
></LI
><LI
><P
><B
CLASS="command"
>cd / &#38;&#38; tar zxvf /path/to/packagename.tgz</B
>, if you made a .tgz package.</P
></LI
></UL
><P
>You are now ready to configure the driver. To install it, issue the following commands as root:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13;cd /lib/modules/fglr200/build_mod/
./make.sh
cd /lib/modules/fglr200/
./make_install.sh
</PRE
></FONT
></TD
></TR
></TABLE
><P
>The driver is now ready for use.</P
><DIV
CLASS="important"
><P
></P
><TABLE
CLASS="important"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/important.gif"
HSPACE="5"
ALT="Important"></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>The driver will not load unless you tell your Linux system to load it every time
at startup. To do this, you must find out where to tell your Linux which modules to load at startup. In Debian, you must add the followng line to <TT
CLASS="filename"
>/etc/modules</TT
>:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13;fglr200
</PRE
></FONT
></TD
></TR
></TABLE
><P
>Add the line to the end of the file. You are now ready to configure XFree86.</P
></TD
></TR
></TABLE
></DIV
><P
>XFree86 can be configured in two ways: either by running <B
CLASS="command"
>fglrxconfig</B
> (supplied by the ATI driver), or by editing the <TT
CLASS="filename"
>XF86Config</TT
> file manually.</P
><P
>If you choose to run <B
CLASS="command"
>fglrxconfig</B
>, the process is similar to a regular <B
CLASS="command"
>xf86config</B
> run, except for the choice of which screen card driver to use (which will automatically be set to the ATI Radeon driver).</P
><P
>If you want to edit the configuration file manually, locate it (usually <TT
CLASS="filename"
>/etc/X11/XF86Config</TT
>), and open it in your favorite editor. Find the place saying <TT
CLASS="literal"
>Section "Device"</TT
>. In this section, there should be a line saying <TT
CLASS="literal"
>Driver "somedrivername"</TT
>. Edit this line so it says <TT
CLASS="literal"
>Driver "fglr200"</TT
> and add the following lines right below that line: </P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13;Option "no_accel" "no"
Option "no_dri" "no"
Option "overlay" "off"
</PRE
></FONT
></TD
></TR
></TABLE
><P
>Comment out all other lines in the Device section (add a # in front of them). Your device section should now look like this:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13;Section "Driver"
Identifier "some_identifier" (the identifier is your choice, but if you edit it,
make sure you update every reference to it in the config file).
Driver "fglr200"
Option "no_accel" "no"
Option "no_dri" "no"
Option "overlay" "no"
# ...
# ...
</PRE
></FONT
></TD
></TR
></TABLE
><P
>You are now ready to run!</P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="using_xf_driver.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="using_dri_driver.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Alternative 1: Using XFree86's Radeon driver</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="instructions.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Alternative 3: Using DRI's Latest Radeon Driver</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>