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 |
|
---|
7 | <!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">
|
---|
8 | <!ENTITY libvdpau-va-gl-download-ftp " ">
|
---|
9 | <!ENTITY libvdpau-va-gl-md5sum "638244652a702d0262039890904f37ce">
|
---|
10 | <!ENTITY libvdpau-va-gl-size "120 KB">
|
---|
11 | <!ENTITY libvdpau-va-gl-buildsize "3.4 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 |
|
---|
40 | &lfs90_checked;
|
---|
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 |
|
---|
76 | <!-- It's been fixed upstream. Lets see if it stays fixed ...
|
---|
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>
|
---|
82 | </note>-->
|
---|
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="libvdpau"/>, and
|
---|
92 | <xref linkend="libva"/>
|
---|
93 | </para>
|
---|
94 |
|
---|
95 | <bridgehead renderas="sect5">Optional</bridgehead>
|
---|
96 | <para role="optional">
|
---|
97 | <xref linkend="doxygen"/>,
|
---|
98 | <xref linkend="graphviz"/>, and
|
---|
99 | <xref linkend="texlive"/> or <xref linkend="tl-installer"/>
|
---|
100 | </para>
|
---|
101 |
|
---|
102 | <bridgehead renderas="sect5">Runtime Dependency</bridgehead>
|
---|
103 | <para role="optional">
|
---|
104 | <xref role="runtime" linkend="mesa"/>
|
---|
105 | </para>
|
---|
106 |
|
---|
107 | <para condition="html" role="usernotes">
|
---|
108 | User Notes: <ulink url="&blfs-wiki;/libvdpau"/>
|
---|
109 | </para>
|
---|
110 | </sect3>
|
---|
111 |
|
---|
112 | <sect3 role="installation">
|
---|
113 | <title>Installation of libvdpau-va-gl</title>
|
---|
114 |
|
---|
115 | <para>
|
---|
116 | Install <application>libvdpau-va-gl</application> by running the following
|
---|
117 | commands:
|
---|
118 | </para>
|
---|
119 |
|
---|
120 | <screen><userinput>mkdir build &&
|
---|
121 | cd build &&
|
---|
122 |
|
---|
123 | cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$XORG_PREFIX .. &&
|
---|
124 | make</userinput></screen>
|
---|
125 |
|
---|
126 | <para>
|
---|
127 | To test the results, issue: <command>make check</command>. The tests must
|
---|
128 | be run from an Xorg environment.
|
---|
129 | </para>
|
---|
130 |
|
---|
131 | <para>
|
---|
132 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
133 | </para>
|
---|
134 |
|
---|
135 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
136 |
|
---|
137 | </sect3>
|
---|
138 |
|
---|
139 | <sect3 role="configuration">
|
---|
140 | <title>Configuration</title>
|
---|
141 |
|
---|
142 | <para>To allow libvdpau to find libvdpau-va-gl, set an environment variable.
|
---|
143 | As the <systemitem class="username">root</systemitem> user:</para>
|
---|
144 |
|
---|
145 | <screen role="root"><userinput>echo "export VDPAU_DRIVER=va_gl" >> /etc/profile.d/xorg.sh</userinput></screen>
|
---|
146 |
|
---|
147 | </sect3>
|
---|
148 |
|
---|
149 |
|
---|
150 | <sect3 role="content">
|
---|
151 | <title>Contents</title>
|
---|
152 |
|
---|
153 | <segmentedlist>
|
---|
154 | <segtitle>Installed Programs</segtitle>
|
---|
155 | <segtitle>Installed Library</segtitle>
|
---|
156 | <segtitle>Installed Directories</segtitle>
|
---|
157 |
|
---|
158 | <seglistitem>
|
---|
159 | <seg>
|
---|
160 | None
|
---|
161 | </seg>
|
---|
162 | <seg>
|
---|
163 | libvdpau_va_gl.so
|
---|
164 | </seg>
|
---|
165 | <seg>
|
---|
166 | None
|
---|
167 | </seg>
|
---|
168 | </seglistitem>
|
---|
169 | </segmentedlist>
|
---|
170 |
|
---|
171 | <variablelist>
|
---|
172 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
173 | <?dbfo list-presentation="list"?>
|
---|
174 | <?dbhtml list-presentation="table"?>
|
---|
175 |
|
---|
176 | <varlistentry id="libvdpau-va-gl-lib">
|
---|
177 | <term><filename class="libraryfile">libvdpau_va_gl.so</filename></term>
|
---|
178 | <listitem>
|
---|
179 | <para>
|
---|
180 | contains functions to implement the OpenGL backend to
|
---|
181 | the VDPAU (Video Decode and Presentation API for Unix) API.
|
---|
182 | </para>
|
---|
183 | <indexterm zone="libvdpau-va-gl libvdpau-va-gl-lib">
|
---|
184 | <primary sortas="c-libvdpau-va-gl">libvdpau.so</primary>
|
---|
185 | </indexterm>
|
---|
186 | </listitem>
|
---|
187 | </varlistentry>
|
---|
188 |
|
---|
189 | </variablelist>
|
---|
190 |
|
---|
191 | </sect3>
|
---|
192 |
|
---|
193 | </sect2>
|
---|