[Bug 291212] x11/nvidia-driver: CURRENT fails to load kernel module due to commit 9562994a7aacee2baae6ddee1a7b558b48ae39ef

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 25 Nov 2025 22:40:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291212

--- Comment #4 from O. Hartmann <ohartmann@walstatt.org> ---
(In reply to Tomoaki AOKI from comment #2)

Prior to commit fad4c92b78a123f87195173ac118655fa8e325cd:

with both sysctl in question set in /etc/sysctl.conf.local, the kernel module
nvidia-modeset is loaded successfuly, but the screen is black, carret shown
upper left corner as in console, frozen.

If both sysctl in question put into /boot/loader.conf.local, same picture.

After commit fad4c92b78a123f87195173ac118655fa8e325cd:

Commented out the sysctl in question in both /boot/loader.conf.local and
/etc/sysctl.conf.local, situation the same, nvidia-modeset loads successfuly,
but no xdm/GUI anymore so far.

FreebSD: FreeBSD 16.0-CURRENT #10 master-n282162-98f6f6e4f4bb: Tue Nov 25
22:54:19 CET 2025 amd64. Ports tree up to date (I guess).

# pkg info -xo nvidia
linux-nvidia-libs-580.105.08   x11/linux-nvidia-libs
nvidia-driver-580.105.08       x11/nvidia-driver
nvidia-kmod-580.105.08.1600004 x11/nvidia-kmod

So, something else must have gone wrong. My skills are limited. I made it a
habit to recompile all kernel modules used from ports tree when compiling
world/kernel via /etc/src.conf: 

PORTS_MODULES+=         sysutils/cpu-microcode
PORTS_MODULES+=         graphics/drm-kmod graphics/drm-66-kmod
PORTS_MODULES+=         graphics/gpu-firmware-amd-kmod
PORTS_MODULES+=         x11/nvidia-driver x11/nvidia-kmod

The effect is, at this point, the same, non working GUI. I'm recompiling all
xorg-server and xdm dependencies recursively this moment, hoping that something
simply went out of sync ...

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