Re: [LDWG][FBSD_LDWG] Nvidia GPU on Freebsd15

From: Tomek CEDRO <tomek_at_cedro.info>
Date: Thu, 10 Jul 2025 20:43:40 UTC
On Thu, Jul 10, 2025 at 9:52 PM Lars Tunkrans <drsnx60@gmail.com> wrote:
> this attachment is  was the result of a Discussion  on  the Freebsd
> Forum  in  April .
> It details  the  process on  bringing  CUDA  and  OPENCL  and linux DRM
> graphics
> to a  working  state   on  freebsd with Nvida  H/W     (  the Xorg
>   config  is  not  included  )

Thank you Lars :-) I just switched from GTX1060 to RTX5070 and CUDA
does not work here (yet).

I am on 14.2-RELEASE AMD64, tested with nvidia-driver(-devel):
550.127.05, 570.153.02, 570.169, 575.64, 575.64.03.

For RTX5000 line a GSP Firmware is necessary to be loaded with
/boot/loader.conf in order to have Xorg working. Tomoaki Aoki (CC)
helps me with testing x11/nvidia-driver-devel even updated port to
latest code released by Nvidia (575.64.03), but the problem seems to
be in that new GSP firmware. For now I am working on the latest
nvidia-driver-devel and all desktop apps works fine, there is just no
CUDA/OpenCL. Below is the bug report with some more details:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287895

Also there was a report of problems with OpenGL / Vulkan on RTX5090
series and confirmation RTX5070 is some unlucky guy that still needs
some work (as compared to RTX5060):

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287453

Thanks :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info