[Bug 288314] graphics/nvidia-drm-kmod: Need 14.3-RELEASE build

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 28 Jul 2025 13:10:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288314

--- Comment #16 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> ---
Created attachment 262521
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=262521&action=edit
WIP patch for splitting out kmod part of x11/nvidia-driver*

Disclosing WIP patch to offer what we can do, under testing by myself.

This patch
  *splits 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 upon newly introduced x11/nvidia-kmod[-devel],

  *make x11/nvidia-driver[-304|-340|-390|470|-devel] depend upon
   newly introduced x11/nvidia-kmod[-304|-340|-390|470|-devel],

  *and hook x11/nvidia-kmod[-304|-340|-390|470|-devel] to build.

Currently, tested build and package for
  x11/nvidia-driver
  x11/nvidia-driver-devel
  x11/nvidia-kmod
  x11/nvidia-kmod-devel
  graphics/nvidia-drm-61-kmod
  graphics/nvidia-drm-61-kmod-devel
and additionally installing and running -devel variants on stable/14, amd64
at commit 823b81ac9c75f4c86b8e85e12bf1f0219ae59608.

Note that x11/nvidia-driver* needs to be deinstalled before start.

And known and (as per requirements) unfixable regression would be
graphics/nvidia-drm-*-kmod no longer pulls in x11/nvidia-driver[-devel],
that become non-kmod only part, thus, don't work without explicitly
installing x11/nvidia-driver[-devel]. kmod part should be pulled in.

Possible workaround would be making metaport graphics/nvidia-drm-kmod[-devel]
to depend on corresponding x11/nvidia-driver[-devel].

UPDATING and pkg-message[.in] are not yet touched, as this is currently
unknown to be accepted by admins of kmod builder.

If this approach is acceptable for admins of kmod builder, I'll open review for
this, with UPDATING and (if accepted) workarounds in metaport. (Need tests,
though).

-- 
You are receiving this mail because:
You are the assignee for the bug.