[Bug 280772] x11/nvidia-driver: Update to 550.107.02 with x11/linux-nvidia-libs and related DRM ports

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 15 Aug 2024 13:46:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280772

--- Comment #6 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> ---
(In reply to Chad Jacob Milios from comment #5)
Thanks for your feedback!

About CUDA:
Unfortunately, CUDA libraries such as libcuda.so.560.31.02 are not provided for
FreeBSD native driver. Only available via linux compatible libraries via
x11/linux-nvidia-libs port.

About kernel modules:
Currently, nvidia-peermem.ko and nvidia-uvm.ko, which drivers for Linux have,
is not provided for FreeBSD (checked on
https://us.download.nvidia.com/XFree86/Linux-x86_64/560.31.02/README/installedcomponents.html).
As these are nvidia proprietary driver, it's purely on nvidia whether providing
them to FreeBSD native or not.

About firmware modules:
Firmware for GSP should not be included in any of nvidia.ko, nvidia-modeset.ko
nor nvidia-drm.ko. Linux driver seems to be the same here, except theirs has
extention *.bin instead of our *_fw.ko and no prepending "nvidia_" (checked by
simply `make extract` on x11/linux-nvidia-libs, with
x11/nvidia-driver/Makefile.version edited).
Unfortunately, nvidia doesn't providing which module supports what GPUs.
Possibly, whichever relevant would be auto-loaded when actually required.

I know it should be risky, so I wouldn't force you, but if you're OK, what
happenes when you manually kldload any of firmware module?
As nvidia_gsp_ga10x_fw.ko is much larger than nvidia_gsp_tu10x_fw.ko and "tu"
implies me "Turing", I assume nvidia_gsp_ga10x_fw.ko could be better fit.

-- 
You are receiving this mail because:
You are the assignee for the bug.