source: x/lib/libdrm.xml@ 53375fc

10.0 10.1 11.0 11.1 11.2 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus nosym perl-modules plabs/python-mods qt5new trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since 53375fc was 53375fc, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Update to btrfs-progs-v4.8.4.
Update to libdrm-2.4.73.
Update to LVM2.2.02.167.
Text/format changes in dbus and tcsh

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18017 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 7.7 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 libdrm-download-http "http://dri.freedesktop.org/libdrm/libdrm-&libdrm-version;.tar.bz2">
8 <!ENTITY libdrm-download-ftp " ">
9 <!ENTITY libdrm-md5sum "bc1cee09cde72ffe3b952e8f50ccdaa8">
10 <!ENTITY libdrm-size "760 KB">
11 <!ENTITY libdrm-buildsize "14 MB (add 2 MB for the tests)">
12 <!ENTITY libdrm-time "0.2 SBU (add 0.9 SBU for the tests)">
13]>
14
15<sect1 id="libdrm" xreflabel="libdrm-&libdrm-version;">
16 <?dbhtml filename="libdrm.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>libdrm-&libdrm-version;</title>
24
25 <indexterm zone="libdrm">
26 <primary sortas="a-libdrm">libdrm</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to libdrm</title>
31
32 <para>
33 <application>libdrm</application> provides a user space library for
34 accessing the DRM, direct rendering manager, on operating systems that
35 support the ioctl interface. libdrm is a low-level library, typically used
36 by graphics drivers such as the Mesa DRI drivers, the X drivers, libva and
37 similar projects.
38 </para>
39
40 &lfs7a_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&libdrm-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&libdrm-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &libdrm-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &libdrm-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &libdrm-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &libdrm-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">libdrm Dependencies</bridgehead>
77
78 <bridgehead renderas="sect4">Recommended</bridgehead>
79 <para role="recommended">
80 <xref linkend="xorg7-lib"/> (for Intel KMS API support required by Mesa) <!-- libpciaccess -->
81 </para>
82
83 <bridgehead renderas="sect4">Optional</bridgehead>
84 <para role="optional">
85 <xref linkend="cairo"/> (for tests),
86 <xref linkend="DocBook"/>,
87 <xref linkend="docbook-xsl"/> and
88 <xref linkend="libxslt"/> (to build manual pages),
89 <xref linkend="valgrind"/>, and
90 <ulink url="http://cunit.sourceforge.net/">CUNIT</ulink> (for AMDGPU tests)
91 </para>
92
93 <para condition="html" role="usernotes">User Notes:
94 <ulink url="&blfs-wiki;/libdrm"/>
95 </para>
96 </sect2>
97
98 <sect2 role="installation">
99 <title>Installation of libdrm</title>
100
101 <para>
102 Install <application>libdrm</application> by running the following
103 commands:
104 </para>
105
106<screen><userinput>sed -i "/pthread-stubs/d" configure.ac &amp;&amp;
107autoreconf -fiv &amp;&amp;
108
109./configure --prefix=/usr --enable-udev &amp;&amp;
110make</userinput></screen>
111
112 <para>
113 To check the results, issue <command>make check</command>. Tests may hang
114 for unknown reasons. If nouveau threaded test hangs, you can disable it
115 with
116 <command>sed -i 's/^TESTS/#&amp;/' tests/nouveau/Makefile.in</command>.
117 </para>
118
119 <para>
120 Now, as the <systemitem class="username">root</systemitem> user:
121 </para>
122
123<screen role="root"><userinput>make install</userinput></screen>
124
125 </sect2>
126
127 <sect2 role="commands">
128 <title>Command Explanations</title>
129
130 <para>
131 <command>sed -e "/pthread-stubs/d" -i configure.ac</command>:
132 This sed removes a dependency on the libpthread-stubs package
133 which is useless on Linux.
134 </para>
135
136 <para>
137 <parameter>--enable-udev</parameter>: This parameter enables support for using
138 <application>Udev</application> instead of <command>mknod</command>.
139 </para>
140<!--
141 <para>
142 <parameter>-\-disable-valgrind</parameter>: This parameter fixes a hard dependency on
143 <application>Valgrind</application>.
144 </para> -->
145
146 </sect2>
147
148 <sect2 role="content">
149 <title>Contents</title>
150
151 <segmentedlist>
152 <segtitle>Installed Programs</segtitle>
153 <segtitle>Installed Libraries</segtitle>
154 <segtitle>Installed Directories</segtitle>
155
156 <seglistitem>
157 <seg>
158 None
159 </seg>
160 <seg>
161 libdrm_amdgpu.so, libdrm_intel.so, libdrm_nouveau.so,
162 libdrm_radeon.so, libdrm.so, and libkms.so
163 </seg>
164 <seg>
165 /usr/include/lib{drm,kms}
166 </seg>
167 </seglistitem>
168 </segmentedlist>
169
170 <variablelist>
171 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
172 <?dbfo list-presentation="list"?>
173 <?dbhtml list-presentation="table"?>
174
175 <varlistentry id="libdrm_amdgpu">
176 <term><filename class="libraryfile">libdrm_amdgpu.so</filename></term>
177 <listitem>
178 <para>
179 contains the AMDGPU specific Direct Rendering Manager functions.
180 </para>
181 <indexterm zone="libdrm libdrm_amdgpu">
182 <primary sortas="c-libdrm_amdgpu">libdrm_amdgpu.so</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 <varlistentry id="libdrm_intel">
188 <term><filename class="libraryfile">libdrm_intel.so</filename></term>
189 <listitem>
190 <para>
191 contains the Intel specific Direct Rendering Manager
192 functions.
193 </para>
194 <indexterm zone="libdrm libdrm_intel">
195 <primary sortas="c-libdrm_intel">libdrm_intel.so</primary>
196 </indexterm>
197 </listitem>
198 </varlistentry>
199
200 <varlistentry id="libdrm_nouveau">
201 <term><filename class="libraryfile">libdrm_nouveau.so</filename></term>
202 <listitem>
203 <para>
204 contains the open source nVidia (Nouveau) specific Direct
205 Rendering Manager functions.
206 </para>
207 <indexterm zone="libdrm libdrm_nouveau">
208 <primary sortas="c-libdrm_nouveau">libdrm_nouveau.so</primary>
209 </indexterm>
210 </listitem>
211 </varlistentry>
212
213 <varlistentry id="libdrm_radeon">
214 <term><filename class="libraryfile">libdrm_radeon.so</filename></term>
215 <listitem>
216 <para>
217 contains the AMD Radeon specific Direct Rendering Manager
218 functions.
219 </para>
220 <indexterm zone="libdrm libdrm_radeon">
221 <primary sortas="c-libdrm_radeon">libdrm_radeon.so</primary>
222 </indexterm>
223 </listitem>
224 </varlistentry>
225
226 <varlistentry id="libdrm-lib">
227 <term><filename class="libraryfile">libdrm.so</filename></term>
228 <listitem>
229 <para>
230 contains the Direct Rendering Manager API functions.
231 </para>
232 <indexterm zone="libdrm libdrm-lib">
233 <primary sortas="c-libdrm">libdrm.so</primary>
234 </indexterm>
235 </listitem>
236 </varlistentry>
237
238 <varlistentry id="libkms">
239 <term><filename class="libraryfile">libkms.so</filename></term>
240 <listitem>
241 <para>
242 contains API functions for kernel mode setting abstraction.
243 </para>
244 <indexterm zone="libdrm libkms">
245 <primary sortas="c-libkms">libkms.so</primary>
246 </indexterm>
247 </listitem>
248 </varlistentry>
249
250 </variablelist>
251
252 </sect2>
253
254</sect1>
Note: See TracBrowser for help on using the repository browser.