1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
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-version "0.4.2">
|
---|
8 |
|
---|
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">
|
---|
10 | <!ENTITY libvdpau-va-gl-download-ftp " ">
|
---|
11 | <!ENTITY libvdpau-va-gl-md5sum "8db21dcfd5cd14c6ec51b992e20369dc">
|
---|
12 | <!ENTITY libvdpau-va-gl-size "120 KB">
|
---|
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)">
|
---|
15 | ]>
|
---|
16 |
|
---|
17 | <sect1 id="libvdpau-va-gl" xreflabel="libvdpau-va-gl-&libvdpau-va-gl-version;">
|
---|
18 | <?dbhtml filename="libvdpau-va-gl.html"?>
|
---|
19 |
|
---|
20 | <sect1info>
|
---|
21 | <date>$Date$</date>
|
---|
22 | </sect1info>
|
---|
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 |
|
---|
30 | <sect2 role="package">
|
---|
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 |
|
---|
42 | &lfs122_checked;
|
---|
43 |
|
---|
44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
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 |
|
---|
78 | <bridgehead renderas="sect3">libvdpau-va-gl Dependencies</bridgehead>
|
---|
79 |
|
---|
80 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
81 | <para role="required">
|
---|
82 | <xref linkend="cmake"/>,
|
---|
83 | <xref linkend="libvdpau"/>,
|
---|
84 | <xref linkend="libva"/>, and
|
---|
85 | <xref linkend="mesa"/>
|
---|
86 | </para>
|
---|
87 |
|
---|
88 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
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 |
|
---|
95 | </sect2>
|
---|
96 |
|
---|
97 | <sect2 role="installation">
|
---|
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>
|
---|
104 |
|
---|
105 | <screen><userinput>mkdir build &&
|
---|
106 | cd build &&
|
---|
107 |
|
---|
108 | cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=$XORG_PREFIX .. &&
|
---|
109 | make</userinput></screen>
|
---|
110 |
|
---|
111 | <para>
|
---|
112 | To test the results, issue: <command>make check</command>. The tests must
|
---|
113 | be run from an Xorg environment.
|
---|
114 | </para>
|
---|
115 |
|
---|
116 | <para>
|
---|
117 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
118 | </para>
|
---|
119 |
|
---|
120 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
121 |
|
---|
122 | </sect2>
|
---|
123 |
|
---|
124 | <!--
|
---|
125 | <sect2 role="commands">
|
---|
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 |
|
---|
133 | </sect2>
|
---|
134 | -->
|
---|
135 |
|
---|
136 | <sect2 role="configuration">
|
---|
137 | <title>Configuration</title>
|
---|
138 |
|
---|
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>
|
---|
143 |
|
---|
144 | <screen role="root"><userinput>echo "export VDPAU_DRIVER=va_gl" >> /etc/profile.d/xorg.sh</userinput></screen>
|
---|
145 |
|
---|
146 | </sect2>
|
---|
147 |
|
---|
148 | <sect2 role="content">
|
---|
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>
|
---|
170 | <bridgehead renderas="sect2">Short Descriptions</bridgehead>
|
---|
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 |
|
---|
189 | </sect2>
|
---|
190 |
|
---|
191 | </sect1>
|
---|