source: x/installing/x7driver-amdgpu.xml@ 87fbbb7

11.2 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/soup3 xry111/xf86-video-removal
Last change on this file since 87fbbb7 was 83cc2cc3, checked in by Ken Moffat <ken@…>, 2 years ago

Add 'Firmware for AMD/ATI amdgpu video chips'

Bruce noticed this was not explicity covered, my skim-reading
had noticed the details for ATI video chips without spotting that
was only for radeon.

In both the amdgpu and radeon xorg drivers, clarify that firmware
might have been provided in a modular build in /lib/firmware.

  • Property mode set to 100644
File size: 8.8 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 "http://wiki.x.org/wiki/RadeonFeature">
8 <!ENTITY radeon-marketing-names "&radeon-wiki;#decoderringforengineeringvsmarketingnames">
9
10 <!ENTITY xorg-amdgpu-driver-version "22.0.0">
11
12 <!ENTITY xorg-amdgpu-driver-download-http "&xorg-download-http;/driver/xf86-video-amdgpu-&xorg-amdgpu-driver-version;.tar.xz">
13 <!ENTITY xorg-amdgpu-driver-download-ftp "&xorg-download-ftp;/driver/xf86-video-amdgpu-&xorg-amdgpu-driver-version;.tar.xz">
14 <!ENTITY xorg-amdgpu-driver-md5sum "6c907b44d32a0112e1a4788bab727f79">
15 <!ENTITY xorg-amdgpu-driver-size "372 KB">
16 <!ENTITY xorg-amdgpu-driver-buildsize "6.0 MB">
17 <!ENTITY xorg-amdgpu-driver-time "less than 0.1 SBU">
18]>
19
20 <!-- Begin Xorg AMDGPU Driver -->
21 <sect2 id="xorg-amdgpu-driver" xreflabel="Xorg AMDGPU Driver-&xorg-amdgpu-driver-version;">
22
23 <sect2info>
24 <date>$Date$</date>
25 </sect2info>
26
27 <title>Xorg AMDGPU Driver-&xorg-amdgpu-driver-version;</title>
28
29 <indexterm zone="xorg-amdgpu-driver">
30 <primary sortas="a-xorg-amdgpu-driver">xorg-amdgpu-driver</primary>
31 </indexterm>
32
33 <sect3 role="package">
34 <title>Introduction to Xorg AMDGPU Driver</title>
35
36 <para>
37 The <application>Xorg AMDGPU Driver</application> package contains the X.Org
38 Video Driver for newer AMD Radeon video cards and newer AMD-CPUs with
39 integrated graphics (APUs). This includes video cards starting with Volcanic Islands.
40 It can also be used for Southern and Sea Islands if the experimental support
41 was enabled in the kernel.
42 </para>
43
44 &lfs111_checked;
45
46 <note>
47 <para>
48 For Direct Rendering to work, you need to enable the radeonsi Gallium
49 driver at <xref linkend="mesa"/> build time. Also, all cards and newer APUs
50 require Firmware to be available when the kernel driver is loaded.
51 If you have not followed the instructions in the Firmware
52 for Video Cards part of <xref linkend="postlfs-firmware"/> which provided
53 that firmware in <filename class="directory">/lib/firmware</filename>
54 for a modular build,
55 firmware can be obtained from <ulink
56 url="&sources-anduin-http;/linux-firmware/"/> -
57 see <xref linkend="xorg-amdgpu-firmware-kernel"/> below for additional
58 firmware.
59 </para>
60 </note>
61
62 <bridgehead renderas="sect4">Package Information</bridgehead>
63 <itemizedlist spacing="compact">
64 <listitem>
65 <para>
66 Download (HTTP): <ulink url="&xorg-amdgpu-driver-download-http;"/>
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Download (FTP): <ulink url="&xorg-amdgpu-driver-download-ftp;"/>
72 </para>
73 </listitem>
74 <listitem>
75 <para>
76 Download MD5 sum: &xorg-amdgpu-driver-md5sum;
77 </para>
78 </listitem>
79 <listitem>
80 <para>
81 Download size: &xorg-amdgpu-driver-size;
82 </para>
83 </listitem>
84 <listitem>
85 <para>
86 Estimated disk space required: &xorg-amdgpu-driver-buildsize;
87 </para>
88 </listitem>
89 <listitem>
90 <para>
91 Estimated build time: &xorg-amdgpu-driver-time;
92 </para>
93 </listitem>
94 </itemizedlist>
95
96 <bridgehead renderas="sect4">Xorg AMDGPU Driver Dependencies</bridgehead>
97
98 <bridgehead renderas="sect5">Required</bridgehead>
99 <para role="required">
100 <xref linkend="xorg-server"/> (must be built with glamor enabled)
101 </para>
102
103 <para condition="html" role="usernotes">
104 User Notes: <ulink url="&blfs-wiki;/xorg-amdgpu-driver"/>
105 </para>
106 </sect3>
107
108 <sect3 role="kernel" id="xorg-amdgpu-driver-kernel">
109 <title>Kernel Configuration</title>
110
111 <para>
112 Enable the following options in the kernel configuration and recompile
113 the kernel if necessary:
114 </para>
115
116<!-- Editor note: CONFIG_DRM_AMDGPU_SI available in 4.9+ -->
117<screen><literal>Device Drivers ---&gt;
118 Graphics support ---&gt;
119 &lt;*&gt; Direct Rendering Manager (XFree86 ... support) ---&gt; [CONFIG_DRM]
120 &lt;*/M&gt; AMD GPU [CONFIG_DRM_AMDGPU]
121 &lt; /*&gt; Enable amdgpu support for SI parts [CONFIG_DRM_AMDGPU_SI]
122 &lt; /*&gt; Enable amdgpu support for CIK parts [CONFIG_DRM_AMDGPU_CIK]</literal></screen>
123
124 <para>
125 The last two options enable experimental support for Southern and
126 Sea Islands AMD GPUs so they can be used with this driver. Note that
127 the support is marked experimental and disabled by default.
128 <xref linkend="xorg-ati-driver"/> should be used for those GPUs.
129 </para>
130
131 <indexterm zone="xorg-amdgpu-driver xorg-amdgpu-driver-kernel">
132 <primary sortas="d-xorg-amdgpu-driver">xorg-amdgpu-driver</primary>
133 </indexterm>
134 </sect3>
135
136 <sect3 role="kernel" id="xorg-amdgpu-firmware-kernel">
137 <title>Kernel Configuration for additional firmware</title>
138
139 <para>
140 If you need to add firmware, install the file(s) and then point to them in the
141 kernel configuration and recompile the kernel if necessary. To find out which
142 firmware you need, consult the <ulink url="&radeon-marketing-names;">
143 Decoder ring for engineering vs marketing names</ulink>. Download any firmware
144 for your card which is named like:
145 <filename><replaceable>&lt;ENGINEERING_NAME&gt;</replaceable>_rlc.bin</filename>,
146 etc. Below is an example for Radeon R7 M340 GPU, which is codenamed
147 Iceland/Topaz, along with a network card that also requires the firmware:
148 </para>
149
150<screen><literal>CONFIG_EXTRA_FIRMWARE="amdgpu/topaz_ce.bin amdgpu/topaz_k_smc.bin amdgpu/topaz_mc.bin
151 amdgpu/topaz_me.bin amdgpu/topaz_mec2.bin amdgpu/topaz_mec.bin
152 amdgpu/topaz_pfp.bin amdgpu/topaz_rlc.bin amdgpu/topaz_sdma1.bin
153 amdgpu/topaz_sdma.bin amdgpu/topaz_smc.bin rtl_nic/rtl8168e-3.fw"
154CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"</literal></screen>
155
156 <note>
157 <para>
158 CONFIG_EXTRA_FIRMWARE should all be on one line. It is shown above as
159 multiple lines for presentation only.
160 </para>
161 </note>
162
163 <tip>
164 <para>
165 You can check <command>dmesg</command> output after boot to see which firmware
166 is missing.
167 </para>
168 </tip>
169
170 <para>
171 Alternatively, if you change CONFIG_DRM_AMDGPU to '=m' in your linux
172 kernel .config the firmware can be loaded automatically from
173 /lib/firmware/amdgpu/ when it installs the module. This offers a tiny
174 space saving, but also means that the screen will be blank for a longer
175 time before the framebuffer appears. Distros take this approach because
176 it is not practical to specify every possible firmware and the kernel
177 would be excessively big.
178 </para>
179
180 <indexterm zone="xorg-amdgpu-driver xorg-amdgpu-firmware-kernel">
181 <primary sortas="d-xorg-amdgpu-firmware">xorg-amdgpu-firmware</primary>
182 </indexterm>
183 </sect3>
184
185 <sect3 role="installation">
186 <title>Installation of Xorg AMDGPU Driver</title>
187
188 <para>
189 Install <application>Xorg AMDGPU Driver</application> by running the following
190 commands:
191 </para>
192
193<screen><userinput>./configure $XORG_CONFIG &amp;&amp;
194make</userinput></screen>
195
196 <para>
197 This package does not come with a test suite.
198 </para>
199
200 <para>
201 Now, as the <systemitem class="username">root</systemitem> user:
202 </para>
203
204<screen role="root"><userinput>make install</userinput></screen>
205 </sect3>
206
207 <sect3 role="content">
208 <title>Contents</title>
209
210 <segmentedlist>
211 <segtitle>Installed Xorg Driver</segtitle>
212
213 <seglistitem>
214 <seg>
215 amdgpu_drv.so
216 </seg>
217 </seglistitem>
218 </segmentedlist>
219
220 <variablelist>
221 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
222 <?dbfo list-presentation="list"?>
223 <?dbhtml list-presentation="table"?>
224
225 <varlistentry id="amdgpu_drv">
226 <term><filename class="libraryfile">amdgpu_drv.so</filename></term>
227 <listitem>
228 <para>
229 is an Xorg video driver for latest AMD Radeon video cards
230 </para>
231 <indexterm zone="xorg-amdgpu-driver amdgpu_drv">
232 <primary sortas="c-amdgpu_drv">amdgpu_drv.so</primary>
233 </indexterm>
234 </listitem>
235 </varlistentry>
236
237 </variablelist>
238
239 </sect3>
240
241 </sect2>
Note: See TracBrowser for help on using the repository browser.