1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
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 |
|
---|
7 | <!ENTITY libva-version "2.22.0">
|
---|
8 |
|
---|
9 | <!ENTITY libva-download-http "https://github.com/intel/libva/archive/&libva-version;/libva-&libva-version;.tar.gz">
|
---|
10 | <!ENTITY libva-download-ftp " ">
|
---|
11 | <!ENTITY libva-md5sum "8dba13313d724b5e930f06e65b7437e2">
|
---|
12 | <!ENTITY libva-size "296 KB">
|
---|
13 | <!ENTITY libva-buildsize "3.7 MB">
|
---|
14 | <!ENTITY libva-time "less than 0.1 SBU">
|
---|
15 | ]>
|
---|
16 |
|
---|
17 | <sect1 id="libva" xreflabel="libva-&libva-version;">
|
---|
18 | <?dbhtml filename="libva.html"?>
|
---|
19 |
|
---|
20 | <sect1info>
|
---|
21 | <date>$Date$</date>
|
---|
22 | </sect1info>
|
---|
23 |
|
---|
24 | <title>libva-&libva-version;</title>
|
---|
25 |
|
---|
26 | <indexterm zone="libva">
|
---|
27 | <primary sortas="a-libva">libva</primary>
|
---|
28 | </indexterm>
|
---|
29 |
|
---|
30 | <sect2 role="package">
|
---|
31 | <title>Introduction to libva</title>
|
---|
32 |
|
---|
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>
|
---|
45 |
|
---|
46 | &lfs122_checked;
|
---|
47 |
|
---|
48 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
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>
|
---|
81 |
|
---|
82 | <bridgehead renderas="sect3">libva Dependencies</bridgehead>
|
---|
83 |
|
---|
84 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
85 | <para role="required">
|
---|
86 | <xref linkend="xorg-env"/> and
|
---|
87 | <xref linkend="libdrm"/>
|
---|
88 | </para>
|
---|
89 |
|
---|
90 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
91 | <para role="recommended">
|
---|
92 | <xref linkend="mesa"/>
|
---|
93 | </para>
|
---|
94 |
|
---|
95 | <bridgehead renderas="sect4">Recommended (Runtime)</bridgehead>
|
---|
96 | <!-- "nodep" to prevent BLFS tool from blindly installing all the
|
---|
97 | drivers -->
|
---|
98 | <para role='nodep'>
|
---|
99 | The VA API driver suitable for the hardware in your system:
|
---|
100 | <xref linkend='intel-vaapi-driver'/> (for Intel GPUs provided with
|
---|
101 | Haswell CPUs or earlier),
|
---|
102 | <xref linkend='intel-media'/> (for Intel GPUs provided with
|
---|
103 | Broadwell CPUs or later), and
|
---|
104 | <xref linkend='mesa'/> (providing the <literal>r600</literal>,
|
---|
105 | <literal>radeonsi</literal>, and <literal>nouveau</literal> VA API
|
---|
106 | drivers, for the ATI/AMD Radeon HD 2xxx GPUs and later, and
|
---|
107 | <ulink url='https://nouveau.freedesktop.org/VideoAcceleration.html'>
|
---|
108 | supported
|
---|
109 | NVIDIA GPUs</ulink>; there is a circular dependency, read the Mesa page
|
---|
110 | for information on how to break it)
|
---|
111 | </para>
|
---|
112 |
|
---|
113 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
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 |
|
---|
120 | </sect2>
|
---|
121 |
|
---|
122 | <sect2 role="installation">
|
---|
123 | <title>Installation of libva</title>
|
---|
124 | <!-- libva*.so.2 have been around for a long time...
|
---|
125 | <caution>
|
---|
126 | <para>
|
---|
127 | If you are reinstalling this package, you will need
|
---|
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>
|
---|
133 | -->
|
---|
134 | <para>
|
---|
135 | Install <application>libva</application> by running the following
|
---|
136 | commands:
|
---|
137 | </para>
|
---|
138 |
|
---|
139 | <screen><userinput>cd build &&
|
---|
140 |
|
---|
141 | meson setup --prefix=$XORG_PREFIX --buildtype=release &&
|
---|
142 | ninja</userinput></screen>
|
---|
143 |
|
---|
144 | <para>
|
---|
145 | This package does not come with a test suite.
|
---|
146 | </para>
|
---|
147 |
|
---|
148 | <para>
|
---|
149 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
150 | </para>
|
---|
151 |
|
---|
152 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
153 |
|
---|
154 | </sect2>
|
---|
155 |
|
---|
156 | <sect2 role="content">
|
---|
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>
|
---|
169 | libva-drm.so,
|
---|
170 | libva-glx.so,
|
---|
171 | libva.so,
|
---|
172 | libva-wayland.so, and
|
---|
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 |
|
---|
201 | </sect2>
|
---|
202 |
|
---|
203 | </sect1>
|
---|