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
Remember
I remember
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details
nvidia-drm-kmod NVIDIA DRM Kernel Module
580.95.05_1 graphics on this many watch lists=3 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 580.95.05_1Version of this port present on the latest quarterly branch.
Maintainer: x11@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-08-20 17:57:08
Last Update: 2025-10-19 17:22:39
Commit Hash: 877021f
People watching this port, also watch:: opencv, lapce, ollama, openvsp, xxd
Also Listed In: kld
License: NA
WWW:
https://www.nvidia.com/object/unix.html
Description:
FreeBSD port of Linux's nvidia-drm.ko Kernel module.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (3 items)
Collapse this list.
  1. /usr/local/share/licenses/nvidia-drm-kmod-580.95.05_1/catalog.mk
  2. /usr/local/share/licenses/nvidia-drm-kmod-580.95.05_1/LICENSE
  3. /usr/local/share/licenses/nvidia-drm-kmod-580.95.05_1/NA
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • nvidia-drm-kmod>0:graphics/nvidia-drm-kmod
Conflicts:
CONFLICTS_INSTALL:
  • nvidia-drm-kmod*
To install the port:
cd /usr/ports/graphics/nvidia-drm-kmod/ && make install clean
To add the package, run one of these commands:
  • pkg install graphics/nvidia-drm-kmod
  • pkg install nvidia-drm-kmod
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: nvidia-drm-kmod
Flavors: there is no flavor information for this port.
distinfo:
There is no distinfo for this port.

Packages (timestamps in pop-ups are UTC):
nvidia-drm-kmod
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-580.95.05---n/an/an/a
FreeBSD:13:quarterly-580.95.05_1---n/an/an/a
FreeBSD:14:latest-580.95.05_1------
FreeBSD:14:quarterly-580.95.05_1------
FreeBSD:15:latest-580.95.05_1n/a-n/an/a--
FreeBSD:15:quarterly-580.95.05_1n/a-n/an/a--
FreeBSD:16:latest-580.95.05_1n/a-n/an/a--
Slave ports:
  1. graphics/nvidia-drm-kmod-devel
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Runtime dependencies:
  1. nvidia-drm.ko : graphics/nvidia-drm-61-kmod
  2. nvidia-driver>0 : x11/nvidia-driver
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
graphics_nvidia-drm-kmod
USES:
metaport
pkg-message:
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.

Master Sites:
  1. There is no master site for this port.

Number of commits found: 18

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
580.95.05_1
19 Oct 2025 17:22:39
commit hash: 877021f8be30ae3eeda01470ceff4307e9127f64commit hash: 877021f8be30ae3eeda01470ceff4307e9127f64commit hash: 877021f8be30ae3eeda01470ceff4307e9127f64commit hash: 877021f8be30ae3eeda01470ceff4307e9127f64 files touched by this commit
Kevin Bowling (kbowling) search for other commits by this committer
Author: Tomoaki AOKI
graphics/nvidia-drm-kmod[-devel]: Fix dependency for 15.0 and later

At commit ports 324e88dfe426, graphics/drm-kmod switches from
graphics/drm-61-kmod to graphics/drm-66-kmod for OSVERSION 1500031 and
later.

Chase the change not to mixup LinuxKPI 6.1 and 6.6 within
graphics/drm-kmod and graphics/nvidia-drm-kmod[-devel] on 15.0 and
later.

MFH:		2025Q4
Differential Revision:	https://reviews.freebsd.org/D53196
580.95.05
10 Oct 2025 19:39:04
commit hash: 7b1c88f42c7f4129bc96f405549f9e6b07bd6e3dcommit hash: 7b1c88f42c7f4129bc96f405549f9e6b07bd6e3dcommit hash: 7b1c88f42c7f4129bc96f405549f9e6b07bd6e3dcommit hash: 7b1c88f42c7f4129bc96f405549f9e6b07bd6e3d files touched by this commit
Kevin Bowling (kbowling) search for other commits by this committer
Author: Tomoaki AOKI
x11/nvidia-driver[-devel], x11/linux-nvidia-libs[-devel],
graphics/nvidia-drm*-kmod[-devel], x11/nvidia-settings, x11/nvidia-xconfig:
Update to 580.95.05

