Solved X stopped working after upgrading to 14.3.

20250930:<br> AFFECTS: users of x11/nvidia-driver*<br> AUTHOR: junchoon@dec.sakura.ne.jp<br><br> Because of splitting out kernel modules (kmod) part from x11/nvidia-driver*<br> into newly introduced x11/nvidia-kmod*, you need to deinstall currently<br> installed x11/nvidia-driver* and freshly install it again with new version.<br> This would pull in corresponding x11/nvidia-kmod* because x11/nvidia-driver*<br> explicitly depends on corresponding x11/nvidia-kmod*.

The above does NOT work for me.

Dropping back to version 470 DOES work for me.

Ken Gordon
Have you deleted x11/nvidia-kmod-470, too, before reinstalling x11/nvidia-driver?

The UPDATING entry I've written is for "first upgrade after the mentioned date", not for next and later upgrades. (This is the concept of UPDATING.)

Why this special step is needed here is that *.ko formerly included in x11/nvidia-driver* are splitted out into corresponding x11/nvidia-kmod* .
This is done to allow FreeBSD[-ports]-kmods repo, which does't want to build other than kmods, to build and provide kmods of nvidia driver related ports. (Why it works only partially is looked into by the admins of the builder now.)

But as these mutually conflict with previously installed old version if x11/nvidia-kmod* is going to be installed BEFORE x11/nvidia-driver* is deinstalled (samely named *.ko is going to be installed in the same place).
Once upgraded, x11/nvidia-driver* no longer contains *.ko, so no more conflicts on install.

As you've tried pkg search on your post before, assume you're using pkg upgrade or pkg install for upgrading/installing.

What you can check is that:
  • The pkg file you've (automatically by pkg(8)) downloaded has nvidia-modeset.ko or not. tar(1) should be your friend. tar tvf <filename> should show the contents in it.
  • If it turned out to be broken and you've not specified -r option for pkg, trying pkg upgrade -r FreeBSD / pkg install -r FreeBSD could help.
  • If the pkg looks sane, try deinstalling both x11/nvidia-driver* and x11/nvidia-kmod* currently installed and install (paranoid, though) with pkg install -r FreeBSD x11/nvidia-kmod x11/nvidia-driver.
  • Reconfirm typo of kld_list variable in /etc/rc.conf.

Note that pkg files downloaded by pkg(8) are cached into /var/cache/pkg/.

Anyway, NVIDIA GeForce GTX 1050 Ti is supported by both 580.95.05 and 470.256.02, so x11/nvidia-kmod-470 and x11/nvidia-driver-470 is OK if it works fine and you don't need graphics/nvidia-drm-*-kmod[-devel], as there could be GPU-specific problem (RTX 5xxx is known to have issues, fixed step-by-step on upstream upgrades).

We're volunteer maintainers, so what can be tested is with the GPU in hand only (for me, Quadro P1000 notebook). We cannot dig into GPU-specific problems without intensive help by anyone having the affected GPUs. I'm not Bill Gates, Elon Musk, nor Jeff Bezos. The budget and space are quite limited.
 
Well, for one thing, I am extremely grateful for you and those like you who provide such support for this operating system. God bless you all.

OK. I will try what you suggest here and will report back as soon as I have done so.

At least I have a successful fall-back method to keep a working system if I fail.

Later.

Ken Gordon
 
I have printed off T-Aoki's latest post, and will follow its directions asap.

(I am also involved in another issue with my system: attempting to activate my wireless-connected scanner, but that is a subject for a different thread. At present, I am "researching" others' issues with the same problem.)

Later,

Ken Gordon
 
I have printed off T-Aoki's latest post, and will follow its directions asap.

(I am also involved in another issue with my system: attempting to activate my wireless-connected scanner, but that is a subject for a different thread. At present, I am "researching" others' issues with the same problem.)

Later,

Ken Gordon
Another thing to note.

As I've listed "Reconfirm typo" at the end, I think it's unlikely here (but often seen), as you've succeeded on 470, unless you've touched the line on trying 470 and back.

And the 2nd and 3rd items are "basically" exclusive, depending on the pkg file is problematic or not.

Anyway, this issue you've reported was never heared before for 580 series (except known-to-problematic RTX 5xxx).

If I recall correctly, someone reported 390 works but 470 doesn't, even though the person's GPU is stated to be supported by both, but 5xx series does not. This is why I suspected GPU specific issue. But as my Quadro P1000 (notebook) and your GTX 1050 Ti are both Pascal generation GPUs, so I'm confused with what's happening.
 
Have you deleted x11/nvidia-kmod-470, too, before reinstalling x11/nvidia-driver?

I believe I have: I input pkg delete nvidia*. As far as I could tell, all nvidia packages were deleted.

The UPDATING entry I've written is for "first upgrade after the mentioned date", not for next and later upgrades. (This is the concept of UPDATING.)

Why this special step is needed here is that *.ko formerly included in x11/nvidia-driver* are splitted out into corresponding x11/nvidia-kmod* .
This is done to allow FreeBSD[-ports]-kmods repo, which does't want to build other than kmods, to build and provide kmods of nvidia driver related ports. (Why it works only partially is looked into by the admins of the builder now.)

But as these mutually conflict with previously installed old version if x11/nvidia-kmod* is going to be installed BEFORE x11/nvidia-driver* is deinstalled (samely named *.ko is going to be installed in the same place).
Once upgraded, x11/nvidia-driver* no longer contains *.ko, so no more conflicts on install.

As you've tried pkg search on your post before, assume you're using pkg upgrade or pkg install for upgrading/installing.

Yes. Exactly.

What you can check is that:
  • The pkg file you've (automatically by pkg(8)) downloaded has nvidia-modeset.ko or not. tar(1) should be your friend. tar tvf <filename> should show the contents in it.
  • If it turned out to be broken and you've not specified -r option for pkg, trying pkg upgrade -r FreeBSD / pkg install -r FreeBSD could help.
  • If the pkg looks sane, try deinstalling both x11/nvidia-driver* and x11/nvidia-kmod* currently installed and install (paranoid, though) with pkg install -r FreeBSD x11/nvidia-kmod x11/nvidia-driver.
  • Reconfirm typo of kld_list variable in /etc/rc.conf.

OK. I'll try that as soon as I can get to that. And thank you for the help.

Note that pkg files downloaded by pkg(8) are cached into /var/cache/pkg/.

OK. I'll check that too, then.
Anyway, NVIDIA GeForce GTX 1050 Ti is supported by both 580.95.05 and 470.256.02, so x11/nvidia-kmod-470 and x11/nvidia-driver-470 is OK if it works fine and you don't need graphics/nvidia-drm-*-kmod[-devel], as there could be GPU-specific problem (RTX 5xxx is known to have issues, fixed step-by-step on upstream upgrades).

We're volunteer maintainers, so what can be tested is with the GPU in hand only (for me, Quadro P1000 notebook). We cannot dig into GPU-specific problems without intensive help by anyone having the affected GPUs. I'm not Bill Gates, Elon Musk, nor Jeff Bezos. The budget and space are quite limited.

Again, I really appreciate your help in this matter.

Ken Gordon
 
Back
Top