Rust Rewrite Index

libdrm

Userspace interface to kernel DRM services -- runtime

Rust efforts

Research record · 2026-11-29

Searched Mesa libdrm, Rust DRM/KMS libraries, source ports and kernel ioctl access. Smithay drm-rs calls the kernel DRM interface directly rather than wrapping libdrm, but implements a Rust-facing interface rather than libdrm’s full C ABI. No direct libdrm source port surfaced in these sources.

Original source check. The packaged source scan found zero files with the .rs suffix. This covers the Debian 13 snapshot and excludes common vendor directories. Independent repositories are outside this count.

Rust component

Smithay drm-rs

Rust interface to kernel DRM ioctls, bypassing libdrm for overlapping operations; not a full libdrm source or C-ABI port.

Evidence checked 2026-11-29

Project structure

This library implements the userspace interface to the kernel DRM services. DRM stands for "Direct Rendering Manager", which is the kernelspace portion of the "Direct Rendering Infrastructure" (DRI). The DRI is currently used on Linux to provide hardware-accelerated OpenGL drivers.

Inside the source tree

Source files by extension in this snapshot · C (113), Python (2)

Selected components packaged from this source in Debian 13.

  • libdrm2 · Userspace interface to kernel DRM services -- runtime
  • libdrm-intel1 · Userspace interface to intel-specific kernel DRM services -- runtime
  • libdrm-amdgpu1 · Userspace interface to amdgpu-specific kernel DRM services -- runtime
  • libdrm-radeon1 · Userspace interface to radeon-specific kernel DRM services -- runtime
  • libdrm-nouveau2 · Userspace interface to nouveau-specific kernel DRM services -- runtime
  • libdrm-dev · Userspace interface to kernel DRM services -- development files

Source record

Debian snapshot version
2.4.124-2

More in this category

Graphics & devices

How statuses are assigned