source: x/installing/libva.xml@ 9a6d0d9

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