[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 |
|
---|
| 7 | <!ENTITY libvdpau-download-http "http://people.freedesktop.org/~aplattner/vdpau/libvdpau-&libvdpau-version;.tar.gz">
|
---|
| 8 | <!ENTITY libvdpau-download-ftp " ">
|
---|
[a223ddd] | 9 | <!ENTITY libvdpau-md5sum "acf68adc8b8ff4f72be6e8679abc284e">
|
---|
[07584d8] | 10 | <!ENTITY libvdpau-size "476 KB">
|
---|
[a223ddd] | 11 | <!ENTITY libvdpau-buildsize "8.9 MB">
|
---|
[07584d8] | 12 | <!ENTITY libvdpau-time "0.1 SBU">
|
---|
[a223ddd] | 13 |
|
---|
[60f83d0] | 14 | <!ENTITY libvdpau-va-gl-download-http "https://github.com/i-rinat/libvdpau-va-gl/archive/v&libvdpau-va-gl-version;.tar.gz">
|
---|
[a223ddd] | 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">
|
---|
[07584d8] | 20 | ]>
|
---|
| 21 |
|
---|
[a8ece039] | 22 | <sect2 id="libvdpau" xreflabel="libvdpau-&libvdpau-version;">
|
---|
[07584d8] | 23 |
|
---|
[a8ece039] | 24 | <sect2info>
|
---|
[07584d8] | 25 | <othername>$LastChangedBy$</othername>
|
---|
| 26 | <date>$Date$</date>
|
---|
[a8ece039] | 27 | </sect2info>
|
---|
[07584d8] | 28 |
|
---|
| 29 | <title>libvdpau-&libvdpau-version;</title>
|
---|
| 30 |
|
---|
| 31 | <indexterm zone="libvdpau">
|
---|
| 32 | <primary sortas="a-libvdpau">libvdpau</primary>
|
---|
| 33 | </indexterm>
|
---|
| 34 |
|
---|
[a8ece039] | 35 | <sect3 role="package">
|
---|
[07584d8] | 36 | <title>Introduction to libvdpau</title>
|
---|
| 37 |
|
---|
| 38 | <para>
|
---|
| 39 | The <application>libvdpau</application> package contains a library which
|
---|
[a8ece039] | 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
|
---|
[e748a01] | 46 | 8 series and later GPU hardware targeted at the X Window System
|
---|
[a8ece039] | 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.
|
---|
[07584d8] | 62 | </para>
|
---|
| 63 |
|
---|
[1aa6f05] | 64 | &lfs75_checked;
|
---|
[07584d8] | 65 |
|
---|
[a8ece039] | 66 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
[07584d8] | 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 |
|
---|
[a223ddd] | 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 |
|
---|
[a8ece039] | 142 | <bridgehead renderas="sect4">libvdpau Dependencies</bridgehead>
|
---|
[07584d8] | 143 |
|
---|
[a8ece039] | 144 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
[07584d8] | 145 | <para role="required">
|
---|
[a223ddd] | 146 | <xref linkend="cmake"/> and
|
---|
[07584d8] | 147 | <xref linkend="xorg7-lib"/>
|
---|
| 148 | </para>
|
---|
| 149 |
|
---|
[a8ece039] | 150 | <bridgehead renderas="sect5">Optional</bridgehead>
|
---|
[07584d8] | 151 | <para role="optional">
|
---|
| 152 | <xref linkend="doxygen"/>,
|
---|
[a223ddd] | 153 | <xref linkend="graphviz"/>, and
|
---|
[07584d8] | 154 | <xref linkend="texlive"/>
|
---|
| 155 | </para>
|
---|
| 156 |
|
---|
[a8ece039] | 157 | <bridgehead renderas="sect5">Runtime Dependency</bridgehead>
|
---|
[07584d8] | 158 | <para role="optional">
|
---|
| 159 | <xref linkend="mesalib"/>
|
---|
| 160 | </para>
|
---|
| 161 |
|
---|
| 162 | <para condition="html" role="usernotes">
|
---|
| 163 | User Notes: <ulink url="&blfs-wiki;/libvdpau"/>
|
---|
| 164 | </para>
|
---|
[a8ece039] | 165 | </sect3>
|
---|
[07584d8] | 166 |
|
---|
[a8ece039] | 167 | <sect3 role="installation">
|
---|
[07584d8] | 168 | <title>Installation of libvdpau</title>
|
---|
| 169 |
|
---|
| 170 | <para>
|
---|
| 171 | Install <application>libvdpau</application> by running the following
|
---|
| 172 | commands:
|
---|
| 173 | </para>
|
---|
| 174 |
|
---|
[a8ece039] | 175 | <screen><userinput>./configure $XORG_CONFIG &&
|
---|
[07584d8] | 176 | make</userinput></screen>
|
---|
| 177 |
|
---|
| 178 | <para>
|
---|
| 179 | To test the results, issue: <command>make check</command>.
|
---|
| 180 | </para>
|
---|
| 181 |
|
---|
| 182 | <para>
|
---|
| 183 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 184 | </para>
|
---|
| 185 |
|
---|
| 186 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 187 |
|
---|
[a8ece039] | 188 | </sect3>
|
---|
[07584d8] | 189 |
|
---|
[a223ddd] | 190 | <sect3 role="installation">
|
---|
| 191 | <title>Installation of libvdpau-va-gl</title>
|
---|
| 192 |
|
---|
| 193 | <para>Libvdpau_va_gl uses OpenGL under the hood to accelerate drawing and
|
---|
| 194 | scaling and the VA-API (if available) to accelerate video decoding. For now
|
---|
| 195 | VA-API is available on some Intel chips, and on some AMD video adapters with
|
---|
| 196 | the help of the libvdpau driver.</para>
|
---|
| 197 |
|
---|
| 198 | <para>
|
---|
| 199 | Install <application>libvdpau-va-gl</application> by running the following
|
---|
| 200 | commands:
|
---|
| 201 | </para>
|
---|
| 202 |
|
---|
| 203 | <screen><userinput>
|
---|
| 204 | mkdir build &&
|
---|
| 205 | cd build &&
|
---|
| 206 |
|
---|
| 207 | cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$XORG_CONFIG .. &&
|
---|
| 208 | make</userinput></screen>
|
---|
| 209 |
|
---|
| 210 | <para>
|
---|
| 211 | To test the results, issue: <command>make check</command>. The tests must
|
---|
| 212 | be run from an Xorg environment.
|
---|
| 213 | </para>
|
---|
| 214 |
|
---|
| 215 | <para>
|
---|
| 216 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 217 | </para>
|
---|
| 218 |
|
---|
| 219 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 220 |
|
---|
| 221 | </sect3>
|
---|
| 222 |
|
---|
| 223 | <sect3 role="configuration">
|
---|
| 224 | <title>Configuration</title>
|
---|
| 225 |
|
---|
| 226 | <para>To allow libvdpau to find libvdpau-va-gl, set an environment variable.
|
---|
| 227 | As the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 228 |
|
---|
| 229 | <screen role="root"><userinput>echo "export VDPAU_DRIVER=va_gl" >> /etc/profile.d/xorg.sh</userinput></screen>
|
---|
| 230 |
|
---|
| 231 | </sect3>
|
---|
| 232 |
|
---|
| 233 |
|
---|
[a8ece039] | 234 | <sect3 role="content">
|
---|
[07584d8] | 235 | <title>Contents</title>
|
---|
| 236 |
|
---|
| 237 | <segmentedlist>
|
---|
| 238 | <segtitle>Installed Programs</segtitle>
|
---|
| 239 | <segtitle>Installed Library</segtitle>
|
---|
| 240 | <segtitle>Installed Directories</segtitle>
|
---|
| 241 |
|
---|
| 242 | <seglistitem>
|
---|
| 243 | <seg>
|
---|
| 244 | None
|
---|
| 245 | </seg>
|
---|
| 246 | <seg>
|
---|
[a223ddd] | 247 | libvdpau.so and libvdpau_va_gl.so
|
---|
[07584d8] | 248 | </seg>
|
---|
| 249 | <seg>
|
---|
| 250 | /usr/include/libvdpau and
|
---|
| 251 | /usr/lib/libvdpau
|
---|
| 252 | </seg>
|
---|
| 253 | </seglistitem>
|
---|
| 254 | </segmentedlist>
|
---|
| 255 |
|
---|
| 256 | <variablelist>
|
---|
| 257 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 258 | <?dbfo list-presentation="list"?>
|
---|
| 259 | <?dbhtml list-presentation="table"?>
|
---|
| 260 |
|
---|
| 261 | <varlistentry id="libvdpau-lib">
|
---|
| 262 | <term><filename class="libraryfile">libvdpau.so</filename></term>
|
---|
| 263 | <listitem>
|
---|
| 264 | <para>
|
---|
| 265 | contains functions to offload portions of the video decoding
|
---|
| 266 | process and video post-processing to the GPU video-hardware.
|
---|
| 267 | </para>
|
---|
| 268 | <indexterm zone="libvdpau libvdpau-lib">
|
---|
| 269 | <primary sortas="c-libvdpau">libvdpau.so</primary>
|
---|
| 270 | </indexterm>
|
---|
| 271 | </listitem>
|
---|
| 272 | </varlistentry>
|
---|
| 273 |
|
---|
| 274 | </variablelist>
|
---|
| 275 |
|
---|
[a8ece039] | 276 | </sect3>
|
---|
[07584d8] | 277 |
|
---|
[a8ece039] | 278 | </sect2>
|
---|