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
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.123,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.

Number of commits found: 134 (showing only 34 on this page)

«  1 | 2 

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.4.17_1
14 Aug 2013 22:35:54
Revision:324744Original commit files touched by this commit Sanity Test Failure
ak search for other commits by this committer
- Remove MAKE_JOBS_SAFE variable

Approved by:	portmgr (bdrewery)
2.4.17_1
23 Jul 2013 10:20:03
Revision:323524Original commit files touched by this commit
kwm search for other commits by this committer
Update to 2.4.46.

Obtained from:	xorg-dev repo
2.4.17_1
25 May 2013 18:16:44
Revision:319064Original commit files touched by this commit
zeising search for other commits by this committer
Rebump portrevisions to avoid versions going backwards, this was
accidentally removed in the xorg mega-commit.

Spotted by:	Herbert J. Skuhra <h.skuhra@gmail.com>
2.4.17
25 May 2013 14:37:03
Revision:319055Original commit files touched by this commit
zeising search for other commits by this committer
The FreeBSD x11 team proudly presents
an zeising, kwm, miwi, bapt, eadler production:

Xorg 7.7

Starring:
xserver 1.12.4 (new xorg only)
Mesa 8.0.4, including libGL, libGLU and dri (new xorg only)
libX11 1.5.0
libxcb 1.9
libdrm 2.4.42 (new xorg only)
freeglut 2.8.1
Also starring:
Updates to drivers and other libraries and utilities
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.4.17_1
05 Jan 2013 22:57:40
Revision:309972Original commit files touched by this commit
kwm search for other commits by this committer
Convert x11@ owned ports to OptionsNG. Thanks go to bapt@ for review and help
rendered with deciphering the monster that is xorg-drivers.

With hat:	x11@
2.4.17_1
22 Sep 2012 02:10:48
Revision:304648Original commit files touched by this commit
swills search for other commits by this committer
- Fix typo in @comment which fixes build on arm, mips and sparc

Reported by:	flo
Pointyhat to:	swills
2.4.17_1
17 Sep 2012 03:23:03
Revision:304385Original commit files touched by this commit
swills search for other commits by this committer
- Fix build on PowerPC

PR:		ports/171301
Submitted by:	linimon
2.4.17_1
30 Jul 2012 04:36:32
Original commit files touched by this commit
linimon search for other commits by this committer
Attempt to fix build of dri, libGL, and libdrm on tier-2 archs.

PR:		ports/169874
Submitted by:	marius, linimon
Tested on:	amd64, arm, i386, powerpc, sparc
Thanks to:	bz, andyt
2.4.17_1
24 Jun 2012 17:30:00
Original commit files touched by this commit
linimon search for other commits by this committer
Fix build on powerpc and sparc64.

PR:                     ports/167489
No objection from:      x11@
2.4.17_1
22 Apr 2012 15:04:07
Original commit files touched by this commit
kwm search for other commits by this committer
Restore PORTREVISION for the 2.4.17 version.

Submitted by:   Christian Weisgerber <naddy@mips.inka.de>
2.4.17
21 Apr 2012 17:03:32
Original commit files touched by this commit
miwi search for other commits by this committer
- Please welcome Xorg 7.5.2

       The Xorg Team is pleased to announce the next round of Xorg updates.
       The team created a new flag called WITH_NEW_XORG that users can include
       in /etc/make.conf. This was created for the intel KMS work being done
       althouthough It probably works for other chips. Unfortunately, the intel
       KMS driver will only work on FreeBSD 9(RELENG|STABLE) or 10/HEAD users.
       Older version of FreeBSD will not be supported. Intel users will need
       to patch their source manually with Konstantin?s KMS kernel patch to get
       the newer chips to work. Please carefully read UPDATING entry.

Changes:

        - libdrm 2.4.31 (including KMS support)
        - mesa 7.11.2
        - xorg-server 1.10.6
        - a lot of new Graphic Drivers.

    I would like to thank:

         Koop Mast
         Eitan Adler
         Niclas Zeising
         and all helpers and testers from x11@.
2.4.12_1
09 Nov 2011 15:26:04
Original commit files touched by this commit
miwi search for other commits by this committer
- Remove WITH_FBSD10_FIX, is no longer needed
2.4.12_1
28 Oct 2011 18:21:28
Original commit files touched by this commit
miwi search for other commits by this committer
- Fix build on FreeBSD 10

