graphics/libdrm: Update to 2.4.99 Update graphics/libdrm to 2.4.99 Changelog: https://lists.x.org/archives/xorg-announce/2019-July/003001.html PR: 239205 Reported by: Shankar Giri Obtained from: FreeBSD Graphics Team development repo https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorglibs Sponsored by: B3 Initc682a4d53d
Port details
graphics/libdrm 2.4.134,1
Direct Rendering Manager library and headers
Port info
- Maintainer
- x11@FreeBSD.org
- Packages
- latest: 2.4.134,1
- Upstream
- up to date
- Last update
- to 2.4.134,1 · 5953248a9b
- Quarterly
- 2026Q4: 2.4.134,1
- WWW
- https://dri.freedesktop.org/
- Links
- cgit · VuXML · Report wrong data
Install
- Package
# pkg install libdrminstalls 2.4.134,1 fromlatest; fromquarterly(2026Q4) 2.4.134,1- Port
# cd /usr/ports/graphics/libdrm && make install clean# make -C /usr/ports/graphics/libdrm config # change options first
- Size
- 287 KiB download · 1.1 MiB installed
- Depends on
- devel/libpciaccess 0.19
- License
- MIT
- Options
- 0 of 1 on in the package
Show the 1 options that are off
TESTS
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 2.4.134,1 | 2.4.134,1 | – |
| FreeBSD 15 | 2.4.134,1 | 2.4.134,1 | – |
| FreeBSD 14 | 2.4.134,1 | 2.4.134,1 | 2.4.134,1 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 2.4.134,1 | 2.4.134,1 | – |
| FreeBSD 14 | 2.4.134,1 | 2.4.134,1 | 2.4.134,1 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 2.4.134,1.Fixed (0)
No VuXML entries for this package.
Problem reports (1) · open in Bugzilla, most recently changed first
| PR | Summary | Status | Changed |
|---|---|---|---|
| 286508 | maintainer-feedback? graphics/libdrm: ALIGN macro redefined | New | 2026-08-25 |
Commits (137)
Switch a couple of x11 ports to https Switch over a couple of x11 ports, that doesn't use the common xorg master sites, to use https instead of http. PR: 239094 Submitted by: Miyashita Touka6a9eef6379
graphics/libdrm: Fix check for arm and powerpc Fix the theck for arm and powerpc in graphics/libdrm Makefile. Instead of checking for specific powerpc or arm versions, just use a pattern check for powerpc* and arm* respectively. This is part of a bigger sweep to consolodate this throughout the ports tree. PR: 239162 Submitted by: linimon24814e320f
graphics/libdrm: Enable more drivers on aarch64 Enable noveau and radeon libdrm drivers on aarch64. There is work in progress to get at least the radeon and amdgpu drm kmods working on aarch64, and this will aid that effort. PR: 238948 Submitted by: Greg V1cd1c6ec46
graphics/libdrm: fix drmGetNodeTypeFromFd Fix drmGetNodeTypeFromFd, this should have been part of r505441 PR: 236933 Submitted by: jbeich Reviewed by: manueecc23f036
graphics/libdrm: Update to 2.4.98 Update graphics/libdrm to 2.4.98 [1] Change to use the meson build system instead of autotools. [2] PR: 235430 [1], 237411 [2] Submitted by: Greg V [1], jbiech [2]ebdf3d40d7
graphics/libdrm: Update to 2.4.96 Rework local patches a bit because of upstream changes. Changelog: https://lists.freedesktop.org/archives/dri-devel/2018-August/187286.html https://lists.x.org/archives/xorg-announce/2018-October/002920.html https://lists.x.org/archives/xorg-announce/2018-October/002925.html PR: 231607 Submitted by: voidanix (original version) Obtained from: https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/libdrm77cc191ffe
graphics/libdrm: Update to 2.4.93 Rebase local patches. Obtained from: https://github.com/FreeBSDDesktop/freebsd-ports/commits/feature/libdrm Sponsored by: Essen Hackathona6412cb97c
Attempt to fix build on mips64. This is currently blocking 5,391 packages. (I will accept the explanation that many of these are not useful for mips64, but there are some in archivers, comms, databases, ...) Tested on: amd64; mips64 xbuild. Approved by: portmgr (tier-2 blanket)52a39feebd
graphics/libdrm: Update to 2.4.92 Regenerate and update patches so they apply cleanly. Changelog: https://cgit.freedesktop.org/mesa/drm/log/?id=libdrm-2.4.92 Tested by: Pete Wrightd36c859681
graphics/libdrm: update to 2.4.91 Changes: https://cgit.freedesktop.org/mesa/drm/log/?id=libdrm-2.4.91 ABI: https://abi-laboratory.pro/tracker/timeline/libdrm/ PR: 227678 Approved by: ?6112153985
Update to 2.4.89afafdd6be4
Remove file. This is never used and never applied during patching. It probably snuck in by mistake.21735a1156
Update to 2.4.88a2bce9c620
Update to 2.4.84507eda6dfb
For ports that are explicitly enabled on armv6, also enable them on armv7. This has not been tested with an -exp run but should "do no harm". PR: 221894 (partial)3ef3461740
Update to 2.4.833b37d6ab69
Update to 2.4.82f4045b3392
Update to 2.4.81 Reviewed by: kwm Approved by: swills (mentor) Differential Revision: https://reviews.freebsd.org/D11065b5613de09d
Assorted fixes and improvements to libdrm * define ETIME in libsync.h to fix build of freedreno in Mesa [1] * disable cairo tests to avoid circular dependency when cairo uses libGL [2] * add TESTS option to install test programs which are always built * build libkms on all platforms, it need not be limited to x86 * cease disabling vmwgfx, which needed patching to build PR: 219420 [2] Reported by: strejda [1], maficccc@gmail.com [2] Approved by: swills (mentor) Differential Revision: https://reviews.freebsd.org/D10841fad88a07e7
Update to 2.4.80 Approved by: swills (mentor) Differential Revision: https://reviews.freebsd.org/D10437dcbdd7e7a0
Update to 2.4.78 and remove the dependency on libdevq The functionality previously provided by libdevq is now implemented directly in libdrm. This direct implementation should be more robust than the prior integration. Initial testing has shown improvements in some scenarios while remaining on-par elsewhere. The ultimate goal of this effort is to have our platform support integrated upstream, which will be easier without the extra dependency. With that in mind, please quickly report any regressions found. Reviewed by: dumbbell (x11), bapt (x11) Approved by: swills (mentor), dumbbell (x11) Differential Revision: https://reviews.freebsd.org/D10184b29ddf3ae3
graphics/gbm graphics/libEGL graphics/libdrm graphics/libglapi: Bump PORTREVISION on ports that had dependency changes after r437182 Approved by: mat, swills (mentor, implicit) Differential Revision: https://reviews.freebsd.org/D101795c9039bfb5
- Update devel/libpthread-stubs to 0.4 - Chase libpthread-stubs update, and also switch to BUILD_DEPENDS from LIB_DEPENDS, as port is now only .pc file PR: 218015 Submitted by: rezny9cba0ef67a
Don't check device major ID, it's not always zero. Fixes Mesa 13 on drm-next Submitted by: hselasky Reported by: sbruno, hselasky, xmj Reviewed by: hselasky Approved by: swills (mentor) Differential Revision: https://reviews.freebsd.org/D1000032057ee3a5
Remove useless dependency on gnumake Reported by: Emil Velikov <emil.l.velikov@gmail.com> (upstream)f1deabd6a0
Add missing header to fix build on PPC Submitted by: andreast Approved by: swills (mentor) Differential Revision: https://reviews.freebsd.org/D9666bfe6614c5c
Remove a patch from libdrm that caused it to always claim kms is available. This change allows xf86-video-intel to know it should try to load i915kms. Approved by: swills (mentor) Differential Revision: https://reviews.freebsd.org/D9624fec5ccdc9b
Remove post-patch cruft accidentally introduced into patch-configure files with the previous commit. Thanks to tijl for noticing what I overlooked. Approved by: swills (mentor) Differential Revision: https://reviews.freebsd.org/D9544acdcc605d9
Update libdrm to 2.4.75 Approved by: swills (mentor) Differential Revision: https://reviews.freebsd.org/D9437fa8519d5a6
graphics/libdrm: unbreak on armv6 + aarch64 PR: 216377 Submitted by: mikael.urankar@gmail.com Approved by: portmgr blanket445c39aaf4
Add support to find directly the drm device via libdevq the same way linux uses libudev PR: 214580 Submitted by: matthew@reztek.cz2cc0c64fa7
Update to 2.4.74d41f933bc5
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat: portmgr
Sponsored by: Absolight4e1b79a0a6Unbreak libdrm on dragonfly. Reported by: marino@ Tested by: marino@3b4c5197da
Update libdrm to 2.4.66.f296c5a872
The intel kernel driver leaks error code "512" (ERESTARTSYS) to userland. This error code should be converted to EINTR and/or EAGAIN. Teach libdrm to handle this error code as a work around, and add a override to not apply the patch. Which is done for people doing DRM development. PR: 2041748606beb1b8
Unbreak libdrm on 9.3-R.3a6ca959c1
Update libdrm to 2.4.65. Obtained from: Xorg devel repo8cede960fe
Misc X.org port updates: Update gccmakedep to 1.0.3. Update imake to 1.0.7. Update libpciaccess to 0.13.3. Update libdrm to 2.4.60. Update bitmap to 1.0.8. Update fstobdf to 1.0.6. Update iceauth to 1.0.7. Update libXdmcp to 1.1.2. Update libXp to 1.0.3. Update libXvMC to 1.0.9. Update libXxf86vm to 1.1.4. Update libxshmfence to 1.2. Update randrproto to 1.4.1. Update rgb to 1.0.6. Update sessreg to 1.1.0. Update xcb-util-cursor to 0.1.2. Update xedit to 1.2.2. Update xkbcomp to 1.3.0. Update xkeyboard-config to 2.14. Update xproto to 7.0.27. Update xf86-input-mouse to 1.9.1. Update xf86-input-synaptics to 1.8.2. Update xf86-video-i710 to 1.3.5. Update xf86-video-mga to 1.6.4. Update xf86-video-tdfx to 1.4.6. Update xf86-video-vmware to 13.1.0. Update bdftopcf to 1.0.5. Update font-util to 1.3.1. Update fslsfonts to 1.0.5. Update mkfontscale to 1.1.2. Update showfont to 1.0.5. Update xfs to 1.1.4. Update xfsinfo to 1.0.5. Remove :keepla from USES=libtool for X libraries in bsd.xorg.mk, and bump all affected ports. PR: 199400 Obtained from: Xorg-devel repo1fc509c591
Disable checking for hw.dri.%d.modesetting. This sysctl is only available if a KMS module is loaded. But the libdrm check happens before X has a chance of loading a KMS module. This went unnoticed because I preload my KMS modules at boot. Submitted by: tijl@ed2b9a6306
Update to 2.4.58. Remove support for the old libdrm and WITH_NEW_XORG. Obtained from: xorg-dev655b821fe3
Add USES=libtool and INSTALL_TARGET=install-stripf388ad6fda
graphics/libdrm: Unbreak hardware acceleration on DragonFly This is a no-op change for FreeBSD, it just adds a macro check for DF.3b60d2119d
Revert switching to a single libdrm it breaks for ati users using old xorg1afadfc060
Update to 2.4.54 for both new and old xorg Also build libkms on architecture supporting it by default it will only be used by drivers needing libkms hence not by old xorg With hat: x11a67b599004
The FreeBSD x11@ and graphics team proudly presents a zeising, kwm production, with help from dumbbell, bdrewery: NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE This update switches over to use the new xorg stack by default on FreeBSD 9 and 10 stable, on osversions where vt(9) is available. It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in /etc/make.conf . FreeBSD 8-STABLE and released versions of FreeBSD still use the old version. A package repository with binary packages for new xorg will be available soon. This patch also contains updates of libxcb and related ports, pixman, as well as some drivers and utilities. Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due to xserver version change. Apart from these updates, the way shared libraries are handled has been changed for all xorg ports, as well as libxml2 and freetype, which means ltverhack is gone and as a consequence shared libraries have been bumped. The plan is that this change will make library bumps less likely in the future. All affected ports have had their portrevisions bumped as a consequence of this. Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT. Update instructions, hardware support, and more notes can be found on https://wiki.freebsd.org/Graphics Thanks to: all testers, bdrewery and the FreeBSD x11@ team exp-run by: bdrewery [1] PR: ports/187602 [1] Approved by: portmgr (bdrewery), core (jhb)39fc32e828
On ia64 [2] and powerpc [1] only the radeon bits are build. Fix the plist for this, while here add powerpc64 too [1]. PR: ports/184957 [1] ports/184967 [2] Submitted by: Andreas Tobler <andreast@FreeBSD.org> [1] Anton Shterenlikht <mexas@bris.ac.uk> [2]174be0ddfc
Switch FreeBSD CURRENT to use the new xorg stack (WITH_NEW_XORG=) [0] If the old xorg stack is still needed, it is possible to add WITHOUT_NEW_XORG= to /etc/make.conf to get the old version. Update several xorg related ports, including: x11/libxcb 1.9.1 -> 1.9.3 graphics/libdrm 2.4.46 -> 2.4.50 x11/pixman 0.30.2 -> 0.32.4 x11/xkeyboard-config 2.9 -> 2.10.1 x11-drivers/xf86-input-keyboard 1.7.0 -> 1.8.0 Fix dissapearing cursor in xf86-video-vmware [2] Stagify all x11@-owned ports Bump portrevisions for xf86-* ports due to xserver version change. Fix fallout from updates where needed. Thanks to: all testersi, bdrewery and the FreeBSD x11@ team exp-run by: bdrewery [1] PR: ports/184684 [1], ports/181385 [2] Submitted by: Douglas Carmichael <dcarmich@dcarmichael.net> [2] Approved by: portmgr (bdrewery), core (jhb) [0]47be7a61c9
The FreeBSD graphics/x11 team proudly presents a kwm, zeising production: MESA 9.1.6 Starring: Mesa 9.1.6, including libGL, libGLU and dri (new xorg only) Addition of libEGL and libglesv2 KMS support for ATI graphics cards in 10-current (new xorg only) Improved sparc64 support for new xorg. [1] pixman 0.30.2, including shlib bump and portrevision bumps libX11 1.6.2 Make absolute pointing devices work with x11-drivers/xf86-input-mouse x11-drivers/xf86-video-ati 7.2.0 for 10-current (KMS aware ati driver) Also starring: Updates to drivers and other libraries and utilities Additional notes: When updating MESA related ports (libGL, dri) you need to remove old versions first. See UPDATING for details. PR: ports/181962 [2] Submitted by: marius [1] zeising [2] Exp-run by: bdrewery Approved by: portmgr (bdrewery) Thanks to all who helped testing!5a4c543c2b