Port details |
- nvidia-driver-304 NVidia graphics card binary drivers for hardware OpenGL rendering
- 304.137_10 x11 =5 304.137_10Version of this port present on the latest quarterly branch.
- Maintainer: danfe@FreeBSD.org
- Port Added: 2013-02-16 14:09:33
- Last Update: 2023-08-12 22:58:06
- Commit Hash: d1b7aad
- People watching this port, also watch:: lame, xfce, nvidia-settings, xfce4-conf, pcre
- 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-304>0:x11/nvidia-driver-304
- Conflicts:
- CONFLICTS_INSTALL:
- nvidia-driver
- nvidia-driver-*
- nvidia-secondary-driver
- To install the port:
- cd /usr/ports/x11/nvidia-driver-304/ && make install clean
- To add the package, run one of these commands:
- pkg install x11/nvidia-driver-304
- pkg install nvidia-driver-304
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: nvidia-driver-304
- Flavors: there is no flavor information for this port.
- ONLY_FOR_ARCHS: i386 amd64
- distinfo:
- TIMESTAMP = 1729779540
SHA256 (NVIDIA-FreeBSD-x86_64-550.127.05.tar.xz) = 74557d328ad74f604599ee2df3d42defc86ebe231e7cbe99c860f928f16a0bc3
SIZE (NVIDIA-FreeBSD-x86_64-550.127.05.tar.xz) = 143641432
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-304-304.137_10:
ACPI_PM=on: ACPI Power Management support
DOCS=on: Build and/or install documentation
FREEBSD_AGP=off: Use FreeBSD AGP GART driver
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-304
- 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 |
304.137_10 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 |
304.137_9 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 ) |
304.137_9 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 |
304.137_8 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
304.137_8 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> |
304.137_7 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 |
304.137_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 ) |
304.137_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. |
304.137_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) |
304.137_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) |
304.137_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 ) |
304.137_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 |
304.137 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 |
304.135 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 |
304.134_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 |
304.134 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) |
304.131_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 |
304.131_3 05 Nov 2016 12:57:38 |
tijl |
Add libEGL to linux-c7-dri, needed by linux-c7-cairo. |
304.131_2 03 Nov 2016 19:46:18 |
tijl |
Allow linux-*-dri and nvidia-driver to coexist. |
304.131_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 |
304.131 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 |
304.128 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) |
304.125 14 Dec 2014 09:51:11 |
danfe |
Update NVidia drivers (long lived branch and legacy 304.xx branch) to their
most recent versions that have CVE-2014-8298 vulnerability fixed.
Security: fdf72a0e-8371-11e4-bc20-001636d274f3 |
304.123 05 Nov 2014 17:00:30 |
danfe |
Update two most recent branches of nVidia drivers to versions 340.46
and 304.123. |
304.88_2 10 Sep 2014 20:50:37 |
gerald |
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) |
304.88_1 23 Oct 2013 03:15:22 |
danfe |
Convert deprecated NO_LATEST_LINK to PKGNAMESUFFIX (this makes PKGNAME ugly,
I know; sorry about that, but I did not find a better way).
Reminded by: bapt |
304.88_1 20 Sep 2013 23:43:20 |
bapt |
Add NO_STAGE all over the place in preparation for the staging support (cat:
x11) |
304.88_1 25 Apr 2013 02:52:29 |
danfe |
- 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: glebius |
304.88 08 Apr 2013 13:41:58 |
danfe |
Update NVidia drivers vulnerable to GPU driver ARGB cursor buffer overflow
in "NoScanout" mode.
Security: CVE-2013-0131
Approved by: portmgr (bapt) |
304.64 16 Feb 2013 14:09:18 |
danfe |
- 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: bf |