Attempt to install Nvidia drivers with pkg, on 15.2 Beta 1, fails as antique drm-515.kmod is also installed

HI , i want to report that Attempt to install Nvidia drivers with pkg, on 15.2 Beta 1, fails as antique drm-515.kmod is also installed.
I installed fresh new 15.2 beta 1 this afternoon. then :
-----------------------------------------------
root@w68oace:~ # uname -a
FreeBSD w68oace 15.2-BETA1 FreeBSD 15.2-BETA1 releng/15.2-n286673-8a2424427375 GENERIC amd64

root@w68oace:~ # pkg install nvidia-drm-kmod
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
Updating FreeBSD-ports-kmods repository catalogue...
FreeBSD-ports-kmods repository is up to date.
Updating FreeBSD-base repository catalogue...
Fetching meta.conf: 100% 179 B 0.2 kB/s 00:01
FreeBSD-base repository is up to date.
All repositories are up to date.
The following 60 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
brotli: 1.2.1,1 [FreeBSD-ports]
drm-515-kmod: 5.15.160.1501504_11 [FreeBSD-ports-kmods]
egl-wayland: 1.1.23 [FreeBSD-ports]
egl-wayland2: 1.0.2 [FreeBSD-ports]
egl-x11: 1.0.6 [FreeBSD-ports]
expat: 2.9.0 [FreeBSD-ports]
........
-------------------------------

pkg system does not allow me to install drm-612-kmod . Even if installed before attempting to install nvidia-drm-kmod
pkg system tries to replace drm-612-kmod with drm-515-kmod.

Regards
 
AFAIK the nvidia driver packages are broken anyway because the official FreeBSD pkg repository infrastructure builds them on the previous version of FreeBSD while the kernel isn't backward compatible, so it'll either fail to load or kernel panic when launching X11 / wayland. If you want working drivers, you need to build them from ports.
 
Sure building from PORTS is a breeze, that what I have advised many times myself.
The Issue now is to get 15.2 into shape so that a newbie can have a great experience
and not founder because of the broken state of repos.
 
Use the freebsd-stable@ and/or re@ mailing list for feedback on beta version issues. Though there was already a post about this.
 
Also note you're installing kernel modules built for 15.1-STABLE (1501504). BETA1 is built from releng/15.2 and should have 15020xx.
 
kmods repo for 15.2 doesn't seem to be created yet.
Maybe created on RC1.
screenshot_2026-11-09_pkg_for_15_amd64.png
 
Its very perplexing ! and Im trying to make a through evaluation on whats going on here. As usual installing from PORTS compiling the drivers works well. And results in a working system.

Attempting to follow the manual and installing " pkg install nvidia-drm-kmod " results in drm-515-kmod being installed which does not fit with nvidia-drm-612-kmod, despite all PORTS Makefiles state that drm-612-kmod should be installed.

I note that drm-515-kmod was built on 9:th of september 2026 .....
this issue with drm-515-kmod being installed on freebsd 15.1 started to be reported about then .
now the issue is present on 15.2 BETA as well.
 
Back
Top