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=144 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:: expat, libiconv, 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.123,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-x11
  3. graphics/gstreamer1-plugins-vulkan
  4. graphics/qt5-wayland
  5. multimedia/gstreamer1-vaapi
  6. multimedia/libva-nvidia-driver
  7. net/neatvnc
Expand this list (13 items / 6 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. sysutils/fastfetch
  3. x11-drivers/xorgxrdp
  4. x11-toolkits/gtk40
  5. x11-toolkits/qt5-gui
  6. x11-wm/chamfer
  7. x11-wm/wayfire
  8. 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 (192 items / 185 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/qt6-base
  13. editors/vscode
  14. emulators/qemu-cheri
  15. emulators/wine-proton
  16. games/moonlight-embedded-devel
  17. games/moonlight-qt
  18. games/retroarch
  19. graphics/drm_info
  20. graphics/gstreamer1-plugins-gl
  21. graphics/gstreamer1-plugins-kms
  22. graphics/gstreamer1-plugins-libvisual
  23. graphics/igt-gpu-tools
  24. graphics/jogl
  25. graphics/kmscube
  26. graphics/libliftoff
  27. graphics/libosmesa
  28. graphics/mesa-devel
  29. graphics/mesa-dri
  30. graphics/mesa-gallium-va
  31. graphics/mesa-gallium-vdpau
  32. graphics/mesa-gallium-xa
  33. graphics/mesa-libs
  34. graphics/openfx-arena
  35. graphics/piglit
  36. graphics/qt6-wayland
  37. graphics/wayland-utils
  38. lang/clover
  39. mail/thunderbird
  40. mail/thunderbird-esr
  41. math/octave
  42. multimedia/arcan
  43. multimedia/cmrt
  44. multimedia/emby-server
  45. multimedia/ffmpeg
  46. multimedia/ffmpeg4
  47. multimedia/gstreamer1-plugins
  48. multimedia/gstreamer1-plugins-msdk
  49. multimedia/gstreamer1-plugins-theora
  50. multimedia/handbrake
  51. multimedia/intel-media-sdk
  52. multimedia/kodi
  53. multimedia/libva
  54. multimedia/libva-intel-driver
  55. multimedia/libva-intel-hybrid-driver
  56. multimedia/mpv
  57. multimedia/mythtv
  58. multimedia/obs-studio
  59. multimedia/onevpl
  60. multimedia/qt6-multimedia
  61. multimedia/ustreamer
  62. multimedia/wf-recorder
  63. multimedia/wl-screenrec
  64. net/neatvnc
  65. net/wayvnc
  66. net/wlvncc
  67. net/x11vnc
  68. net-im/signal-desktop
  69. science/paraview
  70. sysutils/consolekit2
  71. sysutils/fwupd
  72. sysutils/radeontop
  73. www/chromium
  74. www/firefox
  75. www/firefox-esr
  76. www/iridium
  77. www/librewolf
  78. www/qt6-webengine
  79. www/tor-browser
  80. www/ungoogled-chromium
  81. www/waterfox
  82. www/webkit2-gtk
  83. x11/gstreamer1-plugins-x
  84. x11/hyprland-guiutils
  85. x11/hyprlauncher
  86. x11/hyprlock
  87. x11/hyprpaper
  88. x11/quickshell
  89. x11/swayimg
  90. x11/virglrenderer
  91. x11/wl-mirror
  92. x11/xdg-desktop-portal-hyprland
  93. x11/xdg-desktop-portal-wlr
  94. x11/xpra
  95. x11-drivers/xf86-video-amdgpu
  96. x11-drivers/xf86-video-ati
  97. x11-drivers/xf86-video-intel
  98. x11-drivers/xf86-video-vmware
  99. x11-drivers/xlibre-xf86-video-amdgpu
  100. x11-drivers/xlibre-xf86-video-ati
  101. x11-drivers/xlibre-xf86-video-intel
  102. x11-drivers/xlibre-xf86-video-vmware
  103. x11-servers/xlibre-server
  104. x11-servers/xorg-server
  105. x11-servers/xwayland
  106. x11-toolkits/aquamarine
  107. x11-toolkits/gstreamer1-plugins-pango
  108. x11-toolkits/hyprtoolkit
  109. x11-toolkits/scenefx04
  110. x11-toolkits/wlroots015
  111. x11-toolkits/wlroots017
  112. x11-toolkits/wlroots018
  113. x11-toolkits/wlroots019
  114. x11-wm/compton
  115. x11-wm/gamescope
  116. x11-wm/hyprland
  117. x11-wm/magpie
  118. x11-wm/mangowc
  119. x11-wm/mutter
  120. x11-wm/plasma6-kwin
  121. x11-wm/plasma6-kwin-x11
  122. x11-wm/sway
  123. x11-wm/swayfx
  124. Collapse this list.

Deleted ports which required this port:

Expand this list of 63 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/plasma5-kwin*
  63. x11-wm/sway-devel*
  64. 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