source: multimedia/libdriv/libva.xml@ 9a612888

12.0 12.1 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 9a612888 was 9a612888, checked in by Xi Ruoyao <xry111@…>, 11 months ago

Move HW-accel video encoding/decoding library into Multimedia section

They don't really belong to some Graphical Environment.

  • Property mode set to 100644
File size: 6.4 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 libva-version "2.18.0">
8
9 <!ENTITY libva-download-http "https://github.com/intel/libva/releases/download/&libva-version;/libva-&libva-version;.tar.bz2">
10 <!ENTITY libva-download-ftp " ">
11 <!ENTITY libva-md5sum "b597a43395daebf65f23872b67bcd794">
12 <!ENTITY libva-size "496 KB">
13 <!ENTITY libva-buildsize "5.4 MB">
14 <!ENTITY libva-time "less than 0.1 SBU">
15]>
16
17 <sect1 id="libva" xreflabel="libva-&libva-version;">
18 <?dbhtml filename="intel-media-driver.html"?>
19
20 <sect1info>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>libva-&libva-version;</title>
25
26 <indexterm zone="libva">
27 <primary sortas="a-libva">libva</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to libva</title>
32
33 <para>
34 The <application>libva</application> package contains a library which
35 provides access to hardware accelerated video processing, using hardware
36 to accelerate video processing in order to offload the central
37 processing unit (CPU) to decode and encode compressed digital video. The VA
38 API video decode/encode interface is platform and window system
39 independent targeted at Direct Rendering Infrastructure (DRI) in the X
40 Window System however it can potentially also be used with direct
41 framebuffer and graphics sub-systems for video output. Accelerated
42 processing includes support for video decoding, video encoding,
43 subpicture blending, and rendering.
44 </para>
45
46 &lfs113_checked;
47
48 <bridgehead renderas="sect3">Package Information</bridgehead>
49 <itemizedlist spacing="compact">
50 <listitem>
51 <para>
52 Download (HTTP): <ulink url="&libva-download-http;"/>
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download (FTP): <ulink url="&libva-download-ftp;"/>
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Download MD5 sum: &libva-md5sum;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Download size: &libva-size;
68 </para>
69 </listitem>
70 <listitem>
71 <para>
72 Estimated disk space required: &libva-buildsize;
73 </para>
74 </listitem>
75 <listitem>
76 <para>
77 Estimated build time: &libva-time;
78 </para>
79 </listitem>
80 </itemizedlist>
81
82 <bridgehead renderas="sect3">libva Dependencies</bridgehead>
83
84 <bridgehead renderas="sect4">Required</bridgehead>
85 <para role="required">
86 <xref linkend="libdrm"/>
87 </para>
88
89 <bridgehead renderas="sect4">Recommended</bridgehead>
90 <para role="recommended">
91 <xref linkend="mesa"/>
92 </para>
93
94 <bridgehead renderas="sect4">Recommended (Runtime)</bridgehead>
95 <!-- "nodep" to prevent BLFS tool from blindly installing all the
96 drivers -->
97 <para role='nodep'>
98 The VA API driver suitable for the hardware in your system:
99 <xref linkend='intel-vaapi-driver'/> (for Intel GPUs provided with
100 Haswell CPUs or earlier),
101 <xref linkend='intel-media-driver'/> (for Intel GPUs provided with
102 Broadwell CPUs or later),
103 <xref linkend='mesa'/> (providing the <literal>r600</literal>,
104 <literal>raedonsi</literal>, and <literal>nouveau</literal> VA API
105 drivers, for the ATI/AMD Raedon HD 2xxx GPUs and later, and
106 <ulink url='https://nouveau.freedesktop.org/VideoAcceleration.html'>
107supported
108 NVIDIA GPUs</ulink>; there is a circular dependency, read the Mesa page
109 for information on how to break it)
110 </para>
111
112 <bridgehead renderas="sect4">Optional</bridgehead>
113 <para role="optional">
114 <xref linkend="doxygen"/>,
115 <xref linkend="wayland"/>, and
116 <ulink url="https://gitlab.freedesktop.org/drm/igt-gpu-tools">intel-gpu-tools</ulink>
117 </para>
118
119 </sect2>
120
121 <sect2 role="installation">
122 <title>Installation of libva</title>
123 <!-- libva*.so.2 have been around for a long time...
124 <caution>
125 <para>
126 If you are reinstalling this package, you will need
127 to remove the older versions of the libraries. These are in the
128 form of libva*.so.1 and any symbolic links pointing to them. In
129 addition, any packages that use these files need to be rebuilt.
130 </para>
131 </caution>
132 -->
133 <para>
134 Install <application>libva</application> by running the following
135 commands:
136 </para>
137
138<screen><userinput>mkdir build &amp;&amp;
139cd build &amp;&amp;
140
141meson setup --prefix=$XORG_PREFIX --buildtype=release &amp;&amp;
142ninja</userinput></screen>
143
144 <para>
145 This package does not come with a test suite.
146 </para>
147
148 <para>
149 Now, as the <systemitem class="username">root</systemitem> user:
150 </para>
151
152<screen role="root"><userinput>ninja install</userinput></screen>
153
154 </sect2>
155
156 <sect2 role="content">
157 <title>Contents</title>
158
159 <segmentedlist>
160 <segtitle>Installed Programs</segtitle>
161 <segtitle>Installed Libraries</segtitle>
162 <segtitle>Installed Directory</segtitle>
163
164 <seglistitem>
165 <seg>
166 None
167 </seg>
168 <seg>
169 libva-drm.so,
170 libva-glx.so,
171 libva.so,
172 libva-wayland.so, and
173 libva-x11.so
174 </seg>
175 <seg>
176 $XORG_PREFIX/include/va
177 </seg>
178 </seglistitem>
179 </segmentedlist>
180
181 <variablelist>
182 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
183 <?dbfo list-presentation="list"?>
184 <?dbhtml list-presentation="table"?>
185
186 <varlistentry id="libva-lib">
187 <term><filename class="libraryfile">libva.so</filename></term>
188 <listitem>
189 <para>
190 contains API functions which provide access to hardware
191 accelerated video processing
192 </para>
193 <indexterm zone="libva libva-lib">
194 <primary sortas="c-libva">libva.so</primary>
195 </indexterm>
196 </listitem>
197 </varlistentry>
198
199 </variablelist>
200
201 </sect2>
202
203 </sect1>
Note: See TracBrowser for help on using the repository browser.