libdrm-2.4.27

Introduction to libdrm

libdrm provides core library routines for the X Window System to directly interface with video hardware using the Linux kernel's Direct Rendering Modules.

This package is known to build and work properly using an LFS-7.0 platform.

Package Information

libdrm Dependencies

Required

libpthread-stubs-0.3 and libatomic_ops-1.2 (required on x86 only)

Optional

cairo-1.10.2

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libdrm

Installation of libdrm

Install libdrm by running the following commands:

./configure --prefix=$XORG_PREFIX &&
make

To check the results, issue make check. Note that some tests may fail depending on the video hardware installed in the machine.

Now, as the root user:

make install

Command Explanations

--with-nouveau-experimental-api: This parameter enables use of nouveau's experimental kernel API (required for ATI r300 and r660 cards).

--enable-vmwgfx-experimental-api: This parameter enables use of vmwgfx's experimental kernel api.

Contents

Installed Programs: None
Installed Libraries: libdrm.so, libdrm_intel.so, libdrm_nouveau.so, libdrm_radeon.so, and libkms
Installed Directory: $XORG_PREFIX/include/drm

Short Descriptions

libdrm{,_intel,_nouveau,_radeon}.so

contains the Direct Rendering Module library functions, and additional vendor specific functions for Intel and NVidia, and Radeon devices.

libkms.so

contains functions necessary for kernel modesetting.

Last updated on 2011-12-06 19:16:56 +0000