[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 |
|
---|
[7768dfc9] | 7 | <!ENTITY libvdpau-va-gl-download-http "https://github.com/i-rinat/libvdpau-va-gl/archive/v&libvdpau-va-gl-version;.tar.gz">
|
---|
[bbb8ccc] | 8 | <!ENTITY libvdpau-va-gl-download-ftp " ">
|
---|
[7768dfc9] | 9 | <!ENTITY libvdpau-va-gl-md5sum "638244652a702d0262039890904f37ce">
|
---|
| 10 | <!ENTITY libvdpau-va-gl-size "120 KB">
|
---|
| 11 | <!ENTITY libvdpau-va-gl-buildsize "3.4 MB">
|
---|
[bbb8ccc] | 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 |
|
---|
[7a327b0] | 40 | &lfs7a_checked;
|
---|
[7768dfc9] | 41 |
|
---|
| 42 | <note><para>Download this file via wget as:</para>
|
---|
| 43 | <screen><userinput>wget https://github.com/i-rinat/libvdpau-va-gl/archive/v&libvdpau-va-gl-version;.tar.gz \
|
---|
| 44 | -O libvdpau-va-gl-&libvdpau-va-gl-version;.tar.gz</userinput></screen>
|
---|
| 45 | </note>
|
---|
[bbb8ccc] | 46 |
|
---|
| 47 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
| 48 | <itemizedlist spacing="compact">
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>
|
---|
| 51 | Libvdpau-va-gl Driver Download (HTTP): <ulink url="&libvdpau-va-gl-download-http;"/>
|
---|
| 52 | </para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>
|
---|
| 56 | Libvdpau-va-gl Driver Download (FTP): <ulink url="&libvdpau-va-gl-download-ftp;"/>
|
---|
| 57 | </para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>
|
---|
| 61 | Libvdpau-va-gl Driver Download MD5 sum: &libvdpau-va-gl-md5sum;
|
---|
| 62 | </para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
| 66 | Libvdpau-va-gl Driver Download size: &libvdpau-va-gl-size;
|
---|
| 67 | </para>
|
---|
| 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>
|
---|
| 71 | Estimated disk space required: &libvdpau-va-gl-buildsize;
|
---|
| 72 | </para>
|
---|
| 73 | </listitem>
|
---|
| 74 | <listitem>
|
---|
| 75 | <para>
|
---|
| 76 | Estimated build time: &libvdpau-va-gl-time;
|
---|
| 77 | </para>
|
---|
| 78 | </listitem>
|
---|
| 79 | </itemizedlist>
|
---|
[f3429309] | 80 |
|
---|
[1efabaf] | 81 | <!-- It's been fixed upstream. Lets see if it stays fixed ...
|
---|
[f3429309] | 82 | <note><para>The tarball name for libvdpau-va-gl does not include the
|
---|
[bbb8ccc] | 83 | file name, although it does expand to libvdpau-va-gl-&libvdpau-va-gl-version;.
|
---|
| 84 | The file should be renamed after downloading:</para>
|
---|
| 85 |
|
---|
| 86 | <screen><command>mv v&libvdpau-va-gl-version;.tar.gz libvdpau-va-gl-&libvdpau-va-gl-version;.tar.gz</command></screen>
|
---|
[1efabaf] | 87 | </note>-->
|
---|
[bbb8ccc] | 88 |
|
---|
| 89 |
|
---|
| 90 | <bridgehead renderas="sect4">libvdpau-va-gl Dependencies</bridgehead>
|
---|
| 91 |
|
---|
| 92 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
| 93 | <para role="required">
|
---|
| 94 | <xref linkend="cmake"/>,
|
---|
| 95 | <xref linkend="ffmpeg"/>,
|
---|
| 96 | <xref linkend="libvdpau"/>, and
|
---|
| 97 | <xref linkend="libva"/>
|
---|
| 98 | </para>
|
---|
| 99 |
|
---|
| 100 | <bridgehead renderas="sect5">Optional</bridgehead>
|
---|
| 101 | <para role="optional">
|
---|
| 102 | <xref linkend="doxygen"/>,
|
---|
| 103 | <xref linkend="graphviz"/>, and
|
---|
[2d98031c] | 104 | <xref linkend="texlive"/> or <xref linkend="tl-installer"/>
|
---|
[bbb8ccc] | 105 | </para>
|
---|
| 106 |
|
---|
| 107 | <bridgehead renderas="sect5">Runtime Dependency</bridgehead>
|
---|
| 108 | <para role="optional">
|
---|
[7a395d1] | 109 | <xref linkend="mesa"/>
|
---|
[bbb8ccc] | 110 | </para>
|
---|
| 111 |
|
---|
| 112 | <para condition="html" role="usernotes">
|
---|
| 113 | User Notes: <ulink url="&blfs-wiki;/libvdpau"/>
|
---|
| 114 | </para>
|
---|
| 115 | </sect3>
|
---|
| 116 |
|
---|
| 117 | <sect3 role="installation">
|
---|
| 118 | <title>Installation of libvdpau-va-gl</title>
|
---|
| 119 |
|
---|
| 120 | <para>
|
---|
| 121 | Install <application>libvdpau-va-gl</application> by running the following
|
---|
| 122 | commands:
|
---|
| 123 | </para>
|
---|
| 124 |
|
---|
| 125 | <screen><userinput>mkdir build &&
|
---|
| 126 | cd build &&
|
---|
| 127 |
|
---|
| 128 | cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$XORG_PREFIX .. &&
|
---|
| 129 | make</userinput></screen>
|
---|
| 130 |
|
---|
| 131 | <para>
|
---|
| 132 | To test the results, issue: <command>make check</command>. The tests must
|
---|
[f3429309] | 133 | be run from an Xorg environment.
|
---|
[bbb8ccc] | 134 | </para>
|
---|
| 135 |
|
---|
| 136 | <para>
|
---|
| 137 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 138 | </para>
|
---|
| 139 |
|
---|
| 140 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 141 |
|
---|
| 142 | </sect3>
|
---|
| 143 |
|
---|
| 144 | <sect3 role="configuration">
|
---|
| 145 | <title>Configuration</title>
|
---|
| 146 |
|
---|
| 147 | <para>To allow libvdpau to find libvdpau-va-gl, set an environment variable.
|
---|
| 148 | As the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 149 |
|
---|
| 150 | <screen role="root"><userinput>echo "export VDPAU_DRIVER=va_gl" >> /etc/profile.d/xorg.sh</userinput></screen>
|
---|
| 151 |
|
---|
| 152 | </sect3>
|
---|
| 153 |
|
---|
| 154 |
|
---|
| 155 | <sect3 role="content">
|
---|
| 156 | <title>Contents</title>
|
---|
| 157 |
|
---|
| 158 | <segmentedlist>
|
---|
| 159 | <segtitle>Installed Programs</segtitle>
|
---|
| 160 | <segtitle>Installed Library</segtitle>
|
---|
| 161 | <segtitle>Installed Directories</segtitle>
|
---|
| 162 |
|
---|
| 163 | <seglistitem>
|
---|
| 164 | <seg>
|
---|
| 165 | None
|
---|
| 166 | </seg>
|
---|
| 167 | <seg>
|
---|
| 168 | libvdpau_va_gl.so
|
---|
| 169 | </seg>
|
---|
| 170 | <seg>
|
---|
| 171 | None
|
---|
| 172 | </seg>
|
---|
| 173 | </seglistitem>
|
---|
| 174 | </segmentedlist>
|
---|
| 175 |
|
---|
| 176 | <variablelist>
|
---|
| 177 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 178 | <?dbfo list-presentation="list"?>
|
---|
| 179 | <?dbhtml list-presentation="table"?>
|
---|
| 180 |
|
---|
| 181 | <varlistentry id="libvdpau-va-gl-lib">
|
---|
| 182 | <term><filename class="libraryfile">libvdpau_va_gl.so</filename></term>
|
---|
| 183 | <listitem>
|
---|
| 184 | <para>
|
---|
[f3429309] | 185 | contains functions to implement the OpenGL backend to
|
---|
[bbb8ccc] | 186 | the VDPAU (Video Decode and Presentation API for Unix) API.
|
---|
| 187 | </para>
|
---|
| 188 | <indexterm zone="libvdpau-va-gl libvdpau-va-gl-lib">
|
---|
| 189 | <primary sortas="c-libvdpau-va-gl">libvdpau.so</primary>
|
---|
| 190 | </indexterm>
|
---|
| 191 | </listitem>
|
---|
| 192 | </varlistentry>
|
---|
| 193 |
|
---|
| 194 | </variablelist>
|
---|
| 195 |
|
---|
| 196 | </sect3>
|
---|
| 197 |
|
---|
| 198 | </sect2>
|
---|