User Details
- User Since
- Aug 20 2016, 12:41 PM (447 w, 2 d)
Yesterday
Thanks!
Sun, Mar 16
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.
Wed, Mar 5
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!