Introduction to libdrm
libdrm provides a user space
library for accessing the DRM, direct rendering manager, on
operating systems that support the ioctl interface. libdrm is a
low-level library, typically used by graphics drivers such as the
Mesa DRI drivers, the X drivers, libva and similar projects.
This package is known to build and work properly using an LFS-7.7
This package is known to build and work properly using the gcc-5
Libraries (for Intel KMS API support required by Mesa)
docbook-xml-4.5, docbook-xsl-1.78.1 and libxslt-1.1.28 (to build manual pages), and
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libdrm
Installation of libdrm
Install libdrm by running the
sed -e "/pthread-stubs/d" -i configure.ac &&
autoreconf -fiv &&
./configure --prefix=/usr --enable-udev &&
To check the results, issue make
check. Tests may hang for unknown reasons.
Now, as the
sed -e "/pthread-stubs/d" -i
configure.ac: This sed removes dependency on
libpthread-stubs package which is useless on Linux.
parameter enables support for using Udev instead of mknod.
libdrm_nouveau.so, libdrm_radeon.so and libkms.so
contains the Direct Rendering Manager API functions.
contains the Intel specific Direct Rendering Manager
contains the open source nVidia (Nouveau) specific Direct
Rendering Manager functions.
contains the AMD Radeon specific Direct Rendering Manager
contains API functions for kernel mode setting
Last updated on 2015-05-08 22:06:43 +0000