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

x11/nvidia-driver 595.112.07

NVIDIA graphics driver userland

Port info

Maintainer
x11@FreeBSD.org
Packages
latest: nvidia-driver 595.104.02, xlibre-nvidia-driver 595.104.02, update to 595.112.07 not built yet
Upstream
Higher version available: 615.78.08
Last update
to 595.112.07 · 1283580731
Quarterly
2026Q4: nvidia-driver 595.104.02, xlibre-nvidia-driver 595.104.02
WWW
https://www.nvidia.com/object/unix.html
Links
cgit · VuXML · Report wrong data

Install

Package
# pkg install nvidia-driver
# pkg install xlibre-nvidia-driver
installs nvidia-driver 595.104.02, xlibre-nvidia-driver 595.104.02 from latest; from quarterly (2026Q4) nvidia-driver 595.104.02, xlibre-nvidia-driver 595.104.02
Port
# cd /usr/ports/x11/nvidia-driver && make install clean
# make -C /usr/ports/x11/nvidia-driver config  # change options first
Size
88 MiB download · 318 MiB installed
Depends on
graphics/egl-wayland 1.1.24, graphics/egl-wayland2 1.0.2, graphics/egl-x11 1.0.6, graphics/libglvnd 1.7.0, x11-servers/xorg-server 21.1.25,1, x11/libX11 1.8.14,1, x11/libXext 1.3.7,1, x11/nvidia-kmod 595.104.02.1501000
License
NVIDIA
Options
1 of 1 on in the package: DOCS
Note
Size, dependencies, options and messages are those of nvidia-driver.

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 16595.104.02✗–
FreeBSD 15595.104.02✗–
FreeBSD 14595.104.02✗✗

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 15595.104.02✗–
FreeBSD 14595.104.02✗✗

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.

Fixed (6)

Show 6 fixed
VuXML entries whose affected range the packaged version has left.

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

PRSummaryStatusChanged
286313maintainer-feedback? x11/nvidia-driver: Doesn't support the GL_OES_EGL_image GL extensionNew2026-09-06
298063maintainer-feedback? x11/nvidia-driver since 595.99.02 update cannot return to terminal from xNew2026-09-04
216050needs-qa maintainer-feedback? x11/nvidia-driver: kernel module fails on vt() to load: link_elf_obj: symbol sc_get_softc undefinedOpen2026-08-02
277365maintainer-feedback? x11/nvidia-driver: Allow building without syscons(4) supportNew2026-08-02
277364maintainer-feedback? x11/nvidia-driver: kernel panic: "NVRM: rm_init_rm() failed" after update to 550.54.14New2026-02-21
Show all 11
PRSummaryStatusChanged
212638needs-qa maintainer-feedback? emulators/virtualbox-ose-kmod & x11/nvidia-driver no longer build with NO_MODULESOpen2026-01-06
287894maintainer-feedback? x11/nvidia-driver: panic on exit from XorgNew2025-08-09
277827maintainer-feedback? x11/nvidia-driver: NVidia driver causes kernel crash during boot when it is loaded from /boot/loader.confNew2025-07-25
284640maintainer-feedback? x11/nvidia-driver: 570.86.16.1500031 relics on WQHD screenNew2025-07-25
282308maintainer-feedback? x11/nvidia-driver: NVIDIA MEM resource alloc failedNew2025-04-28
286383maintainer-feedback? x11/nvidia-driver: Intermittent "xid 16 (Display engine hung)" failures with new driver version 570.124.04New2025-04-27

Commits (368)

Alexey Dokuchaev (danfe) · 460.80
x11/{linux-nvidia-libs,nvidia-driver}{,-390}: update to the latest versions
0da842ecc8
Alexey Dokuchaev (danfe) · 460.73.01
Unbreak nVidia driver build against new feature branch 465.xx, which now includes Vulkan driver for FreeBSD.

We do not offer short-lived/beta driver versions as a port or package,
but we try to support building against arbitrary DISTVERSIONs.  Add a
note about it and sort Linux libraries' port pkg-plist while I'm here.

PR:	254668
22a47a0e04
Alexey Dokuchaev (danfe) · 460.73.01
Update nVidia driver, Linux libraries, and tools to version 460.73.01, which had added support for the following GPUs:

- RTX A4000 and RTX A5000
  - T400, T600, and T1000

