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