source: x/installing/libva.xml@ 6b063cc3

10.1 11.0 lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 6b063cc3 was 6b063cc3, checked in by Bruce Dubbs <bdubbs@…>, 7 months ago

Tag xorg

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24250 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 8.1 KB
Line 
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
7 <!ENTITY libva-download-http "https://github.com/intel/libva/releases/download/&libva-version;/libva-&libva-version;.tar.bz2">
8 <!ENTITY libva-download-ftp " ">
9 <!ENTITY libva-md5sum "ad5d5cf8d86b5521944995bdf8a133cd">
10 <!ENTITY libva-size "476 KB">
11 <!ENTITY libva-buildsize "7.9 MB">
12 <!ENTITY libva-time "less than 0.1 SBU">
13
14
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">
16 <!ENTITY libva-intel-driver-download-ftp " ">
17 <!ENTITY libva-intel-driver-md5sum "073fce0f409559109ad2dd0a6531055d">
18 <!ENTITY libva-intel-driver-size "2.8 MB">
19 <!ENTITY libva-intel-driver-buildsize "97 MB">
20 <!ENTITY libva-intel-driver-time "0.3 SBU">
21]>
22
23 <sect2 id="libva" xreflabel="libva-&libva-version;">
24
25 <sect2info>
26 <othername>$LastChangedBy$</othername>
27 <date>$Date$</date>
28 </sect2info>
29
30 <title>libva-&libva-version;</title>
31
32 <indexterm zone="libva">
33 <primary sortas="a-libva">libva</primary>
34 </indexterm>
35
36 <sect3 role="package">
37 <title>Introduction to libva</title>
38
39 <para>
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
43 processing unit (CPU) to decode and encode compressed digital video. The VA
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.
50 </para>
51
52 &lfs101_checked;
53
54 <bridgehead renderas="sect4">Package Information</bridgehead>
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
88 <bridgehead renderas="sect4">Additional Downloads</bridgehead>
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>
120 </itemizedlist>
121
122 <bridgehead renderas="sect4">libva Dependencies</bridgehead>
123
124 <bridgehead renderas="sect5">Required</bridgehead>
125 <para role="required">
126 <xref linkend="libdrm"/>
127 </para>
128
129 <bridgehead renderas="sect5">Recommended</bridgehead>
130 <para role="recommended">
131 <xref linkend="mesa"/>
132 </para>
133
134 <bridgehead renderas="sect5">Optional</bridgehead>
135 <para role="optional">
136 <xref linkend="doxygen"/>,
137 <xref linkend="wayland"/>, and
138 <ulink url="https://gitlab.freedesktop.org/drm/igt-gpu-tools">intel-gpu-tools</ulink>
139 </para>
140
141 <para condition="html" role="usernotes">
142 User Notes: <ulink url="&blfs-wiki;/libva"/>
143 </para>
144 </sect3>
145
146 <sect3 role="installation">
147 <title>Installation of libva</title>
148
149 <caution>
150 <para>
151 If you are reinstalling this package, you will need
152 to remove the older versions of the libraries. These are in the
153 form of libva*.so.1 and any symbolic links pointing to them. In
154 addition, any packages that use these files need to be rebuilt.
155 </para>
156 </caution>
157
158 <para>
159 Install <application>libva</application> by running the following
160 commands:
161 </para>
162
163<screen><userinput>./configure $XORG_CONFIG &amp;&amp;
164make</userinput></screen>
165
166 <para>
167 This package does not come with a test suite.
168 </para>
169
170 <para>
171 Now, as the <systemitem class="username">root</systemitem> user:
172 </para>
173
174<screen role="root"><userinput>make install</userinput></screen>
175
176 <bridgehead renderas="sect3">Installation of intel-vaapi-driver</bridgehead>
177
178 <para>
179 The <application>intel-vaapi-driver</application> is designed
180 specifically for video cards based on an Intel GPU.
181 Unpack the intel-vaapi tarball:
182 </para>
183
184<screen><userinput>tar -xvf ../intel-vaapi-driver-&libva-intel-driver-version;.tar.bz2 &amp;&amp;
185cd intel-vaapi-driver-&libva-intel-driver-version;</userinput></screen>
186
187<!-- Fixed in intel-vaapi-driver-2.4.1
188 <para>
189 Fix building with GCC-10 and above:
190 </para>
191
192<screen><userinput>sed -e 's/const/extern &amp;/' \
193 -i src/gen9_hevc_enc_kernels_binary.h</userinput></screen>
194-->
195
196 <para>
197 Install the driver by running the following commands:
198 </para>
199
200<screen><userinput>./configure $XORG_CONFIG &amp;&amp;
201make</userinput></screen>
202
203 <para>
204 This package does not come with a test suite.
205 </para>
206
207 <para>
208 Now, as the <systemitem class="username">root</systemitem> user:
209 </para>
210
211<screen role="root"><userinput>make install</userinput></screen>
212
213 </sect3>
214
215 <sect3 role="content">
216 <title>Contents</title>
217
218 <segmentedlist>
219 <segtitle>Installed Programs</segtitle>
220 <segtitle>Installed Libraries</segtitle>
221 <segtitle>Installed Driver</segtitle>
222 <segtitle>Installed Directory</segtitle>
223
224 <seglistitem>
225 <seg>
226 None
227 </seg>
228 <seg>
229 libva-drm.so,
230 libva-glx.so,
231 libva.so,
232 libva-wayland.so, and
233 libva-x11.so
234 </seg>
235 <seg>
236 i965_drv_video.so
237 </seg>
238 <seg>
239 $XORG_PREFIX/include/va
240 </seg>
241 </seglistitem>
242 </segmentedlist>
243
244 <variablelist>
245 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
246 <?dbfo list-presentation="list"?>
247 <?dbhtml list-presentation="table"?>
248
249 <varlistentry id="libva-lib">
250 <term><filename class="libraryfile">libva.so</filename></term>
251 <listitem>
252 <para>
253 contains API functions which provide access to hardware
254 accelerated video processing
255 </para>
256 <indexterm zone="libva libva-lib">
257 <primary sortas="c-libva">libva.so</primary>
258 </indexterm>
259 </listitem>
260 </varlistentry>
261
262 </variablelist>
263
264 </sect3>
265
266 </sect2>
Note: See TracBrowser for help on using the repository browser.