In D53987#1233523, @adrian wrote:I'm ok with for now just enabling all symbol exports to unblock things and then figure out how to clean things up in post.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search
Advanced Search
Advanced Search
Mon, Dec 1
Mon, Dec 1
junchoon_dec.sakura.ne.jp added a comment to D53987: Export required symbols in nvidia.ko and nvidia-modeset.ko for their consumers.
Sat, Nov 29
Sat, Nov 29
junchoon_dec.sakura.ne.jp added a comment to D53987: Export required symbols in nvidia.ko and nvidia-modeset.ko for their consumers.
In D53987#1233515, @emaste wrote:It is better to provide an explicit list of symbols than just EXPORT_SYMS=YESunless we are sure that all symbols should be exported. But, this enough to preserve the status quo at least.
junchoon_dec.sakura.ne.jp added a comment to D53987: Export required symbols in nvidia.ko and nvidia-modeset.ko for their consumers.
In D53987#1233511, @imp wrote:So why can't the coonsumers of these symbols just depend on the module? Why do we have to export the symbols from these modules to everybody?
junchoon_dec.sakura.ne.jp added a comment to D53987: Export required symbols in nvidia.ko and nvidia-modeset.ko for their consumers.
If nvidia.ko hesitates to load due to the absense of linux*.ko, maybe src (main branch) would be needed to catch up with commit base e00a781c216cb12603a0a71c9ca293dde3e06250.
Nov 5 2025
Nov 5 2025
Oct 19 2025
Oct 19 2025
junchoon_dec.sakura.ne.jp updated the diff for D53196: graphics/nvidia-drm-kmod[-devel]: Fix dependency for 15.0 and later.
Sorry, uploaded wrong broken version of patch.
Replaced with actual one.
Oct 16 2025
Oct 16 2025
junchoon_dec.sakura.ne.jp updated the diff for D53128: [New port]graphics/nvidia-drm-latest-kmod, graphics/nvidia-drm-latest-kmod-devel: Add new port.
Apply the same fix as review D53136.
(Drop BUILD_DEPENDS line as per request from bapt.)
Oct 15 2025
Oct 15 2025
Oct 5 2025
Oct 5 2025
junchoon_dec.sakura.ne.jp added a comment to D52831: 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.
Alright. Let's wait for @bapt.
One (hope it unlikely) possibility is that graphics/nvidia-drm-kmod metaport RUN_DEPENDS on x11/nvidia-driver${PKGNAMESUFFIX} to pull it in at the first install.
Oct 1 2025
Oct 1 2025
LGTM now. Thanks!
It would be better unifying the terms to "Direct Rendering Manager" instead of "DRM" and "Direct Rendering interface".
I have no intention to reject (if so, as I'm assigned as reviewer, I would have rejected).
Just thought it would be clearer.
junchoon_dec.sakura.ne.jp added a comment to D52831: 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.
Additional note:
junchoon_dec.sakura.ne.jp added a comment to D52178: x11/nvidia-driver: Splitting out kmod part of x11/nvidia-driver into x11/nvidia-kmod, including slave ports..
Thanks!
Sep 30 2025
Sep 30 2025
junchoon_dec.sakura.ne.jp added a comment to D52178: x11/nvidia-driver: Splitting out kmod part of x11/nvidia-driver into x11/nvidia-kmod, including slave ports..
Can this be committed before new quarterly 2025Q4 is branched so that upcoming pre-built pkgs for 15.0-Release surely have this at its beginning?
Sep 27 2025
Sep 27 2025
junchoon_dec.sakura.ne.jp updated the diff for D52178: x11/nvidia-driver: Splitting out kmod part of x11/nvidia-driver into x11/nvidia-kmod, including slave ports..
Rebase after commit ports 971606f3493fbbc77c156ab84243ab952d89a81b.
Sep 23 2025
Sep 23 2025
junchoon_dec.sakura.ne.jp added a comment to D52178: x11/nvidia-driver: Splitting out kmod part of x11/nvidia-driver into x11/nvidia-kmod, including slave ports..
As graphics/drm-[61|66]-kmod are updated and corresponding graphics/nvidia-drm-[61|66]-kmod[-devel] are bumped, this need to be rebased to land sanely.
Sep 13 2025
Sep 13 2025
Sep 12 2025
Sep 12 2025
junchoon_dec.sakura.ne.jp added a comment to D52178: x11/nvidia-driver: Splitting out kmod part of x11/nvidia-driver into x11/nvidia-kmod, including slave ports..
Found new Production Branch of driver set 580.82.09 upstream.
Should I update ports for it? If so, patch in this review would need rebasing.
Sep 3 2025
Sep 3 2025
junchoon_dec.sakura.ne.jp updated the diff for D52178: x11/nvidia-driver: Splitting out kmod part of x11/nvidia-driver into x11/nvidia-kmod, including slave ports..
Rebase for upgrading to 580.82.07 at commit ports 2b2519a398fa84d21af69c8dc88c25f92aaa2d5f.
Sep 2 2025
Sep 2 2025
junchoon_dec.sakura.ne.jp added a comment to D52178: x11/nvidia-driver: Splitting out kmod part of x11/nvidia-driver into x11/nvidia-kmod, including slave ports..
Opened another review to upgrade to 580.82.07 as D52352, which is the latest Production Branch of drivers.
Aug 27 2025
Aug 27 2025
junchoon_dec.sakura.ne.jp added a comment to D52178: x11/nvidia-driver: Splitting out kmod part of x11/nvidia-driver into x11/nvidia-kmod, including slave ports..
For which context? This review itselr? Or for treatment about UPDATING?
junchoon_dec.sakura.ne.jp added a comment to D52178: x11/nvidia-driver: Splitting out kmod part of x11/nvidia-driver into x11/nvidia-kmod, including slave ports..
Should I include UPDATING part into this, or opening separate review is wanted?
Aug 17 2025
Aug 17 2025
Aug 14 2025
Aug 14 2025
Related PR: Bug 288848
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288848
Aug 13 2025
Aug 13 2025
Aug 7 2025
Aug 7 2025
Aug 6 2025
Aug 6 2025
Jul 24 2025
Jul 24 2025
Jul 18 2025
Jul 18 2025
Jul 16 2025
Jul 16 2025
junchoon_dec.sakura.ne.jp added a comment to D51340: x11/nvidia-driver: Fix build after src main 4dd828c80828637452a8a4e07a64e294c82e5d8b.
Thanks!
Using sed is not to worry when upstream (nvidia) incorporates fix in the future.
Jul 3 2025
Jul 3 2025
Jun 29 2025
Jun 29 2025
junchoon_dec.sakura.ne.jp added inline comments to D50282: graphics/nvidia-drm-kmod: Make distinfo auto-merged on build.
Jun 22 2025
Jun 22 2025
junchoon_dec.sakura.ne.jp added inline comments to D50282: graphics/nvidia-drm-kmod: Make distinfo auto-merged on build.
junchoon_dec.sakura.ne.jp updated the diff for D50697: [NEW PORT] x11/nvidia-driver-devel, x11/linux-nvidia-libs-devel, graphics/nvidia-drm[,510,515,61,66]-kmod-devel: Add new port.
Upgraded to new NFB 575.64.
Jun 21 2025
Jun 21 2025
junchoon_dec.sakura.ne.jp updated the diff for D50915: x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm*-kmod, x11/nvidia-settings, x11/nvidia-xconfig: Update to 570.169.
Rebase (again) after
commit ports 408bc22ceb8f1971abdb5271decf4275a7af9d8f
for graphics/drm-510-kmod.
Jun 20 2025
Jun 20 2025
junchoon_dec.sakura.ne.jp updated the diff for D50915: x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm*-kmod, x11/nvidia-settings, x11/nvidia-xconfig: Update to 570.169.
Rebase after
commit 2648f5b3b996ac77536a60f2a6012db1eb5a4349,
commit 275846acd725a3e0240e07ae88773158c4d5f29c, and
commit 8ebe065203495c6c246d0ce3c29619a11c9cf910
for graphics/drm-515-kmod, graphics/drm-61-kmod and graphics/drm-66-kmod respectively.
Jun 18 2025
Jun 18 2025
junchoon_dec.sakura.ne.jp added a comment to D50697: [NEW PORT] x11/nvidia-driver-devel, x11/linux-nvidia-libs-devel, graphics/nvidia-drm[,510,515,61,66]-kmod-devel: Add new port.
Found latest NFB 575.64 is released.
As I'm now running new Production Branch of driver 570.169 (filed PR 287641 and corresponding review D50915) to see whether any new problem occurs or not, update would be worked on (hopefully) after a couple of days.
Jun 17 2025
Jun 17 2025
junchoon_dec.sakura.ne.jp updated the diff for D50697: [NEW PORT] x11/nvidia-driver-devel, x11/linux-nvidia-libs-devel, graphics/nvidia-drm[,510,515,61,66]-kmod-devel: Add new port.
Rebase after upgrading of graphics/drm-515-kmod to drm_v5.15.160_4 at commit d7a1f45acaef32b98399a28ab5be5307d1186026.
Jun 10 2025
Jun 10 2025
junchoon_dec.sakura.ne.jp added a comment to D50697: [NEW PORT] x11/nvidia-driver-devel, x11/linux-nvidia-libs-devel, graphics/nvidia-drm[,510,515,61,66]-kmod-devel: Add new port.
Maybe we need to decide whether waiting until before the end of June or wait more.
This means in which quarterly this appears.
Jun 8 2025
Jun 8 2025
junchoon_dec.sakura.ne.jp added a comment to D50697: [NEW PORT] x11/nvidia-driver-devel, x11/linux-nvidia-libs-devel, graphics/nvidia-drm[,510,515,61,66]-kmod-devel: Add new port.
Precisely, CONFLICTS_INSTALL for x11/nvidia-secondary-driver* can be removed, too, for main branch.
junchoon_dec.sakura.ne.jp updated the diff for D50697: [NEW PORT] x11/nvidia-driver-devel, x11/linux-nvidia-libs-devel, graphics/nvidia-drm[,510,515,61,66]-kmod-devel: Add new port.
Simplify CONFLICTS_INSTALL lines.
While here, add missing CONFLICT_INSTALL for x11/linux-nvidia-libs.
Jun 5 2025
Jun 5 2025
May 23 2025
May 23 2025
junchoon_dec.sakura.ne.jp retitled D50501: x11/nvidia-settings: Update to 570.153.02 to keep sync with x11/nvidia-driver from Update to latest Production Branch 570.153.02 to keep sync with x11/nvidia-driver to x11/nvidia-settings: Update to 570.153.02 to keep sync with x11/nvidia-driver.
May 15 2025
May 15 2025
junchoon_dec.sakura.ne.jp added a comment to D50282: graphics/nvidia-drm-kmod: Make distinfo auto-merged on build.
Should I split out line 7 and 11 of graphics/nvidia-drm-kmod/Makefile.common, which renames drm-*-kmod part of distfiles to match graphics/drm-*-kmod, to be a separate review and make this (D50282) to depend on it?
junchoon_dec.sakura.ne.jp added a comment to D50282: graphics/nvidia-drm-kmod: Make distinfo auto-merged on build.
In D50282#1149188, @manu wrote:I'm ok for this but keep in mind that we will still need to bump PORTREVISION on nvidia kmod when we update drm-*-kmod so I'm not sure it's worth doing all that tbh
junchoon_dec.sakura.ne.jp updated the diff for D50282: graphics/nvidia-drm-kmod: Make distinfo auto-merged on build.
Rebase after commit 940ca091de52.
Keeping concept until manu@ pops in as the de-facto maintainer of graphics/drm-*-kmod.
May 13 2025
May 13 2025
junchoon_dec.sakura.ne.jp added a comment to D50282: graphics/nvidia-drm-kmod: Make distinfo auto-merged on build.
Thanks for the idea!
junchoon_dec.sakura.ne.jp updated the diff for D50282: graphics/nvidia-drm-kmod: Make distinfo auto-merged on build.
Rebase after commit 3adb70282914 and commit 8495963ac01c.
Stopped bumping PORTREVISION as pointed out by kbowling@.
May 11 2025
May 11 2025
junchoon_dec.sakura.ne.jp updated the diff for D50142: x11/nvidia-driver, x11/linux-nvidia-libs: Split and distribute distinfo per-slave-ports.
Stop updating PORTREVISION as pointed out by arrowd@.
junchoon_dec.sakura.ne.jp added a comment to D50142: x11/nvidia-driver, x11/linux-nvidia-libs: Split and distribute distinfo per-slave-ports.
Why bump PORTREVISIONs? There should be no visible changes in the resulting package.
May 10 2025
May 10 2025
junchoon_dec.sakura.ne.jp updated the diff for D50142: x11/nvidia-driver, x11/linux-nvidia-libs: Split and distribute distinfo per-slave-ports.
Rebase after upgrading to 570.144.
Split out auto-distinfo part (for graphics/nvidia-drm*-kmod).
May 8 2025
May 8 2025
junchoon_dec.sakura.ne.jp added a comment to D50142: x11/nvidia-driver, x11/linux-nvidia-libs: Split and distribute distinfo per-slave-ports.
I'm fine with splitting out "auto-merged distinfo" part for graphics/nvidia-drm-*-kmod into another review.
But as it strongly depends on the remaining part of this review (splitting distinfos for legacy versions), I've opened this as a "merged" one.
Putting "Depends on" line pointing to this review in the summary newly splitted out one does the right thing, right?
Or should I wait for the remaining-here part in this review to be approved and landed prior to opening another review?
May 7 2025
May 7 2025
junchoon_dec.sakura.ne.jp added a comment to D49982: x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-kmod: Update to 570.144.
Some notes for the future:
If new legacy branch is created upstream from pre-570.144, we would need to add back conditionals for it.
And once we add -devel for New Feature Branch of drivers (to support cutting edge GPUs), we would or wouldn't need to add conditionals (depending on whether the additions/upgrades are trivial or not).
May 6 2025
May 6 2025
junchoon_dec.sakura.ne.jp added a comment to D50142: x11/nvidia-driver, x11/linux-nvidia-libs: Split and distribute distinfo per-slave-ports.
This is basically a refactor to ease maintainances.
junchoon_dec.sakura.ne.jp updated the diff for D49982: x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-kmod: Update to 570.144.
Rebase after commit 637e9e68f1a2ce587e5107b0fd296abd16f061a0 "x11/nvidia-driver: Fix too aggressive disabling of GSP firmware".
junchoon_dec.sakura.ne.jp added a comment to D49982: x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-kmod: Update to 570.144.
Because egl-wayland can be installed separately I think that's a good case for why keeping intermediate versions around is not worth it.
For x11/nvidia-driver, yes.
May 5 2025
May 5 2025
junchoon_dec.sakura.ne.jp added a comment to D49982: x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-kmod: Update to 570.144.
Turned out that use-cases requiring intermediate versions exists.
https://forums.freebsd.org/threads/how-to-install-the-nvidia-drm-kmod-for-the-driver-nvidia-525-78-01-on-freebsd-14-2-to-be-able-to-run-comfyui.97741/
May 4 2025
May 4 2025
May 3 2025
May 3 2025
junchoon_dec.sakura.ne.jp added a comment to D49982: x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-kmod: Update to 570.144.
Pending rebase after D50048 landed as commit 13636d8b58f662e12d1513333d1e981a59620109 for now, as D50053 should land first. Would rebase after it lands.
junchoon_dec.sakura.ne.jp updated the diff for D50053: x11/nvidia-driver: Fix too aggressive disabling of GSP firmware.
Rebase after D50048 landed as commit 13636d8b58f662e12d1513333d1e981a59620109.
junchoon_dec.sakura.ne.jp added a comment to D50053: x11/nvidia-driver: Fix too aggressive disabling of GSP firmware.
If you feel the value 1 for hw.nvidia.registry.EnableGpuFirmware is OK, please commit this.
(I cannot test whether 17 works for anyone affected or not, as I don't have GPUs with GSP.)
Even though I've left inline comment about PORTREVISION, others looks good to me.
So accepting now.
Modifying PORTREVISION to match reality at the time committed shouldn't matter,
but if you want on commit, I'll accept this again ASAP.
May 2 2025
May 2 2025
junchoon_dec.sakura.ne.jp added a comment to D50053: x11/nvidia-driver: Fix too aggressive disabling of GSP firmware.
Thanks!
Macro is good to ease and clarify codes "for anyone already thoroughy know it", but for anyone others, it can easily become kinda... hell to track. ;-) So I've left my previous comment for records.
May 1 2025
May 1 2025
junchoon_dec.sakura.ne.jp added a comment to D50053: x11/nvidia-driver: Fix too aggressive disabling of GSP firmware.
For the record:
Some findings on tracking macros handling registry hw.nvidia.registry.EnableGpuFirmware and the reason why I've chosen this way.
junchoon_dec.sakura.ne.jp updated the diff for D50053: x11/nvidia-driver: Fix too aggressive disabling of GSP firmware.
Re-title.
Fix to allow overriding hw.nvidia.registry.EnableGpuFirmware via /boot/loader.conf again, which stopped working after D49828 landed.
Apr 29 2025
Apr 29 2025
junchoon_dec.sakura.ne.jp added a comment to D50053: x11/nvidia-driver: Fix too aggressive disabling of GSP firmware.
In D50053#1141815, @kbowling wrote:In D50053#1141698, @junchoon_dec.sakura.ne.jp wrote:In D50053#1141632, @kbowling wrote:In D50053#1141606, @ashafer wrote:I think a better idea would be to adjust the patch I made for disabling GSP. That patch was pretty heavy handed and turned off a global which enabled GSP. I think instead we could make the patch default only the sysctl value to zero, disabling GSP by default but allowing users to enable it by setting the tunable in loader.conf. That would prevent us from having to have a build option and prevent users from having to compile things themselves.
I agree with this recommendation. This should be a tunable kind of thing since we need package users to be able to try both settings.
So OPTIONify is not needed, unless any case which need global disabling of GSP.
If such a case exists, keeping OPTIONifying but enable by default, with flipping the default for the tunable.
3 entries of OPTIONS_SINGLE would be wanted in that case.Enable GSP firmware support Disable GSP firmware support via tunable (default)and
Globally disable GSP firmware supportto avoid confusions.
If not, simply changing patch to flip the tunable and edit pkg-message (actually, files/pkg-message.in) to tell anyone having problem with the ports default to flip it via tunable is sufficient.
In this case, if we can't edit summary of this revier, I need to abandon this and open a new review. Not sure at this moment.I don't think the option is worth carrying. Instead, editing extra-gsp-patch-src-nvidia_subr.c (or whatever file instead) to provide the correct tunable) is the proposal from @ashafer.
We will hope that the default can become durable and do the right thing almost all the time, but it still seems like tricky business with all the cards and driver right now.
Apr 28 2025
Apr 28 2025
junchoon_dec.sakura.ne.jp added a comment to D50053: x11/nvidia-driver: Fix too aggressive disabling of GSP firmware.
In D50053#1141632, @kbowling wrote:In D50053#1141606, @ashafer wrote:I think a better idea would be to adjust the patch I made for disabling GSP. That patch was pretty heavy handed and turned off a global which enabled GSP. I think instead we could make the patch default only the sysctl value to zero, disabling GSP by default but allowing users to enable it by setting the tunable in loader.conf. That would prevent us from having to have a build option and prevent users from having to compile things themselves.
I agree with this recommendation. This should be a tunable kind of thing since we need package users to be able to try both settings.
junchoon_dec.sakura.ne.jp added inline comments to D50048: x11/nvidia-driver: Clean up unused LIBGLDIR/LIBGLMAP.
Apr 27 2025
Apr 27 2025
junchoon_dec.sakura.ne.jp added a comment to D49982: x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-kmod: Update to 570.144.
Looking into x11/nvidia-driver/Makefile and x11/linux-nvidia-libs/Makefile thoroughly, there seems to be no more candidates for conditionals to be pruned, if I'm not overlooking something.
Apr 25 2025
Apr 25 2025
junchoon_dec.sakura.ne.jp added a comment to D49982: x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-kmod: Update to 570.144.
On headsup for pruning intermediate versions, we should clarify:
*Keeping conditionals only the top of master port and each slave (legacy, currently) ports and initial version of each conditionals as a record, or
Apr 24 2025
Apr 24 2025
junchoon_dec.sakura.ne.jp updated the diff for D49982: x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-kmod: Update to 570.144.
Rebase to chase graphics/drm-[61|66]-kmod upgrades.
junchoon_dec.sakura.ne.jp added a comment to D49982: x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-kmod: Update to 570.144.
In D49982#1140140, @jkim wrote:In D49982#1140088, @junchoon_dec.sakura.ne.jp wrote:In D49982#1140083, @ziaee wrote:Can we have an updated version string in the dmesg? On current with nvidia-drm-66-kmod, I get:
Initialized nvidia-drm 0.0.0 20160202 for nvidia0 on minor 1Cannot find related codes in nvidia side of src in quick glance, but found in drm-*-kmod part.
(I'm working on stable/14, so cannot test graphics/*drm-66-kmod. But string in dmesg looks same.It is defined in the NVIDIA driver, i.e., src/nvidia-drm/nvidia-drm-drv.c. Just search 20160202.
Related discussions at Bug 285803, starting from comment 7.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285803#c7
Apr 23 2025
Apr 23 2025
junchoon_dec.sakura.ne.jp added a comment to D49982: x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-kmod: Update to 570.144.
In D49982#1140083, @ziaee wrote:Can we have an updated version string in the dmesg? On current with nvidia-drm-66-kmod, I get:
Initialized nvidia-drm 0.0.0 20160202 for nvidia0 on minor 1
junchoon_dec.sakura.ne.jp updated the diff for D49982: x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-kmod: Update to 570.144.
Fixed PORTREVISION in graphics/nvidia-drm-kmod/Makefile.common.
Apr 14 2025
Apr 14 2025
Anyway, whichever builds fine. So accepted.
junchoon_dec.sakura.ne.jp added inline comments to D49828: x11/nvidia-driver: disable GSP Firmware by default.
Looks good to me.
Built/packaged both on bare-metal and poudriere, installed and ran fine using pkg built with poudriere.
Tested on stable/14, amd64 at commit f9afcbff02a230af85e646ef3ae166ae61b04ca1.
Looks good to me.
Built/packaged both on bare-metal and poudriere, installed and ran fine using pkg built with poudriere.
Tested on stable/14, amd64 at commit f9afcbff02a230af85e646ef3ae166ae61b04ca1.
Apr 11 2025
Apr 11 2025