Update the default version of GCC in the Ports Collection from GCC 4.7.4 to GCC 4.8.3. Part II, Bump PORTREVISIONs. PR: 192025 Tested by: antoine (-exp runs) Approved by: portmgr (implicit)15945f8122
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-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)
Fix two issues with r354638: - Use MACHINE_CPUARCH rather than MACHINE_ARCH. While the former technically is more correct it unfortunately doesn't exist in stable/8, yet, and using the latter actually doesn't make a difference for i386. - Allow to build nvidia-driver on OSVERSION > 1000052 with the LINUX option enabled. Reported by: swillsb4449fb54a
- Update nvidia-driver to 331.67. - For i386, allow to build the non-legacy NVIDIA drivers with PAE support via an option, defaulting to disabled. This is tricky in two ways. First off, while their binary part is PAE-capable since around version 285, their build glue and wrapper only partially is. Second, for modules built along the kernel, enabled PAE support would be picked up via the Approved by: maintainer timeout (2 weeks) Sponsored by: Bally Wulff Games & Entertainment GmbH773fd2d837
- Update long lived branch to version 331.49 - Provide a convenience target to merge new hash and size with existing distinfo: first, redefine DISTINFO_FILE (so that prerequisite target `makesum' would not overwrite existing distinfo file), then prepend relevant SHA256 and SIZE lines with tilde (~) to cope with join(1)'s requirement for sorted lines, truncate the old values thereof, join(1 Tested by: dhwbcabde21fe
- Unbreak the build of 173.14.xx legacy version on recent -CURRENT, and use more accurate OSVERSION value in the check (1000000 -> 1000041) - Fix regression introduced in r342061, when <bsd.port.options.mk> was included before OPTIONS definitions - Rename patches to get rid of those ugly double underscores (yuck!) - Wrap couple of overly long lines after STAGEDIR conversion in r342050 - Createa7cfe935cf
OSVERSION cannot be tested without a bsd.port.*.mk included before99c6d2802f
- Stagify - Mark -71 and -173 broken on FreeBSD 10+, they do not build there - Remove check for FreeBSD 7.2- Approved by: portmgr (infrastructure blanket)59289cf450
Update to version 331.20.7e0f7983de
In sight of upcoming update, do some cleaning: convert to Uses=kmod and then do not explicitly set SSP_UNSAFE and augment CATEGORIES; also sort pkg-plist.977adbb583
Add NO_STAGE all over the place in preparation for the staging support (cat: x11)db5320be85
SSP support has been added to ports with WITH_SSP for i386 and amd64 on FreeBSD 10, and amd64 on earlier versions. SSP_UNSAFE is added to disable in a port if it fails to build, but this should only be used in rare circumstances such as kernel modules. Otherwise, the port may just be failing due to lack of respecting LDFLAGS. On FreeBSD 10, this uses an ldscript in /usr/lib/libc.so to pull in libssp_nonshared.a to address issues linking on i386 [1]. On earlier FreeBSD versions the WITH_SSP knob will add -lssp_nonshared to LDFLAGS on i386. This is not needed on amd64. However, several hundred ports do not currently respect LDFLAGS, so this support is disabled currently as it causes build failures if a dependency is looking for the stack_chk symbols. Many thanks to jlh@ for this as he had many years of patience in getting all of the necessary pieces [1][2] in. [1] http://svnweb.freebsd.org/base/head/lib/libc/libc.ldscript?revision=251668&view=markup PR: ports/138228 [2] Submitted by: jlh (bsd.ssp.mk based on) Reviewed by: bapt With hat: portmgr exp-runs done: 37 over a month on 91i386,91amd64,10i386,10amd64c93dfc2e9f
- Unbreak on recent -CURRENT (after r255426): vm_map_find() now takes 10 (ten) arguments rather than 9 (nine) - Adjust OSVERSION check of the previous patch, after properly bumped by pjd@ in r255305 PR: ports/181972bc07c5867d
Unbreak the build on recent -CURRENT (after cap_rights_t type was changed from uint64_t to a structure in r255219). PR: ports/181840e4fc09f30f
Fix NVidia drivers correctly after KVA space allocation API changes in recent -CURRENT (after r254025). Previously it would immediately core dump upon loading of nvidia.ko. PR: ports/181144 (fix suggested in the audit trail) Reviewed by: jhb Timeout from: jeff (no cookie)c520e24c87
- Unbreak the build on recent -CURRENT after r254025 [1] - Respect custom SRC_BASE (e.g. when set in /etc/make.conf) [2] - Few non-functional changes (mostly comments; particularly, restore hint about MASTER_SITE_SUBDIR, bogusly changed by yours truly in r315754) PR: ports/181118 [1] ports/176733 [2]e2b3af7853
- Update NVidia driver to the latest LTS stable version, 319.32 - Only offer FREEBSD_AGP option when it is actually supported - Use new syntax for specifying LIB_DEPENDS - Buffer overflow in nvidia_sysctl_bus_type() was fixed in 319.2363986910ed
- Fix stack buffer overflow in nvidia_sysctl_bus_type() - While here, install nvidia-bug-report.sh per popular demand and assume that everyone now has sed(1) that supports "addr1,+N" range syntax - Spell X as X11 in port description Submitted by: glebiusac39d3261d
Update NVidia drivers vulnerable to GPU driver ARGB cursor buffer overflow in "NoScanout" mode. Security: CVE-2013-0131 Approved by: portmgr (bapt)f4de7e7414
- Convert recent patches against -CURRENT to sed(1) invocations that work for all driver ports, including legacy ones, with correct OSVERSION checks - Retouch some comments while here PR: ports/177459 Submitted by: bf Approved by: portmgr (miwi)11ad8e8aa4
Resolve current build breakage on head for the nvidia driver via this nice handy patch from dhw@ :-) Shoveled in via src commit bit, after some discussions in #bsdports PR: ports/176980 Submitted by: dhw@ Reviewed by: miwi@ Approved by: nobody in particular Obtained from: dogfood MFC after: 2 weeks794fdc1d52
Update the commentary.b1c0b5f73f
- Update mainstream driver version to 310.32, the latest to date - Unbreak the build on recent -CURRENT (after SVN r246085) [*] - Move 304.xx driver version to yet another legacy port PR: ports/176146 [*] Submitted by: bfe156014580
Update to version 304.64. While as of yesterday this version is technically legacy per nVidia, retain it for a while until the dust settles and new long lived branch version 310.19 can be declared stable. Feature safe: yesa3db6a2df7
Update mainstream driver to version 304.60. Feature safe: yes07d3a11c93
- Update long lived branch driver to version 304.51 - Mention DOCS option in OPTIONS_DEFINE39c1c6f78c
Trim Makefile header for NVidia drivers, and move advisory comment about legacy drivers to the top, where is suits better.278e8e6785
Fix the problem that PKGVERSION for 173.14.xx legacy driver went backwards when it was updated to .35 on the 12th. That moment, it kept PORTREVISION 1 from the master port. When the master port was updated and PORTREVISION removed on the 22nd, PKGVERSION of nvidia-driver-173 went backwards as its PORTREVISION dropped from 1 to 0. While I am at it, provide a comments in all makefiles that keepin Reported by: erwin195d110c64
- Update 96.43.xx legacy driver to version 96.43.23, which brings support for X.Org xserver versions 1.11 and 1.12 - Fix one occurrence of LINUX option check (was broken in r304591) [1] Noticed by: bland [1]4f1027b6be
- Drop useless quotes when assigning PREFIX (values with spaces are handled correctly nonetheless) - Fix SVN properties to have FreeBSD keyword expandede1f9709bbe
- After conversion to new OPTIONS framework, adjust pkg-message accordingly - Check for DOCS in PORT_OPTIONS instead of NOPORTDOCS while here4e01b9dd5e
Update mainstream driver to version 304.43.17201c47f8
Convert to OptionsNG Approved by: danfe (maintainer)34df9e45d9
- Revert patch for CVE-2012-0946 to its original form and apply both CVE patches when needed, for clarity's sake - Touch some comments in Makefile while here (purely cosmetic)e6d16fe34c
- Update legacy 173.14.xx series driver to version 173.14.35 and provide a patch for CVE-2012-4225 for this version - Augment security patch for CVE-2012-0946 to cover CVE-2012-4225 as well for the benefit of really old legacy drivers4b376e2c92
Unbreak installation of legacy drivers.0edc8aa613
Solve libGL.so and libglx.so conflict situation between libGL, xorg-server and the nvidia-driver. Install the libraries in port specific directories. Use pkg-install and pkg-deinstall scripts to update the hardlinks to the default locations of these files. While here clean up some @dirrmtry lines in xorg-server plist for directories that aren.t created by xorg-server. Motivator: pkgng Inspiration: irc, freebsd-x11@ mailinglist discussion (sorry can't find it anymore to give credit the people) Reviewed by: danfe@ (for nvidia parts), bapt@ Approved by: danfe@ (for nvidia parts) With hat: x11@04a589dee4
Update nVidia driver to the latest long lived branch version, 295.71 Security: http://nvidia.custhelp.com/app/answers/detail/a_id/3140696f22416b
- Update the driver to the latest long lived branch version, 295.59 - Replace deprecated PATCHDIR reference with more appropriate FILESDIR - Remove old comment about inconsistencies in nVidia release numbers PR: ports/169186 (version update)87a52efaf4
Provide home-made patch for legacy nVidia drivers against recent arbitrary memory access vulnerability. While affected underlying code is very similar in all released drivers, and they all are technically exploitable the same way, the exploit relies on hardware that is not present in GPUs older than NV50/G80, hence versions starting from 100.14.03 must be patched. That said, while the patch does apply to all legacy versions, port revision bump makes sense only for 173.14.xx series (as 96.43.xx and 71.86.xx do not hardware exploit relies upon). Discussed with: Christian Zander Security: CVE-2012-0946dbacad32ae
Update to version 295.49, which had: - Added support for GeForce GTX 690 GPU - Fixed a problem where starting, stopping, and moving OpenGL application windows was very slow on Quadro FX 4600, Quadro FX 5600, GeForce 8800 GTX, GeForce 8800 GTS, and GeForce 8800 Ultra - Fixed an OpenGL performance regression which affected Geforce 6 and Geforce 7 series integrated GPUs PR: ports/167619122ea7d170
- Update to version 295.40 - Touch some comments Security: CVE-2012-0946164d168dbc
Unbreak on 7.X where sed(1) does not support "addr1,+N" ranges yet (was added by brian@ in SVN r192732 on 2009-05-25). Reported by: erwinmail Pointy hat to: danfe (for not running 7.X tinderbuild)dd04f6bf09
PAE kernels are incompatible with legacy drivers only (for a while now), so adjust pkg-message accordingly. Discussed with: Christian Zander from nVidia546e878c52
X11BASE has been deprecated for a long time now, and is going to be dropped from `Mk/bsd.port.mk' soon. Account for it and pass it to make environment locally as nVidia driver code still uses it. PR: ports/161558 Submitted by: eadler (PR), crees (nvidia-driver patch) Feature safe: yes10557f2321
Unbreak legacy (pre-195.22) drivers build on 9.X after SVN r225617 by kmacy@. PR: ports/161839 Submitted by: Barry Tignerf273d6785e
Update to version 285.05.09, which should remedy system hangs people were reporting with 280.13.a8416cc8ea
- Update NVidia drivers to their corresponding latest versions - Apply a workaround to fix the build on recent -CURRENT after fget(9) KPI was changed in r224778 (affects the driver since version 195.22)a3a84e2385
- Fix the build against Clang (also GCC with -Wformat-security, see PR ports/157255) - Drop long gone ports from CONFLICTS line and refine some comments while I'm here Submitted by: Garrett Cooper (modified)86560de87a
Unbreak on -CURRENT after r221320. Reported by: several Submitted by: Pan Tsu176c86edee
- Update corresponding NVidia drivers to versions 270.41.19 and 173.14.30 - Turn formal requirement for X server into explicit dependency and bump port revisions in nvidia-driver-96 and nvidia-driver-71 accordingly - Remove NO_PACKAGE; along with previous change, this enables us to build nvidia-driver packages - Try to rely a little less on the assumption that PREFIX == LOCALBASE and explici Special thanks to ale@ for proposing pkg-plist fix and patiently waiting for me to realize it is indeed correct. PR: ports/1524008bb1cc999d