source: x/installing/libva.xml@ a381524

10.0 10.1 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 a381524 was a381524, checked in by Pierre Labastie <pieere@…>, 4 years ago

Fix building intel-vaapi-driver with gcc 10

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

  • Property mode set to 100644
File size: 7.6 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 "d7ac5481928ee9a366087bd533c82d99">
10 <!ENTITY libva-size "468 KB">
11 <!ENTITY libva-buildsize "7.6 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 "731dd9aaf9f5ef1b9c906ce82ef0220b">
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 &lfs91_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"/> and
137 <xref linkend="wayland"/>
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 <para>
187 Fix building with GCC-10 and above:
188 </para>
189
190<screen><userinput>sed -e 's/const/extern &amp;/' \
191 -i src/gen9_hevc_enc_kernels_binary.h</userinput></screen>
192
193 <para>
194 Install the driver by running the following commands:
195 </para>
196
197<screen><userinput>./configure $XORG_CONFIG &amp;&amp;
198make</userinput></screen>
199
200 <para>
201 This package does not come with a test suite.
202 </para>
203
204 <para>
205 Now, as the <systemitem class="username">root</systemitem> user:
206 </para>
207
208<screen role="root"><userinput>make install</userinput></screen>
209
210 </sect3>
211
212 <sect3 role="content">
213 <title>Contents</title>
214
215 <segmentedlist>
216 <segtitle>Installed Programs</segtitle>
217 <segtitle>Installed Libraries</segtitle>
218 <segtitle>Installed Driver</segtitle>
219 <segtitle>Installed Directory</segtitle>
220
221 <seglistitem>
222 <seg>
223 None
224 </seg>
225 <seg>
226 libva-drm.so,
227 libva-glx.so,
228 libva.so,
229 libva-wayland.so, and
230 libva-x11.so
231 </seg>
232 <seg>
233 i965_drv_video.so
234 </seg>
235 <seg>
236 $XORG_PREFIX/include/va
237 </seg>
238 </seglistitem>
239 </segmentedlist>
240
241 <variablelist>
242 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
243 <?dbfo list-presentation="list"?>
244 <?dbhtml list-presentation="table"?>
245
246 <varlistentry id="libva-lib">
247 <term><filename class="libraryfile">libva.so</filename></term>
248 <listitem>
249 <para>
250 contains API functions which provide access to hardware
251 accelerated video processing.
252 </para>
253 <indexterm zone="libva libva-lib">
254 <primary sortas="c-libva">libva.so</primary>
255 </indexterm>
256 </listitem>
257 </varlistentry>
258
259 </variablelist>
260
261 </sect3>
262
263</sect2>
Note: See TracBrowser for help on using the repository browser.