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

From: Tomek CEDRO <tomek_at_cedro.info>
Date: Thu, 10 Jul 2025 22:50:09 UTC
On Fri, Jul 11, 2025 at 12:42 AM Tomoaki AOKI <junchoon@dec.sakura.ne.jp> wrote:
> [Removing freebsd-desktop@freebsd.org as I'm not subscribing.]
> On Thu, 10 Jul 2025 22:43:40 +0200
> Tomek CEDRO <tomek@cedro.info> wrote:
>
> > 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
>
> On searching Internet, I can easily find a number of crashes, black
> screen and so on reported about RTX 50* series with Windows.
>
> Most of those seems to be stated as "fixed" on driver 576.02, which is
> not yet provided for Unix'ish OSes even as beta, but some other reports
> states the driver introduced different stability issues.
>
> FYI:
> I've found problem report about CUDA on Windows11 and RTX 5070Ti
> for specific software.
>
>   https://github.com/lllyasviel/FramePack/issues/339
>
> So it wouldn't be a FreeBSD-specific problem.
>
> We need to wait for nvidia to fix the issues.
>
> Regards.
>
> --
> Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>

Thanks TA for all your help :-) Yup looks like we need updated
unix/freebsd drivers from nvidia :-) I am re-attaching
freebsd-desktop@ as you provided some important details and someone
may have this problem one day too :-)

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