Update to latest Production Branch of drivers 580.95.05:
https://www.nvidia.com/en-us/drivers/details/254666/

Linux counterparts for x11/linux-nvidia-libs:
https://www.nvidia.com/en-us/drivers/details/254665/

As latest production branch of drivers is still newer than
the latest version of New Feature Branch [NFB] of drivers 575.64.05,
update -devel variants to 580.95.05, too.

PR:		289940
Reviewed by:	scf
Differential Revision:	https://reviews.freebsd.org/D52831
580.82.07_1
01 Oct 2025 06:07:31
commit hash: f4e907a492584bc31f9f3aa100a98a4e918dc7f4commit hash: f4e907a492584bc31f9f3aa100a98a4e918dc7f4commit hash: f4e907a492584bc31f9f3aa100a98a4e918dc7f4commit hash: f4e907a492584bc31f9f3aa100a98a4e918dc7f4 files touched by this commit
Kevin Bowling (kbowling) search for other commits by this committer
Author: Tomoaki AOKI
x11/nvidia-driver: Split kmod into x11/nvidia-kmod

Split out kmod part of x11/nvidia-driver into x11/nvidia-kmod,
including slave ports, to allow FreeBSD-kmods repo builders building
nvidia-related kmod ports.

In this update,

* split out *.ko from x11/nvidia-driver[-304|-340|-390|470|-devel]
  into corresponding x11/nvidia-kmod[-304|-340|-390|470|-devel],

* switch dependency of graphics/nvidia-drm-*-kmod upon
  x11/nvidia-driver[-devel] to newly introduced
  x11/nvidia-kmod[-devel],
(Only the first 15 lines of the commit message are shown above View all of this commit message)
570.169
22 Jun 2025 09:56:05
commit hash: c7cde11f842b33bb36b85b91400bec795430c421commit hash: c7cde11f842b33bb36b85b91400bec795430c421commit hash: c7cde11f842b33bb36b85b91400bec795430c421commit hash: c7cde11f842b33bb36b85b91400bec795430c421 files touched by this commit
Kevin Bowling (kbowling) search for other commits by this committer
Author: Tomoaki AOKI
x11/nvidia-driver-devel, x11/linux-nvidia-libs-devel,
graphics/nvidia-drm[,510,515,61,66]-kmod-devel: Add new ports

Add *-devel versions of nvidia drivers

These ports provides supports for New Feature Branch (NFB) of upstream
nvidia drivers like existing legacy branches of ports.

In some cases, supports for cutting edge GPUs are provided via
NFB of driver packages or Beta branch of drivers.

As Beta Branch of drivers cannot be recommended widely, we decided to
add support for NFB as *-devel version.

This new *-devel versions tracks the latest non-Beta versions
regardless it's NFB or Production Branch of drivers.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
570.144
07 May 2025 14:01:21
commit hash: 9b6b1bf17269ed32eb0ec415bedad5fba7ebab2ecommit hash: 9b6b1bf17269ed32eb0ec415bedad5fba7ebab2ecommit hash: 9b6b1bf17269ed32eb0ec415bedad5fba7ebab2ecommit hash: 9b6b1bf17269ed32eb0ec415bedad5fba7ebab2e files touched by this commit
Austin Shafer (ashafer) search for other commits by this committer
Author: Tomoaki AOKI
x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-kmod: Update to
570.144

This updates the NVIDIA ports to the latest stable production branch.
Also bump graphics/egl-wayland to the latest 1.1.19 to match with
the one in x11/linux-nvidia-libs.

PR: 286307
Approved by:    ashafer, kbowling (mentor)
Differential Revision:	https://reviews.freebsd.org/D49982
570.124.04
22 Apr 2025 20:05:54
commit hash: 4792e34d7c851e916fccb92e59b02d409b448a04commit hash: 4792e34d7c851e916fccb92e59b02d409b448a04commit hash: 4792e34d7c851e916fccb92e59b02d409b448a04commit hash: 4792e34d7c851e916fccb92e59b02d409b448a04 files touched by this commit
Austin Shafer (ashafer) search for other commits by this committer
Author: SHENG-YI HONG
graphics/nvidia-drm-kmod: fix message typo