PR:	254668
eb57a9e661
Mathieu Arnold (mat) · 460.67
all: Remove all other $FreeBSD keywords.
135fdeebb9
Mathieu Arnold (mat) · 460.67
Remove # $FreeBSD$ from Makefiles.
305f148f48
Alexey Dokuchaev (danfe) · 460.67
Update to version 460.67.

Reported by:	portscout
a399277b4f
Alexey Dokuchaev (danfe) · 460.56
Update NVidia mainline driver to version 460.56, which had:

- Added support for GeForce RTX 3060
- Fixed a regression that could cause display corruption when using
  a scaled resolution after resuming from power management suspend

PR:		253863
Submitted by:	jkim
8fe7a350a5
Alexey Dokuchaev (danfe) · 460.39_2
Split another patch I've missed in r564088 which is needed for 460.xx.

Reported by:	dhw
Analyzed by:	avg
8b7d1fbda2
Alexey Dokuchaev (danfe) · 460.39_1
Forward-port ``extra-patch-src-nvidia_ctl.c'' patch to 460.xx branch, I somehow missed it when rebasing other changes.  While here, flatten and rename 460-* patches, they do not need %%NVSRC%% substitution.

Pointy hat to:	danfe
48c3156500
Alexey Dokuchaev (danfe) · 460.39
Update nVidia main driver, Linux libraries, and tools to version 460.36.

PR:	249505, 250277
bc4f906a66
Alexey Dokuchaev (danfe) · 440.100_1
Use more robust logic to remove the first #if __FreeBSD_version check so we can support officially unsupported versions (e.g. -CURRENT), hardcoded line numbers would no longer work after coming update to version 460.xx.
c3c9e695ea
Alexey Dokuchaev (danfe) · 440.100_1
Move the comment inside the patch file, as it now only applies to one particular hunk, and there are several unrelated changes in that file. While here, explain why LICENSE_FILE is set in the consumer ports.
6b8afacae7
Alexey Dokuchaev (danfe) · 440.100_1
Update to version 390.141.
3a6e2989cd
Emmanuel Vadot (manu) · 440.100_1
Fix nvidia-driver* after r548950

Now that mesa include glesv1 lib, remove the nvidia generic named lib
and add more entries in libmap.conf so the nvidia ones are used.

PR:		249448
Reported by:	VVD <vvd@unislabs.com>
07ef89b5a8
Alexey Dokuchaev (danfe) · 440.100
Update NVidia drivers and auxiliary utilities to their latest versions and transfer maintainership of the latter to the graphics team (x11).
16eef2f167
Mateusz Piotrowski (0mp) · 440.82_2
Do not mention loading modules via loader.conf

It is generally discouraged to load graphics kernel modules via
loader.conf(5). According to kevans@, loading Nvidia modules like this is
fragile for UEFI on FreeBSD <= 12.1. It might work, but those modules are
large and the loader's staging area is insufficient to contain kernel,
Nvidia modules, and much of anything else at the same time.

Also, while here, encourage people to use sysrc to modify the contents of
rc.conf(5).

Reviewed by:	danfe
Approved by:	maintainer (danfe)
Differential Revision:	https://reviews.freebsd.org/D25506
742116b6d5
Alexey Dokuchaev (danfe) · 440.82_1
- When WITH_DEBUG is set, pass through DEBUG_FLAGS to the kmod build - While here, remove old gimmicks of having to explicitly set NVIDIA_ROOT   and pass down X11BASE (all drivers use LOCALBASE since versions 304.125   and 310.51)

Differential Revision:	https://reviews.freebsd.org/D24836
685d58b21a
Jan Beich (jbeich) · 440.82_1
x11/nvidia-driver: stop installing files egl-wayland does

PR:		244087
Approved by:	maintainer timeout (2 months)
e0dd5a4220
Alexey Dokuchaev (danfe) · 440.82
Update to version 440.82.

PR:	245454
bbda0de8bf
Alexey Dokuchaev (danfe) · 440.64
Update to version 440.64.
71e36c7e90
Alexey Dokuchaev (danfe) · 440.59
Update nVidia drivers to their most recent versions.  The prominent change is that 32-bit libraries are now provided with the 4xx driver versions, so games should work under Wine.

PR:	242177
ac71af8e95
Niclas Zeising (zeising) · 440.31_1
Update xorg x11 servers to 1.20.7

Update xorg x11 servers to 1.20.7.  This updates x11-servers/xorg-server,
xephyr, xorg-dmx, xorg-nestserver, xorg-vbserver and xwayland.

