[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[bbb8ccc] | 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 |
|
---|
[13c1187e] | 7 | <!ENTITY libvdpau-va-gl-version "0.4.2">
|
---|
[58c3bfd] | 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 " ">
|
---|
[13c1187e] | 11 | <!ENTITY libvdpau-va-gl-md5sum "8db21dcfd5cd14c6ec51b992e20369dc">
|
---|
[7768dfc9] | 12 | <!ENTITY libvdpau-va-gl-size "120 KB">
|
---|
[13c1187e] | 13 | <!ENTITY libvdpau-va-gl-buildsize "4.9 MB">
|
---|
| 14 | <!ENTITY libvdpau-va-gl-time "less than 0.1 SBU (add 1.1 SBU for tests)">
|
---|
[bbb8ccc] | 15 | ]>
|
---|
| 16 |
|
---|
[9a612888] | 17 | <sect1 id="libvdpau-va-gl" xreflabel="libvdpau-va-gl-&libvdpau-va-gl-version;">
|
---|
| 18 | <?dbhtml filename="libvdpau-va-gl.html"?>
|
---|
[4c24eb0a] | 19 |
|
---|
[9a612888] | 20 | <sect1info>
|
---|
[4c24eb0a] | 21 | <date>$Date$</date>
|
---|
[9a612888] | 22 | </sect1info>
|
---|
[4c24eb0a] | 23 |
|
---|
| 24 | <title>libvdpau-va-gl-&libvdpau-va-gl-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="libvdpau-va-gl">
|
---|
| 27 | <primary sortas="a-libvdpau-va-gl">libvdpau-va-gl</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
[9a612888] | 30 | <sect2 role="package">
|
---|
[4c24eb0a] | 31 | <title>Introduction to libvdpau-va-gl</title>
|
---|
| 32 |
|
---|
| 33 | <para>
|
---|
| 34 | The <application>libvdpau-va-gl</application> package contains a library
|
---|
| 35 | which implements the VDPAU library. Libvdpau_va_gl uses OpenGL under the
|
---|
| 36 | hood to accelerate drawing and scaling and the VA-API (if available) to
|
---|
| 37 | accelerate video decoding. For now VA-API is available on some Intel
|
---|
| 38 | chips, and on some AMD video adapters with the help of the libvdpau
|
---|
| 39 | driver.
|
---|
| 40 | </para>
|
---|
| 41 |
|
---|
[d4dc5bae] | 42 | &lfs122_checked;
|
---|
[4c24eb0a] | 43 |
|
---|
[9a612888] | 44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
[4c24eb0a] | 45 | <itemizedlist spacing="compact">
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>
|
---|
| 48 | Libvdpau-va-gl Driver Download (HTTP): <ulink url="&libvdpau-va-gl-download-http;"/>
|
---|
| 49 | </para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
| 53 | Libvdpau-va-gl Driver Download (FTP): <ulink url="&libvdpau-va-gl-download-ftp;"/>
|
---|
| 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Libvdpau-va-gl Driver Download MD5 sum: &libvdpau-va-gl-md5sum;
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Libvdpau-va-gl Driver Download size: &libvdpau-va-gl-size;
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>
|
---|
| 68 | Estimated disk space required: &libvdpau-va-gl-buildsize;
|
---|
| 69 | </para>
|
---|
| 70 | </listitem>
|
---|
| 71 | <listitem>
|
---|
| 72 | <para>
|
---|
| 73 | Estimated build time: &libvdpau-va-gl-time;
|
---|
| 74 | </para>
|
---|
| 75 | </listitem>
|
---|
| 76 | </itemizedlist>
|
---|
| 77 |
|
---|
[9a612888] | 78 | <bridgehead renderas="sect3">libvdpau-va-gl Dependencies</bridgehead>
|
---|
[4c24eb0a] | 79 |
|
---|
[9a612888] | 80 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[4c24eb0a] | 81 | <para role="required">
|
---|
| 82 | <xref linkend="cmake"/>,
|
---|
[f9a6626e] | 83 | <xref linkend="libvdpau"/>,
|
---|
| 84 | <xref linkend="libva"/>, and
|
---|
| 85 | <xref linkend="mesa"/>
|
---|
[4c24eb0a] | 86 | </para>
|
---|
| 87 |
|
---|
[9a612888] | 88 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4c24eb0a] | 89 | <para role="optional">
|
---|
| 90 | <xref linkend="doxygen"/>,
|
---|
| 91 | <xref linkend="graphviz"/>, and
|
---|
| 92 | <xref linkend="texlive"/> or <xref linkend="tl-installer"/>
|
---|
| 93 | </para>
|
---|
| 94 |
|
---|
[9a612888] | 95 | </sect2>
|
---|
[4c24eb0a] | 96 |
|
---|
[9a612888] | 97 | <sect2 role="installation">
|
---|
[4c24eb0a] | 98 | <title>Installation of libvdpau-va-gl</title>
|
---|
| 99 |
|
---|
| 100 | <para>
|
---|
| 101 | Install <application>libvdpau-va-gl</application> by running the following
|
---|
| 102 | commands:
|
---|
| 103 | </para>
|
---|
[bbb8ccc] | 104 |
|
---|
[13c1187e] | 105 | <screen><userinput>mkdir build &&
|
---|
[bbb8ccc] | 106 | cd build &&
|
---|
| 107 |
|
---|
[cbfa153] | 108 | cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=$XORG_PREFIX .. &&
|
---|
[bbb8ccc] | 109 | make</userinput></screen>
|
---|
| 110 |
|
---|
[4c24eb0a] | 111 | <para>
|
---|
| 112 | To test the results, issue: <command>make check</command>. The tests must
|
---|
| 113 | be run from an Xorg environment.
|
---|
| 114 | </para>
|
---|
[bbb8ccc] | 115 |
|
---|
[4c24eb0a] | 116 | <para>
|
---|
| 117 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 118 | </para>
|
---|
[bbb8ccc] | 119 |
|
---|
| 120 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 121 |
|
---|
[9a612888] | 122 | </sect2>
|
---|
[bbb8ccc] | 123 |
|
---|
[13c1187e] | 124 | <!--
|
---|
[9a612888] | 125 | <sect2 role="commands">
|
---|
[973598a] | 126 | <title>Command Explanations</title>
|
---|
| 127 |
|
---|
| 128 | <para>
|
---|
| 129 | <command>sed -e '/#include <stdlib.h>/a #include <string>' ...</command>:
|
---|
| 130 | fix the build for the C++ Standard Library header changes in gcc-13.
|
---|
| 131 | </para>
|
---|
| 132 |
|
---|
[9a612888] | 133 | </sect2>
|
---|
[13c1187e] | 134 | -->
|
---|
[973598a] | 135 |
|
---|
[9a612888] | 136 | <sect2 role="configuration">
|
---|
[4c24eb0a] | 137 | <title>Configuration</title>
|
---|
[bbb8ccc] | 138 |
|
---|
[4c24eb0a] | 139 | <para>
|
---|
| 140 | To allow libvdpau to find libvdpau-va-gl, set an environment variable.
|
---|
| 141 | As the <systemitem class="username">root</systemitem> user:
|
---|
| 142 | </para>
|
---|
[bbb8ccc] | 143 |
|
---|
| 144 | <screen role="root"><userinput>echo "export VDPAU_DRIVER=va_gl" >> /etc/profile.d/xorg.sh</userinput></screen>
|
---|
| 145 |
|
---|
[9a612888] | 146 | </sect2>
|
---|
[4c24eb0a] | 147 |
|
---|
[9a612888] | 148 | <sect2 role="content">
|
---|
[4c24eb0a] | 149 | <title>Contents</title>
|
---|
| 150 |
|
---|
| 151 | <segmentedlist>
|
---|
| 152 | <segtitle>Installed Programs</segtitle>
|
---|
| 153 | <segtitle>Installed Library</segtitle>
|
---|
| 154 | <segtitle>Installed Directories</segtitle>
|
---|
| 155 |
|
---|
| 156 | <seglistitem>
|
---|
| 157 | <seg>
|
---|
| 158 | None
|
---|
| 159 | </seg>
|
---|
| 160 | <seg>
|
---|
| 161 | libvdpau_va_gl.so
|
---|
| 162 | </seg>
|
---|
| 163 | <seg>
|
---|
| 164 | None
|
---|
| 165 | </seg>
|
---|
| 166 | </seglistitem>
|
---|
| 167 | </segmentedlist>
|
---|
| 168 |
|
---|
| 169 | <variablelist>
|
---|
[9a612888] | 170 | <bridgehead renderas="sect2">Short Descriptions</bridgehead>
|
---|
[4c24eb0a] | 171 | <?dbfo list-presentation="list"?>
|
---|
| 172 | <?dbhtml list-presentation="table"?>
|
---|
| 173 |
|
---|
| 174 | <varlistentry id="libvdpau-va-gl-lib">
|
---|
| 175 | <term><filename class="libraryfile">libvdpau_va_gl.so</filename></term>
|
---|
| 176 | <listitem>
|
---|
| 177 | <para>
|
---|
| 178 | contains functions to implement the OpenGL backend to
|
---|
| 179 | the VDPAU (Video Decode and Presentation API for Unix) API
|
---|
| 180 | </para>
|
---|
| 181 | <indexterm zone="libvdpau-va-gl libvdpau-va-gl-lib">
|
---|
| 182 | <primary sortas="c-libvdpau-va-gl">libvdpau.so</primary>
|
---|
| 183 | </indexterm>
|
---|
| 184 | </listitem>
|
---|
| 185 | </varlistentry>
|
---|
| 186 |
|
---|
| 187 | </variablelist>
|
---|
| 188 |
|
---|
[9a612888] | 189 | </sect2>
|
---|
[4c24eb0a] | 190 |
|
---|
[9a612888] | 191 | </sect1>
|
---|