How is the performance and stability of Nvidia's 570+ drivers on RTX 30/40 GPUs in FreeBSD ?

Before updating my GPU driver I read in the internet about newer driver versions.
Some articles:
-> Article-1
-> Article-2
describe stability issues users of RTX 50/40/30 GPUs are facing.
Are these stability issues also affecting FreeBSD ?

I think Nvidia wants to ship open GPU modules starting with version 570 ?
If yes, then it could be interesting regarding wayland/xwayland performance.
 
AFAIK (I'm not a nvidia insider), nvidia doesn't ship open GPU modules, but only proprietary ones. So as 570.124.04 in-tree (main, aka latest branch) version and latest 570.133.07.

Note that you can override the version (by abusing mechanisms for legacy drivers). I've posted how to do it several times. And no additional workarounds are needed in this specific case. So currently I have no plan to submit patch for upgrading to 570.133.07 unless the reporter of PR 285741 could confirm 570.133.07 fixes his issue.

I myself currently giving up trying Wayland (equivalent for compiz'es excellent Mag plugin is not available, etc) so not tried by myself, but if you intend to use Wayland only (X11 via xwayland only, and in this case you should need any of graphics/nvidia-drm-*-kmod installed), putting hw.nvidiadrm.fbdev=1 in your /boot/loader.conf could have some benefits (as of framebuffer device handling).

As this (default in upstream tarball) causes X11 fail to acquire modesetting permission, thus, no screen found, I've discussed with ashafer@ and toggled it off (set to 0) in ports side.

You can read the reason and condition to be flipped again in comments in /usr/ports/graphics/nvidia-drm-kmod/Makefile.common.
 
Open GPU Kernel Modules Github Page

I am considering wayland again, but I guess I will wait a little bit more as I am actually quite happy with X11.
As you can see, the Open GPU Kernel Modules are provided for quite new generations of GPUs (having GSP in them) on Linux only. The GPU I have in hand is Quadro P1000 (notebook) only, thus, cannot even try to port (cannot test locally at all).
So leave the work for someone others whoever possible.

Possibly you already know, but porting efforts seems to be ongoing on Haiku OS. (I myself never tried Haiku OS, though.)
 
I myself currently giving up trying Wayland (equivalent for compiz'es excellent Mag plugin is not available, etc) so not tried by myself, but if you intend to use Wayland only (X11 via xwayland only, and in this case you should need any of graphics/nvidia-drm-*-kmod installed), putting hw.nvidiadrm.fbdev=1 in your /boot/loader.conf could have some benefits (as of framebuffer device handling).
I am giving sway and wayland another chance now.
How can I install any graphics/nvidia-drm-*-kmod if they are conflicting with each other ?
 
I am giving sway and wayland another chance now.
How can I install any graphics/nvidia-drm-*-kmod if they are conflicting with each other ?
Basically use the newer (66 over 61, 61 over 515, 515 over 510. Not the newer commit to ports tree) supported-by-OS version. The newer, the wider the supported iGPUs are, unless supports for older iGPUs are intentionally dropped (on compatible Linux kernel).
Note that currently 66 is supported only on main (aka 15-Current for now).
There is an objections about the OSVERSION used (and another in Forums stating 14.2 already has required kernel support, I've introduced in PR 284891), but no answers nor updates to ports.

But limiting with nvidia dGPUs, it relies only on the version of x11/nvidia-driver. The important thing here is that the versions of x11/nvidia-driver and graphics/nvidia-drm-*-kmod (of its nvidia part, and if you also have x11/linux-nvidia-libs, it should, too) exactly matches. Otherwise, /dev/dri/* should not appear, thus, don't work.

The most significant pitfall when overriding version with some reason would be that historical overriding doesn't work as expected for graphics/nvidia-drm-*-kmod and modifying version string in /usr/ports/x11/nvidia-driver/Makefile.version is mandatory.
 
Back
Top