[Bug 296206] nvidia-drm-kmod 595.80 breaks Wayland (wlroots) after upgrade to 15.1-RELEASE: "Found 0 GPUs" / "unable to open /dev/dri/card0 as KMS device"

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 22 Jun 2026 17:47:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296206

Tomoaki AOKI <junchoon@dec.sakura.ne.jp> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |junchoon@dec.sakura.ne.jp

--- Comment #1 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> ---
I believe you're NOT reinstalled ports/pkgs after upgrading 15.0 to 15.1.
This is because
- nvidia-drm-66-kmod-595.80.1500068_1
- drm-66-kmod-6.6.25.1500068_9
clearly means these are built for 15.0, not 15.1.

Non-kmod ports are basically unneeded to be reinstalled on minor version
upgrades.
But kmod ports are NOT, especially for anything requiring LinuxKPI to run.
This is why FreeBSD-ports-kmod entry exists in /etc/pkg/FreeBSD.conf (in 14.x,
the entry is FreeBSD-kmod).

And currently, NVIDIA related kmod ports except x11/nvidia-kmod are not at all
built on FreeBSD-ports-kmod builders (AFAIK, the builder admins are trying to
take time to dig into why, but not yet succeeded in it).

Please build at least x11/nvidia-kmod and graphics/nvidia-drm-66-kmod (or
switch to graphics/nvidia-drm-612-kmod in conjunction with
graphics/drm-612-kmod, don't mix up 66 and 612!) locally using ports.

Note that you need src tree that matches your running kernel is needed.
Any ports depending on LinuxKPI are quite keen to the commits to LinuxKPI.
This includes graphics/drm-*-kmod and graphics/nvidia-drm-*-kmod*.

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