2013-08-21 01:31:41 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
|
|
|
<!ENTITY libvdpau-download-http "http://people.freedesktop.org/~aplattner/vdpau/libvdpau-&libvdpau-version;.tar.gz">
|
|
|
|
<!ENTITY libvdpau-download-ftp " ">
|
2014-07-12 03:41:20 +08:00
|
|
|
<!ENTITY libvdpau-md5sum "acf68adc8b8ff4f72be6e8679abc284e">
|
2013-08-21 01:31:41 +08:00
|
|
|
<!ENTITY libvdpau-size "476 KB">
|
2014-07-12 03:41:20 +08:00
|
|
|
<!ENTITY libvdpau-buildsize "8.9 MB">
|
2013-08-21 01:31:41 +08:00
|
|
|
<!ENTITY libvdpau-time "0.1 SBU">
|
2014-07-12 03:41:20 +08:00
|
|
|
|
2014-07-12 23:39:34 +08:00
|
|
|
<!ENTITY libvdpau-va-gl-download-http "https://github.com/i-rinat/libvdpau-va-gl/archive/v&libvdpau-va-gl-version;.tar.gz">
|
2014-07-12 03:41:20 +08:00
|
|
|
<!ENTITY libvdpau-va-gl-download-ftp " ">
|
|
|
|
<!ENTITY libvdpau-va-gl-md5sum "09ceb2f75eafccc9b002d35ede0de6a5">
|
|
|
|
<!ENTITY libvdpau-va-gl-size "100 KB">
|
|
|
|
<!ENTITY libvdpau-va-gl-buildsize "4.0 MB">
|
|
|
|
<!ENTITY libvdpau-va-gl-time "less than 0.1 SBU">
|
2013-08-21 01:31:41 +08:00
|
|
|
]>
|
|
|
|
|
2013-08-24 10:08:53 +08:00
|
|
|
<sect2 id="libvdpau" xreflabel="libvdpau-&libvdpau-version;">
|
2013-08-21 01:31:41 +08:00
|
|
|
|
2013-08-24 10:08:53 +08:00
|
|
|
<sect2info>
|
2013-08-21 01:31:41 +08:00
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
2013-08-24 10:08:53 +08:00
|
|
|
</sect2info>
|
2013-08-21 01:31:41 +08:00
|
|
|
|
|
|
|
<title>libvdpau-&libvdpau-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="libvdpau">
|
|
|
|
<primary sortas="a-libvdpau">libvdpau</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
2013-08-24 10:08:53 +08:00
|
|
|
<sect3 role="package">
|
2013-08-21 01:31:41 +08:00
|
|
|
<title>Introduction to libvdpau</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
The <application>libvdpau</application> package contains a library which
|
2013-08-24 10:08:53 +08:00
|
|
|
implements the VDPAU library.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
VDPAU (Video Decode and Presentation API for Unix) is an open source
|
|
|
|
library (libvdpau) and API originally designed by Nvidia for its GeForce
|
2013-09-01 22:04:53 +08:00
|
|
|
8 series and later GPU hardware targeted at the X Window System
|
2013-08-24 10:08:53 +08:00
|
|
|
This VDPAU API allows video programs to offload portions of the video
|
|
|
|
decoding process and video post-processing to the GPU video-hardware.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Currently, the portions capable of being offloaded by VDPAU onto the GPU
|
|
|
|
are motion compensation (mo comp), inverse discrete cosine transform
|
|
|
|
(iDCT), VLD (variable-length decoding) and deblocking for MPEG-1, MPEG-2,
|
|
|
|
MPEG-4 ASP (MPEG-4 Part 2), H.264/MPEG-4 AVC and VC-1, WMV3/WMV9 encoded
|
|
|
|
videos. Which specific codecs of these that can be offloaded to the
|
|
|
|
GPU depends on the version of the GPU hardware; specifically,
|
|
|
|
to also decode MPEG-4 ASP (MPEG-4 Part 2), Xvid/OpenDivX (DivX 4), and
|
|
|
|
DivX 5 formats, a GeForce 200M (2xxM) Series (the eleventh generation of
|
|
|
|
Nvidia's GeForce graphics processing units) or newer GPU hardware is
|
|
|
|
required.
|
2013-08-21 01:31:41 +08:00
|
|
|
</para>
|
|
|
|
|
2014-02-19 04:55:40 +08:00
|
|
|
&lfs75_checked;
|
2013-08-21 01:31:41 +08:00
|
|
|
|
2013-08-24 10:08:53 +08:00
|
|
|
<bridgehead renderas="sect4">Package Information</bridgehead>
|
2013-08-21 01:31:41 +08:00
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&libvdpau-download-http;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&libvdpau-download-ftp;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download MD5 sum: &libvdpau-md5sum;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download size: &libvdpau-size;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated disk space required: &libvdpau-buildsize;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated build time: &libvdpau-time;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2014-07-12 03:41:20 +08:00
|
|
|
<bridgehead renderas="sect4">Additional Downloads</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Libvdpau-va-gl Driver Download (HTTP): <ulink url="&libvdpau-va-gl-download-http;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Libvdpau-va-gl Driver Download (FTP): <ulink url="&libvdpau-va-gl-download-ftp;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Libvdpau-va-gl Driver Download MD5 sum: &libvdpau-va-gl-md5sum;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Libvdpau-va-gl Driver Download size: &libvdpau-va-gl-size;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated disk space required: &libvdpau-va-gl-buildsize;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated build time: &libvdpau-va-gl-time;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<note><para>The tarball name for libvdpau-va-gl does not include the
|
|
|
|
file name, although it does expand to libvdpau-va-gl-&libvdpau-va-gl-version;.
|
|
|
|
The file should be renamed after downloading:</para>
|
|
|
|
|
|
|
|
<screen><command>mv v&libvdpau-va-gl-version;.tar.gz libvdpau-va-gl-&libvdpau-va-gl-version;.tar.gz</command></screen>
|
|
|
|
</note>
|
|
|
|
|
|
|
|
|
2013-08-24 10:08:53 +08:00
|
|
|
<bridgehead renderas="sect4">libvdpau Dependencies</bridgehead>
|
2013-08-21 01:31:41 +08:00
|
|
|
|
2013-08-24 10:08:53 +08:00
|
|
|
<bridgehead renderas="sect5">Required</bridgehead>
|
2013-08-21 01:31:41 +08:00
|
|
|
<para role="required">
|
2014-07-22 22:51:06 +08:00
|
|
|
<xref linkend="xorg7-lib"/> for libvdpau and
|
2014-07-22 21:22:01 +08:00
|
|
|
<xref linkend="cmake"/>,
|
2014-07-22 23:00:44 +08:00
|
|
|
<xref linkend="ffmpeg"/>,
|
|
|
|
<xref linkend="glu"/>, and
|
|
|
|
<xref linkend="libva"/> for libvdpau-va-gl
|
2013-08-21 01:31:41 +08:00
|
|
|
</para>
|
|
|
|
|
2013-08-24 10:08:53 +08:00
|
|
|
<bridgehead renderas="sect5">Optional</bridgehead>
|
2013-08-21 01:31:41 +08:00
|
|
|
<para role="optional">
|
|
|
|
<xref linkend="doxygen"/>,
|
2014-07-12 03:41:20 +08:00
|
|
|
<xref linkend="graphviz"/>, and
|
2013-08-21 01:31:41 +08:00
|
|
|
<xref linkend="texlive"/>
|
|
|
|
</para>
|
|
|
|
|
2013-08-24 10:08:53 +08:00
|
|
|
<bridgehead renderas="sect5">Runtime Dependency</bridgehead>
|
2013-08-21 01:31:41 +08:00
|
|
|
<para role="optional">
|
|
|
|
<xref linkend="mesalib"/>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para condition="html" role="usernotes">
|
|
|
|
User Notes: <ulink url="&blfs-wiki;/libvdpau"/>
|
|
|
|
</para>
|
2013-08-24 10:08:53 +08:00
|
|
|
</sect3>
|
2013-08-21 01:31:41 +08:00
|
|
|
|
2013-08-24 10:08:53 +08:00
|
|
|
<sect3 role="installation">
|
2013-08-21 01:31:41 +08:00
|
|
|
<title>Installation of libvdpau</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Install <application>libvdpau</application> by running the following
|
|
|
|
commands:
|
|
|
|
</para>
|
|
|
|
|
2013-08-24 10:08:53 +08:00
|
|
|
<screen><userinput>./configure $XORG_CONFIG &&
|
2013-08-21 01:31:41 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
To test the results, issue: <command>make check</command>.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
|
2013-08-24 10:08:53 +08:00
|
|
|
</sect3>
|
2013-08-21 01:31:41 +08:00
|
|
|
|
2014-07-12 03:41:20 +08:00
|
|
|
<sect3 role="installation">
|
|
|
|
<title>Installation of libvdpau-va-gl</title>
|
|
|
|
|
|
|
|
<para>Libvdpau_va_gl uses OpenGL under the hood to accelerate drawing and
|
|
|
|
scaling and the VA-API (if available) to accelerate video decoding. For now
|
|
|
|
VA-API is available on some Intel chips, and on some AMD video adapters with
|
|
|
|
the help of the libvdpau driver.</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Install <application>libvdpau-va-gl</application> by running the following
|
|
|
|
commands:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen><userinput>
|
|
|
|
mkdir build &&
|
|
|
|
cd build &&
|
|
|
|
|
2014-07-22 21:12:12 +08:00
|
|
|
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$XORG_PREFIX .. &&
|
2014-07-12 03:41:20 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
To test the results, issue: <command>make check</command>. The tests must
|
|
|
|
be run from an Xorg environment.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3 role="configuration">
|
|
|
|
<title>Configuration</title>
|
|
|
|
|
|
|
|
<para>To allow libvdpau to find libvdpau-va-gl, set an environment variable.
|
|
|
|
As the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>echo "export VDPAU_DRIVER=va_gl" >> /etc/profile.d/xorg.sh</userinput></screen>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
|
2013-08-24 10:08:53 +08:00
|
|
|
<sect3 role="content">
|
2013-08-21 01:31:41 +08:00
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Library</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>
|
|
|
|
None
|
|
|
|
</seg>
|
|
|
|
<seg>
|
2014-07-12 03:41:20 +08:00
|
|
|
libvdpau.so and libvdpau_va_gl.so
|
2013-08-21 01:31:41 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
/usr/include/libvdpau and
|
|
|
|
/usr/lib/libvdpau
|
|
|
|
</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="libvdpau-lib">
|
|
|
|
<term><filename class="libraryfile">libvdpau.so</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
contains functions to offload portions of the video decoding
|
|
|
|
process and video post-processing to the GPU video-hardware.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="libvdpau libvdpau-lib">
|
|
|
|
<primary sortas="c-libvdpau">libvdpau.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
2013-08-24 10:08:53 +08:00
|
|
|
</sect3>
|
2013-08-21 01:31:41 +08:00
|
|
|
|
2013-08-24 10:08:53 +08:00
|
|
|
</sect2>
|