Port details |
- nvidia-driver-340 NVidia graphics card binary drivers for hardware OpenGL rendering
- 340.108_4 x11 =5 340.108_4Version of this port present on the latest quarterly branch.
- Maintainer: danfe@FreeBSD.org
- Port Added: 2015-02-03 16:18:41
- Last Update: 2023-08-12 22:58:06
- Commit Hash: d1b7aad
- People watching this port, also watch:: git, xorg-server, subversion, cmake, cscope
- Also Listed In: kld
- License: NVIDIA
- WWW:
- https://www.nvidia.com/object/unix.html
- Description:
- These are the official NVidia binary drivers for hardware OpenGL rendering
in X11, using the GLX extensions.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- nvidia-driver-340>0:x11/nvidia-driver-340
- Conflicts:
- CONFLICTS_INSTALL:
- nvidia-driver
- nvidia-driver-*
- nvidia-secondary-driver
- To install the port:
- cd /usr/ports/x11/nvidia-driver-340/ && make install clean
- To add the package, run one of these commands:
- pkg install x11/nvidia-driver-340
- pkg install nvidia-driver-340
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: nvidia-driver-340
- Flavors: there is no flavor information for this port.
- ONLY_FOR_ARCHS: i386 amd64
- distinfo:
- TIMESTAMP = 1727593598
SHA256 (NVIDIA-FreeBSD-x86_64-550.120.tar.xz) = 9e2bb3dc93be5da6abe0c78621120e71dfcc0973577c9e63386e9a582501147e
SIZE (NVIDIA-FreeBSD-x86_64-550.120.tar.xz) = 143460952
Packages (timestamps in pop-ups are UTC):
- Master port: x11/nvidia-driver
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- x11.pc : x11/libX11
- xorg-server.pc : x11-servers/xorg-server
- xext.pc : x11/libXext
- Runtime dependencies:
-
- x11.pc : x11/libX11
- xorg-server.pc : x11-servers/xorg-server
- xext.pc : x11/libXext
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for nvidia-driver-340-340.108_4:
ACPI_PM=on: ACPI Power Management support
DOCS=on: Build and/or install documentation
LINUX=on: Linux compatibility support
WBINVD=off: Flush CPU caches directly with WBINVD
===> Use 'make config' to modify these settings
- Options name:
- x11_nvidia-driver-340
- USES:
- kmod uidfix xorg
- pkg-message:
- For install:
- To use these drivers, make sure that you have loaded the NVidia kernel
module, by running
# kldload nvidia
on the command line, or by putting ``nvidia'' on the ``kld_list''
variable in /etc/rc.conf, either manually or by running
# sysrc kld_list+=nvidia
If you build this port with FreeBSD AGP GART driver, make sure you have
agp.ko kernel module installed and loaded, since nvidia.ko will depend
on it, or have your kernel compiled with "device agp". Otherwise, the
NVidia kernel module will not load. Also, please set correct value for
``Option "NvAGP"'' in ``Device'' section of your X11 configuration file.
When building with Linux compatibility support, make sure that linux.ko
module is available as well (or have it compiled in kernel). It can be
loaded via /boot/loader.conf, or later in the boot process if you add
linux_enable="YES"
to your /etc/rc.conf.
If X.org cannot start and reports
(EE) NVIDIA(0): Failed to obtain a shared memory identifier.
in /var/log/Xorg.0.log while actually you have ``options SYSVSHM''
enabled in kernel, the sysctl ``kern.ipc.shmall'' should be increased.
See /usr/local/share/doc/NVIDIA_GLX-1.0/README for more information.
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
This is a slave port. You may also want to view the commits to the master port: x11/nvidia-driver |
Commit | Credits | Log message |
340.108_4 12 Aug 2023 22:58:06 |
Jan Beich (jbeich) |
x11-servers/xorg-server: complete libmap.d switch after 50a34a07740e
libmap.conf(5) supports dlopen(3) but xorg-server uses absolute paths.
PR: 271686
Reviewed by: gallatin |
340.108_3 20 Jul 2022 14:23:32 |
Tobias C. Berner (tcberner) |
x11: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Adam Weinberger <adam@vectors.cx>
* Adam Weinberger <adamw@FreeBSD.org>
* Alex Dupre <ale@FreeBSD.org>
* Alexander Matey <matey@cis.ohio-state.edu>
* Alexander Nedotsukov <bland@FreeBSD.org>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Alexey Dokuchaev <danfe@regency.nsu.ru>
* Alexey Mikhailov <karma@ez.pereslavl.ru>
* Andrew Pantyukhin <infofarmer@FreeBSD.org>
* Anton Berezin <tobez@FreeBSD.org>
* Anton Toernqvist <antont@inbox.lv> (Only the first 15 lines of the commit message are shown above ) |
340.108_3 22 Jun 2021 18:53:08 |
Kevin Bowling (kbowling) |
graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.
PR: 246767
Reviewed by: manu, bapt
Approved by: x11
Differential Revision: https://reviews.freebsd.org/D30824 |
340.108_2 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
340.108_2 21 Sep 2020 09:05:04 |
manu |
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> |
340.108_1 30 Jun 2020 07:42:02 |
0mp |
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 |
340.108 22 Feb 2020 07:55:37 |
danfe |
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 |
340.107_6 20 Feb 2020 21:15:45 |
zeising |
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.
(Only the first 15 lines of the commit message are shown above ) |
340.107_5 25 Oct 2019 08:00:21 |
danfe |
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. |
340.107_4 08 Jun 2019 12:13:47 |
tijl |
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) |
340.107_3 18 Jan 2019 17:52:59 |
tijl |
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) |
340.107_2 14 Dec 2018 16:24:02 |
tijl |
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 (Only the first 15 lines of the commit message are shown above ) |
340.107_1 11 Sep 2018 18:34:28 |
zeising |
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 |
340.107 07 Jun 2018 20:22:51 |
danfe |
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() |
340.106 22 Jan 2018 09:05:44 |
danfe |
Update nVidia drivers to their latest versions which fix frequent kernel
panics reported by some users.
PR: 225346 |
340.104 26 Dec 2017 18:55:18 |
danfe |
Update nVidia driver ports to their most recent versions, bringing assorted
bugfixes and support for X.Org xserver ABI 23 (xorg-server version 1.19).
PR: 224597 |
340.102 03 Apr 2017 12:08:32 |
danfe |
Update nVidia drivers to their most recent versions: 375.39 (long lived
branch); legacy versions: 340.102 and 304.135.
PR: 216574, 217341 |
340.101_1 11 Feb 2017 16:43:11 |
kwm |
Now that all supported FreeBSD versions support libmap.conf files installed
from ports, remove the symlink dance with libGL/libEGL/libgles and the
nvidia-driver ports.
* Revert libGL/libEGL/libglesv2 ports to normal.
* Rename the conflicting libraries from the nvidia-driver ports with a
-NVIDIA prefix and install a libmap.conf file to map to these versions.
* Remove the special case from Mk/Scripts/qa.sh for libGL and libEGL.
* Sadly the symlink dance between nvidia-driver and xorg-server for glx.so
need to stay, due to xorg-server opening that file with dlopen(3).
Approved by: portmgr@ (mat@ (prio version))
Differential Revision: https://reviews.freebsd.org/D7848 |
340.101 13 Jan 2017 12:02:49 |
tijl |
Update nvidia driver to 375.26 and legacy drivers to 340.101 and 304.134.
This brings official support for FreeBSD 11 and Xorg server 1.19.
PR: 215370
Submitted by: kbowling
Approved by: danfe (maintainer) |
340.96_4 19 Dec 2016 21:13:03 |
tijl |
Add build dependency on linux_base so the build process can run tls_test.
This affects which copy of Linux libnvidia-tls gets installed.
Also add a run dependency on Linux Xorg libraries needed by some of the
installed libraries.
PR: 215345 |
340.96_3 05 Nov 2016 12:57:38 |
tijl |
Add libEGL to linux-c7-dri, needed by linux-c7-cairo. |
340.96_2 03 Nov 2016 19:46:18 |
tijl |
Allow linux-*-dri and nvidia-driver to coexist. |
340.96_1 30 Aug 2016 16:51:21 |
danfe |
Fix damage done in r421117: UPDATING entries do not make good `pkg-message'
files, especially when there already is existing `files/pkg-message.in'.
Unfortunately, this now requires port revision bump in all three ports.
Pointy hat to: cem |
340.96 02 Jul 2016 06:42:22 |
danfe |
Update nVidia legacy driver versions to 304.131 and 340.96, respectively,
to gain advantage of added support for X.Org X server ABI 20 (xorg-server
1.18). They also fixed a bug that could cause texture corruption in some
OpenGL applications when video memory is exhausted by a combination of
simultaneously running graphical and compute workloads.
PR: 209027 |
340.93 24 Sep 2015 22:09:55 |
jkim |
- Update x11/nvidia-driver to 346.96.
- Update x11/nvidia-driver-340 to 340.93.
- Update x11/nvidia-driver-304 to 304.128.
Approved by: danfe (maintainer) |
340.76 03 Feb 2015 16:18:34 |
danfe |
- Move mainstream version to 346.xx (update to 346.35) and create another
legacy slave port `x11/nvidia-driver-340'; update top comment accordingly
- No longer explicitly advertise brokenness for ${OSVERSION} > 1000041 and
${NVVERSION} <= 71.08615 combination: not only old legacy ports recently
had been removed, but frankly users of those old gfx cards should either
not be running FreeBSD 10.x or totally rely on self-support, thus making
this BROKEN statement merely an annoyance for them (other checks for some
older driver versions still remain as being functional)
- Change CONFLICTS to CONFLICTS_INSTALL (honestly, this change *should* be
no-op since CONFLICTS should be installation-time conflicts in the first
place, but adhere to this stupidity of the framework for the time being) |