[308cbf9] | 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 |
|
---|
[d2171cb] | 7 | <!ENTITY intel-media-driver-version "23.1.6">
|
---|
[308cbf9] | 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 " ">
|
---|
[d2171cb] | 11 | <!ENTITY intel-media-driver-md5sum "39503a7dab11a5cd676bbdc2510505aa">
|
---|
[308cbf9] | 12 | <!ENTITY intel-media-driver-size "27 MB">
|
---|
[d2171cb] | 13 | <!ENTITY intel-media-driver-buildsize "2.4 GB (349 MB installed)">
|
---|
| 14 | <!ENTITY intel-media-driver-time "10 SBU (with parallelism=4)">
|
---|
[308cbf9] | 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 | <note>
|
---|
| 76 | <para>
|
---|
| 77 | The tarball <filename>intel-media-&intel-media-driver-version;.tar.gz</filename>
|
---|
| 78 | will extract to the directory
|
---|
| 79 | <filename class="directory">media-driver-intel-media-&intel-media-driver-version;</filename>.
|
---|
| 80 | </para>
|
---|
| 81 | </note>
|
---|
| 82 |
|
---|
| 83 | <bridgehead renderas="sect4">intel-media-driver Dependencies</bridgehead>
|
---|
| 84 |
|
---|
| 85 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
| 86 | <para role="required">
|
---|
[25707aa7] | 87 | <xref linkend="cmake"/>,
|
---|
| 88 | <xref linkend="intel-gmmlib"/>, and
|
---|
[308cbf9] | 89 | <xref linkend="libva"/>
|
---|
| 90 | </para>
|
---|
| 91 |
|
---|
| 92 | <para condition="html" role="usernotes">
|
---|
| 93 | User Notes: <ulink url="&blfs-wiki;/intel-media-driver"/>
|
---|
| 94 | </para>
|
---|
| 95 | </sect3>
|
---|
| 96 |
|
---|
| 97 | <sect3 role="installation">
|
---|
| 98 | <title>Installation of intel-media-driver</title>
|
---|
| 99 |
|
---|
| 100 | <note>
|
---|
| 101 | <para>
|
---|
| 102 | This package takes a long time to build because it compiles code
|
---|
| 103 | specific to each individual generation of Intel GPUs and for a
|
---|
| 104 | variety of media codecs.
|
---|
| 105 | </para>
|
---|
[6a7191e6] | 106 |
|
---|
| 107 | <!-- This reduce the size of iHD_drv_video.so from 319M to 157M
|
---|
| 108 | for me. -->
|
---|
| 109 | <para>
|
---|
| 110 | If you know the model of your Intel GPU, you can pass the
|
---|
| 111 | <option>-D{GEN{8,9,10,11,12},MTL}=OFF</option> option to the
|
---|
| 112 | <command>cmake</command> command but leaving the option for your
|
---|
| 113 | GPU out. Note that the <quote>GEN</quote> number here is the
|
---|
| 114 | generation of the GPU, not the CPU. For example, with an Intel
|
---|
| 115 | Core i7-1065G7 CPU shipping a 11th-generation Intel GPU, the
|
---|
| 116 | <option>-D{GEN{8,9,10,12},MTL}=OFF</option> option can be used
|
---|
| 117 | so the code specific to the other generations of Intel GPUs won't
|
---|
| 118 | be built.
|
---|
| 119 | </para>
|
---|
[308cbf9] | 120 | </note>
|
---|
| 121 |
|
---|
| 122 | <para>
|
---|
| 123 | Install <application>intel-media-driver</application> by running the
|
---|
| 124 | following commands:
|
---|
| 125 | </para>
|
---|
| 126 |
|
---|
| 127 | <screen><userinput>mkdir build &&
|
---|
| 128 | cd build &&
|
---|
| 129 |
|
---|
[2538620] | 130 | cmake -DCMAKE_INSTALL_PREFIX=$XORG_PREFIX \
|
---|
| 131 | -DINSTALL_DRIVER_SYSCONF=OFF \
|
---|
| 132 | -DBUILD_TYPE=Release \
|
---|
[308cbf9] | 133 | -Wno-dev .. &&
|
---|
| 134 | make</userinput></screen>
|
---|
| 135 |
|
---|
| 136 | <para>
|
---|
| 137 | This package does not come with a test suite.
|
---|
| 138 | </para>
|
---|
| 139 |
|
---|
| 140 | <para>
|
---|
| 141 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 142 | </para>
|
---|
| 143 |
|
---|
| 144 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 145 |
|
---|
| 146 | </sect3>
|
---|
| 147 |
|
---|
| 148 | <sect3 role="content">
|
---|
| 149 | <title>Contents</title>
|
---|
| 150 |
|
---|
| 151 | <segmentedlist>
|
---|
| 152 | <segtitle>Installed Programs</segtitle>
|
---|
| 153 | <segtitle>Installed Libraries</segtitle>
|
---|
| 154 | <segtitle>Installed Drivers</segtitle>
|
---|
| 155 | <segtitle>Installed Directories</segtitle>
|
---|
| 156 |
|
---|
| 157 | <seglistitem>
|
---|
| 158 | <seg>
|
---|
| 159 | None
|
---|
| 160 | </seg>
|
---|
| 161 | <seg>
|
---|
| 162 | libigfxcmrt.so
|
---|
| 163 | </seg>
|
---|
| 164 | <seg>
|
---|
| 165 | iHD_drv_video.so
|
---|
| 166 | </seg>
|
---|
| 167 | <seg>
|
---|
| 168 | /usr/include/igfxcmrt
|
---|
| 169 | </seg>
|
---|
| 170 | </seglistitem>
|
---|
| 171 | </segmentedlist>
|
---|
| 172 |
|
---|
| 173 | <variablelist>
|
---|
| 174 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 175 | <?dbfo list-presentation="list"?>
|
---|
| 176 | <?dbhtml list-presentation="table"?>
|
---|
| 177 |
|
---|
| 178 | <varlistentry id="libigfxcmrt">
|
---|
| 179 | <term><filename class="libraryfile">libigfxcmrt.so</filename></term>
|
---|
| 180 | <listitem>
|
---|
| 181 | <para>
|
---|
| 182 | provides API functions which allow running GPU kernels on the
|
---|
| 183 | render engine
|
---|
| 184 | </para>
|
---|
| 185 | <indexterm zone="intel-media-driver libigfxcmrt">
|
---|
| 186 | <primary sortas="c-libigfxcmrt">libigfxcmrt.so</primary>
|
---|
| 187 | </indexterm>
|
---|
| 188 | </listitem>
|
---|
| 189 | </varlistentry>
|
---|
| 190 |
|
---|
| 191 | </variablelist>
|
---|
| 192 |
|
---|
| 193 | </sect3>
|
---|
| 194 |
|
---|
| 195 | </sect2>
|
---|