This corrects a typo in pkg-message.

Reviewed by:	ashafer, kbowling
Differential Revision:	https://reviews.freebsd.org/D49915
570.124.04
04 Apr 2025 17:43:42
commit hash: 75127c575c626ac99dec5680d1cb8143cab56e7fcommit hash: 75127c575c626ac99dec5680d1cb8143cab56e7fcommit hash: 75127c575c626ac99dec5680d1cb8143cab56e7fcommit hash: 75127c575c626ac99dec5680d1cb8143cab56e7f files touched by this commit
Kevin Bowling (kbowling) search for other commits by this committer
graphics/nvidia-drm-kmod: Bring under x11@ umbrella

Reported by:	Tomoaki AOKI
Differential Revision:	https://reviews.freebsd.org/D49657
570.124.04
04 Apr 2025 07:06:32
commit hash: 9ff52cbdf482bf9da124fa9f3603c99ed45a646ccommit hash: 9ff52cbdf482bf9da124fa9f3603c99ed45a646ccommit hash: 9ff52cbdf482bf9da124fa9f3603c99ed45a646ccommit hash: 9ff52cbdf482bf9da124fa9f3603c99ed45a646c files touched by this commit
Kevin Bowling (kbowling) search for other commits by this committer
nvidia*: Bring under x11@ umbrella

This brings all nvidia ports under x11@ per some previous comments from
danfe@ and manu@.

The expectation for commits will be a simple quorum of interested people
(i.e. danfe, ashafer, kbowling) for peer review and commit.

Since the nvidia-secondary driver is chained off the main one, the
current maintainer has been notified of the change and can still
participate via freebsd-x11@ and project tools but it does not make
sense to have it differentiated.

Approved by:	danfe, manu
570.124.04
17 Mar 2025 21:49:50
commit hash: 0de17c4dce28156a28cb89db200db0b804ebff65commit hash: 0de17c4dce28156a28cb89db200db0b804ebff65commit hash: 0de17c4dce28156a28cb89db200db0b804ebff65commit hash: 0de17c4dce28156a28cb89db200db0b804ebff65 files touched by this commit
Austin Shafer (ashafer) search for other commits by this committer
Author: Tomoaki AOKI
x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-kmod: update to
570.124.04

This updates the NVIDIA ports to the latest stable production branch.
Also bump egl-wayland to the latest 1.1.18.

Submitted by: Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
Reviewed by: ashafer
Approved by: kbowling(mentor), maintainer timeout (danfe, x11)
Differential Revision:	https://reviews.freebsd.org/D49245
550.127.05
29 Oct 2024 18:37:31
commit hash: 4d5697a5022f9846836a0185bda68557fd6f364bcommit hash: 4d5697a5022f9846836a0185bda68557fd6f364bcommit hash: 4d5697a5022f9846836a0185bda68557fd6f364bcommit hash: 4d5697a5022f9846836a0185bda68557fd6f364b files touched by this commit
Kevin Bowling (kbowling) search for other commits by this committer
Author: Tomoaki AOKI
x11/nvidia-driver, linux-nvidia-libs, nvidia-drm: Update to 550.127.05

Approved by:	blanket, Austin Shafer <ashafer@badland.io>
PR:		282312
550.120
01 Oct 2024 18:56:20
commit hash: 4485bd8221c2c5630b87826d37da850b3361b782commit hash: 4485bd8221c2c5630b87826d37da850b3361b782commit hash: 4485bd8221c2c5630b87826d37da850b3361b782commit hash: 4485bd8221c2c5630b87826d37da850b3361b782 files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: drop support for expired FreeBSD 14.0

Simplify expressions for FreeBSD 13.X

Reviewed by:	many

Differential Revision:	https://reviews.freebsd.org/D46601
550.54.14
04 Aug 2024 23:46:00
commit hash: 307f75413336d33a6570616e5e2af3b659e2951dcommit hash: 307f75413336d33a6570616e5e2af3b659e2951dcommit hash: 307f75413336d33a6570616e5e2af3b659e2951dcommit hash: 307f75413336d33a6570616e5e2af3b659e2951d files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
Author: Austin Shafer
graphics/nvidia-drm-kmod: prepare for 555 update

