source: x/installing/intel-media-driver.xml@ 51aa6e5

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 51aa6e5 was 7d52b116, checked in by Douglas R. Reno <renodr@…>, 13 months ago

Update to intel-media-driver-23.2.3

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