Solved cant load nvidia

I just upgraded to FreeBSD 15.0, and the upgrade caused X11 to stop working with the error:
Code:
NVRM: API mismatch: the client 'Xorg' (pid 3709)
NVRM: has the version 580.95.05, but this kernel module has
NVRM: the version 580.105.08. Please make sure that this
NVRM: kernel module and all NVIDIA driver components
NVRM: have the same version.

❌The bad: The issues described in this thread caused my system to explode by default when following the default upgrade path.

✅The good: Downgrading to the 470 drivers like Alain De Vos did solved the issue.

For reference, I have a Nvidia GTX 960, have kdl_list="nvidia-modeset" in my rc.conf, and run XOrg and SDDM on boot.
 
If you're building locally with ports, it shouldn't happen, so assuming you're using pkg upgrade.

Try pkg upgrade -r FreeBSD -f x11/nvidia-kmod x11/nvidia-driver instead.
T-Aoki's solution worked for me on FreeBSD 14.3 with nVidia GT1060 GPU when my nvidia-driver-580.95.05 got coupled with nvidia-kmod 580.105.08. I am safely back to 580.95.05 for both driver and kmod pkgs. Thanks T-Aoki.
 
Back
Top