[bbb8ccc] | 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 |
|
---|
[241a09b3] | 7 | <!ENTITY libvdpau-va-gl-download-http "https://github.com/i-rinat/libvdpau-va-gl/releases/download/v&libvdpau-va-gl-version;/libvdpau-va-gl-&libvdpau-va-gl-version;.tar.gz">
|
---|
[bbb8ccc] | 8 | <!ENTITY libvdpau-va-gl-download-ftp " ">
|
---|
| 9 | <!ENTITY libvdpau-va-gl-md5sum "09ceb2f75eafccc9b002d35ede0de6a5">
|
---|
| 10 | <!ENTITY libvdpau-va-gl-size "100 KB">
|
---|
| 11 | <!ENTITY libvdpau-va-gl-buildsize "4.0 MB">
|
---|
| 12 | <!ENTITY libvdpau-va-gl-time "less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect2 id="libvdpau-va-gl" xreflabel="libvdpau-va-gl-&libvdpau-va-gl-version;">
|
---|
| 16 |
|
---|
| 17 | <sect2info>
|
---|
| 18 | <othername>$LastChangedBy$</othername>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect2info>
|
---|
| 21 |
|
---|
| 22 | <title>libvdpau-va-gl-&libvdpau-va-gl-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="libvdpau-va-gl">
|
---|
| 25 | <primary sortas="a-libvdpau-va-gl">libvdpau-va-gl</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect3 role="package">
|
---|
| 29 | <title>Introduction to libvdpau-va-gl</title>
|
---|
| 30 |
|
---|
| 31 | <para>
|
---|
| 32 | The <application>libvdpau-va-gl</application> package contains a library
|
---|
| 33 | which implements the VDPAU library. Libvdpau_va_gl uses OpenGL under the
|
---|
| 34 | hood to accelerate drawing and scaling and the VA-API (if available) to
|
---|
| 35 | accelerate video decoding. For now VA-API is available on some Intel
|
---|
| 36 | chips, and on some AMD video adapters with the help of the libvdpau
|
---|
| 37 | driver.
|
---|
| 38 | </para>
|
---|
| 39 |
|
---|
[a30a874] | 40 | &lfs77_built;
|
---|
[bbb8ccc] | 41 |
|
---|
| 42 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>
|
---|
| 46 | Libvdpau-va-gl Driver Download (HTTP): <ulink url="&libvdpau-va-gl-download-http;"/>
|
---|
| 47 | </para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>
|
---|
| 51 | Libvdpau-va-gl Driver Download (FTP): <ulink url="&libvdpau-va-gl-download-ftp;"/>
|
---|
| 52 | </para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>
|
---|
| 56 | Libvdpau-va-gl Driver Download MD5 sum: &libvdpau-va-gl-md5sum;
|
---|
| 57 | </para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>
|
---|
| 61 | Libvdpau-va-gl Driver Download size: &libvdpau-va-gl-size;
|
---|
| 62 | </para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
| 66 | Estimated disk space required: &libvdpau-va-gl-buildsize;
|
---|
| 67 | </para>
|
---|
| 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>
|
---|
| 71 | Estimated build time: &libvdpau-va-gl-time;
|
---|
| 72 | </para>
|
---|
| 73 | </listitem>
|
---|
| 74 | </itemizedlist>
|
---|
| 75 |
|
---|
[1efabaf] | 76 | <!-- It's been fixed upstream. Lets see if it stays fixed ...
|
---|
[bbb8ccc] | 77 | <note><para>The tarball name for libvdpau-va-gl does not include the
|
---|
| 78 | file name, although it does expand to libvdpau-va-gl-&libvdpau-va-gl-version;.
|
---|
| 79 | The file should be renamed after downloading:</para>
|
---|
| 80 |
|
---|
| 81 | <screen><command>mv v&libvdpau-va-gl-version;.tar.gz libvdpau-va-gl-&libvdpau-va-gl-version;.tar.gz</command></screen>
|
---|
[1efabaf] | 82 | </note>-->
|
---|
[bbb8ccc] | 83 |
|
---|
| 84 |
|
---|
| 85 | <bridgehead renderas="sect4">libvdpau-va-gl Dependencies</bridgehead>
|
---|
| 86 |
|
---|
| 87 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
| 88 | <para role="required">
|
---|
| 89 | <xref linkend="cmake"/>,
|
---|
| 90 | <xref linkend="ffmpeg"/>,
|
---|
| 91 | <xref linkend="glu"/>,
|
---|
| 92 | <xref linkend="libvdpau"/>, and
|
---|
| 93 | <xref linkend="libva"/>
|
---|
| 94 | </para>
|
---|
| 95 |
|
---|
| 96 | <bridgehead renderas="sect5">Optional</bridgehead>
|
---|
| 97 | <para role="optional">
|
---|
| 98 | <xref linkend="doxygen"/>,
|
---|
| 99 | <xref linkend="graphviz"/>, and
|
---|
[2d98031c] | 100 | <xref linkend="texlive"/> or <xref linkend="tl-installer"/>
|
---|
[bbb8ccc] | 101 | </para>
|
---|
| 102 |
|
---|
| 103 | <bridgehead renderas="sect5">Runtime Dependency</bridgehead>
|
---|
| 104 | <para role="optional">
|
---|
| 105 | <xref linkend="mesalib"/>
|
---|
| 106 | </para>
|
---|
| 107 |
|
---|
| 108 | <para condition="html" role="usernotes">
|
---|
| 109 | User Notes: <ulink url="&blfs-wiki;/libvdpau"/>
|
---|
| 110 | </para>
|
---|
| 111 | </sect3>
|
---|
| 112 |
|
---|
| 113 | <sect3 role="installation">
|
---|
| 114 | <title>Installation of libvdpau-va-gl</title>
|
---|
| 115 |
|
---|
| 116 | <para>
|
---|
| 117 | Install <application>libvdpau-va-gl</application> by running the following
|
---|
| 118 | commands:
|
---|
| 119 | </para>
|
---|
| 120 |
|
---|
| 121 | <screen><userinput>mkdir build &&
|
---|
| 122 | cd build &&
|
---|
| 123 |
|
---|
| 124 | cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$XORG_PREFIX .. &&
|
---|
| 125 | make</userinput></screen>
|
---|
| 126 |
|
---|
| 127 | <para>
|
---|
| 128 | To test the results, issue: <command>make check</command>. The tests must
|
---|
| 129 | be run from an Xorg environment.
|
---|
| 130 | </para>
|
---|
| 131 |
|
---|
| 132 | <para>
|
---|
| 133 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 134 | </para>
|
---|
| 135 |
|
---|
| 136 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 137 |
|
---|
| 138 | </sect3>
|
---|
| 139 |
|
---|
| 140 | <sect3 role="configuration">
|
---|
| 141 | <title>Configuration</title>
|
---|
| 142 |
|
---|
| 143 | <para>To allow libvdpau to find libvdpau-va-gl, set an environment variable.
|
---|
| 144 | As the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 145 |
|
---|
| 146 | <screen role="root"><userinput>echo "export VDPAU_DRIVER=va_gl" >> /etc/profile.d/xorg.sh</userinput></screen>
|
---|
| 147 |
|
---|
| 148 | </sect3>
|
---|
| 149 |
|
---|
| 150 |
|
---|
| 151 | <sect3 role="content">
|
---|
| 152 | <title>Contents</title>
|
---|
| 153 |
|
---|
| 154 | <segmentedlist>
|
---|
| 155 | <segtitle>Installed Programs</segtitle>
|
---|
| 156 | <segtitle>Installed Library</segtitle>
|
---|
| 157 | <segtitle>Installed Directories</segtitle>
|
---|
| 158 |
|
---|
| 159 | <seglistitem>
|
---|
| 160 | <seg>
|
---|
| 161 | None
|
---|
| 162 | </seg>
|
---|
| 163 | <seg>
|
---|
| 164 | libvdpau_va_gl.so
|
---|
| 165 | </seg>
|
---|
| 166 | <seg>
|
---|
| 167 | None
|
---|
| 168 | </seg>
|
---|
| 169 | </seglistitem>
|
---|
| 170 | </segmentedlist>
|
---|
| 171 |
|
---|
| 172 | <variablelist>
|
---|
| 173 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 174 | <?dbfo list-presentation="list"?>
|
---|
| 175 | <?dbhtml list-presentation="table"?>
|
---|
| 176 |
|
---|
| 177 | <varlistentry id="libvdpau-va-gl-lib">
|
---|
| 178 | <term><filename class="libraryfile">libvdpau_va_gl.so</filename></term>
|
---|
| 179 | <listitem>
|
---|
| 180 | <para>
|
---|
[c6bfee88] | 181 | contains functions to implement the OpenGL backend to
|
---|
[bbb8ccc] | 182 | the VDPAU (Video Decode and Presentation API for Unix) API.
|
---|
| 183 | </para>
|
---|
| 184 | <indexterm zone="libvdpau-va-gl libvdpau-va-gl-lib">
|
---|
| 185 | <primary sortas="c-libvdpau-va-gl">libvdpau.so</primary>
|
---|
| 186 | </indexterm>
|
---|
| 187 | </listitem>
|
---|
| 188 | </varlistentry>
|
---|
| 189 |
|
---|
| 190 | </variablelist>
|
---|
| 191 |
|
---|
| 192 | </sect3>
|
---|
| 193 |
|
---|
| 194 | </sect2>
|
---|