[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 |
|
---|
[62334bfc] | 7 | <!ENTITY libdrm-download-http "http://dri.freedesktop.org/libdrm/libdrm-&libdrm-version;.tar.bz2">
|
---|
[aa7a7fb] | 8 | <!ENTITY libdrm-download-ftp " ">
|
---|
[7c472863] | 9 | <!ENTITY libdrm-md5sum "0fba4f42735cd3d24dd7a8cde0023fbd">
|
---|
| 10 | <!ENTITY libdrm-size "484 KB">
|
---|
| 11 | <!ENTITY libdrm-buildsize "7.1 MB">
|
---|
[62334bfc] | 12 | <!ENTITY libdrm-time "less than 0.1 SBU">
|
---|
[868c7c2] | 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 |
|
---|
[d9c80e1] | 32 | <para><application>libdrm</application> provides core library routines
|
---|
| 33 | for the X Window System to directly interface with video hardware using
|
---|
[240cc07] | 34 | the Linux kernel's Direct Rendering Modules.</para>
|
---|
[868c7c2] | 35 |
|
---|
[719353d] | 36 | &lfs71_checked;
|
---|
[1ed7820] | 37 |
|
---|
[868c7c2] | 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 |
|
---|
[10e02da] | 60 | <bridgehead renderas="sect3">libdrm Dependencies</bridgehead>
|
---|
| 61 |
|
---|
| 62 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[7c472863] | 63 | <para role="required"><xref linkend="libpthread-stubs"/> and
|
---|
[05ed4c8] | 64 | <xref linkend="libatomic_ops"/> (required on x86 only)</para>
|
---|
[10e02da] | 65 |
|
---|
[7c472863] | 66 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 67 | <para role="optional"><xref linkend="cairo"/></para>
|
---|
| 68 |
|
---|
[c5c2654] | 69 | <para condition="html" role="usernotes">User Notes:
|
---|
| 70 | <ulink url="&blfs-wiki;/libdrm"/></para>
|
---|
| 71 |
|
---|
[868c7c2] | 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 |
|
---|
[719353d] | 80 | <screen><userinput>./configure --prefix=$XORG_PREFIX \
|
---|
| 81 | --enable-nouveau-experimental-api &&
|
---|
[868c7c2] | 82 | make</userinput></screen>
|
---|
| 83 |
|
---|
[a1e27dc] | 84 | <para>To check the results, issue <command>make check</command>. Note that
|
---|
| 85 | some tests may fail depending on the video hardware installed in the
|
---|
| 86 | machine.</para>
|
---|
[ad54ac8] | 87 |
|
---|
[868c7c2] | 88 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 89 |
|
---|
| 90 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 91 |
|
---|
| 92 | </sect2>
|
---|
| 93 |
|
---|
[7c472863] | 94 | <sect2 role="commands">
|
---|
| 95 | <title>Command Explanations</title>
|
---|
| 96 |
|
---|
[719353d] | 97 | <para><parameter>--enable-nouveau-experimental-api</parameter>: This parameter
|
---|
| 98 | enables use of nouveau's experimental kernel API (required for the default
|
---|
| 99 | configuration of <application>MesaLib</application>).</para>
|
---|
[7c472863] | 100 |
|
---|
[719353d] | 101 | <para><option>--enable-vmwgfx-experimental-api</option>: This
|
---|
[7c472863] | 102 | parameter enables use of vmwgfx's experimental kernel api.</para>
|
---|
| 103 |
|
---|
| 104 | </sect2>
|
---|
| 105 |
|
---|
[868c7c2] | 106 | <sect2 role="content">
|
---|
| 107 | <title>Contents</title>
|
---|
| 108 |
|
---|
| 109 | <segmentedlist>
|
---|
[759586e] | 110 | <segtitle>Installed Programs</segtitle>
|
---|
[a1e27dc] | 111 | <segtitle>Installed Libraries</segtitle>
|
---|
[8073ca16] | 112 | <segtitle>Installed Directory</segtitle>
|
---|
[868c7c2] | 113 |
|
---|
| 114 | <seglistitem>
|
---|
[759586e] | 115 | <seg>None</seg>
|
---|
[7c472863] | 116 | <seg>libdrm.so, libdrm_intel.so, libdrm_nouveau.so,
|
---|
[719353d] | 117 | libdrm_radeon.so, and libkms.so</seg>
|
---|
[8073ca16] | 118 | <seg><envar>$XORG_PREFIX</envar>/include/drm</seg>
|
---|
[868c7c2] | 119 | </seglistitem>
|
---|
| 120 | </segmentedlist>
|
---|
| 121 |
|
---|
| 122 | <variablelist>
|
---|
| 123 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 124 | <?dbfo list-presentation="list"?>
|
---|
| 125 | <?dbhtml list-presentation="table"?>
|
---|
| 126 |
|
---|
| 127 | <varlistentry id="libdrm-lib">
|
---|
[7c472863] | 128 | <term><filename class='libraryfile'>libdrm{,_intel,_nouveau,_radeon}.so</filename></term>
|
---|
[868c7c2] | 129 | <listitem>
|
---|
[c52f1b3] | 130 | <para>contains the Direct Rendering Module library functions, and
|
---|
[7c472863] | 131 | additional vendor specific functions for Intel and NVidia, and Radeon
|
---|
[c52f1b3] | 132 | devices.</para>
|
---|
[868c7c2] | 133 | <indexterm zone="libdrm libdrm-lib">
|
---|
[7c472863] | 134 | <primary sortas="c-libdrm">libdrm{,_intel,_nouveau,_radeon}.so</primary>
|
---|
| 135 | </indexterm>
|
---|
| 136 | </listitem>
|
---|
| 137 | </varlistentry>
|
---|
| 138 | <varlistentry id="libkms-lib">
|
---|
| 139 | <term><filename class='libraryfile'>libkms.so</filename></term>
|
---|
| 140 | <listitem>
|
---|
| 141 | <para>contains functions necessary for kernel modesetting.</para>
|
---|
| 142 | <indexterm zone="libdrm libkms-lib">
|
---|
| 143 | <primary sortas="c-libkms">libkms.so</primary>
|
---|
[868c7c2] | 144 | </indexterm>
|
---|
| 145 | </listitem>
|
---|
| 146 | </varlistentry>
|
---|
| 147 |
|
---|
| 148 | </variablelist>
|
---|
| 149 |
|
---|
| 150 | </sect2>
|
---|
| 151 |
|
---|
| 152 | </sect1>
|
---|