source: x/installing/libvdpau-va-gl.xml@ 88cf4eb

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 88cf4eb was 9a6d0d9, checked in by Xi Ruoyao <xry111@…>, 12 months ago

x: Remove non-exist User Notes link

Part of User Notes removal by
https://www.linuxfromscratch.org/~xry111/remove-nonexist-usernote.sh

  • Property mode set to 100644
File size: 5.9 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 <sect2 id="libvdpau-va-gl" xreflabel="libvdpau-va-gl-&libvdpau-va-gl-version;">
18
19 <sect2info>
20 <date>$Date$</date>
21 </sect2info>
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 <sect3 role="package">
30 <title>Introduction to libvdpau-va-gl</title>
31
32 <para>
33 The <application>libvdpau-va-gl</application> package contains a library
34 which implements the VDPAU library. Libvdpau_va_gl uses OpenGL under the
35 hood to accelerate drawing and scaling and the VA-API (if available) to
36 accelerate video decoding. For now VA-API is available on some Intel
37 chips, and on some AMD video adapters with the help of the libvdpau
38 driver.
39 </para>
40
41 &lfs113_checked;
42
43 <bridgehead renderas="sect4">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
46 <para>
47 Libvdpau-va-gl Driver Download (HTTP): <ulink url="&libvdpau-va-gl-download-http;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Libvdpau-va-gl Driver Download (FTP): <ulink url="&libvdpau-va-gl-download-ftp;"/>
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Libvdpau-va-gl Driver Download MD5 sum: &libvdpau-va-gl-md5sum;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Libvdpau-va-gl Driver Download size: &libvdpau-va-gl-size;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated disk space required: &libvdpau-va-gl-buildsize;
68 </para>
69 </listitem>
70 <listitem>
71 <para>
72 Estimated build time: &libvdpau-va-gl-time;
73 </para>
74 </listitem>
75 </itemizedlist>
76
77 <bridgehead renderas="sect4">libvdpau-va-gl Dependencies</bridgehead>
78
79 <bridgehead renderas="sect5">Required</bridgehead>
80 <para role="required">
81 <xref linkend="cmake"/>,
82 <xref linkend="libvdpau"/>, and
83 <xref linkend="libva"/>
84 </para>
85
86 <bridgehead renderas="sect5">Optional</bridgehead>
87 <para role="optional">
88 <xref linkend="doxygen"/>,
89 <xref linkend="graphviz"/>, and
90 <xref linkend="texlive"/> or <xref linkend="tl-installer"/>
91 </para>
92
93 <bridgehead renderas="sect5">Runtime Dependency</bridgehead>
94 <para role="optional">
95 <xref role="runtime" linkend="mesa"/>
96 </para>
97
98 </sect3>
99
100 <sect3 role="installation">
101 <title>Installation of libvdpau-va-gl</title>
102
103 <para>
104 Install <application>libvdpau-va-gl</application> by running the following
105 commands:
106 </para>
107
108<screen><userinput>sed -e '/#include &lt;stdlib.h&gt;/a #include &lt;string&gt;' -i src/api-device.cc &amp;&amp;
109
110mkdir build &amp;&amp;
111cd build &amp;&amp;
112
113cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$XORG_PREFIX .. &amp;&amp;
114make</userinput></screen>
115
116 <para>
117 To test the results, issue: <command>make check</command>. The tests must
118 be run from an Xorg environment.
119 </para>
120
121 <para>
122 Now, as the <systemitem class="username">root</systemitem> user:
123 </para>
124
125<screen role="root"><userinput>make install</userinput></screen>
126
127 </sect3>
128
129 <sect3 role="commands">
130 <title>Command Explanations</title>
131
132 <para>
133 <command>sed -e '/#include &lt;stdlib.h&gt;/a #include &lt;string&gt;' ...</command>:
134 fix the build for the C++ Standard Library header changes in gcc-13.
135 </para>
136
137 </sect3>
138
139
140 <sect3 role="configuration">
141 <title>Configuration</title>
142
143 <para>
144 To allow libvdpau to find libvdpau-va-gl, set an environment variable.
145 As the <systemitem class="username">root</systemitem> user:
146 </para>
147
148<screen role="root"><userinput>echo "export VDPAU_DRIVER=va_gl" >> /etc/profile.d/xorg.sh</userinput></screen>
149
150 </sect3>
151
152 <sect3 role="content">
153 <title>Contents</title>
154
155 <segmentedlist>
156 <segtitle>Installed Programs</segtitle>
157 <segtitle>Installed Library</segtitle>
158 <segtitle>Installed Directories</segtitle>
159
160 <seglistitem>
161 <seg>
162 None
163 </seg>
164 <seg>
165 libvdpau_va_gl.so
166 </seg>
167 <seg>
168 None
169 </seg>
170 </seglistitem>
171 </segmentedlist>
172
173 <variablelist>
174 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
175 <?dbfo list-presentation="list"?>
176 <?dbhtml list-presentation="table"?>
177
178 <varlistentry id="libvdpau-va-gl-lib">
179 <term><filename class="libraryfile">libvdpau_va_gl.so</filename></term>
180 <listitem>
181 <para>
182 contains functions to implement the OpenGL backend to
183 the VDPAU (Video Decode and Presentation API for Unix) API
184 </para>
185 <indexterm zone="libvdpau-va-gl libvdpau-va-gl-lib">
186 <primary sortas="c-libvdpau-va-gl">libvdpau.so</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 </variablelist>
192
193 </sect3>
194
195 </sect2>
Note: See TracBrowser for help on using the repository browser.