graphics/nvidia-drm-515-kmod: Fix build on CURRENT with iosys-map.h Commit f8ab2f5bae1d added the linux/iosys-map.h header to base in order to support 5.18+ versions of drm-kmod. This messes with nvidia-drm's conftest logic as on recent enough CURRENT versions it will see iosys-map and assume it can use it, but the drm-kmod version in use is 5.15, which wants to use the older dma_buf_map. This adds a patch on the port side to override nvidia-drm's detector and force the use of dma_buf_map on the 5.15 port. Differential Revision: https://reviews.freebsd.org/D43234fe705ac087
Port details
graphics/nvidia-drm-515-kmod 595.112.07.1501000
NVIDIA DRM Kernel Module
Port info
- Maintainer
- x11@FreeBSD.org
- Packages
- latest: 595.104.02.1501000, update to 595.112.07.1501000 not built yet
- Upstream
- up to date
- Last update
- to 595.112.07.1501000 · 1283580731
- Quarterly
- 2026Q4: 595.104.02.1501000
- WWW
- https://www.nvidia.com/object/unix.html
- Links
- cgit · VuXML
Install
- Package
# pkg install nvidia-drm-515-kmodinstalls 595.104.02.1501000 fromlatest; fromquarterly(2026Q4) 595.104.02.1501000- Port
# cd /usr/ports/graphics/nvidia-drm-515-kmod && make install clean- Size
- 55 KiB download · 185 KiB installed
- Depends on
- graphics/drm-515-kmod 5.15.160.1501000_11, x11/nvidia-kmod 595.104.02.1501000
- License
- NVIDIA
- pkg-message
Shown after installing
Modesetting must be enabled to use nvidia-drm.ko for graphics. This can be done by setting the modeset sysctl, the equivalent of the modeset kernel parameter on Linux. hw.nvidiadrm.modeset=1 This must be set before loading nvidia-drm.ko, most easily done by placing the above in /boot/loader.conf.
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | ✗ | ✗ | – |
| FreeBSD 15 | 595.104.02.1501000 | ✗ | – |
| FreeBSD 14 | 595.104.02.1404000 | ✗ | ✗ |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 595.104.02.1501000 | ✗ | – |
| FreeBSD 14 | 595.104.02.1404000 | ✗ | ✗ |
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 595.104.02.1501000.Fixed (0)
No VuXML entries for this package.
Problem reports (0) · open in Bugzilla, most recently changed first
None.
Commits (59)
graphics/nvidia-drm-{510,515}-kmod: bump distinfo after graphics/drm-{510,515}-kmod update
Discussed with: maintainerb8c2854f2fgraphics/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/nvidia-drm-515-kmod: Remove dependency on linuxkpi_gplv2.ko This fixes a failure on module load for nvidia-drm.ko as a result of linuxkpi_gplv2.ko being removed from drm-kmod in 5.15. For now we just remove the dependency in the nvidia-drm 515 port to unbreak things, I'll create a longer-term upstream fix. PR: 274910 Reviewed by: arrowd Differential Revision: https://reviews.freebsd.org/D424840a0e141da5
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/nvidia-drm-515-kmod: Chase drm-kmod 5.15.118 update. Reviewed By: arrowd Differential Revision: https://reviews.freebsd.org/D42267ade14c9a20
x11/nvidia-driver, x11/linux-nvidia-libs, nvidia-drm-*-kmod: update to 535.104.05 PR: 273357 Approved by: danfea3727749f7
nvidia-drm-kmod: Update with fix for PRIME This updates the nvidia-drm ports to contain the fix for https://github.com/amshafer/nvidia-driver/issues/20 Also updates the port Makefiles to use CONFLICTS_INSTALL to resolve PR 273261, and adds PORTREVISION to the github tag referenced. Differential Revision: https://reviews.freebsd.org/D41591 PR: 273261 Tested by: arrowddd3d402631
graphics/nvidia-drm-[510,515]-kmod: Add the port. This port provides the nvidia-drm.ko kernel module, as ported here: https://github.com/amshafer/nvidia-driver This module implements the DRM API, which is commonly used for PRIME and Wayland setups. Differential Revision: https://reviews.freebsd.org/D41497 Reviewed by: arrowd4754e9fd33