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/D60289e84e6046fe
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
| PR | Summary | Status | Changed |
|---|---|---|---|
| 296206 | regression 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" | Open | 2026-08-08 |
| 296278 | maintainer-feedback- graphics/nvidia-drm-kmod: please make RUN_DEPENDS on x11/nvidia-driver optional | New | 2026-06-25 |
| 293362 | maintainer-feedback? graphics/nvidia-drm-kmod: No devices on 15.0 | New | 2026-04-21 |
| 273311 | maintainer-feedback+ graphics/nvidia-drm-kmod (meta port): improve the COMMENT line of the Makefile, and the package description | New | 2024-03-30 |
Commits (30)
all: remove support for end-of-life FreeBSD 15.0 Differential Revision: https://reviews.freebsd.org/D585813bcc752b87
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/D59609ea09eafd04
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/D5800687d4e44a55graphics/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.org1959aaa9de
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/D57358e94bcef6b1
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/D57206536352bd7cx11/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/D5685165f72b6850graphics/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 D55624c5c4a88fc0
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/D56214a92d927574
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/D5545246aa077015
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/D535962208426e57
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/D53196877021f8be
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/D528317b1c88f42c
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/D52178f4e907a492
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/D50697c7cde11f84x11/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/D499829b6b1bf172
graphics/nvidia-drm-kmod: fix message typo This corrects a typo in pkg-message. Reviewed by: ashafer, kbowling Differential Revision: https://reviews.freebsd.org/D499154792e34d7c
graphics/nvidia-drm-kmod: Bring under x11@ umbrella Reported by: Tomoaki AOKI Differential Revision: https://reviews.freebsd.org/D4965775127c575c
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, manu9ff52cbdf4
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/D492450de17c4dce
x11/nvidia-driver, linux-nvidia-libs, nvidia-drm: Update to 550.127.05 Approved by: blanket, Austin Shafer <ashafer@badland.io> PR: 2823124d5697a502
all: drop support for expired FreeBSD 14.0 Simplify expressions for FreeBSD 13.X Reviewed by: many Differential Revision: https://reviews.freebsd.org/D466014485bd8221
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/D45400307f754133
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
*/*: 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/D42068bbab7f59e9
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: 2023Q40d5a698e4b
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