Created attachment 260932 [details] 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. This is because, in some cases, major version of Production Branch of drivers are bumped to larger than the one for corresponding NFB. So depending on the timing, *-devel 100% matches non-devel master ports except for its package name. Our upgrading policies are: 1. Start investigating whether some additional works are needed to build/install/run or not when new Beta is found to be released upstream. 2. If any additional works were needed and done, upgrade master ports below without updating version nor PORTREVISION of master ports below. x11/nvidia-driver x11/linux-nvidia-libs graphics/nvidia-drm-*-kmod and as needed, graphics/nvidia-drm-kmod/Makefile.common would be updated, too. 3. Once findng new NFB is released upstream, bump versions of *-devel. Step 2 would "usually" ease this work unless Beta is skipped or last-minutes breaking changes are introduced. 4. Once finding new Production Branch is released upstream, bump versions of master ports. 5. Once finding any of Legacy Branch of driver is released upstream, upgrade corresponding legacy ports. This could need some additional work, because updated version could incorporate patches from our ports. Note that graphics/nvidia-drm-*-kmod does NOT support any of exisiting legacy versions, as they don't yet have codes to support these ports.
Review on Phablicator would be opened after seeing no more unhooking/re-hooking to categories graphics and x11 seems to happen to avoid unwanted frequent rebases.
Opened review on Phablicator as Differential Revison D50697. https://reviews.freebsd.org/D50697
Created attachment 261091 [details] Patch to add *-devel versions of nvidia drivers (v2) Sync with updated patch at review D50697. Simplified CONFLICTS_INSTALL lines. While here, added missing CONFLICTS_INSTALL line for x11/linux-nvidia-libs.
Created attachment 261334 [details] Patch to add *-devel versions of nvidia drivers (v3) Rebase after upgrading of graphics/drm-515-kmod to drm_v5.15.160_4 at commit d7a1f45acaef32b98399a28ab5be5307d1186026.
Created attachment 261473 [details] Patch to add *-devel versions of nvidia drivers 575.64 Upgraded to new NFB 575.64. While here, rebase after upgrading of graphics/drm-510-kmod to drm_v5.10.163_8 at commit ports 408bc22ceb8f1971abdb5271decf4275a7af9d8f.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c7cde11f842b33bb36b85b91400bec795430c421 commit c7cde11f842b33bb36b85b91400bec795430c421 Author: Tomoaki AOKI <junchoon@dec.sakura.ne.jp> AuthorDate: 2025-06-22 07:09:11 +0000 Commit: Kevin Bowling <kbowling@FreeBSD.org> CommitDate: 2025-06-22 09:56:05 +0000 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. This is because, in some cases, major version of Production Branch of drivers are bumped to larger than the one for corresponding NFB. So depending on the timing, *-devel 100% matches non-devel master ports except for its package name. Our upgrading policies are: 1. Start investigating whether some additional works are needed to build/install/run or not when new Beta is found to be released upstream. 2. If any additional works were needed and done, upgrade master ports below without updating version nor PORTREVISION of master ports below. x11/nvidia-driver x11/linux-nvidia-libs graphics/nvidia-drm-*-kmod and as needed, graphics/nvidia-drm-kmod/Makefile.common would be updated, too. 3. Once findng new NFB is released upstream, bump versions of *-devel. Step 2 would "usually" ease this work unless Beta is skipped or last-minutes breaking changes are introduced. 4. Once finding new Production Branch is released upstream, bump versions of master ports. 5. Once finding any of Legacy Branch of driver is released upstream, upgrade corresponding legacy ports. This could need some additional work, because updated version could incorporate patches from our ports. Note that graphics/nvidia-drm-*-kmod does NOT support any of exisiting legacy versions, as they don't yet have codes to support these ports. PR: 287268 Differential Revision: https://reviews.freebsd.org/D50697 graphics/Makefile | 5 +++++ graphics/nvidia-drm-510-kmod-devel/Makefile (new) | 7 +++++++ graphics/nvidia-drm-510-kmod-devel/distinfo (new) | 5 +++++ graphics/nvidia-drm-510-kmod/Makefile | 2 +- graphics/nvidia-drm-515-kmod-devel/Makefile (new) | 7 +++++++ graphics/nvidia-drm-515-kmod-devel/distinfo (new) | 5 +++++ graphics/nvidia-drm-515-kmod/Makefile | 2 +- graphics/nvidia-drm-61-kmod-devel/Makefile (new) | 7 +++++++ graphics/nvidia-drm-61-kmod-devel/distinfo (new) | 5 +++++ graphics/nvidia-drm-61-kmod/Makefile | 2 +- graphics/nvidia-drm-66-kmod-devel/Makefile (new) | 7 +++++++ graphics/nvidia-drm-66-kmod-devel/distinfo (new) | 5 +++++ graphics/nvidia-drm-66-kmod/Makefile | 2 +- graphics/nvidia-drm-kmod-devel/Makefile (new) | 8 ++++++++ graphics/nvidia-drm-kmod/Makefile | 10 ++++++---- graphics/nvidia-drm-kmod/Makefile.common | 7 ++++++- x11/Makefile | 2 ++ x11/linux-nvidia-libs-devel/Makefile (new) | 8 ++++++++ x11/linux-nvidia-libs-devel/distinfo (new) | 3 +++ x11/linux-nvidia-libs/Makefile | 4 +++- x11/nvidia-driver-devel/Makefile (new) | 8 ++++++++ x11/nvidia-driver-devel/distinfo (new) | 3 +++ x11/nvidia-driver/Makefile | 2 +- 23 files changed, 105 insertions(+), 11 deletions(-)
(In reply to commit-hook from comment #6) Confirmed. Thanks!