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/releases/download/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 "77ce5937c94c9a6747e15646fe5c4bb3">
|
---|
10 | <!ENTITY libvdpau-va-gl-size "100 KB">
|
---|
11 | <!ENTITY libvdpau-va-gl-buildsize "2.8 MB">
|
---|
12 | <!ENTITY libvdpau-va-gl-time "less than 0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="libvdpau-va-gl" xreflabel="libvdpau-va-gl-&libvdpau-va-gl-version;">
|
---|
16 | <?dbhtml filename="libvdpau-va-gl.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
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 | <sect2 role="package">
|
---|
30 | <title>Introduction to libvdpau-va-gl</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | The <application>libvdpau-va-gl</application> package contains
|
---|
34 | the VDPAU driver for hardware that supports VAAPI.
|
---|
35 | </para>
|
---|
36 |
|
---|
37 | &lfs77_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Download (HTTP): <ulink url="&libvdpau-va-gl-download-http;"/>
|
---|
44 | </para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (FTP): <ulink url="&libvdpau-va-gl-download-ftp;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download MD5 sum: &libvdpau-va-gl-md5sum;
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download size: &libvdpau-va-gl-size;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated disk space required: &libvdpau-va-gl-buildsize;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated build time: &libvdpau-va-gl-time;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 |
|
---|
73 | <!-- It's been fixed upstream. Lets see if it stays fixed ...
|
---|
74 | <note>
|
---|
75 | <para>
|
---|
76 | The tarball name for libvdpau-va-gl does not include
|
---|
77 | the package name, although it does expand to
|
---|
78 | libvdpau-va-gl-&libvdpau-va-gl-version;.
|
---|
79 | The file should be renamed after downloading:
|
---|
80 | </para>
|
---|
81 |
|
---|
82 | <screen><command>mv v&libvdpau-va-gl-version;.tar.gz libvdpau-va-gl-&libvdpau-va-gl-version;.tar.gz</command></screen>
|
---|
83 | </note>-->
|
---|
84 |
|
---|
85 | <bridgehead renderas="sect3">libvdpau-va-gl Dependencies</bridgehead>
|
---|
86 |
|
---|
87 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
88 | <para role="required">
|
---|
89 | <xref linkend="cmake"/>,
|
---|
90 | <xref linkend="ffmpeg"/>,
|
---|
91 | <xref linkend="glu"/>,
|
---|
92 | <xref linkend="libva"/>, and
|
---|
93 | <xref linkend="libvdpau"/>
|
---|
94 | </para>
|
---|
95 |
|
---|
96 | <para condition="html" role="usernotes">
|
---|
97 | User Notes: <ulink url="&blfs-wiki;/libvdpau-va-gl"/>
|
---|
98 | </para>
|
---|
99 | </sect2>
|
---|
100 |
|
---|
101 | <sect2 role="installation">
|
---|
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>
|
---|
108 |
|
---|
109 | <screen><userinput>cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release &&
|
---|
110 | make</userinput></screen>
|
---|
111 |
|
---|
112 | <para>
|
---|
113 | To test the results, issue: <command>make check</command> from an X terminal.
|
---|
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 | <sect2 role="commands">
|
---|
125 | <title>Command Explanations</title>
|
---|
126 |
|
---|
127 | <para>
|
---|
128 | <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
|
---|
129 | to apply higher level of the compiler optimizations.
|
---|
130 | </para>
|
---|
131 |
|
---|
132 | </sect2>
|
---|
133 |
|
---|
134 | <sect2 role="using">
|
---|
135 | <title>Using libvdpau-va-gl</title>
|
---|
136 |
|
---|
137 | <para>
|
---|
138 | To use this driver with VDPAU apps, you need to set the <envar>VDPAU_DRIVER</envar>
|
---|
139 | environment variable to <parameter>va_gl</parameter>.
|
---|
140 | </para>
|
---|
141 |
|
---|
142 | <para>
|
---|
143 | You can permanently set the environment variable by expanding the system
|
---|
144 | wide configuration. Run the following command as the
|
---|
145 | <systemitem class="username">root</systemitem> user:
|
---|
146 | </para>
|
---|
147 |
|
---|
148 | <screen role="root"><userinput>cat > /etc/profile.d/libvdpau-va-gl.sh << "EOF"
|
---|
149 | <literal># Begin /etc/profile.d/libvdpau-va-gl.sh
|
---|
150 |
|
---|
151 | export VDPAU_DRIVER=va_gl
|
---|
152 |
|
---|
153 | # End /etc/profile.d/libvdpau-va-gl.sh</literal>
|
---|
154 | EOF</userinput></screen>
|
---|
155 |
|
---|
156 | </sect2>
|
---|
157 |
|
---|
158 | <sect2 role="content">
|
---|
159 | <title>Contents</title>
|
---|
160 |
|
---|
161 | <segmentedlist>
|
---|
162 | <segtitle>Installed VDPAU Driver</segtitle>
|
---|
163 |
|
---|
164 | <seglistitem>
|
---|
165 | <seg>
|
---|
166 | libvdpau_va_gl.so
|
---|
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">
|
---|
177 | <term><filename class="libraryfile">libvdpau_va_gl.so</filename></term>
|
---|
178 | <listitem>
|
---|
179 | <para>
|
---|
180 | is a VDPAU driver for hardware that supports VAAPI.
|
---|
181 | </para>
|
---|
182 | <indexterm zone="libvdpau-va-gl libvdpau_va_gl">
|
---|
183 | <primary sortas="c-libvdpau_va_gl">libvdpau_va_gl.so</primary>
|
---|
184 | </indexterm>
|
---|
185 | </listitem>
|
---|
186 | </varlistentry>
|
---|
187 |
|
---|
188 | </variablelist>
|
---|
189 |
|
---|
190 | </sect2>
|
---|
191 |
|
---|
192 | </sect1>
|
---|