CVE and update status of the FreeBSD ports tree3,864 unaddressed CVEs in 671 portsAll times are CET
Port details

graphics/nvidia-drm-kmod 595.112.07

NVIDIA DRM kernel module

Maintainer
x11@FreeBSD.org
Packages
latest: 595.104.02, update to 595.112.07 not built yet
Upstream
up to date
Last update
to 595.112.07 · e84e6046fe
Quarterly
2026Q4: 595.104.02
WWW
https://www.nvidia.com/object/unix.html
Links
cgit · VuXML

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 595.104.02.

Fixed (0)

No VuXML entries for this package.

Problem reports (4) · open in Bugzilla, most recently changed first

PRSummaryStatusChanged
296206regression graphics/nvidia-drm-kmod 595.80 breaks Wayland (wlroots) after upgrade to 15.1-RELEASE: "Found 0 GPUs" / "unable to open /dev/dri/card0 as KMS device"Open2026-08-08
296278maintainer-feedback- graphics/nvidia-drm-kmod: please make RUN_DEPENDS on x11/nvidia-driver optionalNew2026-06-25
293362maintainer-feedback? graphics/nvidia-drm-kmod: No devices on 15.0New2026-04-21
273311maintainer-feedback+ graphics/nvidia-drm-kmod (meta port): improve the COMMENT line of the Makefile, and the package descriptionNew2024-03-30

Commits (30)

Kevin Bowling (kbowling) · 595.112.07
graphics/nvidia-drm-kmod: Drop obsolete patch

On commit ports 3bcc752b87a2, supports for 15.0-RELEASE are dropped
in all ports.

Afterwards, graphics/nvidia-drm-kmod/Makefile.common still has
a conditional that could attempt to apply deleted patch.

Remove the whole affected conditional to avoid potential breakage
on attempting to override version.

PR:		299111
Differential Revision:	https://reviews.freebsd.org/D60289
e84e6046fe
Rene Ladan (rene) · 595.104.02
all: remove support for end-of-life FreeBSD 15.0

Differential Revision: https://reviews.freebsd.org/D58581
3bcc752b87
Kevin Bowling (kbowling) · 595.99.02
x11/nvidia-driver-devel, x11/nvidia-kmod-devel, x11/linux-nvidia-libs-devel, graphics/nvidia-drm*-kmod-devel: Update to 615.71.09

Update to latest New Feature Branch of drivers 615.71.09:
https://www.nvidia.com/en-us/drivers/details/278452/

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

Additional note:
Possibly vtys before invoking whichever of X11 or Wayland shifts
screen downward with about half character-based line, causing
command prompt at the bottom become hard to read.

Once X11 (tested only for xorg) or Wayland starts, it would be
fixed (on exitting X11 / Wayland or switching to vty from X11/
Wayland) until next restart of the computer.

This doesn't happen for everyone (among maintainance team of
NVIDIA GPU driver ports, only I myself am bitten).
So upgrading as-is.

The workaround is to switch to old-school configuration
without loading nvidia-drm.ko.
Forcibly flipping hw.nvidiadrm.modeset to 0 in /boot/loader.conf
and restart would also help.
But these workarounds may mean Wayland to become unusable.

And refreshing vty with Ctrl-L (unless mapped to non-default
functionalities) lets command line prompt at the top, thus,
this is not fatal anyway.

PR:		298428
Differential Revision:	https://reviews.freebsd.org/D59609
ea09eafd04
Kevin Bowling (kbowling) · 595.84
x11/nvidia-kmod-580, x11/nvidia-driver-580, x11/linux-nvidia-libs-580, graphics/nvidia-drm-*-kmod-580: Update to 580.173.02

Update Legacy version 580 series of drivers to 580.173.02.

Release 580 Entries

    Fixed a bug that caused delayed wakeups when multiple threads wait on the same Vulkan semaphore, leading to stutter and reduced performance in some applications
    Fixed a bug that could cause black screens after modesets in X11 applications using the Present extension.
    Fixed an issue where OpenGL buffers allocated with glBufferStorage and no storage flags were allowed to migrate from GPU memory to host memory.

For Linux counterpart:
Release 580 Entries

    Fixed a bug that could prevent DKMS kernel module builds from succeeding after installing with nvidia-installer.
    Fixed a bug that caused delayed wakeups when multiple threads wait on the same Vulkan semaphore, leading to stutter and reduced performance in some applications
    Fixed a bug that could cause black screens after modesets in X11 applications using the Present extension.
    Fixed an issue where OpenGL buffers allocated with glBufferStorage and no storage flags were allowed to migrate from GPU memory to host memory.

