[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 |
|
---|
[5378451] | 7 | <!ENTITY libva-version "2.18.0">
|
---|
[58c3bfd] | 8 |
|
---|
[2c13ebe] | 9 | <!ENTITY libva-download-http "https://github.com/intel/libva/releases/download/&libva-version;/libva-&libva-version;.tar.bz2">
|
---|
[07584d8] | 10 | <!ENTITY libva-download-ftp " ">
|
---|
[5378451] | 11 | <!ENTITY libva-md5sum "b597a43395daebf65f23872b67bcd794">
|
---|
| 12 | <!ENTITY libva-size "496 KB">
|
---|
| 13 | <!ENTITY libva-buildsize "5.4 MB">
|
---|
[dc30794] | 14 | <!ENTITY libva-time "less than 0.1 SBU">
|
---|
[07584d8] | 15 | ]>
|
---|
| 16 |
|
---|
[4c24eb0a] | 17 | <sect2 id="libva" xreflabel="libva-&libva-version;">
|
---|
[07584d8] | 18 |
|
---|
[4c24eb0a] | 19 | <sect2info>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect2info>
|
---|
[07584d8] | 22 |
|
---|
[4c24eb0a] | 23 | <title>libva-&libva-version;</title>
|
---|
[07584d8] | 24 |
|
---|
[4c24eb0a] | 25 | <indexterm zone="libva">
|
---|
| 26 | <primary sortas="a-libva">libva</primary>
|
---|
| 27 | </indexterm>
|
---|
[c34cb2e5] | 28 |
|
---|
[4c24eb0a] | 29 | <sect3 role="package">
|
---|
| 30 | <title>Introduction to libva</title>
|
---|
[07584d8] | 31 |
|
---|
[4c24eb0a] | 32 | <para>
|
---|
| 33 | The <application>libva</application> package contains a library which
|
---|
| 34 | provides access to hardware accelerated video processing, using hardware
|
---|
| 35 | to accelerate video processing in order to offload the central
|
---|
| 36 | processing unit (CPU) to decode and encode compressed digital video. The VA
|
---|
| 37 | API video decode/encode interface is platform and window system
|
---|
| 38 | independent targeted at Direct Rendering Infrastructure (DRI) in the X
|
---|
| 39 | Window System however it can potentially also be used with direct
|
---|
| 40 | framebuffer and graphics sub-systems for video output. Accelerated
|
---|
| 41 | processing includes support for video decoding, video encoding,
|
---|
| 42 | subpicture blending, and rendering.
|
---|
| 43 | </para>
|
---|
[07584d8] | 44 |
|
---|
[18aa9339] | 45 | &lfs113_checked;
|
---|
[07584d8] | 46 |
|
---|
[4c24eb0a] | 47 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
| 48 | <itemizedlist spacing="compact">
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>
|
---|
| 51 | Download (HTTP): <ulink url="&libva-download-http;"/>
|
---|
| 52 | </para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>
|
---|
| 56 | Download (FTP): <ulink url="&libva-download-ftp;"/>
|
---|
| 57 | </para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>
|
---|
| 61 | Download MD5 sum: &libva-md5sum;
|
---|
| 62 | </para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
| 66 | Download size: &libva-size;
|
---|
| 67 | </para>
|
---|
| 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>
|
---|
| 71 | Estimated disk space required: &libva-buildsize;
|
---|
| 72 | </para>
|
---|
| 73 | </listitem>
|
---|
| 74 | <listitem>
|
---|
| 75 | <para>
|
---|
| 76 | Estimated build time: &libva-time;
|
---|
| 77 | </para>
|
---|
| 78 | </listitem>
|
---|
| 79 | </itemizedlist>
|
---|
[07584d8] | 80 |
|
---|
[4c24eb0a] | 81 | <bridgehead renderas="sect4">libva Dependencies</bridgehead>
|
---|
| 82 |
|
---|
| 83 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
| 84 | <para role="required">
|
---|
| 85 | <xref linkend="libdrm"/>
|
---|
| 86 | </para>
|
---|
| 87 |
|
---|
| 88 | <bridgehead renderas="sect5">Recommended</bridgehead>
|
---|
| 89 | <para role="recommended">
|
---|
| 90 | <xref linkend="mesa"/>
|
---|
| 91 | </para>
|
---|
| 92 |
|
---|
[f5091b3f] | 93 | <bridgehead renderas="sect5">Recommended (Runtime)</bridgehead>
|
---|
| 94 | <!-- "nodep" to prevent BLFS tool from blindly installing all the
|
---|
| 95 | drivers -->
|
---|
| 96 | <para role='nodep'>
|
---|
[5378451] | 97 | The VA API driver suitable for the hardware in your system:
|
---|
[f5091b3f] | 98 | <xref linkend='intel-vaapi-driver'/> (for Intel GPUs provided with
|
---|
| 99 | Haswell CPUs or earlier),
|
---|
| 100 | <xref linkend='intel-media-driver'/> (for Intel GPUs provided with
|
---|
| 101 | Broadwell CPUs or later),
|
---|
| 102 | <xref linkend='mesa'/> (providing the <literal>r600</literal>,
|
---|
| 103 | <literal>raedonsi</literal>, and <literal>nouveau</literal> VA API
|
---|
| 104 | drivers, for the ATI/AMD Raedon HD 2xxx GPUs and later, and
|
---|
| 105 | <ulink url='https://nouveau.freedesktop.org/VideoAcceleration.html'>
|
---|
| 106 | supported
|
---|
[5378451] | 107 | NVIDIA GPUs</ulink>; there is a circular dependency, read the Mesa page
|
---|
| 108 | for information on how to break it)
|
---|
[f5091b3f] | 109 | </para>
|
---|
| 110 |
|
---|
[4c24eb0a] | 111 | <bridgehead renderas="sect5">Optional</bridgehead>
|
---|
| 112 | <para role="optional">
|
---|
| 113 | <xref linkend="doxygen"/>,
|
---|
| 114 | <xref linkend="wayland"/>, and
|
---|
| 115 | <ulink url="https://gitlab.freedesktop.org/drm/igt-gpu-tools">intel-gpu-tools</ulink>
|
---|
| 116 | </para>
|
---|
| 117 |
|
---|
| 118 | </sect3>
|
---|
[5833ccd] | 119 |
|
---|
[4c24eb0a] | 120 | <sect3 role="installation">
|
---|
| 121 | <title>Installation of libva</title>
|
---|
[3c096aa0] | 122 | <!-- libva*.so.2 have been around for a long time...
|
---|
[4c24eb0a] | 123 | <caution>
|
---|
| 124 | <para>
|
---|
[8558044] | 125 | If you are reinstalling this package, you will need
|
---|
[4c24eb0a] | 126 | to remove the older versions of the libraries. These are in the
|
---|
| 127 | form of libva*.so.1 and any symbolic links pointing to them. In
|
---|
| 128 | addition, any packages that use these files need to be rebuilt.
|
---|
| 129 | </para>
|
---|
| 130 | </caution>
|
---|
[3c096aa0] | 131 | -->
|
---|
[4c24eb0a] | 132 | <para>
|
---|
| 133 | Install <application>libva</application> by running the following
|
---|
| 134 | commands:
|
---|
| 135 | </para>
|
---|
[07584d8] | 136 |
|
---|
[5378451] | 137 | <screen><userinput>mkdir build &&
|
---|
| 138 | cd build &&
|
---|
| 139 |
|
---|
| 140 | meson setup --prefix=$XORG_PREFIX --buildtype=release &&
|
---|
| 141 | ninja</userinput></screen>
|
---|
[07584d8] | 142 |
|
---|
[4c24eb0a] | 143 | <para>
|
---|
| 144 | This package does not come with a test suite.
|
---|
| 145 | </para>
|
---|
[07584d8] | 146 |
|
---|
[4c24eb0a] | 147 | <para>
|
---|
| 148 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 149 | </para>
|
---|
[07584d8] | 150 |
|
---|
[5378451] | 151 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[07584d8] | 152 |
|
---|
[4c24eb0a] | 153 | </sect3>
|
---|
| 154 |
|
---|
| 155 | <sect3 role="content">
|
---|
| 156 | <title>Contents</title>
|
---|
| 157 |
|
---|
| 158 | <segmentedlist>
|
---|
| 159 | <segtitle>Installed Programs</segtitle>
|
---|
| 160 | <segtitle>Installed Libraries</segtitle>
|
---|
| 161 | <segtitle>Installed Directory</segtitle>
|
---|
| 162 |
|
---|
| 163 | <seglistitem>
|
---|
| 164 | <seg>
|
---|
| 165 | None
|
---|
| 166 | </seg>
|
---|
| 167 | <seg>
|
---|
[8558044] | 168 | libva-drm.so,
|
---|
| 169 | libva-glx.so,
|
---|
[4c24eb0a] | 170 | libva.so,
|
---|
[8558044] | 171 | libva-wayland.so, and
|
---|
[4c24eb0a] | 172 | libva-x11.so
|
---|
| 173 | </seg>
|
---|
| 174 | <seg>
|
---|
| 175 | $XORG_PREFIX/include/va
|
---|
| 176 | </seg>
|
---|
| 177 | </seglistitem>
|
---|
| 178 | </segmentedlist>
|
---|
| 179 |
|
---|
| 180 | <variablelist>
|
---|
| 181 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 182 | <?dbfo list-presentation="list"?>
|
---|
| 183 | <?dbhtml list-presentation="table"?>
|
---|
| 184 |
|
---|
| 185 | <varlistentry id="libva-lib">
|
---|
| 186 | <term><filename class="libraryfile">libva.so</filename></term>
|
---|
| 187 | <listitem>
|
---|
| 188 | <para>
|
---|
| 189 | contains API functions which provide access to hardware
|
---|
| 190 | accelerated video processing
|
---|
| 191 | </para>
|
---|
| 192 | <indexterm zone="libva libva-lib">
|
---|
| 193 | <primary sortas="c-libva">libva.so</primary>
|
---|
| 194 | </indexterm>
|
---|
| 195 | </listitem>
|
---|
| 196 | </varlistentry>
|
---|
| 197 |
|
---|
| 198 | </variablelist>
|
---|
| 199 |
|
---|
| 200 | </sect3>
|
---|
| 201 |
|
---|
| 202 | </sect2>
|
---|