[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 |
|
---|
[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 |
|
---|
[332bad2a] | 42 | &lfs120_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"/>,
|
---|
| 83 | <xref linkend="libvdpau"/>, and
|
---|
| 84 | <xref linkend="libva"/>
|
---|
| 85 | </para>
|
---|
| 86 |
|
---|
[9a612888] | 87 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4c24eb0a] | 88 | <para role="optional">
|
---|
| 89 | <xref linkend="doxygen"/>,
|
---|
| 90 | <xref linkend="graphviz"/>, and
|
---|
| 91 | <xref linkend="texlive"/> or <xref linkend="tl-installer"/>
|
---|
| 92 | </para>
|
---|
| 93 |
|
---|
[9a612888] | 94 | <bridgehead renderas="sect4">Runtime Dependency</bridgehead>
|
---|
[4c24eb0a] | 95 | <para role="optional">
|
---|
| 96 | <xref role="runtime" linkend="mesa"/>
|
---|
| 97 | </para>
|
---|
| 98 |
|
---|
[9a612888] | 99 | </sect2>
|
---|
[4c24eb0a] | 100 |
|
---|
[9a612888] | 101 | <sect2 role="installation">
|
---|
[4c24eb0a] | 102 | <title>Installation of libvdpau-va-gl</title>
|
---|
| 103 |
|
---|
| 104 | <para>
|
---|
| 105 | Install <application>libvdpau-va-gl</application> by running the following
|
---|
| 106 | commands:
|
---|
| 107 | </para>
|
---|
[bbb8ccc] | 108 |
|
---|
[973598a] | 109 | <screen><userinput>sed -e '/#include <stdlib.h>/a #include <string>' -i src/api-device.cc &&
|
---|
| 110 |
|
---|
| 111 | mkdir build &&
|
---|
[bbb8ccc] | 112 | cd build &&
|
---|
| 113 |
|
---|
| 114 | cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$XORG_PREFIX .. &&
|
---|
| 115 | make</userinput></screen>
|
---|
| 116 |
|
---|
[4c24eb0a] | 117 | <para>
|
---|
| 118 | To test the results, issue: <command>make check</command>. The tests must
|
---|
| 119 | be run from an Xorg environment.
|
---|
| 120 | </para>
|
---|
[bbb8ccc] | 121 |
|
---|
[4c24eb0a] | 122 | <para>
|
---|
| 123 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 124 | </para>
|
---|
[bbb8ccc] | 125 |
|
---|
| 126 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 127 |
|
---|
[9a612888] | 128 | </sect2>
|
---|
[bbb8ccc] | 129 |
|
---|
[9a612888] | 130 | <sect2 role="commands">
|
---|
[973598a] | 131 | <title>Command Explanations</title>
|
---|
| 132 |
|
---|
| 133 | <para>
|
---|
| 134 | <command>sed -e '/#include <stdlib.h>/a #include <string>' ...</command>:
|
---|
| 135 | fix the build for the C++ Standard Library header changes in gcc-13.
|
---|
| 136 | </para>
|
---|
| 137 |
|
---|
[9a612888] | 138 | </sect2>
|
---|
[973598a] | 139 |
|
---|
| 140 |
|
---|
[9a612888] | 141 | <sect2 role="configuration">
|
---|
[4c24eb0a] | 142 | <title>Configuration</title>
|
---|
[bbb8ccc] | 143 |
|
---|
[4c24eb0a] | 144 | <para>
|
---|
| 145 | To allow libvdpau to find libvdpau-va-gl, set an environment variable.
|
---|
| 146 | As the <systemitem class="username">root</systemitem> user:
|
---|
| 147 | </para>
|
---|
[bbb8ccc] | 148 |
|
---|
| 149 | <screen role="root"><userinput>echo "export VDPAU_DRIVER=va_gl" >> /etc/profile.d/xorg.sh</userinput></screen>
|
---|
| 150 |
|
---|
[9a612888] | 151 | </sect2>
|
---|
[4c24eb0a] | 152 |
|
---|
[9a612888] | 153 | <sect2 role="content">
|
---|
[4c24eb0a] | 154 | <title>Contents</title>
|
---|
| 155 |
|
---|
| 156 | <segmentedlist>
|
---|
| 157 | <segtitle>Installed Programs</segtitle>
|
---|
| 158 | <segtitle>Installed Library</segtitle>
|
---|
| 159 | <segtitle>Installed Directories</segtitle>
|
---|
| 160 |
|
---|
| 161 | <seglistitem>
|
---|
| 162 | <seg>
|
---|
| 163 | None
|
---|
| 164 | </seg>
|
---|
| 165 | <seg>
|
---|
| 166 | libvdpau_va_gl.so
|
---|
| 167 | </seg>
|
---|
| 168 | <seg>
|
---|
| 169 | None
|
---|
| 170 | </seg>
|
---|
| 171 | </seglistitem>
|
---|
| 172 | </segmentedlist>
|
---|
| 173 |
|
---|
| 174 | <variablelist>
|
---|
[9a612888] | 175 | <bridgehead renderas="sect2">Short Descriptions</bridgehead>
|
---|
[4c24eb0a] | 176 | <?dbfo list-presentation="list"?>
|
---|
| 177 | <?dbhtml list-presentation="table"?>
|
---|
| 178 |
|
---|
| 179 | <varlistentry id="libvdpau-va-gl-lib">
|
---|
| 180 | <term><filename class="libraryfile">libvdpau_va_gl.so</filename></term>
|
---|
| 181 | <listitem>
|
---|
| 182 | <para>
|
---|
| 183 | contains functions to implement the OpenGL backend to
|
---|
| 184 | the VDPAU (Video Decode and Presentation API for Unix) API
|
---|
| 185 | </para>
|
---|
| 186 | <indexterm zone="libvdpau-va-gl libvdpau-va-gl-lib">
|
---|
| 187 | <primary sortas="c-libvdpau-va-gl">libvdpau.so</primary>
|
---|
| 188 | </indexterm>
|
---|
| 189 | </listitem>
|
---|
| 190 | </varlistentry>
|
---|
| 191 |
|
---|
| 192 | </variablelist>
|
---|
| 193 |
|
---|
[9a612888] | 194 | </sect2>
|
---|
[4c24eb0a] | 195 |
|
---|
[9a612888] | 196 | </sect1>
|
---|