[57da0547] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[44ad7753] | 6 |
|
---|
[57da0547] | 7 | <!ENTITY radeon-wiki "http://wiki.x.org/wiki/RadeonFeature">
|
---|
| 8 | <!ENTITY radeon-marketing-names "&radeon-wiki;#Decoder_ring_for_engineering_vs_marketing_names">
|
---|
| 9 |
|
---|
[09454ecb] | 10 | <!ENTITY xorg-ati-driver-version "7.8.0">
|
---|
[57da0547] | 11 |
|
---|
| 12 | <!ENTITY xorg-ati-driver-download-http "&xorg-download-http;/driver/xf86-video-ati-&xorg-ati-driver-version;.tar.bz2">
|
---|
| 13 | <!ENTITY xorg-ati-driver-download-ftp "&xorg-download-ftp;/driver/xf86-video-ati-&xorg-ati-driver-version;.tar.bz2">
|
---|
[09454ecb] | 14 | <!ENTITY xorg-ati-driver-md5sum "f34d04a755e761e03b459155fa3ddcbb">
|
---|
| 15 | <!ENTITY xorg-ati-driver-size "826 KB">
|
---|
[1ae9bd2] | 16 | <!ENTITY xorg-ati-driver-buildsize "19 MB">
|
---|
[57da0547] | 17 | <!ENTITY xorg-ati-driver-time "0.2 SBU">
|
---|
[44ad7753] | 18 | ]>
|
---|
[57da0547] | 19 |
|
---|
| 20 | <!-- Begin Xorg ATI Driver -->
|
---|
| 21 | <sect2 id="xorg-ati-driver" xreflabel="Xorg ATI Driver-&xorg-ati-driver-version;">
|
---|
| 22 |
|
---|
[23bba1f] | 23 | <sect2info>
|
---|
| 24 | <othername>$LastChangedBy$</othername>
|
---|
| 25 | <date>$Date$</date>
|
---|
| 26 | </sect2info>
|
---|
| 27 |
|
---|
[57da0547] | 28 | <title>Xorg ATI Driver-&xorg-ati-driver-version;</title>
|
---|
| 29 |
|
---|
| 30 | <indexterm zone="xorg-ati-driver">
|
---|
| 31 | <primary sortas="a-xorg-ati-driver">xorg-ati-driver</primary>
|
---|
| 32 | </indexterm>
|
---|
| 33 |
|
---|
| 34 | <sect3 role="package">
|
---|
| 35 | <title>Introduction to Xorg ATI Driver</title>
|
---|
| 36 |
|
---|
| 37 | <para>
|
---|
| 38 | The <application>Xorg ATI Driver</application> package contains the X.Org
|
---|
| 39 | Video Driver for ATI Radeon video cards including all chipsets ranging
|
---|
| 40 | from R100 to R900 and the newer RAxx chipsets.
|
---|
| 41 | </para>
|
---|
| 42 |
|
---|
[09454ecb] | 43 | &lfs7a_built;
|
---|
[57da0547] | 44 |
|
---|
| 45 | <note>
|
---|
| 46 | <para>
|
---|
[ca40dca] | 47 | For Direct Rendering to work with newer Radeon Cards (R300 and later
|
---|
| 48 | chipsets), you need to enable the r300, r600 and radeonsi Gallium
|
---|
[7a395d1] | 49 | drivers at <xref linkend="mesa"/> build time. Also, some cards
|
---|
[ca40dca] | 50 | require Firmware to be available when the kernel driver is loaded.
|
---|
[be21a51] | 51 | Firmware can be obtained from <ulink
|
---|
[a29486e4] | 52 | url="&sources-anduin-http;/linux-firmware/"/>.
|
---|
[be21a51] | 53 | See <xref linkend="xorg-ati-firmware-kernel"/> below for additional
|
---|
| 54 | firmware.
|
---|
[57da0547] | 55 | </para>
|
---|
| 56 | </note>
|
---|
| 57 |
|
---|
| 58 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
| 59 | <itemizedlist spacing="compact">
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>
|
---|
| 62 | Download (HTTP): <ulink url="&xorg-ati-driver-download-http;"/>
|
---|
| 63 | </para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>
|
---|
| 67 | Download (FTP): <ulink url="&xorg-ati-driver-download-ftp;"/>
|
---|
| 68 | </para>
|
---|
| 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
| 71 | <para>
|
---|
| 72 | Download MD5 sum: &xorg-ati-driver-md5sum;
|
---|
| 73 | </para>
|
---|
| 74 | </listitem>
|
---|
| 75 | <listitem>
|
---|
| 76 | <para>
|
---|
| 77 | Download size: &xorg-ati-driver-size;
|
---|
| 78 | </para>
|
---|
| 79 | </listitem>
|
---|
| 80 | <listitem>
|
---|
| 81 | <para>
|
---|
| 82 | Estimated disk space required: &xorg-ati-driver-buildsize;
|
---|
| 83 | </para>
|
---|
| 84 | </listitem>
|
---|
| 85 | <listitem>
|
---|
| 86 | <para>
|
---|
| 87 | Estimated build time: &xorg-ati-driver-time;
|
---|
| 88 | </para>
|
---|
| 89 | </listitem>
|
---|
| 90 | </itemizedlist>
|
---|
| 91 |
|
---|
| 92 | <bridgehead renderas="sect4">Xorg ATI Driver Dependencies</bridgehead>
|
---|
| 93 |
|
---|
| 94 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
| 95 | <para role="required">
|
---|
[53a89e5] | 96 | <xref linkend="xorg-server"/> (recommended to be built with glamor enabled)
|
---|
[57da0547] | 97 | </para>
|
---|
| 98 |
|
---|
| 99 | <note>
|
---|
| 100 | <para>
|
---|
[53a89e5] | 101 | Glamor is <emphasis>required for "Southern Islands" and later
|
---|
| 102 | GPUs</emphasis> but optional for R300 to R700, Evergreen and
|
---|
[be21a51] | 103 | "Northern Islands" GPUs - see the link in <xref
|
---|
| 104 | linkend="ati-glamor-accel"/> below.
|
---|
[57da0547] | 105 | </para>
|
---|
| 106 | </note>
|
---|
| 107 |
|
---|
| 108 | <para condition="html" role="usernotes">
|
---|
| 109 | User Notes: <ulink url="&blfs-wiki;/xorg-ati-driver"/>
|
---|
| 110 | </para>
|
---|
| 111 | </sect3>
|
---|
| 112 |
|
---|
| 113 | <sect3 role="kernel" id="xorg-ati-driver-kernel">
|
---|
| 114 | <title>Kernel Configuration</title>
|
---|
| 115 |
|
---|
| 116 | <para>
|
---|
[ca40dca] | 117 | Enable the following options in the kernel configuration and recompile
|
---|
| 118 | the kernel if necessary:
|
---|
[57da0547] | 119 | </para>
|
---|
| 120 |
|
---|
| 121 | <screen><literal>Device Drivers --->
|
---|
| 122 | Graphics support --->
|
---|
[ac44120] | 123 | <*> Direct Rendering Manager (XFree86 ... support) ---> [CONFIG_DRM]
|
---|
| 124 | <*> ATI Radeon [CONFIG_DRM_RADEON]</literal></screen>
|
---|
[57da0547] | 125 |
|
---|
| 126 | <indexterm zone="xorg-ati-driver xorg-ati-driver-kernel">
|
---|
| 127 | <primary sortas="d-xorg-ati-driver">xorg-ati-driver</primary>
|
---|
| 128 | </indexterm>
|
---|
| 129 | </sect3>
|
---|
| 130 |
|
---|
| 131 | <sect3 role="kernel" id="xorg-ati-firmware-kernel">
|
---|
| 132 | <title>Kernel Configuration for additional firmware</title>
|
---|
| 133 |
|
---|
| 134 | <para>
|
---|
| 135 | If you need to add firmware, install the file(s) and then point to them in the
|
---|
| 136 | kernel configuration and recompile the kernel if necessary. To find out which
|
---|
| 137 | firmware you need, consult the <ulink url="&radeon-marketing-names;">
|
---|
| 138 | Decoder ring for engineering vs marketing names</ulink>. Download any firmware
|
---|
| 139 | for your card which is named like:
|
---|
| 140 | <filename><replaceable><ENGINEERING_NAME></replaceable>_rlc.bin</filename>,
|
---|
| 141 | etc. Note that for R600 and R700 family, generic
|
---|
| 142 | <filename>R600_rlc.bin</filename> and <filename>R700_rlc.bin</filename> are
|
---|
[2dbb5526] | 143 | necessary in addition to the model specific firmware, while for later generations
|
---|
[57da0547] | 144 | (Evergreen, "Northern Islands" and probably "Southern Islands") you need the
|
---|
[2dbb5526] | 145 | <filename>BTC_rlc.bin</filename> in addition to the model specific firmware.
|
---|
[57da0547] | 146 | Below is an example for Radeon HD6470, which is "Northern Islands" GPU with a
|
---|
| 147 | network card that also requires the firmware:
|
---|
| 148 | </para>
|
---|
| 149 |
|
---|
[f5237a8] | 150 | <screen><literal>CONFIG_EXTRA_FIRMWARE="radeon/BTC_rlc.bin radeon/CAICOS_mc.bin radeon/CAICOS_me.bin
|
---|
| 151 | radeon/CAICOS_pfp.bin radeon/CAICOS_smc.bin rtl_nic/rtl8168e-3.fw"
|
---|
[57da0547] | 152 | CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"</literal></screen>
|
---|
| 153 |
|
---|
[f5237a8] | 154 | <note><para>CONFIG_EXTRA_FIRMWARE should all be on one line. It
|
---|
| 155 | is shown above as two lines for presentation only.</para></note>
|
---|
| 156 |
|
---|
[57da0547] | 157 | <tip>
|
---|
| 158 | <para>
|
---|
| 159 | You can check <command>dmesg</command> output after boot to see which firmware
|
---|
| 160 | is missing.
|
---|
| 161 | </para>
|
---|
| 162 | </tip>
|
---|
| 163 |
|
---|
[a045599] | 164 | <para>
|
---|
| 165 | Alternatively, if you change CONFIG_DRM_RADEON to '=m' in your .config
|
---|
| 166 | the firmware can be loaded automatically from /lib/firmware/radeon when
|
---|
| 167 | it installs the module. This offers a tiny space saving, but also means
|
---|
| 168 | that the screen will be blank for a longer time before the framebuffer
|
---|
| 169 | appears. Distros take this approach because it is not practical to
|
---|
| 170 | specify every possible firmware and the kernel would be excessively big.
|
---|
| 171 | </para>
|
---|
| 172 |
|
---|
[57da0547] | 173 | <indexterm zone="xorg-ati-driver xorg-ati-firmware-kernel">
|
---|
| 174 | <primary sortas="d-xorg-ati-firmware">xorg-ati-firmware</primary>
|
---|
| 175 | </indexterm>
|
---|
| 176 | </sect3>
|
---|
| 177 |
|
---|
| 178 | <sect3 role="installation">
|
---|
| 179 | <title>Installation of Xorg ATI Driver</title>
|
---|
| 180 |
|
---|
| 181 | <para>
|
---|
| 182 | Install <application>Xorg ATI Driver</application> by running the following
|
---|
| 183 | commands:
|
---|
| 184 | </para>
|
---|
| 185 |
|
---|
[fe2b18a] | 186 | <screen><userinput>./configure $XORG_CONFIG &&
|
---|
[57da0547] | 187 | make</userinput></screen>
|
---|
| 188 |
|
---|
| 189 | <para>
|
---|
| 190 | This package does not come with a test suite.
|
---|
| 191 | </para>
|
---|
| 192 |
|
---|
| 193 | <para>
|
---|
| 194 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 195 | </para>
|
---|
| 196 |
|
---|
| 197 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 198 | </sect3>
|
---|
| 199 |
|
---|
[be21a51] | 200 | <sect3 id="ati-glamor-accel">
|
---|
[57da0547] | 201 | <title>Glamor Acceleration</title>
|
---|
| 202 |
|
---|
| 203 | <para>
|
---|
| 204 | Glamor is an acceleration library which uses cards' 3D capabilities
|
---|
| 205 | to accelerate 2D rendering. Glamor acceleration is required for
|
---|
[b26bc4c] | 206 | Radeon "Southern Islands" GPUs which use "radeonsi" Gallium3D driver
|
---|
[7a395d1] | 207 | from <xref linkend="mesa"/>. To see which cards fall under
|
---|
[b26bc4c] | 208 | "Southern Islands" category, read the
|
---|
[57da0547] | 209 | <ulink url="&radeon-marketing-names;">
|
---|
| 210 | Decoder ring for engineering vs marketing names</ulink>. Please note
|
---|
| 211 | that Glamor acceleration can be used with other chips as well, from the
|
---|
[9bff4bc] | 212 | R300 onwards. On at least some Northern Islands chips it is beneficial.
|
---|
[57da0547] | 213 | </para>
|
---|
| 214 |
|
---|
| 215 | <para>
|
---|
[b26bc4c] | 216 | Glamor acceleration is not enabled by default for chipsets that don't
|
---|
[9bff4bc] | 217 | use "radeonsi" Gallium3D driver. You have to use an
|
---|
[57da0547] | 218 | <filename>xorg.conf</filename> file to enable it. To enable
|
---|
[b26bc4c] | 219 | Glamor for cards other than "Southern Islands" and later, create the
|
---|
[9bff4bc] | 220 | following file in
|
---|
| 221 | <filename class="directory">${XORG_PREFIX}/share/X11/xorg.conf.d/</filename>
|
---|
| 222 | as the <systemitem class="username">root</systemitem> user:
|
---|
[57da0547] | 223 | </para>
|
---|
| 224 |
|
---|
[9bff4bc] | 225 | <screen role="root"><userinput>cat >> ${XORG_PREFIX}/share/X11/xorg.conf.d/20-glamor.conf << "EOF"
|
---|
| 226 | <literal>Section "Device"
|
---|
[57da0547] | 227 | Identifier "radeon"
|
---|
[9bff4bc] | 228 | Driver "ati"
|
---|
[57da0547] | 229 | Option "AccelMethod" "glamor"
|
---|
| 230 | EndSection</literal>
|
---|
| 231 | EOF</userinput></screen>
|
---|
| 232 |
|
---|
| 233 | </sect3>
|
---|
| 234 |
|
---|
| 235 | <sect3 role="content">
|
---|
| 236 | <title>Contents</title>
|
---|
| 237 |
|
---|
| 238 | <segmentedlist>
|
---|
| 239 | <segtitle>Installed Xorg Drivers</segtitle>
|
---|
| 240 |
|
---|
| 241 | <seglistitem>
|
---|
| 242 | <seg>
|
---|
| 243 | ati_drv.so and radeon_drv.so
|
---|
| 244 | </seg>
|
---|
| 245 | </seglistitem>
|
---|
| 246 | </segmentedlist>
|
---|
| 247 |
|
---|
| 248 | <variablelist>
|
---|
| 249 | <bridgehead renderas="sect4">Short Descriptions</bridgehead>
|
---|
| 250 | <?dbfo list-presentation="list"?>
|
---|
| 251 | <?dbhtml list-presentation="table"?>
|
---|
| 252 |
|
---|
| 253 | <varlistentry id="ati_drv">
|
---|
| 254 | <term><filename class="libraryfile">ati_drv.so</filename></term>
|
---|
| 255 | <listitem>
|
---|
| 256 | <para>
|
---|
| 257 | is a wrapper driver for ATI video cards that autodetects ATI
|
---|
| 258 | video hardware and loads radeon, mach64 or r128 driver.
|
---|
| 259 | </para>
|
---|
| 260 | <indexterm zone="xorg-ati-driver ati_drv">
|
---|
| 261 | <primary sortas="c-ati_drv">ati_drv.so</primary>
|
---|
| 262 | </indexterm>
|
---|
| 263 | </listitem>
|
---|
| 264 | </varlistentry>
|
---|
| 265 |
|
---|
| 266 | <varlistentry id="radeon_drv">
|
---|
| 267 | <term><filename class="libraryfile">radeon_drv.so</filename></term>
|
---|
| 268 | <listitem>
|
---|
| 269 | <para>
|
---|
| 270 | is an Xorg video driver for ATI Radeon based video cards.
|
---|
| 271 | </para>
|
---|
| 272 | <indexterm zone="xorg-ati-driver radeon_drv">
|
---|
| 273 | <primary sortas="c-radeon_drv">radeon_drv.so</primary>
|
---|
| 274 | </indexterm>
|
---|
| 275 | </listitem>
|
---|
| 276 | </varlistentry>
|
---|
| 277 |
|
---|
| 278 | </variablelist>
|
---|
| 279 |
|
---|
| 280 | </sect3>
|
---|
| 281 |
|
---|
| 282 | </sect2>
|
---|
[44ad7753] | 283 | <!-- End Xorg ATI Driver -->
|
---|