I'm trying to fix an ongoing issue with not being able to run Wayland. In reading up on the issue it appears that you need to compile the nvidia-drm driver from the port because the version in the package repository doesn't match up to the current kernel. So I did a git pull and built it from source. I had to manually move the existing /boot/modules/nvidia-drm.ko in order to get make to recognize that it needed to actually build.
I now get the following error:
so it clearly isn't in the kernel, yet kldload tells me that it is. Can anyone tell me what's going on here?
FWIW:
I now get the following error:
# sudo kldload nvidia-drm.ko
kldload: can't load nvidia-drm.ko: module already loaded or in kernel
# kldstat -v | grep nvidia
78 pci/ata_nvidia
360 g_raid_md_nvidia
4 2 0xffffffff83200000 535f868 nvidia.ko (/boot/modules/nvidia.ko)
508 vgapci/nvidia
7 1 0xffffffff8305e000 1517d8 nvidia-modeset.ko (/boot/modules/nvidia-modeset.ko)
509 nvidia-modeset
so it clearly isn't in the kernel, yet kldload tells me that it is. Can anyone tell me what's going on here?
FWIW:
# freebsd-version -kru
14.3-RELEASE
14.3-RELEASE
14.3-RELEASE-p1
% uname -a
FreeBSD glen-server 14.3-RELEASE FreeBSD 14.3-RELEASE releng/14.3-n271432-8c9ce319fef7 GENERIC amd64