[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 |
|
---|
[58c3bfd] | 7 | <!ENTITY libvdpau-va-gl-version "0.4.0">
|
---|
| 8 |
|
---|
[8dfc5c3] | 9 | <!ENTITY libvdpau-va-gl-download-http "https://github.com/i-rinat/libvdpau-va-gl/archive/v&libvdpau-va-gl-version;/libvdpau-va-gl-&libvdpau-va-gl-version;.tar.gz">
|
---|
[bbb8ccc] | 10 | <!ENTITY libvdpau-va-gl-download-ftp " ">
|
---|
[7768dfc9] | 11 | <!ENTITY libvdpau-va-gl-md5sum "638244652a702d0262039890904f37ce">
|
---|
| 12 | <!ENTITY libvdpau-va-gl-size "120 KB">
|
---|
| 13 | <!ENTITY libvdpau-va-gl-buildsize "3.4 MB">
|
---|
[bbb8ccc] | 14 | <!ENTITY libvdpau-va-gl-time "less than 0.1 SBU">
|
---|
| 15 | ]>
|
---|
| 16 |
|
---|
[4c24eb0a] | 17 | <sect2 id="libvdpau-va-gl" xreflabel="libvdpau-va-gl-&libvdpau-va-gl-version;">
|
---|
| 18 |
|
---|
| 19 | <sect2info>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect2info>
|
---|
| 22 |
|
---|
| 23 | <title>libvdpau-va-gl-&libvdpau-va-gl-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="libvdpau-va-gl">
|
---|
| 26 | <primary sortas="a-libvdpau-va-gl">libvdpau-va-gl</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect3 role="package">
|
---|
| 30 | <title>Introduction to libvdpau-va-gl</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | The <application>libvdpau-va-gl</application> package contains a library
|
---|
| 34 | which implements the VDPAU library. Libvdpau_va_gl uses OpenGL under the
|
---|
| 35 | hood to accelerate drawing and scaling and the VA-API (if available) to
|
---|
| 36 | accelerate video decoding. For now VA-API is available on some Intel
|
---|
| 37 | chips, and on some AMD video adapters with the help of the libvdpau
|
---|
| 38 | driver.
|
---|
| 39 | </para>
|
---|
| 40 |
|
---|
[dc1a45e] | 41 | &lfs113_checked;
|
---|
[4c24eb0a] | 42 |
|
---|
| 43 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
| 44 | <itemizedlist spacing="compact">
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>
|
---|
| 47 | Libvdpau-va-gl Driver Download (HTTP): <ulink url="&libvdpau-va-gl-download-http;"/>
|
---|
| 48 | </para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>
|
---|
| 52 | Libvdpau-va-gl Driver Download (FTP): <ulink url="&libvdpau-va-gl-download-ftp;"/>
|
---|
| 53 | </para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>
|
---|
| 57 | Libvdpau-va-gl Driver Download MD5 sum: &libvdpau-va-gl-md5sum;
|
---|
| 58 | </para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>
|
---|
| 62 | Libvdpau-va-gl Driver Download size: &libvdpau-va-gl-size;
|
---|
| 63 | </para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>
|
---|
| 67 | Estimated disk space required: &libvdpau-va-gl-buildsize;
|
---|
| 68 | </para>
|
---|
| 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
| 71 | <para>
|
---|
| 72 | Estimated build time: &libvdpau-va-gl-time;
|
---|
| 73 | </para>
|
---|
| 74 | </listitem>
|
---|
| 75 | </itemizedlist>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect4">libvdpau-va-gl Dependencies</bridgehead>
|
---|
| 78 |
|
---|
| 79 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
| 80 | <para role="required">
|
---|
| 81 | <xref linkend="cmake"/>,
|
---|
| 82 | <xref linkend="libvdpau"/>, and
|
---|
| 83 | <xref linkend="libva"/>
|
---|
| 84 | </para>
|
---|
| 85 |
|
---|
| 86 | <bridgehead renderas="sect5">Optional</bridgehead>
|
---|
| 87 | <para role="optional">
|
---|
| 88 | <xref linkend="doxygen"/>,
|
---|
| 89 | <xref linkend="graphviz"/>, and
|
---|
| 90 | <xref linkend="texlive"/> or <xref linkend="tl-installer"/>
|
---|
| 91 | </para>
|
---|
| 92 |
|
---|
| 93 | <bridgehead renderas="sect5">Runtime Dependency</bridgehead>
|
---|
| 94 | <para role="optional">
|
---|
| 95 | <xref role="runtime" linkend="mesa"/>
|
---|
| 96 | </para>
|
---|
| 97 |
|
---|
| 98 | <para condition="html" role="usernotes">
|
---|
| 99 | User Notes: <ulink url="&blfs-wiki;/libvdpau"/>
|
---|
| 100 | </para>
|
---|
| 101 | </sect3>
|
---|
| 102 |
|
---|
| 103 | <sect3 role="installation">
|
---|
| 104 | <title>Installation of libvdpau-va-gl</title>
|
---|
| 105 |
|
---|
| 106 | <para>
|
---|
| 107 | Install <application>libvdpau-va-gl</application> by running the following
|
---|
| 108 | commands:
|
---|
| 109 | </para>
|
---|
[bbb8ccc] | 110 |
|
---|
[973598a] | 111 | <screen><userinput>sed -e '/#include <stdlib.h>/a #include <string>' -i src/api-device.cc &&
|
---|
| 112 |
|
---|
| 113 | mkdir build &&
|
---|
[bbb8ccc] | 114 | cd build &&
|
---|
| 115 |
|
---|
| 116 | cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$XORG_PREFIX .. &&
|
---|
| 117 | make</userinput></screen>
|
---|
| 118 |
|
---|
[4c24eb0a] | 119 | <para>
|
---|
| 120 | To test the results, issue: <command>make check</command>. The tests must
|
---|
| 121 | be run from an Xorg environment.
|
---|
| 122 | </para>
|
---|
[bbb8ccc] | 123 |
|
---|
[4c24eb0a] | 124 | <para>
|
---|
| 125 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 126 | </para>
|
---|
[bbb8ccc] | 127 |
|
---|
| 128 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 129 |
|
---|
[4c24eb0a] | 130 | </sect3>
|
---|
[bbb8ccc] | 131 |
|
---|
[973598a] | 132 | <sect3 role="commands">
|
---|
| 133 | <title>Command Explanations</title>
|
---|
| 134 |
|
---|
| 135 | <para>
|
---|
| 136 | <command>sed -e '/#include <stdlib.h>/a #include <string>' ...</command>:
|
---|
| 137 | fix the build for the C++ Standard Library header changes in gcc-13.
|
---|
| 138 | </para>
|
---|
| 139 |
|
---|
| 140 | </sect3>
|
---|
| 141 |
|
---|
| 142 |
|
---|
[4c24eb0a] | 143 | <sect3 role="configuration">
|
---|
| 144 | <title>Configuration</title>
|
---|
[bbb8ccc] | 145 |
|
---|
[4c24eb0a] | 146 | <para>
|
---|
| 147 | To allow libvdpau to find libvdpau-va-gl, set an environment variable.
|
---|
| 148 | As the <systemitem class="username">root</systemitem> user:
|
---|
| 149 | </para>
|
---|
[bbb8ccc] | 150 |
|
---|
| 151 | <screen role="root"><userinput>echo "export VDPAU_DRIVER=va_gl" >> /etc/profile.d/xorg.sh</userinput></screen>
|
---|
| 152 |
|
---|
[4c24eb0a] | 153 | </sect3>
|
---|
| 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>
|
---|
| 185 | contains functions to implement the OpenGL backend to
|
---|
| 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>
|
---|