x11/{linux-nvidia-libs,nvidia-driver}{,-390}: update to the latest versions0da842ecc8Port 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-driverinstalls nvidia-driver 595.104.02, xlibre-nvidia-driver 595.104.02 fromlatest; fromquarterly(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 version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 595.104.02 | ✗ | – |
| FreeBSD 15 | 595.104.02 | ✗ | – |
| FreeBSD 14 | 595.104.02 | ✗ | ✗ |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 595.104.02 | ✗ | – |
| FreeBSD 14 | 595.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.
CVE-2017-0309, CVE-2017-0310, CVE-2017-0311, CVE-2017-0318, CVE-2017-0321
NVIDIA UNIX driver -- ARGB cursor buffer overflow in "NoScanout" modeentered 2013-04-08
NVIDIA UNIX driver -- access to arbitrary system memoryentered 2012-05-10
NVIDIA UNIX driver -- arbitrary root code execution vulnerabilityentered 2006-10-16
Problem reports (11) · open in Bugzilla, most recently changed first
| PR | Summary | Status | Changed |
|---|---|---|---|
| 286313 | maintainer-feedback? x11/nvidia-driver: Doesn't support the GL_OES_EGL_image GL extension | New | 2026-09-06 |
| 298063 | maintainer-feedback? x11/nvidia-driver since 595.99.02 update cannot return to terminal from x | New | 2026-09-04 |
| 216050 | needs-qa maintainer-feedback? x11/nvidia-driver: kernel module fails on vt() to load: link_elf_obj: symbol sc_get_softc undefined | Open | 2026-08-02 |
| 277365 | maintainer-feedback? x11/nvidia-driver: Allow building without syscons(4) support | New | 2026-08-02 |
| 277364 | maintainer-feedback? x11/nvidia-driver: kernel panic: "NVRM: rm_init_rm() failed" after update to 550.54.14 | New | 2026-02-21 |
Show all 11
| PR | Summary | Status | Changed |
|---|---|---|---|
| 212638 | needs-qa maintainer-feedback? emulators/virtualbox-ose-kmod & x11/nvidia-driver no longer build with NO_MODULES | Open | 2026-01-06 |
| 287894 | maintainer-feedback? x11/nvidia-driver: panic on exit from Xorg | New | 2025-08-09 |
| 277827 | maintainer-feedback? x11/nvidia-driver: NVidia driver causes kernel crash during boot when it is loaded from /boot/loader.conf | New | 2025-07-25 |
| 284640 | maintainer-feedback? x11/nvidia-driver: 570.86.16.1500031 relics on WQHD screen | New | 2025-07-25 |
| 282308 | maintainer-feedback? x11/nvidia-driver: NVIDIA MEM resource alloc failed | New | 2025-04-28 |
| 286383 | maintainer-feedback? x11/nvidia-driver: Intermittent "xid 16 (Display engine hung)" failures with new driver version 570.124.04 | New | 2025-04-27 |
Commits (368)
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: 25466822a47a0e04
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: 254668eb57a9e661
all: Remove all other $FreeBSD keywords.135fdeebb9
Remove # $FreeBSD$ from Makefiles.305f148f48
Update to version 460.67. Reported by: portscouta399277b4f
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: jkim8fe7a350a5
Split another patch I've missed in r564088 which is needed for 460.xx. Reported by: dhw Analyzed by: avg8b7d1fbda2
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: danfe48c3156500
Update nVidia main driver, Linux libraries, and tools to version 460.36. PR: 249505, 250277bc4f906a66
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
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
Update to version 390.141.3a6e2989cd
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
Update NVidia drivers and auxiliary utilities to their latest versions and transfer maintainership of the latter to the graphics team (x11).16eef2f167
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/D25506742116b6d5
- 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/D24836685d58b21a
x11/nvidia-driver: stop installing files egl-wayland does PR: 244087 Approved by: maintainer timeout (2 months)e0dd5a4220
Update to version 440.82. PR: 245454bbda0de8bf
Update to version 440.64.71e36c7e90
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: 242177ac71af8e95
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
- Update `x11/nvidia-driver' to version 440.31 - Remove USE_GL+=gl, it is GL provider itself4d55756934
Update NVidia driver to the latest long lived branch version 430.50. PR: 232645, 241307560398726e
- 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: 232645836cc2b180
Prune Linux entries from distinfo which are not needed after r515584 and remove now no-op EXTRACT_ONLY knob.41584e3aae
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.c6fd704fe9Move 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
In sight of upcoming updates, move some common code and knobs to separate file, to allow inclusion from different ports. No functional changes.4c113d5aab
Convert to UCL & cleanup pkg-message (categories x)467ad301e8
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
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
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
Unbreak the build after base (src) r347984. PR: 238018 Differential Revision: https://reviews.freebsd.org/D2035078b555aea6
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
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
- Update WWW Approved by: portmgr blanket5704a3f34f
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: 231721e07e1e0087
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/D169060fae2e9e0e
Unbreak nVidia drivers on recent -CURRENT, after change to kmem_free() in r338318. PR: 2307807cf625b443
Unbreak nVidia drivers on recent -CURRENT, after change to kmem_alloc_contig() in r338143. PR: 23078069494525aa
Cleanup patch code that does nothing useful these days (changes are long integrated upstream).80d698e975
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 applications2c38756a06Update nVidia driver to the latest long lived branch version 390.67.7f2f5f55ac
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()d71ca6471aGarbage-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
Unbreak nVidia drivers on recent -CURRENT, after memset() changes by mjg@ in r334533 have revealed an existing bug in the nVidia code. PR: 2287091ff391c69d
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: 228383ead5e59185
Update nVidia driver to the latest long lived branch version 390.48.84329a54c2
Update to the latest long lived branch version, 390.25. PR: 225574004864e4cf