===> The following configuration options are available for nvidia-driver-595.104.02:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
Reason:
Because of splitting out kernel modules (kmod) part from x11/nvidia-driver*
into newly introduced x11/nvidia-kmod*, you need to deinstall currently
installed x11/nvidia-driver* and freshly install it again with new version.
This would pull in corresponding x11/nvidia-kmod* because x11/nvidia-driver*
explicitly depends on corresponding x11/nvidia-kmod*.
Affects: users of graphics/mesa-libs and x11/nvidia-driver
Author: kbowling@FreeBSD.org
Reason:
Some libraries from mesa-libs are now provided by libglvnd while
others were renamed. nvidia-driver already used libglvnd but bundled
a copy which is now provided as a separate package. When building
outside poudriere make sure to remove mesa-libs and nvidia-driver
first in order to avoid conflict with libglvnd.
For portmaster users:
# pkg delete -f mesa-libs nvidia-driver
# portmaster -a
For portupgrade users:
# pkg delete -f mesa-libs nvidia-driver
# portupgrade -a
x11/nvidia-driver*: Drop pkg-message
All contents of pkg-message are applicable for kmods part
(x11/nvidia-kmod*) only.
This was the remnant when kmods part were splitted out from
x11/nvidia-driver* at commit ports f4e907a49258.
PR: 298709
Differential Revision: https://reviews.freebsd.org/D59864
x11/nvidia-driver, x11/nvidia-kmod, x11/linux-nvidia-libs,
graphics/nvidia-drm*-kmod, x11/nvidia-settings, x11/nvidia-xconfig: Update to
595.58.03
Update to latest Production Branch of drivers 595.58.03:
https://www.nvidia.com/en-us/drivers/details/265873/
Linux counterparts for x11/linux-nvidia-libs:
https://www.nvidia.com/en-us/drivers/details/265870/
Also bump -devel variant to match with master ports, as Production
Branch [PB] of drivers have now higher version than New Feature
Branch [NFB] of drivers.
As this update drops a bunch of old (pre-Turing generation of
architectures) GPUs as done in -devel variants updated 20260103,
add -580 variant of legacy branch of driver.
Currently, this is exactly the same version before this update.
(580.142)
PR: 294038
Differential Revision: https://reviews.freebsd.org/D56077
nvidia comments: Wordsmith
These days, Nvidia graphics is more platforms than just cards, more
renderers than just OpenGL, and more display protocols than just X.
It's also written in uppercase. This increases consistency, clarity,
and eliminates jarring line wrapping at reference column width 80.
PR: 293473 (graphics/nvidia-texture-tools)
PR: 293474 (sysutils/nvclock)
PR: 293475 (sysutils/py-nvitop)
Reviewed by: amdmi3, ashafer, danfe, kbowling
Reviewed by: Tomoaki Aoki <junchoon_dec.sakura.ne.jp>
Differential Revision: https://reviews.freebsd.org/D55452
x11/nvidia-driver, x11/nvidia-kmod, x11/linux-nvidia-libs,
graphics/nvidia-drm*-kmod, x11/nvidia-settings, x11/nvidia-xconfig: Update to
580.142
Update to latest Production Branch of drivers 580.142:
https://www.nvidia.com/en-us/drivers/details/265444/
Linux counterparts for x11/linux-nvidia-libs:
https://www.nvidia.com/en-us/drivers/details/265443/
Add graphics/egl-wayland2 as a dependency for non-legacy branches.
This library can be installed alongside the previous egl-wayland
implementation (graphics/egl-wayland) and has a higher selection
priority by default, but doesn't support legacy branches.
PR: 293738
Differential Revision: https://reviews.freebsd.org/D55813
x11/nvidia-kmod{-devel}: Export required symbols
When kernel linker disables local symbol resolution, kernel modules
that require local symbols in other kernel modules, which are not
explicitly exported, stops to be loaded.
This behavior was turned on by default on main branch of src
at commit base 9562994a7aacee2baae6ddee1a7b558b48ae39ef.
Export local symbols in nvidia.ko for nvidia-modeset.ko and
in nvidia-modeset.ko for nvidia-drm.ko.
PR: 291212
Reviewed by: adrian (previous version), emaste (previous version, imp
Differential Revision: https://reviews.freebsd.org/D53987
x11/nvidia-driver-devel, x11/nvidia-kmod-devel, x11/linux-nvidia-libs-devel,
graphics/nvidia-drm*-kmod-devel, graphics/externalplatform,
graphics/egl-wayland, graphics/egl-x11 : Update to 590.48.01
Update "-devel" variants to latest New Feature Branch [NFB]
of drivers 590.48.01:
https://www.nvidia.com/en-us/drivers/details/259269/
Linux counterparts for x11/linux-nvidia-libs:
https://www.nvidia.com/en-us/drivers/details/259267/
! Important note !
As already notified by HEADSUP at freebsd-ports ML [1],
this version drops support for a bunch of old GPUs
prior to Turing Generation of the architecture.
(Only the first 15 lines of the commit message are shown above )
x11/nvidia-driver[-devel], x11/nvidia-kmod[-devel],
x11/linux-nvidia-libs[-devel], graphics/nvidia-drm*-kmod[-devel],
x11/nvidia-settings, x11/nvidia-xconfig: Update to 580.105.08
Update to latest Production Branch of drivers 580.105.08:
https://www.nvidia.com/en-us/drivers/details/257494/
Linux counterparts for x11/linux-nvidia-libs:
https://www.nvidia.com/en-us/drivers/details/257493/
As latest production branch of drivers is still newer than
the latest version of New Feature Branch [NFB] of drivers 575.64.05,
update -devel variants to 580.105.08, too.
PR: 290813
Differential Revision: https://reviews.freebsd.org/D53596
x11/nvidia-driver[-devel], x11/linux-nvidia-libs[-devel],
graphics/nvidia-drm*-kmod[-devel], x11/nvidia-settings, x11/nvidia-xconfig:
Update to 580.95.05
Update to latest Production Branch of drivers 580.95.05:
https://www.nvidia.com/en-us/drivers/details/254666/
Linux counterparts for x11/linux-nvidia-libs:
https://www.nvidia.com/en-us/drivers/details/254665/
As latest production branch of drivers is still newer than
the latest version of New Feature Branch [NFB] of drivers 575.64.05,
update -devel variants to 580.95.05, too.
PR: 289940
Reviewed by: scf
Differential Revision: https://reviews.freebsd.org/D52831
x11/nvidia-driver: Split kmod into x11/nvidia-kmod
Split out kmod part of x11/nvidia-driver into x11/nvidia-kmod,
including slave ports, to allow FreeBSD-kmods repo builders building
nvidia-related kmod ports.
In this update,
* split out *.ko from x11/nvidia-driver[-304|-340|-390|470|-devel]
into corresponding x11/nvidia-kmod[-304|-340|-390|470|-devel],
* switch dependency of graphics/nvidia-drm-*-kmod upon
x11/nvidia-driver[-devel] to newly introduced
x11/nvidia-kmod[-devel],
(Only the first 15 lines of the commit message are shown above )
x11/nvidia-driver[-devel], x11/linux-nvidia-libs[-devel],
graphics/nvidia-drm*-kmod[-devel], x11/nvidia-settings, x11/nvidia-xconfig:
Update to 580.82.07
Update to latest Production Branch of drivers 580.82.07:
https://www.nvidia.com/en-us/drivers/details/253004/
Linux counterparts for x11/linux-nvidia-libs:
https://www.nvidia.com/en-us/drivers/details/253003/
As latest production branch of drivers is still newer than
the latest version of New Feature Branch [NFB] of drivers 575.64.05,
update -devel variants to 580.82.07, too.
PR: 289261
Differential Revision: https://reviews.freebsd.org/D52352
x11/nvidia-driver[-devel], x11/linux-nvidia-libs[-devel],
graphics/nvidia-drm*-kmod[-devel], x11/nvidia-settings, x11/nvidia-xconfig:
Update to 580.76.05
Update to latest Production Branch of drivers 580.76.05:
https://www.nvidia.com/en-us/drivers/details/252614/
Linux counterparts for x11/linux-nvidia-libs:
https://www.nvidia.com/en-us/drivers/details/252613/
As currently latest production branch of drivers is newer than
the latest version of New Feature Branch [NFB] of drivers 575.64.05,
update -devel variants to 580.76.05, too.
While here, clean up workarounds for latest Beta Branch of
drivers 580.65.06, which is now older than Production Branch of
drivers and had odd version numbers with some of libraries
in Linux version. Now Beta 580.65.06 is NO LONGER BUILDABLE.
PR: 288905
x11/nvidia-driver-[204,340]: Fix build on CURRENT
Commit 9302fb05a0c6 "x11/nvidia-driver: Fix build after kva_layout"
accidentally broke builds for x11/nvidia-driver-304 and
x11/nvidia-driver-340.
Fix builds for these 2 slave (child) ports.
Other slave ports are not affected with this breakage.
Reported by: pkg-fallout
Differential Revision: https://reviews.freebsd.org/D51888
x11/nvidia-driver: Fix build after kva_layout
Commit 4dd828c808286 on main branch of src removed 2 macros,
DMAP_MIN_ADDRESS and DMAP_MAX_ADDRESS and require to use variables
(members of struct) kva_layout.dmap_low and kva_layout.dmap_high
respectively.
This broke builds of x11/nvidia-driver[-304|-340|-390|-470|-devel].
And the change is not planned for MFC (POLA violation).
Fix build by using new variables conditionally.
As there are around 10 days between usable latest bump at base
65ed1a035ceb8 and base 4dd828c808286, there are broken time window.
PR: 288236
Reviewed by: ashafer, kib
x11/nvidia-driver-devel, x11/linux-nvidia-libs-devel,
graphics/nvidia-drm[,510,515,61,66]-kmod-devel: Add new ports
Add *-devel versions of nvidia drivers
These ports provides supports for New Feature Branch (NFB) of upstream
nvidia drivers like existing legacy branches of ports.
In some cases, supports for cutting edge GPUs are provided via
NFB of driver packages or Beta branch of drivers.
As Beta Branch of drivers cannot be recommended widely, we decided to
add support for NFB as *-devel version.
This new *-devel versions tracks the latest non-Beta versions
regardless it's NFB or Production Branch of drivers.
(Only the first 15 lines of the commit message are shown above )
x11/nvidia-driver, x11/linux-nvidia-libs: Split and distribute distinfo
per-slave-ports
Currently, upgrades for legacy versions of x11/nvidia-driver and
x11/linux-nvidia-libs are often delayed, due to the conflicts with
master port and forgotton.
This is usually because master and slave (legacy) ports shares distinfo,
causing races between multiple upgrades, even upgrades for legacy ones
are trivial.
This update splits distinfo into master and each slave (legacy) ports
to avoid races unless master Makefile(s) needs updates for to-be-upgraded
slave ports.
update-distinfo target is removed, you can use the standard
'make makesum' in each port now.
Reviewed by: arrowd
Differential Revision: https://reviews.freebsd.org/D50142
x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-kmod: Update to
570.144
This updates the NVIDIA ports to the latest stable production branch.
Also bump graphics/egl-wayland to the latest 1.1.19 to match with
the one in x11/linux-nvidia-libs.
PR: 286307
Approved by: ashafer, kbowling (mentor)
Differential Revision: https://reviews.freebsd.org/D49982
x11/nvidia-driver: Fix too aggressive disabling of GSP firmware
Currently, GSP on recent (Turing and later) nvidia GPU is disabled
as of suspend/resume issues (Differential Revision: D49828).
After D49828 lands, in Forums thread "Xorg won't start with officially
supported NVIDIA 5070 GPU?" [1], x11/nvidia-driver doesn't work but
building directly from upstream tarball (570.133 and 570.144) is
reported to work for the reporter.
After some testing on reporter's side with our request, reverting
back D49828 is reported to make x11/nvidia-driver working again.
This update changes the way disabling GSP firmware by default to allow
overriding via tunable hw.nvidia.registry.EnableGpuFirmware.
[1]
https://forums.freebsd.org/threads/xorg-wont-start-with-officially-supported-nvidia-5070-gpu.97659/
Reported by: foacs (displayed name on forums.freebsd.org)
Approved by: ashafer, kbowling (mentor)
Differential Revision: https://reviews.freebsd.org/D50053
x11/nvidia-driver: Clean up unused LIBGLDIR/LIBGLMAP
As of 972708f1d3948f9805f20c8ec7a90e9034009edd we do not need this
functionality.
Reviewed by: Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
Differential Revision: https://reviews.freebsd.org/D50048
x11/nvidia-driver: disable GSP Firmware by default
Users have reported issues with suspend/resume when GSP firmware is
enabled. This change disables GSP to unbreak desktop use cases while
a fix is delivered in a future driver version
PR: 285803
Reviewed by: Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
Approved by: kbowling (mentor)
Differential Revision: https://reviews.freebsd.org/D49828
x11/{linux-nvidia-libs,nvidia-driver}-390: update to version 390.157
Updating 390 series of legacy version of nvidia-driver and
linux-nvidia-libs to 390.157.
This is the last legacy driver that is behind upstream and still lives
in ports tree. So updating these to ease future issues to narrow down
version window.
Tested (by myself) make and make package only, on stable/14, amd64 at
commit 8c991c4b06954371886413d7a4eb2f0569721857 as I myself am not using
390 series of driver and i386 anymore.
PR: 263020 (The reporter doesn't responding for the patch)
Reviewed by: ashafer, danfe
Differential Revision: https://reviews.freebsd.org/D49715
x11/nvidia-driver: add note about disabling GSP firmware to pkg-message
This adds a note about disabling GSP firmware to the pkg-message to
document a recently discovered issues causing suspend/resume to fail.
When a proper fix lands in a future 570 version this can be removed.
suspend/resume issues began at commit 0de17c4dce28
Differential Revision: https://reviews.freebsd.org/D49640
Reviewed by: kbowling (mentor)
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
x11/nvidia-driver-470, x11/linux-nvidia-libs-470: Update to 470.256.02
Requested updating 470 series of legacy version of driver to 470.256.02
at Bug 285069 - x11/nvidia-driver-470: update from 470.161.03 to
470.256.02.
Tested (by myself) make and make package only, on stable/14, amd64 at
commit 7215aed7974cc4b7d3197ca5e5fcf545d3a28c0f as I myself am not using
470 series of driver anymore.
PR: 285069
Tested by: grahamperrin
Reviewed by: ashafer, kbowling (mentor)
Differential Revision: https://reviews.freebsd.org/D49457
x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-kmod: update to
570.124.04
This updates the NVIDIA ports to the latest stable production branch.
Also bump egl-wayland to the latest 1.1.18.
Submitted by: Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
Reviewed by: ashafer
Approved by: kbowling(mentor), maintainer timeout (danfe, x11)
Differential Revision: https://reviews.freebsd.org/D49245
x11/nvidia-driver: prevent dependencies non exiting 32bits compat.
Since pkg 2.x the dependency on shared libraries have been increased,
in particular we now track 32bits compat libraries.
The nvidia-driver on amd64 provides 32bits libraryes which are linked to
libX11.so.6 itself 32bit, which nothing in the ports tree provide,
meaning orphans dependencies, which results in tools analysing the
dependencies to complain about missing dependencies.
Add a knob to tell pkg to ignore those 32bits compat libraries when
extracting which libraries the package should depend on.
x11/nvidia-driver: fix build 304 and 340 after "Move manpages to share/man"
sed:
/usr/ports/x11/nvidia-driver-340/work/NVIDIA-FreeBSD-x86_64-340.108/nvml/man/Makefile:
No such file or directory
*** Error code 1
Approved by: arrowd (mentor)
Fixes: bf8a0031d97ff4c1fc019d7061085bdc38484365 "*: Move manpages to share/man"
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree
- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
Also move conditional flags for non sparc64/arm ARCH to fixed flags.
Reviewed by: brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
x11/nvidia-driver: Add Makefile.version and patch for nvidia-drm
This moves the version string into a makefile that can be included from
child ports.
This also adds a patch to nvidia-modeset that handles a deadlock with
queueing events observed with nvidia-drm. This fix is only needed in
535, future versions will have a proper implementation included with
them.
Approved by: maintainer timeout
Differential Revision: https://reviews.freebsd.org/D40168
x11/nvidia-driver: unbreak the build of two legacy driver versions
- Limit the scope of the K&R prototype fix to versions which
actually have that `nvlink_freebsd.c' file
- Adjust the version check for `lib/libnvidia-wayland-client.so'
which had first appeared in 515.43.04 beta release and add a
comment on the PLIST_FILES usage there
Reported by: pkg-fallout
x11/nvidia-driver: reword the pkg-message to reflect modern reality
Try to reduce readers' confusion by specifying exactly which nVidia
kernel module users should be loading these days.
PR: 269626
x11/nvidia-driver: Fix bug that switching to the terminal wasn't possible
Tested with NVidia RTX 2060 on FreeBSD 13.1 STABLE.
PR: 213912
Approved by: danfe@ (maintainer's timeout; 18 days)
x11/nvidia-driver: catch up with changes to pmap_unmapdev() and kmem_*()
Reported by: pkg-fallout
Differential Revision: https://reviews.freebsd.org/D36671
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
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 )
x11/nvidia-driver (legacy versions): unbreak the build on fresh -CURRENT
Recently, FreeBSD had started to enforce -Werror,-Wunused-but-set-variable
for kernel code, which affects 3rd-party modules such as nVidia drivers.
Newer versions of the driver are ready for that, but legacy one were not.
Reported by: pkg-fallout
PR: 263418
x11/nvidia-driver, x11/linux-nvidia-libs: Add 470.103.01
This legacy branch driver is to maintain support for Keplar GPUs.
PR: 261666
Approved by: maintainer timeout
Sponsored by: BBOX.io
Fix CONFLICTS entries of multiple ports
There have been lots of missing CONFLICTS_INSTALL entries, either
because conflicting ports were added without updating existing ports,
due to name changes of generated packages, due to mis-understanding
the format and semantics of the conflicts entries, or just due to
typoes in package names.
This patch is the result of a comparison of all files contained in
the official packages with each other. This comparison was based on
packages built with default options and may therefore have missed
further conflicts with optionally installed files.
Where possible, version numbers in conflicts entries have been
generalized, some times taking advantage of the fact that a port
(Only the first 15 lines of the commit message are shown above )
x11/nvidia-driver: lax the check when applying fix for src df38ada293
It turns out that NVVERSION check is not very accurate and may easily
break the build in various circumstances. Also, do not use the line
number as an anchor, just spell out the #include line in its entirety
when removing it.
PR: 260318
x11/nvidia-driver: try to unbreak the build on recent -CURRENT
After src commit df38ada2931f, `sys/module.h' must be included
after `sys/param.h'.
PR: 260318
x11/nvidia-driver: add support for the new feature branch 495.xx
The `libnvidia-egl-gbm' library is not yet on the SUBDIR list in the
`lib/Makefile', so record newly added pkg-plist entries as commented
out for the moment.
PR: 259496 (part 2)
Submitted by: jkim
graphics: Make libglvnd a LIB_DEPEND
There are still some incoming reports of dep issues when upgrading
old systems. This should help with dep solving and getting past the
file conflicts.
Reviewed by: jbeich, x11 (manu)
Differential Revision: https://reviews.freebsd.org/D31465
x11/{linux-nvidia-libs,nvidia-driver}-390: ports had been updated (+)
- Update 390.x series legacy driver and corresponding Linux libraries
ports to version 390.144, which fixed a bug where vkCreateSwapchain
could cause the X11 server to crash when an invalid imageFormat had
been provided
Reported by: portscout
x11/{linux-nvidia-libs,nvidia-driver}: ports had been updated (+)
- Update nVidia driver and Linux libraries to version 460.84
- Add support to build with DISTVERSION=470.42.01 (latest beta)
PR: 256888, 256889
Submitted by: jkim