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