source: x/installing/libva.xml@ c93c620c

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since c93c620c was c93c620c, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Tags

  • 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 "602b7583ebab2a3ee7cfcd8f984b4a81">
10 <!ENTITY libva-size "488 KB">
11 <!ENTITY libva-buildsize "12 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 <date>$Date$</date>
27 </sect2info>
28
29 <title>libva-&libva-version;</title>
30
31 <indexterm zone="libva">
32 <primary sortas="a-libva">libva</primary>
33 </indexterm>
34
35 <sect3 role="package">
36 <title>Introduction to libva</title>
37
38 <para>
39 The <application>libva</application> package contains a library which
40 provides access to hardware accelerated video processing, using hardware
41 to accelerate video processing in order to offload the central
42 processing unit (CPU) to decode and encode compressed digital video. The VA
43 API video decode/encode interface is platform and window system
44 independent targeted at Direct Rendering Infrastructure (DRI) in the X
45 Window System however it can potentially also be used with direct
46 framebuffer and graphics sub-systems for video output. Accelerated
47 processing includes support for video decoding, video encoding,
48 subpicture blending, and rendering.
49 </para>
50
51 &lfs110a_checked;
52
53 <bridgehead renderas="sect4">Package Information</bridgehead>
54 <itemizedlist spacing="compact">
55 <listitem>
56 <para>
57 Download (HTTP): <ulink url="&libva-download-http;"/>
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Download (FTP): <ulink url="&libva-download-ftp;"/>
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Download MD5 sum: &libva-md5sum;
68 </para>
69 </listitem>
70 <listitem>
71 <para>
72 Download size: &libva-size;
73 </para>
74 </listitem>
75 <listitem>
76 <para>
77 Estimated disk space required: &libva-buildsize;
78 </para>
79 </listitem>
80 <listitem>
81 <para>
82 Estimated build time: &libva-time;
83 </para>
84 </listitem>
85 </itemizedlist>
86
87 <bridgehead renderas="sect4">Additional Downloads</bridgehead>
88 <itemizedlist spacing="compact">
89 <listitem>
90 <para>
91 Intel Driver Download (HTTP): <ulink url="&libva-intel-driver-download-http;"/>
92 </para>
93 </listitem>
94 <listitem>
95 <para>
96 Intel Driver Download (FTP): <ulink url="&libva-intel-driver-download-ftp;"/>
97 </para>
98 </listitem>
99 <listitem>
100 <para>
101 Intel Driver Download MD5 sum: &libva-intel-driver-md5sum;
102 </para>
103 </listitem>
104 <listitem>
105 <para>
106 Intel Driver Download size: &libva-intel-driver-size;
107 </para>
108 </listitem>
109 <listitem>
110 <para>
111 Estimated disk space required: &libva-intel-driver-buildsize;
112 </para>
113 </listitem>
114 <listitem>
115 <para>
116 Estimated build time: &libva-intel-driver-time;
117 </para>
118 </listitem>
119 </itemizedlist>
120
121 <bridgehead renderas="sect4">libva Dependencies</bridgehead>
122
123 <bridgehead renderas="sect5">Required</bridgehead>
124 <para role="required">
125 <xref linkend="libdrm"/>
126 </para>
127
128 <bridgehead renderas="sect5">Recommended</bridgehead>
129 <para role="recommended">
130 <xref linkend="mesa"/>
131 </para>
132
133 <bridgehead renderas="sect5">Optional</bridgehead>
134 <para role="optional">
135 <xref linkend="doxygen"/>,
136 <xref linkend="wayland"/>, and
137 <ulink url="https://gitlab.freedesktop.org/drm/igt-gpu-tools">intel-gpu-tools</ulink>
138 </para>
139
140 <para condition="html" role="usernotes">
141 User Notes: <ulink url="&blfs-wiki;/libva"/>
142 </para>
143 </sect3>
144
145 <sect3 role="installation">
146 <title>Installation of libva</title>
147
148 <caution>
149 <para>
150 If you are reinstalling this package, you will need
151 to remove the older versions of the libraries. These are in the
152 form of libva*.so.1 and any symbolic links pointing to them. In
153 addition, any packages that use these files need to be rebuilt.
154 </para>
155 </caution>
156
157 <para>
158 Install <application>libva</application> by running the following
159 commands:
160 </para>
161
162<screen><userinput>./configure $XORG_CONFIG &amp;&amp;
163make</userinput></screen>
164
165 <para>
166 This package does not come with a test suite.
167 </para>
168
169 <para>
170 Now, as the <systemitem class="username">root</systemitem> user:
171 </para>
172
173<screen role="root"><userinput>make install</userinput></screen>
174
175 <bridgehead renderas="sect3">Installation of intel-vaapi-driver</bridgehead>
176
177 <para>
178 The <application>intel-vaapi-driver</application> is designed
179 specifically for video cards based on an Intel GPU.
180 Unpack the intel-vaapi tarball:
181 </para>
182
183<screen><userinput>tar -xvf ../intel-vaapi-driver-&libva-intel-driver-version;.tar.bz2 &amp;&amp;
184cd intel-vaapi-driver-&libva-intel-driver-version;</userinput></screen>
185
186<!-- Fixed in intel-vaapi-driver-2.4.1
187 <para>
188 Fix building with GCC-10 and above:
189 </para>
190
191<screen><userinput>sed -e 's/const/extern &amp;/' \
192 -i src/gen9_hevc_enc_kernels_binary.h</userinput></screen>
193-->
194
195 <para>
196 Install the driver by running the following commands:
197 </para>
198
199<screen><userinput>./configure $XORG_CONFIG &amp;&amp;
200make</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
212 </sect3>
213
214 <sect3 role="content">
215 <title>Contents</title>
216
217 <segmentedlist>
218 <segtitle>Installed Programs</segtitle>
219 <segtitle>Installed Libraries</segtitle>
220 <segtitle>Installed Driver</segtitle>
221 <segtitle>Installed Directory</segtitle>
222
223 <seglistitem>
224 <seg>
225 None
226 </seg>
227 <seg>
228 libva-drm.so,
229 libva-glx.so,
230 libva.so,
231 libva-wayland.so, and
232 libva-x11.so
233 </seg>
234 <seg>
235 i965_drv_video.so
236 </seg>
237 <seg>
238 $XORG_PREFIX/include/va
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
263 </sect3>
264
265 </sect2>
Note: See TracBrowser for help on using the repository browser.