Enable the UDEV backend by default, instead of the DEVD backend, for
autoconfiguration of input devices on FreeBSD 12 and later.
FreeBSD 11 lacks the needed support in base and will keep on using the DEVD
backend.
Support for the HAL backend is dropped completely, it has been deprecated
for a long time.
Update and improve the DEVD backend.
Add a pkg message about sysctl configuration that might be needed when using
UDEV.

Use the upstream fix for glamour issues.

Use evdev xkb rules by default in xwayland [2]

Add x11-drivers/xf86-input-libinput to the list installed by default by
x11-drivers/xorg-drivers.

Fix net/tigervnc-server and emulators/virtualbox-ose

Bump portrevision of all x11 drivers, as well as other ports dependent on
xorg-server.

This represents work by many people over a long period.  These include
wulf, ak, dumbbell, hselasky pete AT nomadlogic DOT org, jbeich, manu,
myself and possibly others (I tried to look through history, but might have
missed people. If so, I am sorry.)

PR:             196678 [1], 244129 [2]
Submitted by:   hselasky, wulf [1], jbeich [2]
Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xserver-1.20 (in part)
4b9c697c26
Alexey Dokuchaev (danfe) · 440.31
- Update `x11/nvidia-driver' to version 440.31 - Remove USE_GL+=gl, it is GL provider itself
4d55756934
Alexey Dokuchaev (danfe) · 430.50
Update NVidia driver to the latest long lived branch version 430.50.

PR:	232645, 241307
560398726e
Alexey Dokuchaev (danfe) · 410.104
- Update NVidia mainline driver to version 410.104, the latest in   the 410.xx series and the last without full Wayland support - Move 390.xx to corresponding legacy slave port and update to the   latest version 390.129

PR:	232645
836cc2b180
Alexey Dokuchaev (danfe) · 390.87_4
Prune Linux entries from distinfo which are not needed after r515584 and remove now no-op EXTRACT_ONLY knob.
41584e3aae
Alexey Dokuchaev (danfe) · 390.87_4
Uncomment OPTIONS_DEFAULT which I forgot to remove in the previous commit. While here, do not pass `-f' to ${RM} which already includes it and minor wording improvements in the comment.
c6fd704fe9
Alexey Dokuchaev (danfe) · 390.87_4
Move Linux versions of NVidia graphics libraries (OpenGL/GLX/EGL/GLES/GLVND) to its own ports instead of abusing the driver ports and making maintenance thereof a nightmare.  This is also what most, if not all, GNU/Linux distros do, allows to properly annotate ports with correct CATETORIES, USES, macros like NO_BUILD etc., and greatly simplify Makefiles and distinfo files.
fb71fd7b4c
Alexey Dokuchaev (danfe) · 390.87_3
In sight of upcoming updates, move some common code and knobs to separate file, to allow inclusion from different ports.  No functional changes.
4c113d5aab
Mathieu Arnold (mat) · 390.87_3
Convert to UCL & cleanup pkg-message (categories x)
467ad301e8
Tijl Coosemans (tijl) · 390.87_3
Use LINUX_DEFAULT unmodified.  The _64 suffix is no longer used.  Also compare with c6 instead of c7 because c6 is expected to be the only distribution that doesn't use libglvnd from now on.
814e54bde9
Tijl Coosemans (tijl) · 390.87_3
On amd64 adding DEFAULT_VERSIONS+=linux=c6 to /etc/make.conf made Linux infrastructure ports (linux_base-c6 and linux-c6*) install i386 CentOS 6 packages.  Using c6_64 instead of c6 made them install mixed amd64/i386 CentOS 6 packages and allowed Linux application ports to install amd64 binaries when available.  The i386-only configuration was only useful for users of x11/nvidia-driver* which didn

With x11/nvidia-driver* now supporting Linux amd64 there's no longer a
need for i386-only Linux on amd64.  Let DEFAULT_VERSIONS+=linux=c6 make
Linux infrastructure ports install mixed amd64/i386 CentOS 6 packages,
like c6_64 before, and remove support for c6_64 as a value.

Replace LINUX_ARCH with ARCH everywhere because they are always the same
now.
7003875294
Tijl Coosemans (tijl) · 390.87_3
Update CentOS 7 ports to 7.6.1810.

