source: multimedia/libdriv/intel-media-driver.xml@ a78da9f0

12.0 12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since a78da9f0 was a78da9f0, checked in by Douglas R. Reno <renodr@…>, 11 months ago

Update to intel-media-driver-23.3.0

  • Property mode set to 100644
File size: 7.3 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 intel-media-driver-version "23.2.4">-->
8
9 <!ENTITY intel-media-driver-download-http "https://github.com/intel/media-driver/archive/refs/tags/intel-media-&intel-media-driver-version;.tar.gz">
10 <!ENTITY intel-media-driver-download-ftp " ">
11 <!ENTITY intel-media-driver-md5sum "3b5eda7543298f7fecbce14af5fa1385">
12 <!ENTITY intel-media-driver-size "28 MB">
13 <!ENTITY intel-media-driver-buildsize "2.5 GB (357 MB installed)">
14 <!ENTITY intel-media-driver-time "10 SBU (with parallelism=4)">
15
16]>
17
18 <sect1 id="intel-media-driver" xreflabel="intel-media-driver-&intel-media-driver-version;">
19 <?dbhtml filename="intel-media-driver.html"?>
20
21 <sect1info>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>intel-media-driver-&intel-media-driver-version;</title>
26
27 <indexterm zone="intel-media-driver">
28 <primary sortas="a-intel-media-driver">intel-media-driver</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to intel-media-driver</title>
33
34 <para>
35 The <application>intel-media-driver</application> package provides a
36 VA API driver for Intel GPUs that are provided with Broadwell CPUs and
37 higher. This includes support for a variety of codecs.
38 </para>
39
40 &lfs113_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&intel-media-driver-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&intel-media-driver-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &intel-media-driver-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &intel-media-driver-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &intel-media-driver-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &intel-media-driver-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
76<!--
77 <bridgehead renderas="sect2">Additional Downloads</bridgehead>
78 <itemizedlist spacing="compact">
79 <listitem>
80 <para>
81 Required patch:
82 <ulink url="&patch-root;/intel-media-driver-&intel-media-driver-version;-upstream_fixes-1.patch"/>
83 </para>
84 </listitem>
85 </itemizedlist>
86-->
87
88 <note>
89 <para>
90 The tarball <filename>intel-media-&intel-media-driver-version;.tar.gz</filename>
91 will extract to the directory
92 <filename class="directory">media-driver-intel-media-&intel-media-driver-version;</filename>.
93 </para>
94 </note>
95
96 <bridgehead renderas="sect3">intel-media-driver Dependencies</bridgehead>
97
98 <bridgehead renderas="sect4">Required</bridgehead>
99 <para role="required">
100 <xref linkend="cmake"/>,
101 <xref linkend="intel-gmmlib"/>, and
102 <xref linkend="libva"/>
103 </para>
104
105 </sect2>
106
107 <sect2 role="kernel" id='intel-media-driver-kernel'>
108 <title>Kernel Configuration</title>
109
110 <para>
111 Enable the following options in the kernel configuration.
112 Recompile the kernel if necessary:
113 </para>
114
115<screen><literal>Device Drivers ---&gt;
116 Graphics support ---&gt;
117 &lt;*/M&gt; Direct Rendering Manager (XFree86 ... support) ---&gt; [CONFIG_DRM]
118 &lt;*/M&gt; Intel 8xx/9xx/G3x/G4x/HD Graphics [CONFIG_DRM_I915]</literal></screen>
119
120 <indexterm zone="intel-media-driver intel-media-driver-kernel">
121 <primary sortas="d-intel-media-driver">intel-media-driver</primary>
122 </indexterm>
123 </sect2>
124
125 <!-- TODO: It's said Gen9+ (Skylake or later) may need some firmware files. -->
126
127 <sect2 role="installation">
128 <title>Installation of intel-media-driver</title>
129
130 <note>
131 <para>
132 This package takes a long time to build because it compiles code
133 specific to each individual generation of Intel GPUs and for a
134 variety of media codecs.
135 </para>
136
137 <!-- This reduce the size of iHD_drv_video.so from 319M to 157M
138 for me. -->
139 <para>
140 If you know the model of your Intel GPU, you can pass the
141 <option>-D{GEN{8,9,10,11,12},MTL}=OFF</option> option to the
142 <command>cmake</command> command but leaving the option for your
143 GPU out. Note that the <quote>GEN</quote> number here is the
144 generation of the GPU, not the CPU. For example, with an Intel
145 Core i7-1065G7 CPU shipping a 11th-generation Intel GPU, the
146 <option>-D{GEN{8,9,10,12},MTL}=OFF</option> option can be used
147 so the code specific to the other generations of Intel GPUs won't
148 be built.
149 </para>
150 </note>
151
152<!--
153 <para>
154 First, fix a few build failures with GCC-13:
155 </para>
156
157 <screen><userinput remap="pre">patch -Np1 -i ../intel-media-driver-&intel-media-driver-version;-upstream_fixes-1.patch</userinput></screen>
158-->
159
160 <para>
161 Install <application>intel-media-driver</application> by running the
162 following commands:
163 </para>
164
165<screen><userinput>mkdir build &amp;&amp;
166cd build &amp;&amp;
167
168cmake -DCMAKE_INSTALL_PREFIX=$XORG_PREFIX \
169 -DINSTALL_DRIVER_SYSCONF=OFF \
170 -DBUILD_TYPE=Release \
171 -Wno-dev .. &amp;&amp;
172make</userinput></screen>
173
174 <para>
175 This package does not come with a test suite.
176 </para>
177
178 <para>
179 Now, as the <systemitem class="username">root</systemitem> user:
180 </para>
181
182<screen role="root"><userinput>make install</userinput></screen>
183
184 </sect2>
185
186 <sect2 role="content">
187 <title>Contents</title>
188
189 <segmentedlist>
190 <segtitle>Installed Programs</segtitle>
191 <segtitle>Installed Libraries</segtitle>
192 <segtitle>Installed Drivers</segtitle>
193 <segtitle>Installed Directories</segtitle>
194
195 <seglistitem>
196 <seg>
197 None
198 </seg>
199 <seg>
200 libigfxcmrt.so
201 </seg>
202 <seg>
203 iHD_drv_video.so
204 </seg>
205 <seg>
206 /usr/include/igfxcmrt
207 </seg>
208 </seglistitem>
209 </segmentedlist>
210
211 <variablelist>
212 <bridgehead renderas="sect2">Short Descriptions</bridgehead>
213 <?dbfo list-presentation="list"?>
214 <?dbhtml list-presentation="table"?>
215
216 <varlistentry id="libigfxcmrt">
217 <term><filename class="libraryfile">libigfxcmrt.so</filename></term>
218 <listitem>
219 <para>
220 provides API functions which allow running GPU kernels on the
221 render engine
222 </para>
223 <indexterm zone="intel-media-driver libigfxcmrt">
224 <primary sortas="c-libigfxcmrt">libigfxcmrt.so</primary>
225 </indexterm>
226 </listitem>
227 </varlistentry>
228
229 </variablelist>
230
231 </sect2>
232
233 </sect1>
Note: See TracBrowser for help on using the repository browser.