source: x/installing/libvdpau.xml@ a267452

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules 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 a267452 was 8603b19, checked in by Pierre Labastie <pieere@…>, 10 years ago

libva is an optional dep for ffmpeg, but required for libvdpau-va-gl

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

  • Property mode set to 100644
File size: 8.5 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 libvdpau-download-http "http://people.freedesktop.org/~aplattner/vdpau/libvdpau-&libvdpau-version;.tar.gz">
8 <!ENTITY libvdpau-download-ftp " ">
9 <!ENTITY libvdpau-md5sum "acf68adc8b8ff4f72be6e8679abc284e">
10 <!ENTITY libvdpau-size "476 KB">
11 <!ENTITY libvdpau-buildsize "8.9 MB">
12 <!ENTITY libvdpau-time "0.1 SBU">
13
14 <!ENTITY libvdpau-va-gl-download-http "https://github.com/i-rinat/libvdpau-va-gl/archive/v&libvdpau-va-gl-version;.tar.gz">
15 <!ENTITY libvdpau-va-gl-download-ftp " ">
16 <!ENTITY libvdpau-va-gl-md5sum "09ceb2f75eafccc9b002d35ede0de6a5">
17 <!ENTITY libvdpau-va-gl-size "100 KB">
18 <!ENTITY libvdpau-va-gl-buildsize "4.0 MB">
19 <!ENTITY libvdpau-va-gl-time "less than 0.1 SBU">
20]>
21
22<sect2 id="libvdpau" xreflabel="libvdpau-&libvdpau-version;">
23
24 <sect2info>
25 <othername>$LastChangedBy$</othername>
26 <date>$Date$</date>
27 </sect2info>
28
29 <title>libvdpau-&libvdpau-version;</title>
30
31 <indexterm zone="libvdpau">
32 <primary sortas="a-libvdpau">libvdpau</primary>
33 </indexterm>
34
35 <sect3 role="package">
36 <title>Introduction to libvdpau</title>
37
38 <para>
39 The <application>libvdpau</application> package contains a library which
40 implements the VDPAU library.
41 </para>
42
43 <para>
44 VDPAU (Video Decode and Presentation API for Unix) is an open source
45 library (libvdpau) and API originally designed by Nvidia for its GeForce
46 8 series and later GPU hardware targeted at the X Window System
47 This VDPAU API allows video programs to offload portions of the video
48 decoding process and video post-processing to the GPU video-hardware.
49 </para>
50
51 <para>
52 Currently, the portions capable of being offloaded by VDPAU onto the GPU
53 are motion compensation (mo comp), inverse discrete cosine transform
54 (iDCT), VLD (variable-length decoding) and deblocking for MPEG-1, MPEG-2,
55 MPEG-4 ASP (MPEG-4 Part 2), H.264/MPEG-4 AVC and VC-1, WMV3/WMV9 encoded
56 videos. Which specific codecs of these that can be offloaded to the
57 GPU depends on the version of the GPU hardware; specifically,
58 to also decode MPEG-4 ASP (MPEG-4 Part 2), Xvid/OpenDivX (DivX 4), and
59 DivX 5 formats, a GeForce 200M (2xxM) Series (the eleventh generation of
60 Nvidia's GeForce graphics processing units) or newer GPU hardware is
61 required.
62 </para>
63
64 &lfs75_checked;
65
66 <bridgehead renderas="sect4">Package Information</bridgehead>
67 <itemizedlist spacing="compact">
68 <listitem>
69 <para>
70 Download (HTTP): <ulink url="&libvdpau-download-http;"/>
71 </para>
72 </listitem>
73 <listitem>
74 <para>
75 Download (FTP): <ulink url="&libvdpau-download-ftp;"/>
76 </para>
77 </listitem>
78 <listitem>
79 <para>
80 Download MD5 sum: &libvdpau-md5sum;
81 </para>
82 </listitem>
83 <listitem>
84 <para>
85 Download size: &libvdpau-size;
86 </para>
87 </listitem>
88 <listitem>
89 <para>
90 Estimated disk space required: &libvdpau-buildsize;
91 </para>
92 </listitem>
93 <listitem>
94 <para>
95 Estimated build time: &libvdpau-time;
96 </para>
97 </listitem>
98 </itemizedlist>
99
100 <bridgehead renderas="sect4">Additional Downloads</bridgehead>
101 <itemizedlist spacing="compact">
102 <listitem>
103 <para>
104 Libvdpau-va-gl Driver Download (HTTP): <ulink url="&libvdpau-va-gl-download-http;"/>
105 </para>
106 </listitem>
107 <listitem>
108 <para>
109 Libvdpau-va-gl Driver Download (FTP): <ulink url="&libvdpau-va-gl-download-ftp;"/>
110 </para>
111 </listitem>
112 <listitem>
113 <para>
114 Libvdpau-va-gl Driver Download MD5 sum: &libvdpau-va-gl-md5sum;
115 </para>
116 </listitem>
117 <listitem>
118 <para>
119 Libvdpau-va-gl Driver Download size: &libvdpau-va-gl-size;
120 </para>
121 </listitem>
122 <listitem>
123 <para>
124 Estimated disk space required: &libvdpau-va-gl-buildsize;
125 </para>
126 </listitem>
127 <listitem>
128 <para>
129 Estimated build time: &libvdpau-va-gl-time;
130 </para>
131 </listitem>
132 </itemizedlist>
133
134 <note><para>The tarball name for libvdpau-va-gl does not include the
135 file name, although it does expand to libvdpau-va-gl-&libvdpau-va-gl-version;.
136 The file should be renamed after downloading:</para>
137
138<screen><command>mv v&libvdpau-va-gl-version;.tar.gz libvdpau-va-gl-&libvdpau-va-gl-version;.tar.gz</command></screen>
139 </note>
140
141
142 <bridgehead renderas="sect4">libvdpau Dependencies</bridgehead>
143
144 <bridgehead renderas="sect5">Required</bridgehead>
145 <para role="required">
146 <xref linkend="xorg7-lib"/> for libvdpau and
147 <xref linkend="cmake"/>,
148 <xref linkend="ffmpeg"/>,
149 <xref linkend="glu"/>, and
150 <xref linkend="libva"/> for libvdpau-va-gl
151 </para>
152
153 <bridgehead renderas="sect5">Optional</bridgehead>
154 <para role="optional">
155 <xref linkend="doxygen"/>,
156 <xref linkend="graphviz"/>, and
157 <xref linkend="texlive"/>
158 </para>
159
160 <bridgehead renderas="sect5">Runtime Dependency</bridgehead>
161 <para role="optional">
162 <xref linkend="mesalib"/>
163 </para>
164
165 <para condition="html" role="usernotes">
166 User Notes: <ulink url="&blfs-wiki;/libvdpau"/>
167 </para>
168 </sect3>
169
170 <sect3 role="installation">
171 <title>Installation of libvdpau</title>
172
173 <para>
174 Install <application>libvdpau</application> by running the following
175 commands:
176 </para>
177
178<screen><userinput>./configure $XORG_CONFIG &amp;&amp;
179make</userinput></screen>
180
181 <para>
182 To test the results, issue: <command>make check</command>.
183 </para>
184
185 <para>
186 Now, as the <systemitem class="username">root</systemitem> user:
187 </para>
188
189<screen role="root"><userinput>make install</userinput></screen>
190
191 </sect3>
192
193 <sect3 role="installation">
194 <title>Installation of libvdpau-va-gl</title>
195
196 <para>Libvdpau_va_gl uses OpenGL under the hood to accelerate drawing and
197 scaling and the VA-API (if available) to accelerate video decoding. For now
198 VA-API is available on some Intel chips, and on some AMD video adapters with
199 the help of the libvdpau driver.</para>
200
201 <para>
202 Install <application>libvdpau-va-gl</application> by running the following
203 commands:
204 </para>
205
206<screen><userinput>
207mkdir build &amp;&amp;
208cd build &amp;&amp;
209
210cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$XORG_PREFIX .. &amp;&amp;
211make</userinput></screen>
212
213 <para>
214 To test the results, issue: <command>make check</command>. The tests must
215 be run from an Xorg environment.
216 </para>
217
218 <para>
219 Now, as the <systemitem class="username">root</systemitem> user:
220 </para>
221
222<screen role="root"><userinput>make install</userinput></screen>
223
224 </sect3>
225
226 <sect3 role="configuration">
227 <title>Configuration</title>
228
229 <para>To allow libvdpau to find libvdpau-va-gl, set an environment variable.
230 As the <systemitem class="username">root</systemitem> user:</para>
231
232<screen role="root"><userinput>echo "export VDPAU_DRIVER=va_gl" >> /etc/profile.d/xorg.sh</userinput></screen>
233
234 </sect3>
235
236
237 <sect3 role="content">
238 <title>Contents</title>
239
240 <segmentedlist>
241 <segtitle>Installed Programs</segtitle>
242 <segtitle>Installed Library</segtitle>
243 <segtitle>Installed Directories</segtitle>
244
245 <seglistitem>
246 <seg>
247 None
248 </seg>
249 <seg>
250 libvdpau.so and libvdpau_va_gl.so
251 </seg>
252 <seg>
253 /usr/include/libvdpau and
254 /usr/lib/libvdpau
255 </seg>
256 </seglistitem>
257 </segmentedlist>
258
259 <variablelist>
260 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
261 <?dbfo list-presentation="list"?>
262 <?dbhtml list-presentation="table"?>
263
264 <varlistentry id="libvdpau-lib">
265 <term><filename class="libraryfile">libvdpau.so</filename></term>
266 <listitem>
267 <para>
268 contains functions to offload portions of the video decoding
269 process and video post-processing to the GPU video-hardware.
270 </para>
271 <indexterm zone="libvdpau libvdpau-lib">
272 <primary sortas="c-libvdpau">libvdpau.so</primary>
273 </indexterm>
274 </listitem>
275 </varlistentry>
276
277 </variablelist>
278
279 </sect3>
280
281</sect2>
Note: See TracBrowser for help on using the repository browser.