[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 |
|
---|
[87fc185] | 7 | <!ENTITY radeon-wiki "https://wiki.x.org/wiki/RadeonFeature">
|
---|
[57da0547] | 8 | <!ENTITY radeon-marketing-names "&radeon-wiki;#Decoder_ring_for_engineering_vs_marketing_names">
|
---|
| 9 |
|
---|
[c33a0d3] | 10 | <!ENTITY xorg-ati-driver-version "22.0.0">
|
---|
| 11 |
|
---|
| 12 | <!ENTITY xorg-ati-driver-download-http "&xorg-download-http;/driver/xf86-video-ati-&xorg-ati-driver-version;.tar.xz">
|
---|
| 13 | <!ENTITY xorg-ati-driver-download-ftp "&xorg-download-ftp;/driver/xf86-video-ati-&xorg-ati-driver-version;.tar.xz">
|
---|
| 14 | <!ENTITY xorg-ati-driver-md5sum "33c7b049c526aa9bf3654890c4d7b860">
|
---|
| 15 | <!ENTITY xorg-ati-driver-size "740 KB">
|
---|
| 16 | <!ENTITY xorg-ati-driver-buildsize "19 MB">
|
---|
| 17 | <!ENTITY xorg-ati-driver-time "less than 0.1 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 | <date>$Date$</date>
|
---|
| 25 | </sect2info>
|
---|
| 26 |
|
---|
[57da0547] | 27 | <title>Xorg ATI Driver-&xorg-ati-driver-version;</title>
|
---|
| 28 |
|
---|
| 29 | <indexterm zone="xorg-ati-driver">
|
---|
| 30 | <primary sortas="a-xorg-ati-driver">xorg-ati-driver</primary>
|
---|
| 31 | </indexterm>
|
---|
| 32 |
|
---|
| 33 | <sect3 role="package">
|
---|
| 34 | <title>Introduction to Xorg ATI Driver</title>
|
---|
| 35 |
|
---|
| 36 | <para>
|
---|
| 37 | The <application>Xorg ATI Driver</application> package contains the X.Org
|
---|
| 38 | Video Driver for ATI Radeon video cards including all chipsets ranging
|
---|
[2b04d83] | 39 | from R100 to the "Volcanic Islands" chipsets.
|
---|
[57da0547] | 40 | </para>
|
---|
| 41 |
|
---|
[42e9baf8] | 42 | &lfs113_checked;
|
---|
[57da0547] | 43 |
|
---|
| 44 | <note>
|
---|
| 45 | <para>
|
---|
[ca40dcac] | 46 | For Direct Rendering to work with newer Radeon Cards (R300 and later
|
---|
| 47 | chipsets), you need to enable the r300, r600 and radeonsi Gallium
|
---|
[7a395d1] | 48 | drivers at <xref linkend="mesa"/> build time. Also, some cards
|
---|
[ca40dcac] | 49 | require Firmware to be available when the kernel driver is loaded.
|
---|
[83cc2cc3] | 50 | In that case, if you have not followed the instructions in the Firmware
|
---|
| 51 | for Video Cards part of <xref linkend="postlfs-firmware"/> which provided
|
---|
| 52 | that firmware in <filename class="directory">/lib/firmware</filename>
|
---|
| 53 | for a modular build,
|
---|
| 54 | firmware can be obtained from <ulink
|
---|
| 55 | url="&sources-anduin-http;/linux-firmware/"/> -
|
---|
| 56 | see <xref linkend="xorg-ati-firmware-kernel"/> below for additional
|
---|
[be21a51] | 57 | firmware.
|
---|
[57da0547] | 58 | </para>
|
---|
| 59 | </note>
|
---|
| 60 |
|
---|
| 61 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
| 62 | <itemizedlist spacing="compact">
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Download (HTTP): <ulink url="&xorg-ati-driver-download-http;"/>
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
| 69 | <para>
|
---|
| 70 | Download (FTP): <ulink url="&xorg-ati-driver-download-ftp;"/>
|
---|
| 71 | </para>
|
---|
| 72 | </listitem>
|
---|
| 73 | <listitem>
|
---|
| 74 | <para>
|
---|
| 75 | Download MD5 sum: &xorg-ati-driver-md5sum;
|
---|
| 76 | </para>
|
---|
| 77 | </listitem>
|
---|
| 78 | <listitem>
|
---|
| 79 | <para>
|
---|
| 80 | Download size: &xorg-ati-driver-size;
|
---|
| 81 | </para>
|
---|
| 82 | </listitem>
|
---|
| 83 | <listitem>
|
---|
| 84 | <para>
|
---|
| 85 | Estimated disk space required: &xorg-ati-driver-buildsize;
|
---|
| 86 | </para>
|
---|
| 87 | </listitem>
|
---|
| 88 | <listitem>
|
---|
| 89 | <para>
|
---|
| 90 | Estimated build time: &xorg-ati-driver-time;
|
---|
| 91 | </para>
|
---|
| 92 | </listitem>
|
---|
| 93 | </itemizedlist>
|
---|
| 94 |
|
---|
[c33a0d3] | 95 | <!--
|
---|
[bb78d32] | 96 | <bridgehead renderas="sect4">Additional Downloads</bridgehead>
|
---|
| 97 | <itemizedlist spacing="compact">
|
---|
| 98 | <listitem>
|
---|
| 99 | <para>
|
---|
| 100 | Required patch:
|
---|
| 101 | <ulink url="&patch-root;/xf86-video-ati-&xorg-ati-driver-version;-upstream_fixes-1.patch"/>
|
---|
| 102 | </para>
|
---|
| 103 | </listitem>
|
---|
| 104 | </itemizedlist>
|
---|
[c33a0d3] | 105 | -->
|
---|
[bb78d32] | 106 |
|
---|
[57da0547] | 107 | <bridgehead renderas="sect4">Xorg ATI Driver Dependencies</bridgehead>
|
---|
| 108 |
|
---|
| 109 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
| 110 | <para role="required">
|
---|
[53a89e5] | 111 | <xref linkend="xorg-server"/> (recommended to be built with glamor enabled)
|
---|
[57da0547] | 112 | </para>
|
---|
| 113 |
|
---|
| 114 | <note>
|
---|
| 115 | <para>
|
---|
[2b04d83] | 116 | Glamor is required for Southern, Sea or Volcanic Islands GPUs, and
|
---|
| 117 | used by default in all other R600 or later radeon GPUs. To see which
|
---|
| 118 | GPUs are in these categories, read the <ulink url="&radeon-marketing-names;">
|
---|
| 119 | Decoder ring for engineering vs marketing names</ulink>.
|
---|
[57da0547] | 120 | </para>
|
---|
| 121 | </note>
|
---|
| 122 |
|
---|
| 123 | <para condition="html" role="usernotes">
|
---|
| 124 | User Notes: <ulink url="&blfs-wiki;/xorg-ati-driver"/>
|
---|
| 125 | </para>
|
---|
| 126 | </sect3>
|
---|
| 127 |
|
---|
| 128 | <sect3 role="kernel" id="xorg-ati-driver-kernel">
|
---|
| 129 | <title>Kernel Configuration</title>
|
---|
| 130 |
|
---|
| 131 | <para>
|
---|
[ca40dcac] | 132 | Enable the following options in the kernel configuration and recompile
|
---|
| 133 | the kernel if necessary:
|
---|
[57da0547] | 134 | </para>
|
---|
| 135 |
|
---|
| 136 | <screen><literal>Device Drivers --->
|
---|
| 137 | Graphics support --->
|
---|
[ac44120] | 138 | <*> Direct Rendering Manager (XFree86 ... support) ---> [CONFIG_DRM]
|
---|
| 139 | <*> ATI Radeon [CONFIG_DRM_RADEON]</literal></screen>
|
---|
[57da0547] | 140 |
|
---|
| 141 | <indexterm zone="xorg-ati-driver xorg-ati-driver-kernel">
|
---|
| 142 | <primary sortas="d-xorg-ati-driver">xorg-ati-driver</primary>
|
---|
| 143 | </indexterm>
|
---|
| 144 | </sect3>
|
---|
| 145 |
|
---|
| 146 | <sect3 role="kernel" id="xorg-ati-firmware-kernel">
|
---|
| 147 | <title>Kernel Configuration for additional firmware</title>
|
---|
| 148 |
|
---|
| 149 | <para>
|
---|
| 150 | If you need to add firmware, install the file(s) and then point to them in the
|
---|
| 151 | kernel configuration and recompile the kernel if necessary. To find out which
|
---|
| 152 | firmware you need, consult the <ulink url="&radeon-marketing-names;">
|
---|
| 153 | Decoder ring for engineering vs marketing names</ulink>. Download any firmware
|
---|
| 154 | for your card which is named like:
|
---|
| 155 | <filename><replaceable><ENGINEERING_NAME></replaceable>_rlc.bin</filename>,
|
---|
| 156 | etc. Note that for R600 and R700 family, generic
|
---|
| 157 | <filename>R600_rlc.bin</filename> and <filename>R700_rlc.bin</filename> are
|
---|
[2dbb5526] | 158 | necessary in addition to the model specific firmware, while for later generations
|
---|
[2b04d83] | 159 | you need the
|
---|
[2dbb5526] | 160 | <filename>BTC_rlc.bin</filename> in addition to the model specific firmware.
|
---|
[f23c7b77] | 161 | Below is an example for a Radeon HD6470 which is a "Northern Islands" GPU,
|
---|
| 162 | plus an RTL network chip that also requests extra firmware:
|
---|
[57da0547] | 163 | </para>
|
---|
| 164 |
|
---|
[f5237a8] | 165 | <screen><literal>CONFIG_EXTRA_FIRMWARE="radeon/BTC_rlc.bin radeon/CAICOS_mc.bin radeon/CAICOS_me.bin
|
---|
| 166 | radeon/CAICOS_pfp.bin radeon/CAICOS_smc.bin rtl_nic/rtl8168e-3.fw"
|
---|
[57da0547] | 167 | CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"</literal></screen>
|
---|
| 168 |
|
---|
[71df408] | 169 | <note>
|
---|
| 170 | <para>
|
---|
| 171 | CONFIG_EXTRA_FIRMWARE should all be on one line. It
|
---|
| 172 | is shown above as two lines for presentation only.
|
---|
| 173 | </para>
|
---|
| 174 | </note>
|
---|
[f5237a8] | 175 |
|
---|
[57da0547] | 176 | <tip>
|
---|
| 177 | <para>
|
---|
| 178 | You can check <command>dmesg</command> output after boot to see which firmware
|
---|
| 179 | is missing.
|
---|
| 180 | </para>
|
---|
| 181 | </tip>
|
---|
| 182 |
|
---|
[a045599] | 183 | <para>
|
---|
| 184 | Alternatively, if you change CONFIG_DRM_RADEON to '=m' in your .config
|
---|
| 185 | the firmware can be loaded automatically from /lib/firmware/radeon when
|
---|
| 186 | it installs the module. This offers a tiny space saving, but also means
|
---|
| 187 | that the screen will be blank for a longer time before the framebuffer
|
---|
| 188 | appears. Distros take this approach because it is not practical to
|
---|
| 189 | specify every possible firmware and the kernel would be excessively big.
|
---|
| 190 | </para>
|
---|
| 191 |
|
---|
[57da0547] | 192 | <indexterm zone="xorg-ati-driver xorg-ati-firmware-kernel">
|
---|
| 193 | <primary sortas="d-xorg-ati-firmware">xorg-ati-firmware</primary>
|
---|
| 194 | </indexterm>
|
---|
| 195 | </sect3>
|
---|
| 196 |
|
---|
| 197 | <sect3 role="installation">
|
---|
| 198 | <title>Installation of Xorg ATI Driver</title>
|
---|
| 199 |
|
---|
[05738781] | 200 | <!--
|
---|
[bb78d32] | 201 | Note: Fixed upstream, should be unneeded for versions gtr 19.1.0.
|
---|
| 202 | Patch also includes the fix.
|
---|
| 203 |
|
---|
[05738781] | 204 | <para>
|
---|
| 205 | First, fix an issue exposed by GCC 10 and later:
|
---|
| 206 | </para>
|
---|
| 207 |
|
---|
| 208 | <screen><userinput>sed -e 's/miPointer/extern &/' \
|
---|
| 209 | -i src/drmmode_display.h</userinput></screen>
|
---|
[bb78d32] | 210 | -->
|
---|
[c33a0d3] | 211 | <!--
|
---|
[bb78d32] | 212 | <para>
|
---|
| 213 | First, apply a patch including fixes for known performance regressions
|
---|
| 214 | and future problems with Xorg-Server.
|
---|
| 215 | </para>
|
---|
| 216 |
|
---|
| 217 | <screen><userinput remap="pre">patch -Np1 -i ../xf86-video-ati-&xorg-ati-driver-version;-upstream_fixes-1.patch</userinput></screen>
|
---|
[c33a0d3] | 218 | -->
|
---|
[05738781] | 219 |
|
---|
[57da0547] | 220 | <para>
|
---|
| 221 | Install <application>Xorg ATI Driver</application> by running the following
|
---|
| 222 | commands:
|
---|
| 223 | </para>
|
---|
| 224 |
|
---|
[05738781] | 225 | <screen><userinput>./configure $XORG_CONFIG &&
|
---|
[57da0547] | 226 | make</userinput></screen>
|
---|
| 227 |
|
---|
| 228 | <para>
|
---|
| 229 | This package does not come with a test suite.
|
---|
| 230 | </para>
|
---|
| 231 |
|
---|
| 232 | <para>
|
---|
| 233 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 234 | </para>
|
---|
| 235 |
|
---|
[f23c7b77] | 236 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 237 | <!-- following is (now) automatically installed
|
---|
[2b04d83] | 238 | install -v -m644 conf/10-radeon.conf \
|
---|
[f23c7b77] | 239 | $XORG_PREFIX/share/X11/xorg.conf.d -->
|
---|
[57da0547] | 240 | </sect3>
|
---|
| 241 |
|
---|
[2b04d83] | 242 | <!--
|
---|
[be21a51] | 243 | <sect3 id="ati-glamor-accel">
|
---|
[57da0547] | 244 | <title>Glamor Acceleration</title>
|
---|
| 245 |
|
---|
| 246 | <para>
|
---|
| 247 | Glamor is an acceleration library which uses cards' 3D capabilities
|
---|
[2b04d83] | 248 | to accelerate 2D rendering. Glamor acceleration is either required
|
---|
| 249 | or used by default for all R600 and later GPUs. To see which GPUs are
|
---|
| 250 | in these categories, read the <ulink url="&radeon-marketing-names;">
|
---|
| 251 | Decoder ring for engineering vs marketing names</ulink>.
|
---|
| 252 | </para>
|
---|
| 253 |
|
---|
| 254 | <para>
|
---|
| 255 | Please note
|
---|
[57da0547] | 256 | that Glamor acceleration can be used with other chips as well, from the
|
---|
[9bff4bc] | 257 | R300 onwards. On at least some Northern Islands chips it is beneficial.
|
---|
[57da0547] | 258 | </para>
|
---|
| 259 |
|
---|
| 260 | <para>
|
---|
[b26bc4c] | 261 | Glamor acceleration is not enabled by default for chipsets that don't
|
---|
[9bff4bc] | 262 | use "radeonsi" Gallium3D driver. You have to use an
|
---|
[57da0547] | 263 | <filename>xorg.conf</filename> file to enable it. To enable
|
---|
[b26bc4c] | 264 | Glamor for cards other than "Southern Islands" and later, create the
|
---|
[9bff4bc] | 265 | following file in
|
---|
| 266 | <filename class="directory">${XORG_PREFIX}/share/X11/xorg.conf.d/</filename>
|
---|
| 267 | as the <systemitem class="username">root</systemitem> user:
|
---|
[57da0547] | 268 | </para>
|
---|
| 269 |
|
---|
[9bff4bc] | 270 | <screen role="root"><userinput>cat >> ${XORG_PREFIX}/share/X11/xorg.conf.d/20-glamor.conf << "EOF"
|
---|
| 271 | <literal>Section "Device"
|
---|
[57da0547] | 272 | Identifier "radeon"
|
---|
[9bff4bc] | 273 | Driver "ati"
|
---|
[57da0547] | 274 | Option "AccelMethod" "glamor"
|
---|
| 275 | EndSection</literal>
|
---|
| 276 | EOF</userinput></screen>
|
---|
| 277 |
|
---|
[2b04d83] | 278 | </sect3>-->
|
---|
| 279 |
|
---|
[f23c7b77] | 280 | <!--
|
---|
[2b04d83] | 281 | <sect3 role="commands">
|
---|
| 282 | <title>Command Explanations</title>
|
---|
| 283 |
|
---|
| 284 |
|
---|
| 285 | <para>
|
---|
| 286 | <command>install -v -m644 conf/10-radeon.conf ...</command>: this
|
---|
| 287 | ensures that the radeon driver can be loaded automatically even if
|
---|
| 288 | the ati wrapper driver has not been installed.
|
---|
| 289 | </para>
|
---|
| 290 |
|
---|
[f23c7b77] | 291 | </sect3> -->
|
---|
[57da0547] | 292 |
|
---|
| 293 | <sect3 role="content">
|
---|
| 294 | <title>Contents</title>
|
---|
| 295 |
|
---|
| 296 | <segmentedlist>
|
---|
| 297 | <segtitle>Installed Xorg Drivers</segtitle>
|
---|
| 298 |
|
---|
| 299 | <seglistitem>
|
---|
| 300 | <seg>
|
---|
| 301 | ati_drv.so and radeon_drv.so
|
---|
| 302 | </seg>
|
---|
| 303 | </seglistitem>
|
---|
| 304 | </segmentedlist>
|
---|
| 305 |
|
---|
| 306 | <variablelist>
|
---|
| 307 | <bridgehead renderas="sect4">Short Descriptions</bridgehead>
|
---|
| 308 | <?dbfo list-presentation="list"?>
|
---|
| 309 | <?dbhtml list-presentation="table"?>
|
---|
| 310 |
|
---|
| 311 | <varlistentry id="ati_drv">
|
---|
| 312 | <term><filename class="libraryfile">ati_drv.so</filename></term>
|
---|
| 313 | <listitem>
|
---|
| 314 | <para>
|
---|
| 315 | is a wrapper driver for ATI video cards that autodetects ATI
|
---|
[1d2a8e9] | 316 | video hardware and loads the radeon, mach64 or r128 driver
|
---|
[4c24eb0a] | 317 | depending on which video card is in use
|
---|
[57da0547] | 318 | </para>
|
---|
| 319 | <indexterm zone="xorg-ati-driver ati_drv">
|
---|
| 320 | <primary sortas="c-ati_drv">ati_drv.so</primary>
|
---|
| 321 | </indexterm>
|
---|
| 322 | </listitem>
|
---|
| 323 | </varlistentry>
|
---|
| 324 |
|
---|
| 325 | <varlistentry id="radeon_drv">
|
---|
| 326 | <term><filename class="libraryfile">radeon_drv.so</filename></term>
|
---|
| 327 | <listitem>
|
---|
| 328 | <para>
|
---|
[4c24eb0a] | 329 | is an Xorg video driver for ATI Radeon based video cards
|
---|
[57da0547] | 330 | </para>
|
---|
| 331 | <indexterm zone="xorg-ati-driver radeon_drv">
|
---|
| 332 | <primary sortas="c-radeon_drv">radeon_drv.so</primary>
|
---|
| 333 | </indexterm>
|
---|
| 334 | </listitem>
|
---|
| 335 | </varlistentry>
|
---|
| 336 |
|
---|
| 337 | </variablelist>
|
---|
| 338 |
|
---|
| 339 | </sect3>
|
---|
| 340 |
|
---|
| 341 | </sect2>
|
---|