<div dir="ltr"><div>Hello. <br></div><div><br></div><div>I wrote this tutorial some 
time ago because I wanted that Blender was able to recognize CUDA and 
the Nvidia driver directly within the linuxulator :<br></div><div><br></div><div><a href="https://www.reddit.com/r/freebsd/comments/1118eae/how_to_install_the_nvidia_driver_5257801_cuda_12/" target="_blank">https://www.reddit.com/r/freebsd/comments/1118eae/how_to_install_the_nvidia_driver_5257801_cuda_12/</a></div><div><br></div><div>I was inspired by this tutorial : <a href="https://gist.github.com/Mostly-BSD/4d3cacc0ee2f045ed8505005fd664c6e" target="_blank">https://gist.github.com/Mostly-BSD/4d3cacc0ee2f045ed8505005fd664c6e</a></div><div><br></div><div>someone found my tutorial and created this github :</div><div><br></div><div><a href="https://github.com/spfcraze/Nvidia-Drivers-linux" target="_blank">https://github.com/spfcraze/Nvidia-Drivers-linux</a></div><div><br></div><div>He
 says that he created a Python script for updating Nvidia drivers 
on CentOS 7 and Ubuntu. That's nice,but it can't work. Why ? please give a look
 to an old post created by me some time ago and you will see :<br></div><div><br></div><div><a href="https://www.reddit.com/r/freebsd/comments/11431bi/how_to_blacklist_the_nouveau_driver_within_the/" target="_blank">https://www.reddit.com/r/freebsd/comments/11431bi/how_to_blacklist_the_nouveau_driver_within_the/</a></div><div><br></div><div>since the nouveau driver can't be blacklisted within the Linuxulator because it's impossible to run "sudo 
update-initramfs -u" inside of it. For this reason,I would ask if in your opinion the nouveau
 driver can be blacklisted directly in FreeBSD or in some other way.</div><div><font color="#888888"><br></font></div><div><span class="gmail-im"></span>
FreeBSD does not contain the nouveau kernel module so there is nothing to blacklist.<span class="gmail-im"><br>
<br>
> <a href="https://www.reddit.com/r/freebsd/comments/11431bi/how_to_blacklist_the_nouveau_driver_within_the/" rel="noreferrer" target="_blank">https://www.reddit.com/r/freebsd/comments/11431bi/how_to_blacklist_the_nouveau_driver_within_the/</a><br><br></span>
These libGL errors are from Mesa libGL, which is trying to use the userspace part of nouveau (which is part of the Mesa project), <br>
presumably based on Nvidia GPU's PCI ID being known to Mesa, despite there being no nouveau kernel interface available.<br>
<br>
Since I'm trying to use Nvidia's binary driver (the only one which works on FreeBSD), Blender should have never loaded Mesa's libGL in the <br>
first place - there is most likely a configuration problem here with 
libglvnd, the component responsible for choosing the correct libGL <br>
implementation.<br>
<br>
When Blender fails to detect CUDA this has nothing to do with libGL and absolutely nothing to do with nouveau.<font color="#888888"><br></font></div><div><font color="#888888"><br></font></div><div><div>Smplayer behaves the same as blender. I think this is a general 
behavior. Check below what happens when I run it within the linuxulator :<br></div><div><br></div><div><span style="font-family:times new roman,serif"></span></div><div><span style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:times new roman,serif">root@marietto:/mnt/zroot2/zroot2 # chroot /compat/ubuntulunar /bin/bash</span></div><div><span style="font-family:times new roman,serif"><br></span></div><div><span style="font-family:times new roman,serif">root@marietto:/# smplayer </span></div><div><span style="font-family:times new roman,serif"><br></span></div><div><span style="font-family:times new roman,serif">QStandardPaths: error creating runtime directory '/var/run/user/1001' (No such file or directory)
<br>This is SMPlayer v. 22.7.0 (revision 10091) running on Linux
<br>libGL error: glx: failed to create dri2 screen
<br><b>libGL error: failed to load driver: nouveau</b><br></span></div><div><span style="font-family:times new roman,serif"><br></span></div><div><span style="font-family:monospace"><br></span></div></div>Can you figure out a method to do what I want to do ? If we are able to 
"connect" the nVidia driver to the CG / graphic tool instead of the 
nouveau one,a lot of cool features will be unfrozen on FreeBSD. For example we 
could try to run Unreal Engine 5 within the linuxulator,Davinci 
Resolve,Maya 3D,a lot of cool stuff will use the nVidia driver + CUDA and it 
will work great. That's because unfortunately Nouveau does not support CUDA.<br><div><span class="gmail_signature_prefix"><br></span></div><div><span class="gmail_signature_prefix"><br></span></div><div><span class="gmail_signature_prefix">Thanks.</span></div><div><span class="gmail_signature_prefix"><br></span></div><div><span class="gmail_signature_prefix">-- </span></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Mario.<br></div></div>