Approved by:    kwm implicit
2.4.12_1
03 Jul 2011 14:12:23
Original commit files touched by this commit
ohauer search for other commits by this committer
-remove MD5
2.4.12_1
15 May 2010 03:33:40
Original commit files touched by this commit
nork search for other commits by this committer
Fix pkg-plist WITHOUT_NOUVEAU.
2.4.12
15 Mar 2010 12:28:30
Original commit files touched by this commit
nork search for other commits by this committer
To set variable, enclose in bsd.port.pre.mk - bsd.port.post.mk.
2.4.12
07 Feb 2010 11:51:08
Original commit files touched by this commit
nork search for other commits by this committer
Limited Update to Mesa3D 7.6.1 and libdrm 2.4.17.

[MEMO]
In this commit, no version changed.  But if you put
'WITHOUT_NOUVEAU' on /etc/make.conf, you can use
new version of Mesa3D and libdrm.

Discussed with: rnoland on freebsd-ports/freebsd-x11.
2.4.12
01 Aug 2009 17:39:21
Original commit files touched by this commit
rnoland search for other commits by this committer
Update to 2.4.12

PR:             136806
Submitted by:   Anonymous <swell.k@gmail.com>
2.4.11
16 May 2009 00:35:42
Original commit files touched by this commit
rnoland search for other commits by this committer
Update to 2.4.11
2.4.9
22 Apr 2009 05:10:57
Original commit files touched by this commit
rnoland search for other commits by this committer
Update to 2.4.9
2.4.7
09 Apr 2009 20:03:54
Original commit files touched by this commit
rnoland search for other commits by this committer
Update to 2.4.7

Based mostly on a patch from Anonymous <swell.k@gmail.com> for the 2.4.6
update.

PR:             133454
2.4.5
26 Feb 2009 07:05:43
Original commit files touched by this commit
rnoland search for other commits by this committer
Update to 2.4.5

PR:             132037
Submitted by:   Anonymous <swell.k@gmail.com>
2.4.4
24 Jan 2009 17:23:47
Original commit files touched by this commit
rnoland search for other commits by this committer
Update to 2.4.4

Approved by:    garga (mentor, implicit)
2.4.3
23 Jan 2009 16:28:36
Original commit files touched by this commit
flz search for other commits by this committer
- Update X.org ports to 7.4+ (few ports are more recent than the katamari).
- Bump PORTREVISION for all ports depending on libglut since the shlib
version number went from 4 to 3.
- Bump PORTREVISION for all ports depending on libXaw as libXaw.so.8 isn't
installed anymore.
- Couple of ports fixes (mostly missing xorg components added to USE_XORG).
2.3.1
26 Aug 2008 12:19:50
Original commit files touched by this commit
rnoland search for other commits by this committer
update to 2.3.1

PR:             126521
Approved by:    flz, garga (mentor)
2.3.0
29 May 2008 14:17:03
Original commit files touched by this commit
flz search for other commits by this committer
Use bzip2 distfile.

PR:             ports/122214
Submitted by:   "Pedro F. Giffuni" <pfgshield-freebsd@yahoo.com>
2.3.0
19 May 2007 20:32:57
Original commit files touched by this commit
flz search for other commits by this committer
- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2.0.2
29 Jun 2006 13:55:57
Original commit files touched by this commit
anholt search for other commits by this committer
Update to 2.0.2, which includes new R200 VP commands.
2.0.1_1
07 May 2006 23:46:33
Original commit files touched by this commit
edwin search for other commits by this committer
Remove USE_REINPLACE for categories starting with a G
2.0.1_1
08 Apr 2006 09:32:36
Original commit files touched by this commit
anholt search for other commits by this committer
Update to 2.0.1, adding new hardware interfaces.
2.0_1
23 Feb 2006 10:40:45
Original commit files touched by this commit
ade search for other commits by this committer
Conversion to a single libtool environment.

Approved by:    portmgr (kris)
2.0
08 Jan 2006 02:35:17
Original commit files touched by this commit
lesi search for other commits by this committer
Remove ONLY_FOR_ARCHS. libdrm seems to build fine on at least sparc64
and ia64.
2.0
03 Jan 2006 11:08:03
Original commit files touched by this commit
lesi search for other commits by this committer
Fix CATEGORIES.

Spotted by:     chkversion
Pointy hat to:  lesi
2.0
03 Jan 2006 07:59:43
Original commit files touched by this commit
lesi search for other commits by this committer
Add libdrm. Userspace interface to kernel DRM (Direct Rendering Module)
services.

WWW: http://dri.freedesktop.org

Number of commits found: 134 (showing only 34 on this page)

«  1 | 2