graphics/drm-*-kmod, graphics/nvidia-drm-*-kmod: Update DRM drivers The reason is to make them compatible with an upcoming change in linuxkpi in FreeBSD src: https://github.com/freebsd/drm-kmod/pull/502 Sponsored by: The FreeBSD Foundation7e420adaf6
Port details
graphics/drm-66-kmod 6.6.25.1501000_11
Direct Rendering Manager (DRM) GPU drivers
Port info
- Maintainer
- x11@FreeBSD.org
- Packages
- latest: 6.6.25.1501000_11
- Upstream
- up to date
- Last update
- to 6.6.25.1501000_11 · 7e420adaf6
- Quarterly
- 2026Q4: 6.6.25.1501000_11
- WWW
- https://github.com/freebsd/drm-kmod/
- Links
- cgit · VuXML
Install
- Package
# pkg install drm-66-kmodinstalls 6.6.25.1501000_11 fromlatest; fromquarterly(2026Q4) 6.6.25.1501000_11- Port
# cd /usr/ports/graphics/drm-66-kmod && make install clean- Size
- 3.7 MiB download · 18 MiB installed
- Depends on
- nothing
- License
- BSD2CLAUSE and GPLv2 and MIT
- pkg-message
Shown after installing
The drm-66-kmod port can be enabled for amdgpu (for AMD GPUs starting with the HD7000 series / Tahiti) or i915kms (for Intel APUs starting with HD3000 / Sandy Bridge) through kld_list in /etc/rc.conf. radeonkms for older AMD GPUs can be loaded and there are some positive reports if EFI boot is NOT enabled. For amdgpu: kld_list="amdgpu" For Intel: kld_list="i915kms" For radeonkms: kld_list="radeonkms" Please ensure that all users requiring graphics are members of the "video" group. Please note that this package was built for FreeBSD 15.1. If this is not your current running version, please rebuild it from ports to prevent panics when loading the module.
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 6.6.25.1600029_11 | ✗ | – |
| FreeBSD 15 | 6.6.25.1501000_11 | ✗ | – |
| FreeBSD 14 | ✗ | ✗ | ✗ |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 6.6.25.1501000_11 | ✗ | – |
| FreeBSD 14 | ✗ | ✗ | ✗ |
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 6.6.25.1501000_11.Fixed (0)
No VuXML entries for this package.
Problem reports (8) · open in Bugzilla, most recently changed first
| PR | Summary | Status | Changed |
|---|---|---|---|
| 295512 | i915 maintainer-feedback? graphics/drm-66-kmod: sporadic GPU hang with i915kms | New | 2026-10-21 |
| 268394 | needs-qa graphics/drm-66-kmod: AMD Ryzen 7950X's integrated GPU not supported (Raphael) | Open | 2026-10-16 |
| 298662 | crash regression maintainer-feedback? graphics/drm-66-kmod panics on load of amdgpu on 15.1-RELEASE-p3, working fine on 15.0-RELEASE-p13 | New | 2026-09-19 |
| 297135 | maintainer-feedback? graphics/drm-66-kmod: Fails with integrated AMD graphics | New | 2026-08-03 |
| 293254 | maintainer-feedback? graphics/drm-66-kmod | graphics/drm-latest-kmod: Blocks system from powering off during shutdown. | New | 2026-03-10 |
Show all 8
| PR | Summary | Status | Changed |
|---|---|---|---|
| 291298 | maintainer-feedback? graphics/drm-66-kmod: Two problems with one workaround | New | 2025-12-09 |
| 289320 | maintainer-feedback? graphics/drm-66-kmod: Page fault on 16-CURRENT after 16-CURRENT rename | Open | 2025-11-17 |
| 286721 | maintainer-feedback? graphics/drm-61-kmod, graphics/drm-66-kmod: No backlight control | New | 2025-05-18 |
Commits (23)
graphics/drm-*-kmod, graphics/nvidia-drm-*-kmod: Update DRM drivers Several changes were made to all LTS drm-kmod branches: 1. All branches were updated with Makefile cleanups and fixes. 2. The addition of the `DMA_BUF_IOCTL_EXPORT_SYNC_FILE` and `DMA_BUF_IOCTL_IMPORT_SYNC_FILE` ioctls was backported to the 6.1 and 6.6 branches. 3. A couple fixes to amdgpu and i915 drivers were committed to the 6.12 branch. The corresponding `graphics/nvidia-drm-*-kmod` ports were updated to reference the latest `graphics/drm-*-kmod` ports. Sponsored by: The FreeBSD Foundatione50c876e29
graphics/drm-612-kmod: new port Reviewed by: dumbbell, emaste Approved by: lwhsu (mentor, implicitly) Differential Revision: https://reviews.freebsd.org/D568889c021c6bac
all: drop support for FreeBSD 13, mips and risc64sf Reviewed by: many (*) Differential Revision: https://reviews.freebsd.org/D55624 Differential Revision: https://reviews.freebsd.org/D55642 (merged in from bofh) many (*) acm arrowd brooks cmt dch decke dinoex eduardo fluffy fuz gahr garga jbeich joerg jrm kai kenrap martymac matthew mfechner michaelo mizhka nobutaka pkubaj se tagattie thj Anton Saietskii GenericRikka Gert Doering Jan Bramkamp Oleh Hushchenkov Oleksandr Kryvulia Ralf van der Enden Yamagi desktop kde python tcltk office2a7c056120
graphics/drm-66-kmod: Fix build of intel bits on 15.0-RELEASE PR: 294870 2948784e0113b03e
graphics/drm-66-kmod: Fix build on FreeBSD 15.0 PR: 2948750a09fe1ba1
graphics/*drm*: remove CONFLICTS with now-deleted drm-51090aa381b54
graphics/drm-66-kmod: Update to latest version This fixes compilation with clang21 (defualt on FreeBSD 16) Sponsored by: Beckhoff Automation GmbH & Co. KGd94082fc79
graphics/drm-66-kmod: Fix build with llvm 210188ce5233
graphics/drm-66-kmod: fix build with clang 21
With clang 21 graphics/drm-66-kmod fails to compile, with errors similar
to:
In file included from /wrkdirs/usr/ports/graphics/drm-66-kmod/work/drm-kmod-drm_v6.6.25_9/drivers/gpu/drm/i915/i915_active.c:12:
/wrkdirs/usr/ports/graphics/drm-66-kmod/work/drm-kmod-drm_v6.6.25_9/drivers/gpu/drm/i915/gt/intel_ring.h:63:2: error: default initialization of an object of type 'typeof (ring->size)' (aka 'const unsigned int') leaves the object uninitialized [-Werror,-Wdefault-const-init-var-unsafe]
63 | typecheck(typeof(ring->size), next);
| ^
/usr/src/sys/compat/linuxkpi/common/include/linux/typecheck.h:31:9: note: expanded from macro 'typecheck'
31 | ({ type __var1; \
| ^
The thread at https://lkml.org/lkml/2025/5/6/1681 appears to imply that
it is safe to suppress the new -Wdefault-const-init-var-unsafe warning.
PR: 292192
Approved by: emaste (maintainer)
MFH: 2026Q12b49118158graphics/drm-66-kmod: Really fix build on -CURRENT Sponsored by: Beckhoff Automation GmbH & Co. KGd2aca38365
graphics/drm-6{1,6}-kmod: Fix build on current
Update the port to have code dealing with change in BUS_ALLOC_RESOURCE
Sponsored by: Beckhoff Automation GMbH & Co. KG9e5e0c569bgraphics/drm-*-kmod: Update DRM drivers to include an optimisation for AMD GPUs This fixes important slowdowns with AMD GPUs after several hours of uptime. The optimisation was submitted by Olivier Cerner <olce@FreeBSD.org> in the following pull request: https://github.com/freebsd/drm-kmod/pull/377 The optimisation was submitted to all supported DRM driver version, from 5.10 to 6.6. The corresponding NVIDIA DRM ports were adapted at the same time accordingly.0d2a0f1c5b
drm: Clean up comments Reviewed by: emaste, ivy, Tomoaki AOKI <junchoon@dec.sakura.ne.jp>89a7952ac8
graphics/drm-66-kmod: Update to drm_v6.6.25_6 This change brings some cleanup to the FreeBSD-specific code. This also solves a conflict with upcoming changes to linuxkpi. See https://github.com/freebsd/drm-kmod/pull/368. Sponsored by: The FreeBSD Foundation316774b85e
graphics/drm-66-kmod: Update to drm_v6.6.25_5 This update fixes GPU acceleration when switching to VT and back to Xorg. PR: 271995 Sponsored by: Beckhoff Automation GmbH & Co. KG8ebe065203
graphics/drm-66-kmod: Improve pkg-descr, bring it in line with the Makefile check Pull Request: https://github.com/freebsd/freebsd-ports/pull/372c19c294d75
graphics/drm-66-kmod: Fix port name in pkg-message I'm specifically not bumping the PORTREVISION as the change in mostly cosmetic. Approved by: portmgr (blanket) Fixes: 00508c01e276 graphics/drm-66-kmod: Add new portf1c6facd17
graphics/drm-66-kmod: Update to drm_v6.6.25_4 Fixes issues with explicit fence and linux jiffies. PR: 286311 Sponsored by: Beckhoff Automation GmbH & Co. KG8495963ac0
graphics/drm-66-kmod: Update to drm_v6.6.25_3 Fix compile on FreeBSD-CURRENT. Sponsored by: Beckhoff Automation GmbH & Co. KGf4d5ba8a14
graphics/drm-66-kmod: Update to drm_v6.6.25_2 This exports all symbols from the modules. See https://github.com/freebsd/drm-kmod/commit/81f4ddf1c1a5041769f1376e027fa1751df6c292 for the explaination. Sponsored by: Beckhoff Automation GmbH & Co. KGf7f46d1b58
graphics/drm-66-kmod: Fix conflict
WHile here add the conflict in all drm kmod ports for drm-66-kmod.
Reported by: Alonso Cárdenas Márquez <acm@FreeBSD.org>
Fixes: 00508c01e276 ("graphics/drm-66-kmod: Add new port")
Sponsored by: Beckhoff Automation GmbH & Co. KGc825940466graphics/drm-66-kmod: Add new port Add drm-66-kmod which tracks linux 6.6-lts. Currently synced with 6.6.25 Sponsored by: Beckhoff Automation GmbH & Co. KG00508c01e2