source: x/installing/x7driver-ati.xml@ e5324803

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since e5324803 was 87fc185, checked in by Xi Ruoyao <xry111@…>, 20 months ago

x: URL updates

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