Failing to update 15.1 with legacy Nvidia through pkgbase

Hi guys,

I followed this guide:


But I tested it twice and at the reboot I get a kernel panic just before to run the Nvidia driver and the graphical session.
In this machine I use xlibre instead of X.org, I wonder if the combo nvidia + xlibre doesn't work with 15.1... 🤔

Did I miss any special instruction to upgrade with pkgbase and Nvidia? 🤷‍♂️

Thanks... 🙏
 
Probably, you forgot to upgrade kmods packages.
Do you use freebsd-update or pkgbase?
Didn't well read the title.

Deactivate the loading of this driver, then upgrade. After that, upgrade specifically the FreeBSD-ports-kmods repo: pkg upgrade -fr FreeBSD-ports-kmods

Post:
pkg info -aE | grep nvidia
 
Hi Emrion , I followed the instructions, and at point 4 it recommends a similar command:

Code:
pkg upgrade -r FreeBSD-ports-kmods

However, when I ran that command, it updated only the generic DRM driver and not any Nvidia or Xlibre related packages.

I read that someone disabled to load the GPU module (AMD) on rc.conf, I didn't have any issue with Intel for instance.
 
Use the force flag (-f). Then, post the package names of the nvidia drivers.
It may be the xlibre fault or not. You have to dig a little to make a point.
 
I've got this reply from T-Aoki on the #Fediverse:

Currently, NVIDIA-related kmods are NOT built on kmod repo except x11/nvidia-kmod, and waiting for admins of kmod builders to look into why.

So building x11/nvidia-kmod* and graphics/nvidia-drm-*-kmod* that you have locally is recommended.

Don't forget to make /usr/src (at least, /usr/src/sys) to be 100% in sync with your running kernel at least you're using graphics/nvidia-drm-*-kmod*.
This is because it depends on LinuxKPI and KBI of LinuxKPI are fragile unlike other parts.

OTOH, x11/nvidia-kmod* are relatively robust on kernel updates.
It was before I've started maintaining it, but at a minor version upgrades (forgot which it was), I've once forgot to rebuild x11/nvidia-driver (at the moment, x11/nvidia-kmod* weren't yet splitted out from it), but xorg started as if I've NOT forgotton to rebuild it.

I think I'll wait another month... 🤔
 
If it is just a matter to compile some ports, it's not complicated. You should try. With git you fetch the ports collection. You'll find all the informations in the handbook:

And, if you don't have yet the sources:
git clone --branch releng/15.1 https://git.FreeBSD.org/src.git /usr/src

That said, I'm not convinced. I have an old nvidia card which work well under 15.1-RELEASE. No compilation was done, just the right choice of the nvidia drivers. Well, I dont use xlibre.
 
Back
Top