User Details
- User Since
- Aug 20 2016, 12:41 PM (459 w, 2 d)
Sun, Jun 8
Precisely, CONFLICTS_INSTALL for x11/nvidia-secondary-driver* can be removed, too, for main branch.
Simplify CONFLICTS_INSTALL lines.
While here, add missing CONFLICT_INSTALL for x11/linux-nvidia-libs.
Thu, Jun 5
Fri, May 23
Thu, May 15
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?
Rebase after commit 940ca091de52.
Keeping concept until manu@ pops in as the de-facto maintainer of graphics/drm-*-kmod.
Tue, May 13
Thanks for the idea!
Rebase after commit 3adb70282914 and commit 8495963ac01c.
Stopped bumping PORTREVISION as pointed out by kbowling@.
Sun, May 11
Stop updating PORTREVISION as pointed out by arrowd@.
Why bump PORTREVISIONs? There should be no visible changes in the resulting package.
May 10 2025
Rebase after upgrading to 570.144.
Split out auto-distinfo part (for graphics/nvidia-drm*-kmod).
May 8 2025
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
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
This is basically a refactor to ease maintainances.
Rebase after commit 637e9e68f1a2ce587e5107b0fd296abd16f061a0 "x11/nvidia-driver: Fix too aggressive disabling of GSP firmware".
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
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 3 2025
Pending rebase after D50048 landed as commit 13636d8b58f662e12d1513333d1e981a59620109 for now, as D50053 should land first. Would rebase after it lands.
Rebase after D50048 landed as commit 13636d8b58f662e12d1513333d1e981a59620109.
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
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
For the record:
Some findings on tracking macros handling registry hw.nvidia.registry.EnableGpuFirmware and the reason why I've chosen this way.
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 28 2025
Apr 27 2025
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
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
Rebase to chase graphics/drm-[61|66]-kmod upgrades.
Related discussions at Bug 285803, starting from comment 7.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285803#c7
Apr 23 2025
Fixed PORTREVISION in graphics/nvidia-drm-kmod/Makefile.common.
Apr 14 2025
Anyway, whichever builds fine. So accepted.
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
Thanks!
Apr 9 2025
Reset PORTREVISION to 0 for x11/nvidia-driver-390.
Apr 8 2025
Apr 4 2025
A bit too late, but shouldn't graphics/nvidia-drm-kmod/Makefile.common also needed to be handled?
This file is included from graphics/nvidia-drm-*-kmod/Makefile and having MAINTAINER= [email protected] line in it.
Apr 3 2025
Forgot to mention in my previous post.
Wouldn't PORTREVISION bump needed for this update to be included in official pkg?
Why I've asked whether this should be MFH'ed or not is just because now is the timing almost just after 2025Q2 is branched. Usually for this kind of non-security upgrade, me, too, prefer not MFH'ing.
This would be worth mentioned in Chapter 5 and Chapter 6 of the Handbook, too, for whom bitten but doesn't notice pkg-messages displayed on install/upgrade.
Apr 2 2025
Confirmed landed. Thanks!
BTW, would this be worth MFC'ed to 2025Q2? It branched before this landed.
Mar 23 2025
Mar 17 2025
Thanks!
Mar 16 2025
In preparation for review D47742 "kernel linker: Disable local sym
resolution by default" to be landed, commits
f2cc91f4b56eaa5da41a712b3c42be874161c1c9 (for graphics/[nvidia-]drm-515-kmod) 8b4b66d94b8ff86c1c764094c38273313dd5f2d3 (for graphics/[nvidia-]drm-61-kmod) f7f46d1b58279326de0760ce1fee71631af40cae (for graphics/drm-66-kmod)
and
e3d1e7c048d0c909e3f67bc4e2dba558f4c17781 (for graphics/nvidia-drm-66-kmod)
are landed.
Mar 5 2025
Expanded comment about the introduced workaround for X11 in graphics/nvidia-drm-kmod/Makefile.common as per request from ashafer. No changes for other parts.
Oct 29 2024
Uploaded updated patch (rev6) using option e) at Bug 282312.
Found the root cause in nvidia codes. No need to touch upstream graphics/drm-[515|61]-kmod side.
Oct 28 2024
Intermediate results of option b).
Look for the offending lines after make patch for graphics/nvidia-drm-61-kmod without the workaround by
I've never dug into upstream repo of drm-kmod before, so possibly I'm overlooking or mis-understanding, but tag name drm_v5.10.163_7 (specified by graphics/drm-510-kmod/Makefile.version) still has linuxkpi/dummy/include, so it wouldn't be affected.
So, our options would be:
a) Commit rev5 of the patch at Bug 282312 as-is, and once upstream addressed this issue, revert graphics/nvidia-drm-kmod/Makefile.common part of the patch and bump portrevision.
Oct 27 2024
A possibility is that all fixes in drm-kmod upstream are anywhere nvidia-drm-*-kmod builds and left some more that nvidia-drm-*-kmod build picks. The fixes in upstream seems to remove "CFLAGS+= -I${.CURDIR:H:H}/linuxkpi/dummy/include" lines from Makefile here and there, according to commit logs.
Oct 26 2024
Looks good to me.
Once this lands, I'll update my patch at Bug 282312 for further reviews.
Jun 14 2024
Thanks! Now things got clear enough for me.
Jun 5 2024
Tested on
stable/14, amd64 at commit 04a191c251e5ef20deb14fcdcf628a589be5216a
and
main, amd64 at commit 40d951bc5932deb87635f5c1780a6706d0c7c012.
For ports, overriding DISTVERSION with 555.42.02.
Mar 13 2024
If I understand correctly, setting BUILD_DEPENDS alone makes the dependency not to be automatically installed by pkg, including packages which are locally built with poudriere or any other clean-room builders.
Legacy builders like portupgrade should not be affected, though, as it needs BUILD_DEPENDS to be installed first to proceed builds.
Feb 27 2024
Feb 24 2024
Is there any reason to disallow nvidia-drm-61-kmod for whole stable/14 other than that graphics/drm-61-kmod disallows them?
If not, stable/14 having ${OSVERSION} >= 1400508 is now stated to be supported by graphics/drm-61-kmod starting from commit e04b01217828bf06d36a02ad8e69dbb54c30b607 [1].
Nov 19 2022
I should note that anyone using default LLVM (except for powerpc) as external toolchain would be bitten. (Not me, though.)
Default LLVM on ports is still stuck on devel/llvm90 (devel/llvm10 for powerpc only) according to Mk/bsd.default-versions.mk.
Maybe now would be time to switch default LLVM to devel/llvm10 or later (devel/llvm13, which is required by mesa?).
Jun 25 2022
Jun 24 2022
Feb 4 2018
Looks and works OK for old (0x100 protocol) ThinkPad.
No new regression on my T420. (Known-not-working and dangerous functions like suspend/resume are untested.)
Not marking as "Accepted" as I don't have newer ThinkPads having 0x200 protocol and no knowledges for 0x200 protocol.
So I just reviewed and tested fallback (to 0x100 protocol) codes.
Dec 17 2017
Nov 19 2017
Just a heads-up.
r325851 broke this (including Karl's updated patch at bug 187594).
"needfree" in arc.c has gone.
Oct 1 2017
Confirmed that the latest patch Karl uploaded on Bugzilla bug 187594 [1] (merged his patch with the one here) is...
Sep 30 2017
Aug 25 2016
Confirmed. Thanks!
Tested on stable/11 at r304717, amd64, ports tree is at r420859.
Build, install and run: 367.35 Build only: 364.19, 361.45.11, 361.42, 361.28, 358.16, 355.11, 352.79, 352.55, 352.41, 352.30, 352.21, 349.16, 346.72, 346.59
Aug 21 2016
Now it builds fine and running for stable/11 (r304528) and head (r304535), both amd64.
Thanks!