Ok, this might be a longish one, and I even thought of giving it its own thread, but anyway...
My main workstation is an older Dell with an Nvidia card. I went to update it via the instructions, but it said it was up to date, though it was running 15.0-p10. So, I finally realized that on both this machine and the headless one that I couldn't update until I edited what was in
/usr/local/etc/pkg/repos that both this one and the headless one had a FreeBSD-base.conf as well as FreeBSD.conf, and that FreeBSD.conf has a line
Code:
FreeBSD-base: { enabled: yes }.
So yesterday, I fixed the headless one by renaming the FreeBSD-base.conf to FreeBSD-base.conf.orig. I don't know why these two machines had that file and the others didn't--it must have come from when I first converted them to pkgbase. At any rate, I renamed the file to conf.orig and I was able to upgrade the main box to 15.1-RELEASE.
Now, when I, following instructions, upgraded kmods, nothing happened with the nvidia kmods. So, when I rebooted and tried startx it gave a message that the machine was turning off. It restarted in single user mode as a drive hadn't unmounted right, but running fdisk -fy on that disk fixed that problem and upon typing exit, I was back to normal multi user mode.
So, I did what I usually do, when running into nvidia issues. I upgraded ports to the latest and used portmaster to install nvidia-drm-kmod and nvidia-drm-66-kmod. (I used to ignore the drm-66 but
T-Aoki had mentioned in another thread that it is sometimes needed). After installation (which also pulled in nvidia-kmod-580) I rebooted, and now X was working as it should be.
So, the two messages I would take from this is one, if it ain't upgrading, make sure all you have in
/usr/local/etc/pkg/repos is a FreeBSD.conf. It should have the line about base enabled in it. Hopefully, it's obvious that I mean if you're updating with pkgbase, dunno about freebsd-update. And secondly, if you have nvidia drivers and the update kmod doesn't pull in new ones, update those. I don't know if it was necessary to use the ports or if a simple pkg upgrade would have done it. But, hopefully this will help someone. I doubt I'm the only one dumb---err--careless--enough to overlook that FreeBSD-base.conf file, and I suspect that others who did an early conversion to pkgbase may have it as well.[/code]