source: x/installing/libva.xml@ 625a764

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 625a764 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
RevLine 
[07584d8]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
[2c13ebe]7 <!ENTITY libva-download-http "https://github.com/intel/libva/releases/download/&libva-version;/libva-&libva-version;.tar.bz2">
[07584d8]8 <!ENTITY libva-download-ftp " ">
[408de00]9 <!ENTITY libva-md5sum "d7ac5481928ee9a366087bd533c82d99">
[a5b4ac1]10 <!ENTITY libva-size "468 KB">
11 <!ENTITY libva-buildsize "7.6 MB">
[9fa8a61]12 <!ENTITY libva-time "less than 0.1 SBU">
[07584d8]13
[8dfc5c3]14
[2c13ebe]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">
[07584d8]16 <!ENTITY libva-intel-driver-download-ftp " ">
[358f6aa]17 <!ENTITY libva-intel-driver-md5sum "731dd9aaf9f5ef1b9c906ce82ef0220b">
[2c13ebe]18 <!ENTITY libva-intel-driver-size "2.8 MB">
[d04e883]19 <!ENTITY libva-intel-driver-buildsize "97 MB">
[904292f]20 <!ENTITY libva-intel-driver-time "0.3 SBU">
[07584d8]21]>
22
[a8ece039]23<sect2 id="libva" xreflabel="libva-&libva-version;">
[07584d8]24
[a8ece039]25 <sect2info>
[07584d8]26 <othername>$LastChangedBy$</othername>
27 <date>$Date$</date>
[a8ece039]28 </sect2info>
[07584d8]29
30 <title>libva-&libva-version;</title>
31
32 <indexterm zone="libva">
33 <primary sortas="a-libva">libva</primary>
34 </indexterm>
35
[a8ece039]36 <sect3 role="package">
[07584d8]37 <title>Introduction to libva</title>
38
[f3429309]39 <para>
[a8ece039]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
[14bf879]43 processing unit (CPU) to decode and encode compressed digital video. The VA
[a8ece039]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.
[07584d8]50 </para>
51
[62a5037e]52 &lfs91_checked;
[07584d8]53
[a8ece039]54 <bridgehead renderas="sect4">Package Information</bridgehead>
[07584d8]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
[a8ece039]88 <bridgehead renderas="sect4">Additional Downloads</bridgehead>
[07584d8]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
[a8ece039]122 <bridgehead renderas="sect4">libva Dependencies</bridgehead>
[07584d8]123
[a8ece039]124 <bridgehead renderas="sect5">Required</bridgehead>
[07584d8]125 <para role="required">
[c34cb2e5]126 <xref linkend="libdrm"/>
127 </para>
128
129 <bridgehead renderas="sect5">Recommended</bridgehead>
130 <para role="recommended">
[7a395d1]131 <xref linkend="mesa"/>
[07584d8]132 </para>
133
[a8ece039]134 <bridgehead renderas="sect5">Optional</bridgehead>
[07584d8]135 <para role="optional">
136 <xref linkend="doxygen"/> and
[11c9ff3]137 <xref linkend="wayland"/>
[07584d8]138 </para>
139
140 <para condition="html" role="usernotes">
141 User Notes: <ulink url="&blfs-wiki;/libva"/>
142 </para>
[a8ece039]143 </sect3>
[07584d8]144
[a8ece039]145 <sect3 role="installation">
[07584d8]146 <title>Installation of libva</title>
147
[71df408]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>
[5833ccd]156
[07584d8]157 <para>
158 Install <application>libva</application> by running the following
159 commands:
160 </para>
161
[92245989]162<screen><userinput>./configure $XORG_CONFIG &amp;&amp;
[07584d8]163make</userinput></screen>
164
165 <para>
[bd03708]166 This package does not come with a test suite.
[07584d8]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
[51f2ba1]175 <bridgehead renderas="sect3">Installation of intel-vaapi-driver</bridgehead>
[07584d8]176
177 <para>
[14bf879]178 The <application>intel-vaapi-driver</application> is designed
[f3429309]179 specifically for video cards based on an Intel GPU.
[51f2ba1]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
[a381524]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
[51f2ba1]193 <para>
194 Install the driver by running the following commands:
[07584d8]195 </para>
196
[14bf879]197<screen><userinput>./configure $XORG_CONFIG &amp;&amp;
[07584d8]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
[a8ece039]210 </sect3>
[07584d8]211
[a8ece039]212 <sect3 role="content">
[07584d8]213 <title>Contents</title>
214
215 <segmentedlist>
216 <segtitle>Installed Programs</segtitle>
217 <segtitle>Installed Libraries</segtitle>
[5833ccd]218 <segtitle>Installed Driver</segtitle>
[07584d8]219 <segtitle>Installed Directory</segtitle>
220
221 <seglistitem>
222 <seg>
[c0a8c0dc]223 None
[07584d8]224 </seg>
225 <seg>
[14bf879]226 libva-drm.so,
227 libva-glx.so,
228 libva.so,
229 libva-wayland.so, and
230 libva-x11.so
[07584d8]231 </seg>
232 <seg>
[14bf879]233 i965_drv_video.so
[07584d8]234 </seg>
235 <seg>
[a2d2f0c]236 $XORG_PREFIX/include/va
[07584d8]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
[a8ece039]261 </sect3>
[07584d8]262
[a8ece039]263</sect2>
Note: See TracBrowser for help on using the repository browser.