This makes a patch ignored on the newer 555 versions, which now ship with
it. Also match the behavior or nvidia-drm-kmod to drm-kmod, selecting
drm-61-kmod on 14.

Differential Revision: https://reviews.freebsd.org/D45400
550.54.14
14 Mar 2024 17:42:40
commit hash: 3c7a5bf57d674ad3724b7b695f5a1887230f4f26commit hash: 3c7a5bf57d674ad3724b7b695f5a1887230f4f26commit hash: 3c7a5bf57d674ad3724b7b695f5a1887230f4f26commit hash: 3c7a5bf57d674ad3724b7b695f5a1887230f4f26 files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
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. KG
535.146.02
27 Feb 2024 15:48:19
commit hash: 71e92b26bd43763a7b82208625e628f043858fa7commit hash: 71e92b26bd43763a7b82208625e628f043858fa7commit hash: 71e92b26bd43763a7b82208625e628f043858fa7commit hash: 71e92b26bd43763a7b82208625e628f043858fa7 files touched by this commit
Gleb Popov (arrowd) search for other commits by this committer
Author: Austin Shafer
graphics/nvidia-drm-kmod: Update to 550.54.14

Differential Revision: https://reviews.freebsd.org/D44073
535.104.05
31 Dec 2023 00:37:05
commit hash: bbab7f59e9630416397189df70ec133bdd690e38commit hash: bbab7f59e9630416397189df70ec133bdd690e38commit hash: bbab7f59e9630416397189df70ec133bdd690e38commit hash: bbab7f59e9630416397189df70ec133bdd690e38 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree

- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
  ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
  Also move conditional flags for non sparc64/arm ARCH to fixed flags.

Reviewed by:	brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
535.104.05
29 Oct 2023 14:22:46
commit hash: 0d5a698e4b4c31d7bdc94c11077109f74cdaceffcommit hash: 0d5a698e4b4c31d7bdc94c11077109f74cdaceffcommit hash: 0d5a698e4b4c31d7bdc94c11077109f74cdaceffcommit hash: 0d5a698e4b4c31d7bdc94c11077109f74cdaceff files touched by this commit
Jason E. Hale (jhale) search for other commits by this committer
graphics/nvidia-drm-kmod: Fix fetch

After e97a9e1fca31, graphics/nvidia-drm-515-kmod no longer fetches
because PORTREVISION was added to the Makefile. Since NVIDIA_GH_TAGNAME
was being derived from PKGNAME, adding PORTREVISION inadvertently
changed GH_TAGNAME for the port, therefore it did not match distinfo.

=> amshafer-nvidia-driver-535.104.05-nvidia-drm-515-kmod-535.104.05_1_GH0.tar.gz
is not in /usr/ports/graphics/nvidia-drm-515-kmod/distinfo.
=> Either /usr/ports/graphics/nvidia-drm-515-kmod/distinfo is out of date, or
=> amshafer-nvidia-driver-535.104.05-nvidia-drm-515-kmod-535.104.05_1_GH0.tar.gz
is spelled incorrectly.
*** Error code 1

Approved by:	portmgr (blanket)
MFH:		2023Q4
535.98
01 Sep 2023 16:16:56
commit hash: dd3d40263140265bb9ac5c855230fcde9f628c3ecommit hash: dd3d40263140265bb9ac5c855230fcde9f628c3ecommit hash: dd3d40263140265bb9ac5c855230fcde9f628c3ecommit hash: dd3d40263140265bb9ac5c855230fcde9f628c3e files touched by this commit
Gleb Popov (arrowd) search for other commits by this committer
Author: Austin Shafer
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:	arrowd
535.98
20 Aug 2023 17:54:07
commit hash: 4754e9fd33c4fae0359a272d72d9aa7fe75c7a82commit hash: 4754e9fd33c4fae0359a272d72d9aa7fe75c7a82commit hash: 4754e9fd33c4fae0359a272d72d9aa7fe75c7a82commit hash: 4754e9fd33c4fae0359a272d72d9aa7fe75c7a82 files touched by this commit
Gleb Popov (arrowd) search for other commits by this committer
Author: Austin Shafer
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:	arrowd

Number of commits found: 18