This adds some new ports:
converters/linux-c7-fribidi required by x11-toolkits/linux-c7-pango.
graphics/linux-c7-libglvnd required by graphics/linux-c7-dri.
graphics/linux-c7-wayland required by graphics/linux-c7-dri.
print/linux-c7-freetype unbundled from emulators/linux_base-c7 because it
depends on graphics/linux-c7-png now.

Mesa OpenGL libraries in graphics/linux-c7-dri now support libglvnd (GL
Vendor-Neutral Dispatch library) which allows some applications to use
Mesa while others use Nvidia OpenGL.  The x11/nvidia-driver* ports have
been changed so versions above 390.42 now use CentOS libglvnd and no longer
install a bundled copy.

PR:		229431
Submitted by:	pkubaj (partly)
f099d068fc
Alexey Dokuchaev (danfe) · 390.87_2
Unbreak the build after base (src) r347984.

PR:	238018
Differential Revision:	https://reviews.freebsd.org/D20350
78b555aea6
Tijl Coosemans (tijl) · 390.87_2
Recreate symlinks instead of renaming them, so they point to the right file.

PR:		226403
Submitted by:	Tatu Kilappa <tatu.kilappa@iki.fi>
Approved by:	maintainer timeout (10 months)
5ed30a038c
Tijl Coosemans (tijl) · 390.87_1
Install both 32 bit and 64 bit Linux libraries from the official Linux driver distribution instead of the ones bundled with the FreeBSD driver which are incomplete and 32 bit only.  This makes amd64 Linux OpenGL programs work on FreeBSD 12.0 and recent 11-STABLE.  This does not enable CUDA.

- Initialise DISTFILES so a file can be added by the LINUX option.
- Set EXTRACT_ONLY because the file added by the LINUX option is a
  self-extracting archive handled in post-extract.
- The patches for <355.06 and >=355.06 are identical except for the path.
  Keep only one set (listed in SUB_PATCHES) because more patches have been
  added.  Modify their path in pre-patch.  The patches have been renamed
  from extra-patch-* to extra-patch-*.in.
- Set OPTIONS_SUB and use option helpers for the LINUX option.
- Define LINUX_ARCH_SUFX like ARCH_SUFX because LINUX_ARCH can be i386 on
  amd64.
- Set LINUX_LIBDIR to the main lib directory: (/compat/linux)/usr/lib on
  i386 and (/compat/linux)/usr/lib64 on amd64.  (The compat32 directory is
  (/compat/linux)/usr/lib.)
- Define LINUX_LIBS, LINUX_LINKS, LINUX32_LIBS, LINUX32_LINKS, LINUX_PROGS,
  LINUX_MANS, and LINUX_DATA for all driver versions from 304.137 to 390.87.
  LINUX_LIBS and LINUX32_LIBS contain main libraries (i386/amd64) and
  compat32 libraries respectively.  These are installed with INSTALL_LIB in
  post-install.  LINUX_LINKS and LINUX32_LINKS contain symbolic link sources
  and their target.  LINUX_PROGS are binaries installed with
  INSTALL_PROGRAM.  LINUX_MANS are manuals installed with INSTALL_MAN.
  LINUX_DATA are data files and their destination, installed with
  INSTALL_DATA.  The .if blocks for the different versions are sorted
  alphabetically on the first file.
- Define PLIST_RE for all versions.  These are sed commands applied to
  TMPPLIST in post-install.
- Include bsd.port.pre.mk instead of bsd.port.options.mk to obtain
  LINUX_ARCH.
- Adjust post-patch to disable installation of Linux libraries bundled with
  the FreeBSD driver.
- Add post-patch-LINUX-on to setup nvidia_icd.json like nvidia-installer
  does on Linux.
- Adjust existing post-install TMPPLIST edits to apply only to non-Linux
  files.
- Add post-install-LINUX-on to install the Linux files.
- Add files/extra-patch-src-nvidia_ctl.c.in and
  extra-patch-src-nvidia_dev.c.in.  These patches make Linux stat(2) return
  the right major and minor number for /dev/nvidiactl and /dev/nvidia[0-9]+.
  Recent versions of the Linux libraries verify these. [1]  Define the
  struct passed to linux_device_register_handler on the stack in
  nvidia_*_attach instead of as a global variable in case multiple graphics
  cards are attached in parallel.
- Add files/extra-patch-src-nvidia_linux.c.in.  It rewrites the Linux ioctl
  handler.  The current implementation does not copyin arguments leading to
  kernel panics on FreeBSD 12 on machines that support Supervisor Mode
  Access Prevention (SMAP).
