source: x/lib/libdrm.xml@ 170a6f8

10.0 10.1 11.0 11.1 11.2 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus perl-modules plabs/python-mods qt5new trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since 170a6f8 was 170a6f8, checked in by Ken Moffat <ken@…>, 5 years ago

Xorg security updates, and libdrm.

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

  • Property mode set to 100644
File size: 7.2 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 "https://dri.freedesktop.org/libdrm/libdrm-&libdrm-version;.tar.bz2">
8 <!ENTITY libdrm-download-ftp " ">
9 <!ENTITY libdrm-md5sum "35b9544bc2ad864acd1abaa1a2b99092">
10 <!ENTITY libdrm-size "776 KB">
11 <!ENTITY libdrm-buildsize "15 MB (add 1 MB for the tests)">
12 <!ENTITY libdrm-time "0.2 SBU (add 0.8 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 &lfs81_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>./configure --prefix=/usr --enable-udev &amp;&amp;
107make</userinput></screen>
108
109 <para>
110 To check the results, issue <command>make check</command>. Tests may hang
111 for unknown reasons. If nouveau threaded test hangs, you can disable it
112 with
113 <command>sed -i 's/^TESTS/#&amp;/' tests/nouveau/Makefile.in</command>.
114 </para>
115
116 <para>
117 Now, as the <systemitem class="username">root</systemitem> user:
118 </para>
119
120<screen role="root"><userinput>make install</userinput></screen>
121
122 </sect2>
123
124 <sect2 role="commands">
125 <title>Command Explanations</title>
126
127 <para>
128 <parameter>--enable-udev</parameter>: This parameter enables support for using
129 <application>Udev</application> instead of <command>mknod</command>.
130 </para>
131
132 </sect2>
133
134 <sect2 role="content">
135 <title>Contents</title>
136
137 <segmentedlist>
138 <segtitle>Installed Programs</segtitle>
139 <segtitle>Installed Libraries</segtitle>
140 <segtitle>Installed Directories</segtitle>
141
142 <seglistitem>
143 <seg>
144 None
145 </seg>
146 <seg>
147 libdrm_amdgpu.so, libdrm_intel.so, libdrm_nouveau.so,
148 libdrm_radeon.so, libdrm.so, and libkms.so
149 </seg>
150 <seg>
151 /usr/include/lib{drm,kms}
152 </seg>
153 </seglistitem>
154 </segmentedlist>
155
156 <variablelist>
157 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
158 <?dbfo list-presentation="list"?>
159 <?dbhtml list-presentation="table"?>
160
161 <varlistentry id="libdrm_amdgpu">
162 <term><filename class="libraryfile">libdrm_amdgpu.so</filename></term>
163 <listitem>
164 <para>
165 contains the AMDGPU specific Direct Rendering Manager functions.
166 </para>
167 <indexterm zone="libdrm libdrm_amdgpu">
168 <primary sortas="c-libdrm_amdgpu">libdrm_amdgpu.so</primary>
169 </indexterm>
170 </listitem>
171 </varlistentry>
172
173 <varlistentry id="libdrm_intel">
174 <term><filename class="libraryfile">libdrm_intel.so</filename></term>
175 <listitem>
176 <para>
177 contains the Intel specific Direct Rendering Manager
178 functions.
179 </para>
180 <indexterm zone="libdrm libdrm_intel">
181 <primary sortas="c-libdrm_intel">libdrm_intel.so</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 <varlistentry id="libdrm_nouveau">
187 <term><filename class="libraryfile">libdrm_nouveau.so</filename></term>
188 <listitem>
189 <para>
190 contains the open source nVidia (Nouveau) specific Direct
191 Rendering Manager functions.
192 </para>
193 <indexterm zone="libdrm libdrm_nouveau">
194 <primary sortas="c-libdrm_nouveau">libdrm_nouveau.so</primary>
195 </indexterm>
196 </listitem>
197 </varlistentry>
198
199 <varlistentry id="libdrm_radeon">
200 <term><filename class="libraryfile">libdrm_radeon.so</filename></term>
201 <listitem>
202 <para>
203 contains the AMD Radeon specific Direct Rendering Manager
204 functions.
205 </para>
206 <indexterm zone="libdrm libdrm_radeon">
207 <primary sortas="c-libdrm_radeon">libdrm_radeon.so</primary>
208 </indexterm>
209 </listitem>
210 </varlistentry>
211
212 <varlistentry id="libdrm-lib">
213 <term><filename class="libraryfile">libdrm.so</filename></term>
214 <listitem>
215 <para>
216 contains the Direct Rendering Manager API functions.
217 </para>
218 <indexterm zone="libdrm libdrm-lib">
219 <primary sortas="c-libdrm">libdrm.so</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
224 <varlistentry id="libkms">
225 <term><filename class="libraryfile">libkms.so</filename></term>
226 <listitem>
227 <para>
228 contains API functions for kernel mode setting abstraction.
229 </para>
230 <indexterm zone="libdrm libkms">
231 <primary sortas="c-libkms">libkms.so</primary>
232 </indexterm>
233 </listitem>
234 </varlistentry>
235
236 </variablelist>
237
238 </sect2>
239
240</sect1>
Note: See TracBrowser for help on using the repository browser.