source: x/lib/libdrm.xml@ 95f2d4b

11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 95f2d4b was 95f2d4b, checked in by Bruce Dubbs <bdubbs@…>, 2 years ago

Package updates.
Update to mousepad-0.5.8.
Update to libdrm-2.4.109.
Update to php-8.1.0.
Update to libreoffice-7.2.3.2.

  • Property mode set to 100644
File size: 8.3 KB
RevLine 
[868c7c2]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[868c7c2]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[0f5317a4]7 <!ENTITY libdrm-download-http "https://dri.freedesktop.org/libdrm/libdrm-&libdrm-version;.tar.xz">
[aa7a7fb]8 <!ENTITY libdrm-download-ftp " ">
[95f2d4b]9 <!ENTITY libdrm-md5sum "376523fcbba8b9e194bcb5adff142d5d">
10 <!ENTITY libdrm-size "424 KB">
11 <!ENTITY libdrm-buildsize "8.1 MB (with tests)">
12 <!ENTITY libdrm-time "less than 0.1 SBU (with tests)">
[f4327ad9]13 <!-- With version 2.4.102, the tests add 1 second to my build. -->
[868c7c2]14]>
15
16<sect1 id="libdrm" xreflabel="libdrm-&libdrm-version;">
17 <?dbhtml filename="libdrm.html"?>
18
19 <sect1info>
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
[3bbf74c5]32 <para>
[ef704b0]33 <application>libdrm</application> provides a user space library for
[3538884]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.
[3bbf74c5]38 </para>
[868c7c2]39
[b5645ad]40 &lfs110a_checked;
[1ed7820]41
[868c7c2]42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
[3bbf74c5]45 <para>
46 Download (HTTP): <ulink url="&libdrm-download-http;"/>
47 </para>
[868c7c2]48 </listitem>
49 <listitem>
[3bbf74c5]50 <para>
51 Download (FTP): <ulink url="&libdrm-download-ftp;"/>
52 </para>
[868c7c2]53 </listitem>
54 <listitem>
[3bbf74c5]55 <para>
56 Download MD5 sum: &libdrm-md5sum;
57 </para>
[868c7c2]58 </listitem>
59 <listitem>
[3bbf74c5]60 <para>
61 Download size: &libdrm-size;
62 </para>
[868c7c2]63 </listitem>
64 <listitem>
[3bbf74c5]65 <para>
66 Estimated disk space required: &libdrm-buildsize;
67 </para>
[868c7c2]68 </listitem>
69 <listitem>
[3bbf74c5]70 <para>
71 Estimated build time: &libdrm-time;
72 </para>
[868c7c2]73 </listitem>
74 </itemizedlist>
75
[10e02da]76 <bridgehead renderas="sect3">libdrm Dependencies</bridgehead>
77
[3538884]78 <bridgehead renderas="sect4">Recommended</bridgehead>
79 <para role="recommended">
[6121fe5]80 <xref linkend="xorg7-lib"/> (for Intel KMS API support required by Mesa)
[0d6e0af]81 </para>
[10e02da]82
[0d6e0af]83 <bridgehead renderas="sect4">Optional</bridgehead>
84 <para role="optional">
[597ac4bd]85 <xref linkend="cairo"/> (for tests),
[7292e01]86 <xref linkend="cmake"/> (could be used to find dependencies without pkgconfig files),
[e520239f]87 <xref linkend="DocBook"/>,
[4d59e9e]88 <xref linkend="docbook-xsl"/>,
89 <xref linkend="docutils"/>, and
[597ac4bd]90 <xref linkend="libxslt"/> (to build manual pages),
[7292e01]91 <xref linkend="libatomic_ops"/> (required by architectures without native atomic operations),
[597ac4bd]92 <xref linkend="valgrind"/>, and
93 <ulink url="http://cunit.sourceforge.net/">CUNIT</ulink> (for AMDGPU tests)
[0d6e0af]94 </para>
[14dcfecb]95
[c5c2654]96 <para condition="html" role="usernotes">User Notes:
[3bbf74c5]97 <ulink url="&blfs-wiki;/libdrm"/>
98 </para>
[868c7c2]99 </sect2>
100
101 <sect2 role="installation">
102 <title>Installation of libdrm</title>
103
[3bbf74c5]104 <para>
105 Install <application>libdrm</application> by running the following
106 commands:
107 </para>
[868c7c2]108
[49df687a]109<screen><userinput>mkdir build &amp;&amp;
[431f388]110cd build &amp;&amp;
111
[adf17153]112meson --prefix=$XORG_PREFIX \
113 --buildtype=release \
[388f1375]114 -Dudev=true \
115 -Dvalgrind=false &amp;&amp;
[49df687a]116ninja</userinput></screen>
[868c7c2]117
[3bbf74c5]118 <para>
[f4327ad9]119 To check the results, issue <command>ninja test</command>. <!--One test,
[8558044]120 'threaded' in the nouveau subdirectory, is known to fail with a
[f4327ad9]121 30 second timeout.-->
122 <!-- Regarding the 'threaded' test, it's now skipped by default (2.4.102)
123 -renodr -->
[8558044]124
[17756081]125 <!-- Tests may hang
[0f09c2b8]126 for unknown reasons. --><!-- If nouveau threaded test hangs, you can disable it
[68d5b0e]127 with
[8558044]128 <command>sed -i 's/^TESTS/#&amp;/' tests/nouveau/Makefile.in</command>.
129
[17756081]130 Now that tests are run with ninja, the test merely times out after 30 seconds.
131 -->
[3bbf74c5]132 </para>
[ad54ac8]133
[3bbf74c5]134 <para>
135 Now, as the <systemitem class="username">root</systemitem> user:
136 </para>
[868c7c2]137
[49df687a]138<screen role="root"><userinput>ninja install</userinput></screen>
[868c7c2]139
140 </sect2>
141
[7c472863]142 <sect2 role="commands">
143 <title>Command Explanations</title>
144
[adf17153]145 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
146 href="../../xincludes/meson-buildtype-release.xml"/>
147
[6eceb9c8]148 <para>
[49df687a]149 <parameter>-Dudev=true</parameter>: This parameter enables support for using
[6eceb9c8]150 <application>Udev</application> instead of <command>mknod</command>.
151 </para>
[a9ae025]152
[724fc4d1]153 <para>
154 <parameter>-Dvalgrind=false</parameter>: This parameter disables building
155 libdrm with valgrind support. This fixes building sysprof and other
156 packages that use libdrm. Change this parameter to "true" if you need
157 support for valgrind.
158 </para>
159
[7c472863]160 </sect2>
161
[868c7c2]162 <sect2 role="content">
163 <title>Contents</title>
164
165 <segmentedlist>
[c3c56b2]166 <segtitle>Installed Programs</segtitle>
[a1e27dc]167 <segtitle>Installed Libraries</segtitle>
[86f7fa0]168 <segtitle>Installed Directories</segtitle>
[868c7c2]169
170 <seglistitem>
[c3c56b2]171 <seg>
172 None
173 </seg>
[3bbf74c5]174 <seg>
[68d5b0e]175 libdrm_amdgpu.so, libdrm_intel.so, libdrm_nouveau.so,
176 libdrm_radeon.so, libdrm.so, and libkms.so
[3bbf74c5]177 </seg>
178 <seg>
[55781c2]179 /usr/include/libdrm, /usr/include/libkms, and /usr/share/libdrm
[3bbf74c5]180 </seg>
[868c7c2]181 </seglistitem>
182 </segmentedlist>
183
184 <variablelist>
185 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
186 <?dbfo list-presentation="list"?>
187 <?dbhtml list-presentation="table"?>
188
[68d5b0e]189 <varlistentry id="libdrm_amdgpu">
190 <term><filename class="libraryfile">libdrm_amdgpu.so</filename></term>
[868c7c2]191 <listitem>
[3bbf74c5]192 <para>
[4c24eb0a]193 contains the AMDGPU specific Direct Rendering Manager functions
[3bbf74c5]194 </para>
[68d5b0e]195 <indexterm zone="libdrm libdrm_amdgpu">
196 <primary sortas="c-libdrm_amdgpu">libdrm_amdgpu.so</primary>
[a07e9eb]197 </indexterm>
198 </listitem>
199 </varlistentry>
200
201 <varlistentry id="libdrm_intel">
202 <term><filename class="libraryfile">libdrm_intel.so</filename></term>
203 <listitem>
204 <para>
205 contains the Intel specific Direct Rendering Manager
[4c24eb0a]206 functions
[a07e9eb]207 </para>
208 <indexterm zone="libdrm libdrm_intel">
209 <primary sortas="c-libdrm_intel">libdrm_intel.so</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 <varlistentry id="libdrm_nouveau">
215 <term><filename class="libraryfile">libdrm_nouveau.so</filename></term>
216 <listitem>
217 <para>
218 contains the open source nVidia (Nouveau) specific Direct
[4c24eb0a]219 Rendering Manager functions
[a07e9eb]220 </para>
221 <indexterm zone="libdrm libdrm_nouveau">
222 <primary sortas="c-libdrm_nouveau">libdrm_nouveau.so</primary>
223 </indexterm>
224 </listitem>
225 </varlistentry>
226
[34122fa4]227 <varlistentry id="libdrm_radeon">
228 <term><filename class="libraryfile">libdrm_radeon.so</filename></term>
[68d5b0e]229 <listitem>
230 <para>
[34122fa4]231 contains the AMD Radeon specific Direct Rendering Manager
[4c24eb0a]232 functions
[68d5b0e]233 </para>
[34122fa4]234 <indexterm zone="libdrm libdrm_radeon">
235 <primary sortas="c-libdrm_radeon">libdrm_radeon.so</primary>
[68d5b0e]236 </indexterm>
237 </listitem>
238 </varlistentry>
239
[34122fa4]240 <varlistentry id="libdrm-lib">
241 <term><filename class="libraryfile">libdrm.so</filename></term>
[a07e9eb]242 <listitem>
243 <para>
[4c24eb0a]244 contains the Direct Rendering Manager API functions
[a07e9eb]245 </para>
[34122fa4]246 <indexterm zone="libdrm libdrm-lib">
247 <primary sortas="c-libdrm">libdrm.so</primary>
[7c472863]248 </indexterm>
249 </listitem>
250 </varlistentry>
[3bbf74c5]251
[a07e9eb]252 <varlistentry id="libkms">
253 <term><filename class="libraryfile">libkms.so</filename></term>
[7c472863]254 <listitem>
[3bbf74c5]255 <para>
[4c24eb0a]256 contains API functions for kernel mode setting abstraction
[3bbf74c5]257 </para>
[a07e9eb]258 <indexterm zone="libdrm libkms">
[7c472863]259 <primary sortas="c-libkms">libkms.so</primary>
[868c7c2]260 </indexterm>
261 </listitem>
262 </varlistentry>
263
264 </variablelist>
265
266 </sect2>
267
268</sect1>
Note: See TracBrowser for help on using the repository browser.