Re: How to blacklist the nouveau driver on FreeBSD....

From: Alexander Leidinger <Alexander_at_leidinger.net>
Date: Fri, 26 May 2023 11:18:33 UTC
Quoting Mario Marietto <marietto2008@gmail.com> (from Fri, 26 May 2023  
11:32:54 +0200):

> I've fixed some errors found in the tutorial that I wrote,this :
>
> https://www.reddit.com/r/freebsd/comments/13qfz3t/comment/jlncmxh/?context=3
>
> adding these command lines :
>
>
> cp -r /compat/ubuntu/usr/lib/x86_64-linux-gnu /lib
>
> cp -r /compat/ubuntu/etc/alternatives /etc
>
> cp -r /compat/ubuntu/usr/lib/x86_64-linux-gnu /usr/lib

Think about symlinks instead of a copy. That should achieve the same  
result with being less invasive to the system.

> and boom. The error is changed. Now I think that we are getting closer to
> the real error to fix :
>
> https://pastebin.ubuntu.com/p/BSGYsWH2Hf/
>
> The real error now is : CUDA cuInit: Unknown error.
>
> This seems to be a more interesting error to talk about.

Does the FreeBSD driver (kernel stuff) have all the necessary pieces  
to make CUDA work?

The last info I've seen was that some pieces are missing in the kernel:
     https://badland.io/nvidia.md

Bye,
Alexander.

-- 
http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 0x8F31830F9F2772BF