source: multimedia/libdriv/libvdpau-va-gl.xml@ b0e89bc

12.1 ken/TL2024 lazarus plabs/newcss python3.11 rahul/power-profiles-daemon trunk xry111/llvm18
Last change on this file since b0e89bc was 332bad2a, checked in by Bruce Dubbs <bdubbs@…>, 10 months ago

Tags

Tag most of multimedia drivers.

  • Property mode set to 100644
File size: 6.0 KB
Line 
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-version "0.4.0">
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 "638244652a702d0262039890904f37ce">
12 <!ENTITY libvdpau-va-gl-size "120 KB">
13 <!ENTITY libvdpau-va-gl-buildsize "3.4 MB">
14 <!ENTITY libvdpau-va-gl-time "less than 0.1 SBU">
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 &lfs120_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"/>, and
84 <xref linkend="libva"/>
85 </para>
86
87 <bridgehead renderas="sect4">Optional</bridgehead>
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
94 <bridgehead renderas="sect4">Runtime Dependency</bridgehead>
95 <para role="optional">
96 <xref role="runtime" linkend="mesa"/>
97 </para>
98
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>sed -e '/#include &lt;stdlib.h&gt;/a #include &lt;string&gt;' -i src/api-device.cc &amp;&amp;
110
111mkdir build &amp;&amp;
112cd build &amp;&amp;
113
114cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$XORG_PREFIX .. &amp;&amp;
115make</userinput></screen>
116
117 <para>
118 To test the results, issue: <command>make check</command>. The tests must
119 be run from an Xorg environment.
120 </para>
121
122 <para>
123 Now, as the <systemitem class="username">root</systemitem> user:
124 </para>
125
126<screen role="root"><userinput>make install</userinput></screen>
127
128 </sect2>
129
130 <sect2 role="commands">
131 <title>Command Explanations</title>
132
133 <para>
134 <command>sed -e '/#include &lt;stdlib.h&gt;/a #include &lt;string&gt;' ...</command>:
135 fix the build for the C++ Standard Library header changes in gcc-13.
136 </para>
137
138 </sect2>
139
140
141 <sect2 role="configuration">
142 <title>Configuration</title>
143
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>
148
149<screen role="root"><userinput>echo "export VDPAU_DRIVER=va_gl" >> /etc/profile.d/xorg.sh</userinput></screen>
150
151 </sect2>
152
153 <sect2 role="content">
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>
175 <bridgehead renderas="sect2">Short Descriptions</bridgehead>
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
194 </sect2>
195
196 </sect1>
Note: See TracBrowser for help on using the repository browser.