notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details on branch 2026Q1
libdrm Direct Rendering Manager library and headers
2.4.131,1 graphics on this many watch lists=141 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.4.131,1Version of this port present on the latest quarterly branch.
Maintainer: x11@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2006-01-03 08:01:16
Last Update: 2025-12-12 11:49:59
Commit Hash: c2ffa9e
People watching this port, also watch:: libiconv, expat, freetype2, fontconfig, png
License: MIT
WWW:
https://dri.freedesktop.org/
Description:
This is libdrm, a userspace library for accessing the DRM, direct rendering manager, on Linux, BSD and other operating systems that support the ioctl interface. The library provides wrapper functions for the ioctls to avoid exposing the kernel interface directly, and for chipsets with drm memory manager, support for tracking relocations and buffers. New functionality in the kernel DRM drivers typically requires a new libdrm, but a new libdrm will always work with an older kernel. libdrm is a low-level library, typically used by graphics drivers such as the Mesa drivers, the X drivers, libva and similar projects.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (71 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/libdrm-2.4.131,1/catalog.mk
  3. /usr/local/share/licenses/libdrm-2.4.131,1/LICENSE
  4. /usr/local/share/licenses/libdrm-2.4.131,1/MIT
  5. @comment bin/amdgpu_stress
  6. @comment bin/drmdevice
  7. @comment bin/modeprint
  8. @comment bin/modetest
  9. @comment bin/proptest
  10. @comment bin/vbltest
  11. include/libdrm/amdgpu.h
  12. include/libdrm/amdgpu_drm.h
  13. include/libdrm/drm.h
  14. include/libdrm/drm_fourcc.h
  15. include/libdrm/drm_mode.h
  16. include/libdrm/drm_sarea.h
  17. include/libdrm/i915_drm.h
  18. include/libdrm/intel_aub.h
  19. include/libdrm/intel_bufmgr.h
  20. include/libdrm/intel_debug.h
  21. include/libdrm/mach64_drm.h
  22. include/libdrm/mga_drm.h
  23. include/libdrm/msm_drm.h
  24. include/libdrm/nouveau_drm.h
  25. include/libdrm/qxl_drm.h
  26. include/libdrm/r128_drm.h
  27. include/libdrm/r600_pci_ids.h
  28. include/libdrm/radeon_bo.h
  29. include/libdrm/radeon_bo_gem.h
  30. include/libdrm/radeon_bo_int.h
  31. include/libdrm/radeon_cs.h
  32. include/libdrm/radeon_cs_gem.h
  33. include/libdrm/radeon_cs_int.h
  34. include/libdrm/radeon_drm.h
  35. include/libdrm/radeon_surface.h
  36. include/libdrm/savage_drm.h
  37. include/libdrm/sis_drm.h
  38. include/libdrm/tegra_drm.h
  39. include/libdrm/vc4_drm.h
  40. include/libdrm/via_drm.h
  41. include/libdrm/virtgpu_drm.h
  42. include/libdrm/vmwgfx_drm.h
  43. include/libsync.h
  44. include/xf86drm.h
  45. include/xf86drmMode.h
  46. lib/libdrm.so
  47. lib/libdrm.so.2
  48. lib/libdrm.so.2.131.0
  49. lib/libdrm_amdgpu.so
  50. lib/libdrm_amdgpu.so.1
  51. lib/libdrm_amdgpu.so.1.131.0
  52. lib/libdrm_intel.so
  53. lib/libdrm_intel.so.1
  54. lib/libdrm_intel.so.1.131.0
  55. lib/libdrm_radeon.so
  56. lib/libdrm_radeon.so.1
  57. lib/libdrm_radeon.so.1.131.0
  58. libdata/pkgconfig/libdrm.pc
  59. libdata/pkgconfig/libdrm_amdgpu.pc
  60. libdata/pkgconfig/libdrm_intel.pc
  61. libdata/pkgconfig/libdrm_radeon.pc
  62. share/man/man3/drmAvailable.3.gz
  63. share/man/man3/drmHandleEvent.3.gz
  64. share/man/man3/drmModeGetResources.3.gz
  65. share/man/man7/drm-kms.7.gz
  66. share/man/man7/drm-memory.7.gz
  67. share/man/man7/drm.7.gz
  68. share/libdrm/amdgpu.ids
  69. @owner
  70. @group
  71. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • libdrm>0:graphics/libdrm
To install the port:
cd /usr/ports/graphics/libdrm/ && make install clean
To add the package, run one of these commands:
  • pkg install graphics/libdrm
  • pkg install libdrm
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: libdrm
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1765539357 SHA256 (libdrm-2.4.131.tar.xz) = 45ba9983b51c896406a3d654de81d313b953b76e6391e2797073d543c5f617d5 SIZE (libdrm-2.4.131.tar.xz) = 435808

Packages (timestamps in pop-ups are UTC):
libdrm
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.4.131,12.4.131,12.4.104,12.4.123,12.4.131,1n/an/an/a
FreeBSD:13:quarterly2.4.131,12.4.131,12.4.115,12.4.123,12.4.131,1n/an/an/a
FreeBSD:14:latest2.4.131,12.4.131,12.4.114,12.4.123,12.4.131,12.4.115,1-2.4.115,1
FreeBSD:14:quarterly2.4.131,12.4.131,1-2.4.123,12.4.131,12.4.120_1,12.4.120_1,12.4.120_1,1
FreeBSD:15:latest2.4.131,12.4.131,1n/a2.4.123,1n/an/a2.4.120_1,12.4.120_1,1
FreeBSD:15:quarterly2.4.131,12.4.131,1n/a-n/an/a--
FreeBSD:16:latest2.4.131,12.4.131,1n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. rst2man : textproc/py-docutils
  2. meson : devel/meson
  3. ninja : devel/ninja
  4. pkgconf>=1.3.0_1 : devel/pkgconf
Library dependencies:
  1. libpciaccess.so : devel/libpciaccess
This port is required by:
for Build
  1. graphics/egl-wayland
  2. graphics/egl-wayland2
  3. graphics/egl-x11
  4. graphics/gstreamer1-plugins-vulkan
  5. graphics/qt5-wayland
  6. multimedia/gstreamer1-vaapi
  7. multimedia/libva-nvidia-driver
Expand this list (14 items / 7 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. net/neatvnc
  3. sysutils/fastfetch
  4. x11-drivers/xorgxrdp
  5. x11-toolkits/gtk40
  6. x11-toolkits/qt5-gui
  7. x11-wm/chamfer
  8. x11-wm/wayfire
  9. Collapse this list.
for Libraries
  1. accessibility/gammastep
  2. accessibility/redshift
  3. audio/baresip
  4. audio/gstreamer1-plugins-alsa
  5. audio/gstreamer1-plugins-cdparanoia
  6. audio/gstreamer1-plugins-ogg
  7. audio/gstreamer1-plugins-opus
Expand this list (199 items / 192 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. audio/gstreamer1-plugins-vorbis
  3. audio/plasma6-kpipewire
  4. benchmarks/glmark2
  5. benchmarks/vkmark
  6. cad/brlcad
  7. cad/opencascade
  8. cad/openvsp
  9. devel/electron37
  10. devel/electron38
  11. devel/electron39
  12. devel/electron40
  13. devel/qt6-base
  14. editors/vscode
  15. emulators/qemu-cheri
  16. emulators/wine-proton
  17. games/moonlight-embedded-devel
  18. games/moonlight-qt
  19. games/retroarch
  20. graphics/drm_info
  21. graphics/egl-wayland
  22. graphics/egl-wayland2
  23. graphics/gstreamer1-plugins-gl
  24. graphics/gstreamer1-plugins-kms
  25. graphics/gstreamer1-plugins-libvisual
  26. graphics/igt-gpu-tools
  27. graphics/jogl
  28. graphics/kmscube
  29. graphics/libliftoff
  30. graphics/libosmesa
  31. graphics/mesa-devel
  32. graphics/mesa-dri
  33. graphics/mesa-gallium-va
  34. graphics/mesa-gallium-vdpau
  35. graphics/mesa-gallium-xa
  36. graphics/mesa-libs
  37. graphics/openfx-arena
  38. graphics/piglit
  39. graphics/qt6-wayland
  40. graphics/wayland-utils
  41. lang/clover
  42. mail/thunderbird
  43. mail/thunderbird-esr
  44. math/octave
  45. multimedia/arcan
  46. multimedia/cmrt
  47. multimedia/emby-server
  48. multimedia/ffmpeg
  49. multimedia/ffmpeg4
  50. multimedia/gstreamer1-plugins
  51. multimedia/gstreamer1-plugins-msdk
  52. multimedia/gstreamer1-plugins-theora
  53. multimedia/handbrake
  54. multimedia/hyprpwcenter
  55. multimedia/intel-media-sdk
  56. multimedia/kodi
  57. multimedia/libva
  58. multimedia/libva-intel-driver
  59. multimedia/libva-intel-hybrid-driver
  60. multimedia/mpv
  61. multimedia/mythtv
  62. multimedia/obs-studio
  63. multimedia/onevpl
  64. multimedia/qt6-multimedia
  65. multimedia/ustreamer
  66. multimedia/wf-recorder
  67. multimedia/wl-screenrec
  68. net/neatvnc
  69. net/wayvnc
  70. net/wlvncc
  71. net/x11vnc
  72. net-im/signal-desktop
  73. science/paraview
  74. sysutils/consolekit2
  75. sysutils/fwupd
  76. sysutils/radeontop
  77. www/chromium
  78. www/firefox
  79. www/firefox-esr
  80. www/iridium
  81. www/librewolf
  82. www/qt6-webengine
  83. www/tor-browser
  84. www/ungoogled-chromium
  85. www/waterfox
  86. www/webkit2-gtk
  87. x11/gstreamer1-plugins-x
  88. x11/hyprland-guiutils
  89. x11/hyprlauncher
  90. x11/hyprlock
  91. x11/hyprpaper
  92. x11/hyprshutdown
  93. x11/quickshell
  94. x11/swayimg
  95. x11/virglrenderer
  96. x11/wl-mirror
  97. x11/xdg-desktop-portal-hyprland
  98. x11/xdg-desktop-portal-wlr
  99. x11/xpra
  100. x11-drivers/xf86-video-amdgpu
  101. x11-drivers/xf86-video-ati
  102. x11-drivers/xf86-video-intel
  103. x11-drivers/xf86-video-vmware
  104. x11-drivers/xlibre-xf86-video-amdgpu
  105. x11-drivers/xlibre-xf86-video-ati
  106. x11-drivers/xlibre-xf86-video-intel
  107. x11-drivers/xlibre-xf86-video-vmware
  108. x11-servers/xlibre-server
  109. x11-servers/xorg-server
  110. x11-servers/xwayland
  111. x11-toolkits/aquamarine
  112. x11-toolkits/gstreamer1-plugins-pango
  113. x11-toolkits/hyprtoolkit
  114. x11-toolkits/scenefx04
  115. x11-toolkits/wlroots015
  116. x11-toolkits/wlroots017
  117. x11-toolkits/wlroots018
  118. x11-toolkits/wlroots019
  119. x11-toolkits/wlroots020
  120. x11-wm/compton
  121. x11-wm/gamescope
  122. x11-wm/hyprland
  123. x11-wm/magpie
  124. x11-wm/mango
  125. x11-wm/mutter
  126. x11-wm/plasma6-kwin
  127. x11-wm/plasma6-kwin-x11
  128. x11-wm/sway
  129. x11-wm/swayfx
  130. Collapse this list.

Deleted ports which required this port:

Expand this list of 64 deleted ports
  1. audio/plasma5-kpipewire*
  2. databases/compass*
  3. devel/electron11*
  4. devel/electron12*
  5. devel/electron13*
  6. devel/electron17*
  7. devel/electron18*
  8. devel/electron19*
  9. devel/electron21*
  10. devel/electron22*
  11. devel/electron23*
  12. devel/electron24*
  13. devel/electron25*
  14. devel/electron26*
  15. devel/electron27*
  16. devel/electron28*
  17. devel/electron29*
  18. devel/electron30*
  19. devel/electron31*
  20. devel/electron32*
  21. devel/electron33*
  22. devel/electron34*
  23. devel/electron35*
  24. devel/electron36*
  25. devel/electron4*
  26. devel/electron5*
  27. devel/electron6*
  28. devel/electron7*
  29. devel/electron9*
  30. editors/atom*
  31. emulators/qemu2*
  32. finance/quba-viewer*
  33. graphics/copperspice*
  34. graphics/dri*
  35. graphics/gbm*
  36. graphics/intel-backlight*
  37. graphics/libEGL*
  38. graphics/libGL*
  39. graphics/libglapi*
  40. graphics/libglesv2*
  41. graphics/libxatracker*
  42. lang/beignet*
  43. multimedia/emby-server-devel*
  44. multimedia/kodi-devel*
  45. multimedia/libva-glx*
  46. multimedia/mythtv-frontend*
  47. net-im/webinar*
  48. x11-drivers/xf86-video-ati-legacy*
  49. x11-drivers/xf86-video-openchrome*
  50. x11-servers/xephyr*
  51. x11-servers/xwayland-devel*
  52. x11-toolkits/gtkada3*
  53. x11-toolkits/scenefx*
  54. x11-toolkits/scenefx02*
  55. x11-toolkits/scenefx03*
  56. x11-toolkits/wcl*
  57. x11-toolkits/wlc*
  58. x11-toolkits/wlroots*
  59. x11-toolkits/wlroots-devel*
  60. x11-toolkits/wlroots-hyprland*
  61. x11-toolkits/wlroots016*
  62. x11-wm/mangowc*
  63. x11-wm/plasma5-kwin*
  64. x11-wm/sway-devel*
  65. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
===> The following configuration options are available for libdrm-2.4.131,1: TESTS=off: Build and install test programs ===> Use 'make config' to modify these settings
Options name:
graphics_libdrm
USES:
gnome meson pkgconfig tar:xz
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://dri.freedesktop.org/libdrm/
Collapse this list.

There are no commits on branch 2026Q1 for this port