PR:		296445
Differential Revision:	https://reviews.freebsd.org/D58006
87d4e44a55
Kevin Bowling (kbowling) · 595.84
graphics/nvidia-drm-*-kmod*: Fix GPF in some configs

Fix General Protection Fault in __nv_drm_gem_nvkms_handle_vma_fault,
lkpi_vmf_insert_pnf_prot_locked, vm_page_busy_acquire in specific
configurations, notably KDE on Wayland.

PR:		296195
Reported by:	keivan@motavalli.me
Reviewed by:	ashafer
Tested by:	keivan@motavalli.me
Differential Revision:	https://reviews.freebsd.org/D57989

Co-authored by: ashafer@FreeBSD.org
1959aaa9de
Kevin Bowling (kbowling) · 595.80
x11/nvidia-driver, x11/nvidia-kmod, x11/linux-nvidia-libs, graphics/nvidia-drm*-kmod, x11/nvidia-settings, x11/nvidia-xconfig: Update to 595.80

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

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

PR:		295718
Differential Revision:	https://reviews.freebsd.org/D57358
e94bcef6b1
Kevin Bowling (kbowling) · 595.71.05_2
graphics/nvidia-drm-*-kmod: Add drm 6.12

Add new ports

graphics/nvidia-drm-612-kmod,
graphics/nvidia-drm-612-kmod-580 and
graphics/nvidia-drm-612-kmod-devel

and add conflicts to

graphics/nvidia-drm-{515|61|66|latest}-kmod{-580|-devel}

following the addition of graphics/drm-612-kmod.

While here, bump

graphics/nvidia-drm-latest-kmod,
graphics/nvidia-drm-latest-kmod-580 and
graphics/nvidia-drm-latest-kmod-devel

following the bump of graphics/drm-latest-kmod from 6.9 to 6.12.

Bump PORTREVISION of other graphics/nvidia-drm-*-kmod*
as of changes in CONFLICTS.

Match DRM driver version selection with graphics/drm-kmod.
Now 6.12 is default for OSVERSION >= 1500509 (stable/15, upcoming 15.1
and main) when installed using graphics/nvidia-drm-kmod{-580|-devel}
ports / pkgs.

PR:		295519
Differential Revision:	https://reviews.freebsd.org/D57206
536352bd7c
Kevin Bowling (kbowling) · 595.71.05_1
x11/nvidia-driver{-devel}, x11/nvidia-kmod{-devel}, x11/linux-nvidia-libs{-devel}, graphics/nvidia-drm*-kmod{-devel}, x11/nvidia-settings, x11/nvidia-xconfig: Update to 595.71.05

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

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

PR:		295058
Differential Revision:	https://reviews.freebsd.org/D56851
65f72b6850
Rene Ladan (rene) · 595.58.03_1
graphics/nvidia-drm-kmod: remove dependency on graphics/nvidia-drm-510-kmod* which is for FreeBSD 13.X only

Note that aarch64 and i386 are now explicitly unsupported.

Part of Phabricator D55624
c5c4a88fc0
Kevin Bowling (kbowling) · 595.58.03
graphics/nvidia-drm-*-kmod*: Fix build for 13.5, 14.3 and 15.0

Latest upgrade to 595.58.03 caused build failure as of
requirements for a stub function pm_vt_switch_required().

The commit introduced it is not MFC'ed to 13.5-RELEASE,
stable/13, 14.3-RELEASE and 15.0-RELEASE and unlikely
to be done as it's not a security fix, more, stable/13 is going
to be EoL'ed in 1 month.

As this function, defined in sys/compat/linuxkpi/common/linux/pm.h,
is still a blank, stub function even on main, drop the offending line
for affected versions, keeping as-is for versions which has it.

No PORTREVISION bumps, as this is build fix.

PR:		294096
Reported by:	alt2600@icloud.com
Reviewed by:	ashafer
MFH:		2026Q2
Differential Revision:	https://reviews.freebsd.org/D56214
a92d927574
Alexander Ziaee (ziaee) · 580.142
nvidia comments: Wordsmith

These days, Nvidia graphics is more platforms than just cards, more
renderers than just OpenGL, and more display protocols than just X.
It's also written in uppercase. This increases consistency, clarity,
and eliminates jarring line wrapping at reference column width 80.

