[07584d8] | 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 |
|
---|
[2c13ebe] | 7 | <!ENTITY libva-download-http "https://github.com/intel/libva/releases/download/&libva-version;/libva-&libva-version;.tar.bz2">
|
---|
[07584d8] | 8 | <!ENTITY libva-download-ftp " ">
|
---|
[dc30794] | 9 | <!ENTITY libva-md5sum "f649ad25a82bdd0f23a4c89369afd94d">
|
---|
| 10 | <!ENTITY libva-size "492 KB">
|
---|
| 11 | <!ENTITY libva-buildsize "7.8 MB">
|
---|
| 12 | <!ENTITY libva-time "less than 0.1 SBU">
|
---|
[07584d8] | 13 |
|
---|
[8dfc5c3] | 14 |
|
---|
[2c13ebe] | 15 | <!ENTITY libva-intel-driver-download-http "https://github.com/intel/intel-vaapi-driver/releases/download/&libva-intel-driver-version;/intel-vaapi-driver-&libva-intel-driver-version;.tar.bz2">
|
---|
[07584d8] | 16 | <!ENTITY libva-intel-driver-download-ftp " ">
|
---|
[3c7d69e6] | 17 | <!ENTITY libva-intel-driver-md5sum "073fce0f409559109ad2dd0a6531055d">
|
---|
[2c13ebe] | 18 | <!ENTITY libva-intel-driver-size "2.8 MB">
|
---|
[d04e883] | 19 | <!ENTITY libva-intel-driver-buildsize "97 MB">
|
---|
[904292f] | 20 | <!ENTITY libva-intel-driver-time "0.3 SBU">
|
---|
[07584d8] | 21 | ]>
|
---|
| 22 |
|
---|
[4c24eb0a] | 23 | <sect2 id="libva" xreflabel="libva-&libva-version;">
|
---|
[07584d8] | 24 |
|
---|
[4c24eb0a] | 25 | <sect2info>
|
---|
| 26 | <date>$Date$</date>
|
---|
| 27 | </sect2info>
|
---|
[07584d8] | 28 |
|
---|
[4c24eb0a] | 29 | <title>libva-&libva-version;</title>
|
---|
[07584d8] | 30 |
|
---|
[4c24eb0a] | 31 | <indexterm zone="libva">
|
---|
| 32 | <primary sortas="a-libva">libva</primary>
|
---|
| 33 | </indexterm>
|
---|
[c34cb2e5] | 34 |
|
---|
[4c24eb0a] | 35 | <sect3 role="package">
|
---|
| 36 | <title>Introduction to libva</title>
|
---|
[07584d8] | 37 |
|
---|
[4c24eb0a] | 38 | <para>
|
---|
| 39 | The <application>libva</application> package contains a library which
|
---|
| 40 | provides access to hardware accelerated video processing, using hardware
|
---|
| 41 | to accelerate video processing in order to offload the central
|
---|
| 42 | processing unit (CPU) to decode and encode compressed digital video. The VA
|
---|
| 43 | API video decode/encode interface is platform and window system
|
---|
| 44 | independent targeted at Direct Rendering Infrastructure (DRI) in the X
|
---|
| 45 | Window System however it can potentially also be used with direct
|
---|
| 46 | framebuffer and graphics sub-systems for video output. Accelerated
|
---|
| 47 | processing includes support for video decoding, video encoding,
|
---|
| 48 | subpicture blending, and rendering.
|
---|
| 49 | </para>
|
---|
[07584d8] | 50 |
|
---|
[f1a479c7] | 51 | &lfs111_checked;
|
---|
[07584d8] | 52 |
|
---|
[4c24eb0a] | 53 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
| 54 | <itemizedlist spacing="compact">
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>
|
---|
| 57 | Download (HTTP): <ulink url="&libva-download-http;"/>
|
---|
| 58 | </para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>
|
---|
| 62 | Download (FTP): <ulink url="&libva-download-ftp;"/>
|
---|
| 63 | </para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>
|
---|
| 67 | Download MD5 sum: &libva-md5sum;
|
---|
| 68 | </para>
|
---|
| 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
| 71 | <para>
|
---|
| 72 | Download size: &libva-size;
|
---|
| 73 | </para>
|
---|
| 74 | </listitem>
|
---|
| 75 | <listitem>
|
---|
| 76 | <para>
|
---|
| 77 | Estimated disk space required: &libva-buildsize;
|
---|
| 78 | </para>
|
---|
| 79 | </listitem>
|
---|
| 80 | <listitem>
|
---|
| 81 | <para>
|
---|
| 82 | Estimated build time: &libva-time;
|
---|
| 83 | </para>
|
---|
| 84 | </listitem>
|
---|
| 85 | </itemizedlist>
|
---|
[07584d8] | 86 |
|
---|
[4c24eb0a] | 87 | <bridgehead renderas="sect4">Additional Downloads</bridgehead>
|
---|
| 88 | <itemizedlist spacing="compact">
|
---|
| 89 | <listitem>
|
---|
| 90 | <para>
|
---|
| 91 | Intel Driver Download (HTTP): <ulink url="&libva-intel-driver-download-http;"/>
|
---|
| 92 | </para>
|
---|
| 93 | </listitem>
|
---|
| 94 | <listitem>
|
---|
| 95 | <para>
|
---|
| 96 | Intel Driver Download (FTP): <ulink url="&libva-intel-driver-download-ftp;"/>
|
---|
| 97 | </para>
|
---|
| 98 | </listitem>
|
---|
| 99 | <listitem>
|
---|
| 100 | <para>
|
---|
| 101 | Intel Driver Download MD5 sum: &libva-intel-driver-md5sum;
|
---|
| 102 | </para>
|
---|
| 103 | </listitem>
|
---|
| 104 | <listitem>
|
---|
| 105 | <para>
|
---|
| 106 | Intel Driver Download size: &libva-intel-driver-size;
|
---|
| 107 | </para>
|
---|
| 108 | </listitem>
|
---|
| 109 | <listitem>
|
---|
| 110 | <para>
|
---|
| 111 | Estimated disk space required: &libva-intel-driver-buildsize;
|
---|
| 112 | </para>
|
---|
| 113 | </listitem>
|
---|
| 114 | <listitem>
|
---|
| 115 | <para>
|
---|
| 116 | Estimated build time: &libva-intel-driver-time;
|
---|
| 117 | </para>
|
---|
| 118 | </listitem>
|
---|
| 119 | </itemizedlist>
|
---|
| 120 |
|
---|
| 121 | <bridgehead renderas="sect4">libva Dependencies</bridgehead>
|
---|
| 122 |
|
---|
| 123 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
| 124 | <para role="required">
|
---|
| 125 | <xref linkend="libdrm"/>
|
---|
| 126 | </para>
|
---|
| 127 |
|
---|
| 128 | <bridgehead renderas="sect5">Recommended</bridgehead>
|
---|
| 129 | <para role="recommended">
|
---|
| 130 | <xref linkend="mesa"/>
|
---|
| 131 | </para>
|
---|
| 132 |
|
---|
| 133 | <bridgehead renderas="sect5">Optional</bridgehead>
|
---|
| 134 | <para role="optional">
|
---|
| 135 | <xref linkend="doxygen"/>,
|
---|
| 136 | <xref linkend="wayland"/>, and
|
---|
| 137 | <ulink url="https://gitlab.freedesktop.org/drm/igt-gpu-tools">intel-gpu-tools</ulink>
|
---|
| 138 | </para>
|
---|
| 139 |
|
---|
| 140 | <para condition="html" role="usernotes">
|
---|
| 141 | User Notes: <ulink url="&blfs-wiki;/libva"/>
|
---|
[71df408] | 142 | </para>
|
---|
[4c24eb0a] | 143 | </sect3>
|
---|
[5833ccd] | 144 |
|
---|
[4c24eb0a] | 145 | <sect3 role="installation">
|
---|
| 146 | <title>Installation of libva</title>
|
---|
| 147 |
|
---|
| 148 | <caution>
|
---|
| 149 | <para>
|
---|
[8558044] | 150 | If you are reinstalling this package, you will need
|
---|
[4c24eb0a] | 151 | to remove the older versions of the libraries. These are in the
|
---|
| 152 | form of libva*.so.1 and any symbolic links pointing to them. In
|
---|
| 153 | addition, any packages that use these files need to be rebuilt.
|
---|
| 154 | </para>
|
---|
| 155 | </caution>
|
---|
| 156 |
|
---|
| 157 | <para>
|
---|
| 158 | Install <application>libva</application> by running the following
|
---|
| 159 | commands:
|
---|
| 160 | </para>
|
---|
[07584d8] | 161 |
|
---|
[92245989] | 162 | <screen><userinput>./configure $XORG_CONFIG &&
|
---|
[07584d8] | 163 | make</userinput></screen>
|
---|
| 164 |
|
---|
[4c24eb0a] | 165 | <para>
|
---|
| 166 | This package does not come with a test suite.
|
---|
| 167 | </para>
|
---|
[07584d8] | 168 |
|
---|
[4c24eb0a] | 169 | <para>
|
---|
| 170 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 171 | </para>
|
---|
[07584d8] | 172 |
|
---|
| 173 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 174 |
|
---|
[4c24eb0a] | 175 | <bridgehead renderas="sect3">Installation of intel-vaapi-driver</bridgehead>
|
---|
[07584d8] | 176 |
|
---|
[4c24eb0a] | 177 | <para>
|
---|
| 178 | The <application>intel-vaapi-driver</application> is designed
|
---|
| 179 | specifically for video cards based on an Intel GPU.
|
---|
| 180 | Unpack the intel-vaapi tarball:
|
---|
| 181 | </para>
|
---|
[51f2ba1] | 182 |
|
---|
| 183 | <screen><userinput>tar -xvf ../intel-vaapi-driver-&libva-intel-driver-version;.tar.bz2 &&
|
---|
| 184 | cd intel-vaapi-driver-&libva-intel-driver-version;</userinput></screen>
|
---|
| 185 |
|
---|
[3c7d69e6] | 186 | <!-- Fixed in intel-vaapi-driver-2.4.1
|
---|
[4c24eb0a] | 187 | <para>
|
---|
| 188 | Fix building with GCC-10 and above:
|
---|
| 189 | </para>
|
---|
[a381524] | 190 |
|
---|
| 191 | <screen><userinput>sed -e 's/const/extern &/' \
|
---|
| 192 | -i src/gen9_hevc_enc_kernels_binary.h</userinput></screen>
|
---|
[3c7d69e6] | 193 | -->
|
---|
[a381524] | 194 |
|
---|
[4c24eb0a] | 195 | <para>
|
---|
| 196 | Install the driver by running the following commands:
|
---|
| 197 | </para>
|
---|
[07584d8] | 198 |
|
---|
[14bf879] | 199 | <screen><userinput>./configure $XORG_CONFIG &&
|
---|
[07584d8] | 200 | make</userinput></screen>
|
---|
| 201 |
|
---|
[4c24eb0a] | 202 | <para>
|
---|
| 203 | This package does not come with a test suite.
|
---|
| 204 | </para>
|
---|
[07584d8] | 205 |
|
---|
[4c24eb0a] | 206 | <para>
|
---|
| 207 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 208 | </para>
|
---|
[07584d8] | 209 |
|
---|
| 210 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 211 |
|
---|
[4c24eb0a] | 212 | </sect3>
|
---|
| 213 |
|
---|
| 214 | <sect3 role="content">
|
---|
| 215 | <title>Contents</title>
|
---|
| 216 |
|
---|
| 217 | <segmentedlist>
|
---|
| 218 | <segtitle>Installed Programs</segtitle>
|
---|
| 219 | <segtitle>Installed Libraries</segtitle>
|
---|
| 220 | <segtitle>Installed Driver</segtitle>
|
---|
| 221 | <segtitle>Installed Directory</segtitle>
|
---|
| 222 |
|
---|
| 223 | <seglistitem>
|
---|
| 224 | <seg>
|
---|
| 225 | None
|
---|
| 226 | </seg>
|
---|
| 227 | <seg>
|
---|
[8558044] | 228 | libva-drm.so,
|
---|
| 229 | libva-glx.so,
|
---|
[4c24eb0a] | 230 | libva.so,
|
---|
[8558044] | 231 | libva-wayland.so, and
|
---|
[4c24eb0a] | 232 | libva-x11.so
|
---|
| 233 | </seg>
|
---|
| 234 | <seg>
|
---|
| 235 | i965_drv_video.so
|
---|
| 236 | </seg>
|
---|
| 237 | <seg>
|
---|
| 238 | $XORG_PREFIX/include/va
|
---|
| 239 | </seg>
|
---|
| 240 | </seglistitem>
|
---|
| 241 | </segmentedlist>
|
---|
| 242 |
|
---|
| 243 | <variablelist>
|
---|
| 244 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 245 | <?dbfo list-presentation="list"?>
|
---|
| 246 | <?dbhtml list-presentation="table"?>
|
---|
| 247 |
|
---|
| 248 | <varlistentry id="libva-lib">
|
---|
| 249 | <term><filename class="libraryfile">libva.so</filename></term>
|
---|
| 250 | <listitem>
|
---|
| 251 | <para>
|
---|
| 252 | contains API functions which provide access to hardware
|
---|
| 253 | accelerated video processing
|
---|
| 254 | </para>
|
---|
| 255 | <indexterm zone="libva libva-lib">
|
---|
| 256 | <primary sortas="c-libva">libva.so</primary>
|
---|
| 257 | </indexterm>
|
---|
| 258 | </listitem>
|
---|
| 259 | </varlistentry>
|
---|
| 260 |
|
---|
| 261 | </variablelist>
|
---|
| 262 |
|
---|
| 263 | </sect3>
|
---|
| 264 |
|
---|
| 265 | </sect2>
|
---|