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

12.0 12.1 ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since f2cb575d was 9a6d0d9, checked in by Xi Ruoyao <xry111@…>, 12 months ago

x: Remove non-exist User Notes link

Part of User Notes removal by
https://www.linuxfromscratch.org/~xry111/remove-nonexist-usernote.sh

  • Property mode set to 100644
File size: 6.5 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 </sect3>
103
104 <sect3 role="installation">
105 <title>Installation of intel-media-driver</title>
106
107 <note>
108 <para>
109 This package takes a long time to build because it compiles code
110 specific to each individual generation of Intel GPUs and for a
111 variety of media codecs.
112 </para>
113
114 <!-- This reduce the size of iHD_drv_video.so from 319M to 157M
115 for me. -->
116 <para>
117 If you know the model of your Intel GPU, you can pass the
118 <option>-D{GEN{8,9,10,11,12},MTL}=OFF</option> option to the
119 <command>cmake</command> command but leaving the option for your
120 GPU out. Note that the <quote>GEN</quote> number here is the
121 generation of the GPU, not the CPU. For example, with an Intel
122 Core i7-1065G7 CPU shipping a 11th-generation Intel GPU, the
123 <option>-D{GEN{8,9,10,12},MTL}=OFF</option> option can be used
124 so the code specific to the other generations of Intel GPUs won't
125 be built.
126 </para>
127 </note>
128
129 <para>
130 First, fix a few build failures with GCC-13:
131 </para>
132
133 <screen><userinput remap="pre">patch -Np1 -i ../intel-media-driver-&intel-media-driver-version;-upstream_fixes-1.patch</userinput></screen>
134
135 <para>
136 Install <application>intel-media-driver</application> by running the
137 following commands:
138 </para>
139
140<screen><userinput>mkdir build &amp;&amp;
141cd build &amp;&amp;
142
143cmake -DCMAKE_INSTALL_PREFIX=$XORG_PREFIX \
144 -DINSTALL_DRIVER_SYSCONF=OFF \
145 -DBUILD_TYPE=Release \
146 -Wno-dev .. &amp;&amp;
147make</userinput></screen>
148
149 <para>
150 This package does not come with a test suite.
151 </para>
152
153 <para>
154 Now, as the <systemitem class="username">root</systemitem> user:
155 </para>
156
157<screen role="root"><userinput>make install</userinput></screen>
158
159 </sect3>
160
161 <sect3 role="content">
162 <title>Contents</title>
163
164 <segmentedlist>
165 <segtitle>Installed Programs</segtitle>
166 <segtitle>Installed Libraries</segtitle>
167 <segtitle>Installed Drivers</segtitle>
168 <segtitle>Installed Directories</segtitle>
169
170 <seglistitem>
171 <seg>
172 None
173 </seg>
174 <seg>
175 libigfxcmrt.so
176 </seg>
177 <seg>
178 iHD_drv_video.so
179 </seg>
180 <seg>
181 /usr/include/igfxcmrt
182 </seg>
183 </seglistitem>
184 </segmentedlist>
185
186 <variablelist>
187 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
188 <?dbfo list-presentation="list"?>
189 <?dbhtml list-presentation="table"?>
190
191 <varlistentry id="libigfxcmrt">
192 <term><filename class="libraryfile">libigfxcmrt.so</filename></term>
193 <listitem>
194 <para>
195 provides API functions which allow running GPU kernels on the
196 render engine
197 </para>
198 <indexterm zone="intel-media-driver libigfxcmrt">
199 <primary sortas="c-libigfxcmrt">libigfxcmrt.so</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
203
204 </variablelist>
205
206 </sect3>
207
208 </sect2>
Note: See TracBrowser for help on using the repository browser.