PR:			293473 (graphics/nvidia-texture-tools)
PR:			293474 (sysutils/nvclock)
PR:			293475 (sysutils/py-nvitop)
Reviewed by:		amdmi3, ashafer, danfe, kbowling
Reviewed by:		Tomoaki Aoki <junchoon_dec.sakura.ne.jp>
Differential Revision:	https://reviews.freebsd.org/D55452
46aa077015
Kevin Bowling (kbowling) · 580.105.08
x11/nvidia-driver[-devel], x11/nvidia-kmod[-devel], x11/linux-nvidia-libs[-devel], graphics/nvidia-drm*-kmod[-devel], x11/nvidia-settings, x11/nvidia-xconfig: Update to 580.105.08

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

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

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.105.08, too.

PR:		290813
Differential Revision:	https://reviews.freebsd.org/D53596
2208426e57
Kevin Bowling (kbowling) · 580.95.05_1
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
877021f8be
Kevin Bowling (kbowling) · 580.95.05
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
7b1c88f42c
Kevin Bowling (kbowling) · 580.82.07_1
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],

* make x11/nvidia-driver[-304|-340|-390|470|-devel] depend upon
  newly introduced x11/nvidia-kmod[-304|-340|-390|470|-devel],

* bump consumers directly depending upon x11/nvidia-driver*
  as of dependency switches,

* and hook x11/nvidia-kmod[-304|-340|-390|470|-devel] to build.

Note that upgrading x11/nvidia-driver* from monolithic version
requires deinstallation of x11/nvidia-driver* before starting,
as both previous version of x11/nvidia-driver* and newly introduced
x11/nvidia-kmod* installs *.ko into same place.

PR:		288314
Approved by:	bapt (kmod repo)
Differential Revision:	https://reviews.freebsd.org/D52178
f4e907a492
Kevin Bowling (kbowling) · 570.169
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.
This is because, in some cases, major version of Production Branch
of drivers are bumped to larger than the one for corresponding
NFB.

So depending on the timing, *-devel 100% matches non-devel
master ports except for its package name.

Our upgrading policies are:

 1. Start investigating whether some additional works are needed to
 build/install/run or not when new Beta is found to be released
 upstream.

 2. If any additional works were needed and done, upgrade master ports
 below without updating version nor PORTREVISION of master ports below.

    x11/nvidia-driver x11/linux-nvidia-libs graphics/nvidia-drm-*-kmod

 and as needed, graphics/nvidia-drm-kmod/Makefile.common would be
 updated, too.

 3. Once findng new NFB is released upstream, bump versions of *-devel.
 Step 2 would "usually" ease this work unless Beta is skipped or
 last-minutes breaking changes are introduced.

 4. Once finding new Production Branch is released upstream, bump
 versions of master ports.

 5. Once finding any of Legacy Branch of driver is released upstream,
 upgrade corresponding legacy ports. This could need some additional
 work, because updated version could incorporate patches from our ports.

Note that graphics/nvidia-drm-*-kmod does NOT support any of
exisiting legacy versions, as they don't yet have codes to
support these ports.

PR:		287268
Differential Revision:	https://reviews.freebsd.org/D50697
c7cde11f84
Austin Shafer (ashafer) · 570.144
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
9b6b1bf172
Austin Shafer (ashafer) · 570.124.04
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
4792e34d7c
Kevin Bowling (kbowling) · 570.124.04
graphics/nvidia-drm-kmod: Bring under x11@ umbrella

Reported by:	Tomoaki AOKI
Differential Revision:	https://reviews.freebsd.org/D49657
75127c575c
Kevin Bowling (kbowling) · 570.124.04
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
9ff52cbdf4
Austin Shafer (ashafer) · 570.124.04
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
0de17c4dce
Kevin Bowling (kbowling)
x11/nvidia-driver, linux-nvidia-libs, nvidia-drm: Update to 550.127.05

Approved by:	blanket, Austin Shafer <ashafer@badland.io>
PR:		282312
4d5697a502
Rene Ladan (rene)
all: drop support for expired FreeBSD 14.0

Simplify expressions for FreeBSD 13.X

Reviewed by:	many

Differential Revision:	https://reviews.freebsd.org/D46601
4485bd8221
Charlie Li (vishwin)
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
307f754133
Emmanuel Vadot (manu)
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
3c7a5bf57d
Gleb Popov (arrowd)
graphics/nvidia-drm-kmod: Update to 550.54.14

Differential Revision: https://reviews.freebsd.org/D44073
71e92b26bd
Muhammad Moinur Rahman (bofh)
*/*: 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
bbab7f59e9
Jason E. Hale (jhale)
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
0d5a698e4b
Gleb Popov (arrowd)
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
dd3d402631
Gleb Popov (arrowd)
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
4754e9fd33