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