Nvidia Screwed Up with 14.3

IF you do not need the combination of the Nvidia proprietary driver and the open-source drm-61-kmod driver, the use of the full proprietary Nvidia x11/nvidia-driver should work. For example, for Xorg you don't need the combination, for the use of Wayland however, you do.

freezr rsronin

Are you using Wayland? If not, you don't need the drm-kmod.

I upgraded to 14.3 few days ago too, and no issues here with nvidia-driver-570.169.

I do have the open source kmods because I tried out Wayland. And when I upgraded the nvidia-drm-kmod wasn't there. But that doesn't make any effect on whether X11 works or not.

You just need to load nvidia-modeset and then run X.
 
After trying and failing with 14.3 I installed 14.2. I installed the Nvidia driver from the ports collection and the 'make install clean' finished with seven 'error (1)' messages. As a test of my hardware and sanity I installed Fedora 42 KDE Desktop and got 2560x1440 resolution straight out of the box. I'll have another try with FreeBSD when 14.4 is out I think. I really would like FreeBSD working as I go back to the days of the 3.x and 4.x builds.
 
After trying and failing with 14.3 I installed 14.2. I installed the Nvidia driver from the ports collection and the 'make install clean' finished with seven 'error (1)' messages.
Perhaps there's some confusion.

It's not clear to me:
Do you want to run Xorg X11 (as opposed to Wayland) on FreeBSD or not?
What is the exact type of your Nvidia graphics card?
 
After trying and failing with 14.3 I installed 14.2. I installed the Nvidia driver from the ports collection and the 'make install clean' finished with seven 'error (1)' messages. As a test of my hardware and sanity I installed Fedora 42 KDE Desktop and got 2560x1440 resolution straight out of the box. I'll have another try with FreeBSD when 14.4 is out I think. I really would like FreeBSD working as I go back to the days of the 3.x and 4.x builds.
Multiple informations are dropped throuout your posts in this thread (unless I'm overlooking something). And as 14.2 reaches to its EoL at Sep.30, 2025 (2 days after!). So switching back to 14.3 is strongly suggested.

Once a release reaches its EoL, usually next quarterly ports tree (quarterly pkgs like 2025Q3 are built using it) drops supports for anything specific to the release (in this case, anything 14.2 wants but 14.3 and later don't) and switch pkg builder to oldest supported release of the major version branch (in this case, 14.3 for 14.x).

Putting the above aside in case you're in hurry that disallows you to wait for it.

In addition to what Erichans asked in comment #28, assuming you want to run X11 or Wayland on FreeBSD using nvidia GPU:
  • Your GPU is supported by driver version 570.169, right? (Not too new or too old, right?)
  • You're 100% sure you've somehow extracted /usr/src of 14.2-p* you're running (using src distribution and let freebsd-update to handle for point releases like 14.2-p2, or using git or something compatible to pull matching src tree), right?
  • You're 100% sure your Fedora installation is running using nvidia proprietary driver, not iGPU or generic framebuffer driver like scfb, right?
If all of the answers are yes and persists on 14.3-Release, please file a bug with your precise environment and error messages.

If the first one is "no", and your GPU is too old, check for the last version supporting yours and use legacy (304, 340, 390 and 470 is available in ports tree, but 3xx could suddenly dissappear as they're EoL'ed upstream) driver.
graphics/nvidia-drm-[510|515|61|66]-kmod[-devel] do NOT support any of legacy drivers, as their upstream tarball don't contain required components.

We've not deleting 3xx series of legacy driver ports just because the upstream tarballs are still fetchable. If you're using GPU which is dropped supports even on 470.*, consider replacing it to supported one.
You can check supported GPUs by readmes of each versions here (possibly in "Archive" page for older drivers).

If the seconf one is "no", make ALL contents in your /usr/src/sys 100% match your running (or to-be-run on next reboot, if upgraded) kernel.

If the third is "no", possibly you can use x11-drivers/xf86-video-scfb, but without any acceleration by GPU.

Note that upcoming 2025Q4 should have 580.82.07 of driver (if everything goes quite smoothly, 580.82.09).

580.82.09 is delayed with 2 reasons.
  • Recent upgrades for graphics/drm-[61|66]-kmod broke nvidia-drm-[61|66]-kmod[-devel] as of changes in obtaining PCI info, and no works were meaningless until PR 289647 is addressed and fix is landed.
  • 580.82.09 is relatively small upgrade and works on review D52178 is far more important and urgent to have nvidia driver kmods in FreeBSD[-ports]-kmod repo. It's already accepted and waiting for commit (I'm not a committer). I hope it lands before 2025Q4 branches.
 
I haven't updated the system in a long time. It was 14.1, but I decided to update to 14.3. OK, what's there, it's as simple as that. Update in git pull in /usr/src, /usr/ports. make buildkernel, make installkernel , reboot. After rebooting, I see uname - r. Freebsd 16.0. I didn't expect this. OK, I'll rebuild the world: make build world, make installworld. Rebuild the entire environment. It's long, but necessary. But first you need to assume that this is not a server, but a home computer. But what is this? When compiling drivers for Nvidia GTX 770, a message pops up that this card is no longer supported... At this point I had to stop and use zfs to jump to a working snapshot... But I remembered that I still have Nvidia Quadro K1200. I looked on the website: it is supported, even by the latest drivers. So - I'm changing the video card. Just in case, I'm removing the old nvidia-drm-611-kmod, and I'm rebuilding it for 16.0. New Kernel, new world. You can't install it through pkg. It was assembled, it was ready. In /etc/rc.conf, as with the previous card, everything remained in place: kld_list="nvidia-modeset" I rebooted the computer. kldstat says you already have both nvidia-modeset and nvidia.ko loaded. Great! But why then doesn't the graphical shell load...? Xorg.log says that the nv module is not loaded... Path /dev/dri/card0 not found.

Thank you T-Aoki. I apologize that I did not respond to your previous request in time. The system worked then. But I am somewhat aware of the updates you suggested, but people do not listen to you. I am very sorry. As you thought, the fixes you suggested, and thrown out by the maintainers, showed that drivers below the 15 kernel branch simply do not come together. DMAP.
 
Update in git pull in /usr/src, /usr/ports. make buildkernel, make installkernel , reboot. After rebooting, I see uname - r. Freebsd 16.0. I didn't expect this.
Source tree was set to the main branch, which results in 16.0-CURRENT. The main branch (aka -CURRENT) is an unsupported, development branch.

When compiling drivers for Nvidia GTX 770, a message pops up that this card is no longer supported..
NVidia stopped supporting this card some time ago (card was released in 2013; NVidia generally provides 10 year driver support), last driver version that supports it is 470.
 
freezr rsronin

Are you using Wayland? If not, you don't need the drm-kmod.

I upgraded to 14.3 few days ago too, and no issues here with nvidia-driver-570.169.

I do have the open source kmods because I tried out Wayland. And when I upgraded the nvidia-drm-kmod wasn't there. But that doesn't make any effect on whether X11 works or not.

You just need to load nvidia-modeset and then run X.
Does it apply to Optimus setups like mine (using X11) ?
I run drm-kmod-61, nvidia-driver, nvidia-kmod and nvidia-drm-61-kmod.
If I could run less NVIDIA stuff, I'd be happy (because I need to use ports not to break the system on every freebsd-update, painful and takes some time ...)
 
Back
Top