source: general/genlib/libdrm.xml@ b6c5448

10.0 10.1 11.0 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since b6c5448 was b6c5448, checked in by Krejzi <krejzi@…>, 10 years ago

krb5 1.10.1, expat 2.1.0, curl 7.25.0, libdrm 2.4.33, iptables 1.4.13

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

  • Property mode set to 100644
File size: 5.0 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 "eb2a76720af5051b1687328a2240daed">
10 <!ENTITY libdrm-size "440 KB">
11 <!ENTITY libdrm-buildsize "8.0 MB">
12 <!ENTITY libdrm-time "less than 0.1 SBU">
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><application>libdrm</application> provides core library routines
33 for the X Window System to directly interface with video hardware using
34 the Linux kernel's Direct Rendering Modules.</para>
35
36 &lfs71_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&libdrm-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&libdrm-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &libdrm-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &libdrm-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &libdrm-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &libdrm-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <bridgehead renderas="sect3">libdrm Dependencies</bridgehead>
61
62 <bridgehead renderas="sect4">Required</bridgehead>
63 <para role="required"><xref linkend="libpthread-stubs"/> and
64 <xref linkend="libatomic_ops"/> (required on x86 only)</para>
65
66 <bridgehead renderas="sect4">Optional</bridgehead>
67 <para role="optional"><xref linkend="cairo"/></para>
68
69 <para condition="html" role="usernotes">User Notes:
70 <ulink url="&blfs-wiki;/libdrm"/></para>
71
72 </sect2>
73
74 <sect2 role="installation">
75 <title>Installation of libdrm</title>
76
77 <para>Install <application>libdrm</application> by running the following
78 commands:</para>
79
80<screen><userinput>./configure --prefix=$XORG_PREFIX \
81 --enable-udev \
82 --enable-nouveau-experimental-api \
83 --enable-vmwgfx-experimental-api &amp;&amp;
84make</userinput></screen>
85
86 <para>To check the results, issue <command>make check</command>. Note that
87 some tests may fail depending on the video hardware installed in the
88 machine.</para>
89
90 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
91
92<screen role="root"><userinput>make install</userinput></screen>
93
94 </sect2>
95
96 <sect2 role="commands">
97 <title>Command Explanations</title>
98
99 <para><parameter>--enable-nouveau-experimental-api</parameter>: This parameter
100 enables use of nouveau's experimental kernel API.</para>
101
102 <para><option>--enable-vmwgfx-experimental-api</option>: This parameter
103 enables use of vmwgfx's experimental kernel API.</para>
104
105 </sect2>
106
107 <sect2 role="content">
108 <title>Contents</title>
109
110 <segmentedlist>
111 <segtitle>Installed Programs</segtitle>
112 <segtitle>Installed Libraries</segtitle>
113 <segtitle>Installed Directory</segtitle>
114
115 <seglistitem>
116 <seg>None</seg>
117 <seg>libdrm.so, libdrm_intel.so, libdrm_nouveau.so,
118 libdrm_radeon.so, and libkms.so</seg>
119 <seg><envar>$XORG_PREFIX</envar>/include/{libdrm,libkms,nouveau}</seg>
120 </seglistitem>
121 </segmentedlist>
122
123 <variablelist>
124 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
125 <?dbfo list-presentation="list"?>
126 <?dbhtml list-presentation="table"?>
127
128 <varlistentry id="libdrm-lib">
129 <term><filename class='libraryfile'>libdrm{,_intel,_nouveau,_radeon}.so</filename></term>
130 <listitem>
131 <para>contains the Direct Rendering Module library functions, and
132 additional vendor specific functions for Intel and NVidia, and Radeon
133 devices.</para>
134 <indexterm zone="libdrm libdrm-lib">
135 <primary sortas="c-libdrm">libdrm{,_intel,_nouveau,_radeon}.so</primary>
136 </indexterm>
137 </listitem>
138 </varlistentry>
139 <varlistentry id="libkms-lib">
140 <term><filename class='libraryfile'>libkms.so</filename></term>
141 <listitem>
142 <para>contains functions necessary for kernel modesetting.</para>
143 <indexterm zone="libdrm libkms-lib">
144 <primary sortas="c-libkms">libkms.so</primary>
145 </indexterm>
146 </listitem>
147 </varlistentry>
148
149 </variablelist>
150
151 </sect2>
152
153</sect1>
Note: See TracBrowser for help on using the repository browser.