[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 " ">
|
---|
[51f2ba1] | 9 | <!ENTITY libva-md5sum "3dc6d0b213f088509c66e177ef36063d">
|
---|
| 10 | <!ENTITY libva-size "455 KB">
|
---|
| 11 | <!ENTITY libva-buildsize "9.1 MB">
|
---|
[9fa8a61] | 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 " ">
|
---|
[358f6aa] | 17 | <!ENTITY libva-intel-driver-md5sum "731dd9aaf9f5ef1b9c906ce82ef0220b">
|
---|
[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 |
|
---|
[a8ece039] | 23 | <sect2 id="libva" xreflabel="libva-&libva-version;">
|
---|
[07584d8] | 24 |
|
---|
[a8ece039] | 25 | <sect2info>
|
---|
[07584d8] | 26 | <othername>$LastChangedBy$</othername>
|
---|
| 27 | <date>$Date$</date>
|
---|
[a8ece039] | 28 | </sect2info>
|
---|
[07584d8] | 29 |
|
---|
| 30 | <title>libva-&libva-version;</title>
|
---|
| 31 |
|
---|
| 32 | <indexterm zone="libva">
|
---|
| 33 | <primary sortas="a-libva">libva</primary>
|
---|
| 34 | </indexterm>
|
---|
| 35 |
|
---|
[a8ece039] | 36 | <sect3 role="package">
|
---|
[07584d8] | 37 | <title>Introduction to libva</title>
|
---|
| 38 |
|
---|
[f3429309] | 39 | <para>
|
---|
[a8ece039] | 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
|
---|
[14bf879] | 43 | processing unit (CPU) to decode and encode compressed digital video. The VA
|
---|
[a8ece039] | 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.
|
---|
[07584d8] | 50 | </para>
|
---|
| 51 |
|
---|
[82bdecf] | 52 | &lfs90_checked;
|
---|
[07584d8] | 53 |
|
---|
[a8ece039] | 54 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
[07584d8] | 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>
|
---|
| 87 |
|
---|
[a8ece039] | 88 | <bridgehead renderas="sect4">Additional Downloads</bridgehead>
|
---|
[07584d8] | 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>
|
---|
[51f2ba1] | 120 | <listitem>
|
---|
| 121 | <para>
|
---|
| 122 | Required patch:
|
---|
| 123 | <ulink url="&patch-root;/libva-&libva-version;-issue_355_fix-1.patch"/>
|
---|
| 124 | </para>
|
---|
| 125 | </listitem>
|
---|
[07584d8] | 126 | </itemizedlist>
|
---|
| 127 |
|
---|
[a8ece039] | 128 | <bridgehead renderas="sect4">libva Dependencies</bridgehead>
|
---|
[07584d8] | 129 |
|
---|
[a8ece039] | 130 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
[07584d8] | 131 | <para role="required">
|
---|
[c34cb2e5] | 132 | <xref linkend="libdrm"/>
|
---|
| 133 | </para>
|
---|
| 134 |
|
---|
| 135 | <bridgehead renderas="sect5">Recommended</bridgehead>
|
---|
| 136 | <para role="recommended">
|
---|
[7a395d1] | 137 | <xref linkend="mesa"/>
|
---|
[07584d8] | 138 | </para>
|
---|
| 139 |
|
---|
[a8ece039] | 140 | <bridgehead renderas="sect5">Optional</bridgehead>
|
---|
[07584d8] | 141 | <para role="optional">
|
---|
| 142 | <xref linkend="doxygen"/> and
|
---|
[11c9ff3] | 143 | <xref linkend="wayland"/>
|
---|
[07584d8] | 144 | </para>
|
---|
| 145 |
|
---|
| 146 | <para condition="html" role="usernotes">
|
---|
| 147 | User Notes: <ulink url="&blfs-wiki;/libva"/>
|
---|
| 148 | </para>
|
---|
[a8ece039] | 149 | </sect3>
|
---|
[07584d8] | 150 |
|
---|
[a8ece039] | 151 | <sect3 role="installation">
|
---|
[07584d8] | 152 | <title>Installation of libva</title>
|
---|
| 153 |
|
---|
[5833ccd] | 154 | <caution><para>If you are reinstalling this package, you will need
|
---|
| 155 | to remove the older versions of the libraries. These are in the
|
---|
| 156 | form of libva*.so.1 and any symbolic links pointing to them. In
|
---|
| 157 | addition, any packages that use these files need to be rebuilt.
|
---|
| 158 | </para></caution>
|
---|
| 159 |
|
---|
[51f2ba1] | 160 | <para>
|
---|
| 161 | First, fix an issue which appeared just after the release:
|
---|
| 162 | </para>
|
---|
| 163 |
|
---|
| 164 | <screen><userinput>patch -Np1 -i ../libva-&libva-version;-issue_355_fix-1.patch</userinput></screen>
|
---|
[5833ccd] | 165 |
|
---|
[07584d8] | 166 | <para>
|
---|
| 167 | Install <application>libva</application> by running the following
|
---|
| 168 | commands:
|
---|
| 169 | </para>
|
---|
| 170 |
|
---|
[92245989] | 171 | <screen><userinput>./configure $XORG_CONFIG &&
|
---|
[07584d8] | 172 | make</userinput></screen>
|
---|
| 173 |
|
---|
| 174 | <para>
|
---|
[bd03708] | 175 | This package does not come with a test suite.
|
---|
[07584d8] | 176 | </para>
|
---|
| 177 |
|
---|
| 178 | <para>
|
---|
| 179 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 180 | </para>
|
---|
| 181 |
|
---|
| 182 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 183 |
|
---|
[51f2ba1] | 184 | <bridgehead renderas="sect3">Installation of intel-vaapi-driver</bridgehead>
|
---|
[07584d8] | 185 |
|
---|
| 186 | <para>
|
---|
[14bf879] | 187 | The <application>intel-vaapi-driver</application> is designed
|
---|
[f3429309] | 188 | specifically for video cards based on an Intel GPU.
|
---|
[51f2ba1] | 189 | Unpack the intel-vaapi tarball:
|
---|
| 190 | </para>
|
---|
| 191 |
|
---|
| 192 | <screen><userinput>tar -xvf ../intel-vaapi-driver-&libva-intel-driver-version;.tar.bz2 &&
|
---|
| 193 | cd intel-vaapi-driver-&libva-intel-driver-version;</userinput></screen>
|
---|
| 194 |
|
---|
| 195 | <para>
|
---|
| 196 | Install the driver by running the following commands:
|
---|
[07584d8] | 197 | </para>
|
---|
| 198 |
|
---|
[14bf879] | 199 | <screen><userinput>./configure $XORG_CONFIG &&
|
---|
[07584d8] | 200 | make</userinput></screen>
|
---|
| 201 |
|
---|
| 202 | <para>
|
---|
| 203 | This package does not come with a test suite.
|
---|
| 204 | </para>
|
---|
| 205 |
|
---|
| 206 | <para>
|
---|
| 207 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 208 | </para>
|
---|
| 209 |
|
---|
| 210 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 211 |
|
---|
[a8ece039] | 212 | </sect3>
|
---|
[07584d8] | 213 |
|
---|
[a8ece039] | 214 | <sect3 role="content">
|
---|
[07584d8] | 215 | <title>Contents</title>
|
---|
| 216 |
|
---|
| 217 | <segmentedlist>
|
---|
| 218 | <segtitle>Installed Programs</segtitle>
|
---|
| 219 | <segtitle>Installed Libraries</segtitle>
|
---|
[5833ccd] | 220 | <segtitle>Installed Driver</segtitle>
|
---|
[07584d8] | 221 | <segtitle>Installed Directory</segtitle>
|
---|
| 222 |
|
---|
| 223 | <seglistitem>
|
---|
| 224 | <seg>
|
---|
[c0a8c0dc] | 225 | None
|
---|
[07584d8] | 226 | </seg>
|
---|
| 227 | <seg>
|
---|
[14bf879] | 228 | libva-drm.so,
|
---|
| 229 | libva-glx.so,
|
---|
| 230 | libva.so,
|
---|
| 231 | libva-wayland.so, and
|
---|
| 232 | libva-x11.so
|
---|
[07584d8] | 233 | </seg>
|
---|
| 234 | <seg>
|
---|
[14bf879] | 235 | i965_drv_video.so
|
---|
[07584d8] | 236 | </seg>
|
---|
| 237 | <seg>
|
---|
[a2d2f0c] | 238 | $XORG_PREFIX/include/va
|
---|
[07584d8] | 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 |
|
---|
[a8ece039] | 263 | </sect3>
|
---|
[07584d8] | 264 |
|
---|
[a8ece039] | 265 | </sect2>
|
---|