Port details |
- nvidia-secondary-driver NVidia graphics card binary drivers for hardware OpenGL rendering on secondary device
- 570.124.04_1 x11
=3 510.60.02_1Version of this port present on the latest quarterly branch. - Maintainer: x11@FreeBSD.org
 - Port Added: 2021-06-15 19:33:10
- Last Update: 2025-04-04 07:06:32
- Commit Hash: 9ff52cb
- People watching this port, also watch:: mesa-libs, pcmanfm-qt, telegram-desktop, xdm, adguardhome
- 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-secondary-driver>0:x11/nvidia-secondary-driver
- Conflicts:
- CONFLICTS_INSTALL:
- nvidia-driver
- nvidia-driver
- nvidia-driver-*
- To install the port:
- cd /usr/ports/x11/nvidia-secondary-driver/ && make install clean
- To add the package, run one of these commands:
- pkg install x11/nvidia-secondary-driver
- pkg install nvidia-secondary-driver
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: nvidia-secondary-driver
- Flavors: there is no flavor information for this port.
- ONLY_FOR_ARCHS: amd64
- distinfo:
- TIMESTAMP = 1740840763
SHA256 (NVIDIA-FreeBSD-x86_64-570.124.04.tar.xz) = dc53493d95a0db71ff62251d21f3b828e519ec1ac9dbfc70f0b0fa30c4842026
SIZE (NVIDIA-FreeBSD-x86_64-570.124.04.tar.xz) = 259892688
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:
-
- pkg-config : devel/pkgconf
- 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
- Library dependencies:
-
- libOpenGL.so : graphics/libglvnd
- libnvidia-egl-wayland.so : graphics/egl-wayland
-
- This port is required by:
- for Run
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- ===> The following configuration options are available for nvidia-secondary-driver-570.124.04.1402000_1:
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-secondary-driver
- USES:
- kmod uidfix xorg tar:xz
- pkg-message:
- For install:
- To use these drivers, make sure that you have loaded the NVidia kernel
module, by running
# kldload nvidia-modeset
on the command line, or by putting ``nvidia-modeset'' on the ``kld_list''
variable in /etc/rc.conf, either manually or by running
# sysrc kld_list+=nvidia-modeset
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.
In certain 570 versions GSP firmware is known to cause issues with
suspend/resume. To disable GSP firmware add
hw.nvidia.registry.EnableGpuFirmware=0 to your loader.conf.
https://download.nvidia.com/XFree86/FreeBSD-x86_64/560.31.02/README/gsp.html
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 |
570.124.04_1 04 Apr 2025 07:06:32
    |
Kevin Bowling (kbowling)  |
nvidia*: Bring under x11@ umbrella
This brings all nvidia ports under x11@ per some previous comments from
danfe@ and manu@.
The expectation for commits will be a simple quorum of interested people
(i.e. danfe, ashafer, kbowling) for peer review and commit.
Since the nvidia-secondary driver is chained off the main one, the
current maintainer has been notified of the change and can still
participate via freebsd-x11@ and project tools but it does not make
sense to have it differentiated.
Approved by: danfe, manu |
510.60.02_1 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 ) |
470.74_1 16 Oct 2021 09:51:39
    |
Jimmy Olgeni (olgeni)  |
*: fix tab vs. space issues, and comments according to the guide. |
460.80_1 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 |
460.80 15 Jun 2021 19:30:22
    |
Kevin Bowling (kbowling)  Author: Theron Tarigo |
x11/nvidia-hybrid-graphics: Optimus Technology
PR: 192617
Reported by: David Mackay <davidjx8p@gmail.com>
Reviewed by: many
Tested by: many
Approved by: portmgr (maintainer timeout: 15 days)
Differential Revision: https://reviews.freebsd.org/D22521 |