%general-entities; ]> $Date$ libdrm-&libdrm-version; libdrm 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. &lfs110a_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &libdrm-md5sum; Download size: &libdrm-size; Estimated disk space required: &libdrm-buildsize; Estimated build time: &libdrm-time; libdrm Dependencies Recommended (for Intel KMS API support required by Mesa) Optional (for tests), (could be used to find dependencies without pkgconfig files), , , , and (to build manual pages), (required by architectures without native atomic operations), , and CUNIT (for AMDGPU tests) User Notes: Installation of libdrm Install libdrm by running the following commands: mkdir build && cd build && meson --prefix=$XORG_PREFIX \ --buildtype=release \ -Dudev=true \ -Dvalgrind=false && ninja To check the results, issue ninja test. Now, as the root user: ninja install Command Explanations -Dudev=true: This parameter enables support for using Udev instead of mknod. -Dvalgrind=false: This parameter disables building libdrm with valgrind support. This fixes building sysprof and other packages that use libdrm. Change this parameter to "true" if you need support for valgrind. Contents Installed Programs Installed Libraries Installed Directories None libdrm_amdgpu.so, libdrm_intel.so, libdrm_nouveau.so, libdrm_radeon.so, libdrm.so, and libkms.so /usr/include/libdrm, /usr/include/libkms, and /usr/share/libdrm Short Descriptions libdrm_amdgpu.so contains the AMDGPU specific Direct Rendering Manager functions libdrm_amdgpu.so libdrm_intel.so contains the Intel specific Direct Rendering Manager functions libdrm_intel.so libdrm_nouveau.so contains the open source nVidia (Nouveau) specific Direct Rendering Manager functions libdrm_nouveau.so libdrm_radeon.so contains the AMD Radeon specific Direct Rendering Manager functions libdrm_radeon.so libdrm.so contains the Direct Rendering Manager API functions libdrm.so libkms.so contains API functions for kernel mode setting abstraction libkms.so