- Add files/extra-patch-src-nvidia_pci.c.in.  It adds a dependency on the
  linux_common kernel module for linux_device_register_handler.
- Modify files/extra-patch-src_nvidia-modeset_nvidia-modeset-freebsd.c to
  add major/minor numbers (global struct here, because it is constant),
  rewrite ioctl, and add a dependency on linux_common for
  /dev/nvidia-modeset.

PR:		217901
Analysed by:	Alex S <iwtcex@gmail.com> [1]
Tested by:	Hannes Hauswedell <h2+fbsdports@fsfe.org> (390.87)
Tested by:	tijl (304.137)
Approved by:	maintainer timeout (15 days)
dae73343c3
Dmitry Marakasov (amdmi3) · 390.87
- Update WWW

Approved by:	portmgr blanket
5704a3f34f
Alexey Dokuchaev (danfe) · 390.87
Update `x11/nvidia-driver' to version 390.87, which fixed a resource leak introduced in the 390 series of drivers that could lead to reduced performance after starting and stopping several OpenGL and/or Vulkan applications.  While here, replace deprecated @[un]exec keywords which do not specify when they should be executed with @post[un]exec and move KPI-related patching to a better place within t

PR:	231721
e07e1e0087
Niclas Zeising (zeising) · 390.77_2
Change x11/xorgproto to become a build dep

Change x11/xorgproto to become a build time dependency when added to
USE_XORG.  Change the dependency to be on the port, rather than a file the
port installs.
Fix fallout.
Bump portrevision on depending ports.

PR:		230909
Reviewed by:	eadler
Approved by:	portmgr (antoine)
Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto
exp-run:	antoine
Differential Revision:	https://reviews.freebsd.org/D16906
0fae2e9e0e
Gleb Smirnoff (glebius) · 390.77_1
Unbreak nVidia drivers on recent -CURRENT, after change to kmem_free() in r338318.

PR:		230780
7cf625b443
Gleb Smirnoff (glebius) · 390.77
Unbreak nVidia drivers on recent -CURRENT, after change to kmem_alloc_contig() in r338143.

PR:		230780
69494525aa
Alexey Dokuchaev (danfe) · 390.77
Cleanup patch code that does nothing useful these days (changes are long integrated upstream).
80d698e975
Alexey Dokuchaev (danfe) · 390.77
Update `x11/nvidia-driver' to version 390.77.  Changes in this release:

- Removed informational messages that were printed by `nvidia-modeset.ko'
    whenever a GPU device was allocated or freed
  - Fixed a bug that caused kwin OpenGL compositing to crash when launching
    certain OpenGL applications
2c38756a06
Alexey Dokuchaev (danfe) · 390.67
Update nVidia driver to the latest long lived branch version 390.67.
7f2f5f55ac
Alexey Dokuchaev (danfe) · 390.59
Update `x11/nvidia-driver-340' to the latest version of 340.107:

- Added support for X.Org xserver ABI 24 (xorg-server 1.20)
  - Fixed a bug which could cause X servers that export a Video Driver
    ABI earlier than 0.8 to crash when running X11 applications which
    call XRenderAddTraps()
d71ca6471a
Alexey Dokuchaev (danfe) · 390.59
Garbage-collect some no longer relevant patching (it does nothing these days); these are not the changes being made, these are previous changes being removed:

- Fix CTLFLAG_* values for SYSCTL_ADD_PROC() after FreeBSD src r273377
- Replace `d_thread_t' (FreeBSD 4 support compat shim) with `struct thread'

Reviewed by:	grep(1), diff(1), sha1(1)
70bda8c16d
Alexey Dokuchaev (danfe) · 390.59
Unbreak nVidia drivers on recent -CURRENT, after memset() changes by mjg@ in r334533 have revealed an existing bug in the nVidia code.

PR:	228709
1ff391c69d
Alexey Dokuchaev (danfe) · 390.59
Update nVidia driver long lived branch to version 390.59, which had added support for GeForce GTX 1050 (with Max-Q Design), Quadro P3200, and Quadro P4200, but most importantly, for X.Org xserver ABI 24 (xorg-server 1.20).

PR:	228383
ead5e59185
Alexey Dokuchaev (danfe) · 390.48
Update nVidia driver to the latest long lived branch version 390.48.
84329a54c2
Alexey Dokuchaev (danfe) · 390.25
Update to the latest long lived branch version, 390.25.

PR:	225574
004864e4cf