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-515-kmod 5.15.160.1501000_11
Direct Rendering Manager (DRM) GPU drivers
Port info
- Maintainer
- x11@FreeBSD.org
- Packages
- latest: 5.15.160.1501000_11
- Upstream
- up to date
- Last update
- to 5.15.160.1501000_11 · 7e420adaf6
- Quarterly
- 2026Q4: 5.15.160.1501000_11
- WWW
- https://github.com/freebsd/drm-kmod/
- Links
- cgit · VuXML
Install
- Package
# pkg install drm-515-kmodinstalls 5.15.160.1501000_11 fromlatest; fromquarterly(2026Q4) 5.15.160.1501000_11- Port
# cd /usr/ports/graphics/drm-515-kmod && make install clean- Size
- 3.1 MiB download · 14 MiB installed
- Depends on
- nothing
- License
- BSD2CLAUSE and GPLv2 and MIT
- pkg-message
Shown after installing
The drm-515-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 | ✗ | ✗ | – |
| FreeBSD 15 | 5.15.160.1501000_11 | ✗ | – |
| FreeBSD 14 | 5.15.160.1404000_11 | ✗ | ✗ |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 5.15.160.1501000_11 | ✗ | – |
| FreeBSD 14 | 5.15.160.1404000_11 | ✗ | ✗ |
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 5.15.160.1501000_11.Fixed (0)
No VuXML entries for this package.
Problem reports (1) · open in Bugzilla, most recently changed first
| PR | Summary | Status | Changed |
|---|---|---|---|
| 274770 | regression maintainer-feedback? graphics/drm-515-kmod - 6750XT panic / hard crashes AMDGPU | New | 2026-08-03 |
Commits (35)
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*: remove CONFLICTS with now-deleted drm-51090aa381b54
graphics/drm-515-kmod: add extra patch to unbreak stable/14, and 14.4-R Conditionally apply the patch from 26b48400ee94 to avoid conflicts with an updated LinuxKPI. This should make this port both build and work again. The patch is conditional still as 14.3-R does not, but stable/14 and 14.4-R do have the LinuxKPI changes. Sponsored by: The FreeBSD Foundation PR: 290432 Reported by: gja822@narod.rueecdfa00d4
graphics/drm-515-kmod: re-add check for __FreeBSD_version < 1400081 Build breakages on FreeBSD 13 started to show up without any other changes to the sources. Turns out when the port was disabled for FreeBSD 16 and newer, the check for FreeBSD pre-1400081 was removed. Re-add that check to avoid constant build failure reports. Fixes: eef56dc01bd7 Reviewed by: manu, jrm Differential Revision: https://reviews.freebsd.org/D54813c6170b7ca8
graphics/drm-515-kmod: Disable for 16.0-CURRENT People who still uses this one should migrate to 61 or 66. Sponsored by: Beckhoff Automation GmbH & Co. KGeef56dc01b
graphics/drm-515-kmod: add extra patch to unbreak on 15 and newer Conditionally apply a patch to avoid conflicts with an updated LinuxKPI. This should make this port both build and work again. The patch is conditional for the moment as 14.3-R and stable/14 do not have the LinuxKPI changes yet. stable/14 will likely get it before 14.4-R. At that point it might be easier to (a) have it conditional in the drm-kmod branch based on __FreeBSD_version or (b) have a backout patch here for 14.2-R and stable/14 before the LinuxKPI update. PR: 290432 Reported by: kargl26b48400ee
graphics/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-515-kmod: Update to drm_v5.15.160_5 This update fixes GPU acceleration when switching to VT and back to Xorg. PR: 271995 Sponsored by: Beckhoff Automation GmbH & Co. KG2648f5b3b9
graphics/drm-515-kmod: Update to drm_v5.15.160_4 Fix on current after jiffies was widened. PR: 287165d7a1f45aca
graphics/drm-515-kmod: Update to drm_v5.15.160_3 Fix compile on -CURRENT. Reported by: bapt Sponsored by: Beckhoff Automation GmbH & Co. KG940ca091de
graphics/drm-515-kmod: Update to drm_v5.15.160_2 This exports all symbols from the modules. See https://github.com/freebsd/drm-kmod/commit/676098fb2f54827d8a2dc7375ceecf62c96d0d66 for the explaination. Sponsored by: Beckhoff Automation GmbH & Co. KGf2cc91f4b5
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-kmod: Inform users against which FreeBSD version the packages do got built. PR: 28310791fc9bdcfb
graphics/drm-515-kmod: Update to drm_v5.15.160_1 This fixes the build with LLVM 19 Sponsored by: Beckhoff Automation GmbH & Co. LGef259f3eea
graphics/drm-515-kmod: Update to 5.15.160 This brings us up to date with Linux 5.15.160 Sponsored by: Beckhoff Automation GmbH & Co. KG724b2004f0
graphics/drm-kmod: Update to latest source so it builds on current Update 5.15 and 6.1 to latest source so it builds on latest current version. Sponsored by: Beckhoff Automation GmbH & Co. KG3c7a5bf57d
graphics/nvidia-drm-kmod: Update to 550.54.14 Differential Revision: https://reviews.freebsd.org/D4407371e92b26bd
graphics/drm-61-kmod: Add new port DRM drivers tracking 6.1-lts Linux version. Big thanks to dumbbell@ and wulf@ for working on this update. Sponsored by: Beckhoff Automation GmbH & Co. KG66dec8f11b
graphics/drm-515-kmod: Bump PORTREVISION
Fixes: 81c08edd176c ("graphics/drm-515-kmod: Update to drm_v5.15.118_4")
Sponsored by: Beckhoff Automation GmbH & Co. KG30ef17812dgraphics/drm-515-kmod: Update to drm_v5.15.118_4 Fix build with upcoming LKPI. No code changes. Sponsored by: Serenity Cyber Security, LLC Approved by: x11 (manu, implicit)81c08edd17
graphics/drm-515-kmod: Update to v5.15.118_3 Fix backlight reset on i915 when external events happens (plugging charger, suspend/resume etc ...). Sponsored by: Beckhoff Automation GmbH & Co. KG8c505a02af
graphics/drm-515-kmod: Update to drm_v5.15.118_2 Fixes some memory accounting in dma-buf. Sponsored by: Beckhoff Automation GmbH & Co. KGe97a9e1fca
graphics/drm-515-kmod: Fix plist linuxkpi_gplv2.ko doesn't exists anymore. Reported by: jrm Sponsored by: Beckhoff Automation GmbH & Co. KG46b49a44fb
graphics/drm-515-kmod: Update to v5.15.118 Sponsored by: Beckhoff Automation GmbH & Co. KGe14404ac73
graphics/drm-515-kmod: Remove i386 and aarch64 This isn't supported for now so stop advertising that it does. Any patches to fix this is welcome. Sponsored by: Beckhoff Automation GmbH & Co. KG5eb7439453
graphics/drm-515-kmod: Update to drm_v5.15.25_5 - Fix callback allocation in dma-fence - Remove dep on non-existent opt_compat.h Sponsored by: Beckhoff Automation GmbH & Co. KG231fddc24b
graphics/drm-51*-kmod: Add Makefile.version Projects that live outside of drm-kmod (such as nvidia-drm) will need to query the version of drm-kmod built against in order to grab the correct sources. This adds a Makefile.version they can include to do so. Differential Revision: https://reviews.freebsd.org/D398854eef420a25
graphics/drm-515-kmod: Update to drm_v5.15.25_4 i915: Disable GuC by default on gen12+. It's known to be broken for us and upstream started to enable it by default for those platform. Sponsored by: Beckhoff Automation GmbH & Co. KGf27d43c5c2
graphics/drm-515-kmod: Update to drm_v5.15.25_3 - i915: Suggest installing gpu-firmware-kmod instaed of printing a link to the linux-firmware git repository if the firmware couldn't be loaded - Add linuxkpi_version.mk: This will help nvidia-drm to track which linux version it needs to be compatible with. Sponsored by: Beckhoff Automation GmbH & Co. KG104105e7ba
graphics/drm-515-kmod: Update to drm_v5.15.25_1 This uses the linuxkpi_hdmi helpers from base on CURRENT and also the devres addition to linuxkpi. Sponsored by: Beckhoff Automation GmbH & Co. KG0c1a56e3e3
graphics/drm-515-kmod: Add new port This port track drm code from Linux 5.15.25 Only FreeBSD-CURRENT is supported for now. Sponsored by: Beckhoff Automation GmbH & Co. KGe86cd62dba