Re: [FBSD_LDWG] CUDA / OpenCL with NVIDIA GPU works!

From: Dmitry Salychev <dsl_at_FreeBSD.org>
Date: Tue, 04 Feb 2025 23:36:13 UTC
Tomek CEDRO <tomek@cedro.info> writes:

> Hello world :-)
>
> Just a quick success story with details on forum [1]. After switching
> from amgdpu to nvidia with not much effort (some linuxlator packages
> and playing around for two days) I made CUDA / OpenCL working which
> was not possible with amdgpu for years, the choice for gpu vendor is
> now obvious, things that compute for 6 weeks on CPU can be done in 4
> days on relatively old NVIDIA GPU (GTX1060). I just wish that CC could
> be wrapped that way :-)
>
> One remark. Deboostrapped Debian12 on FreeBSD that had 3D acceleration
> before (useful for CAD and 3D slicer) on amdgpu does not have it
> anymore because FreeBSD driver version is 550 and Debian uses 535 that
> does not work together. So either linux-c7 (obsoleted) or newer
> linux-rl9 (under development but Fluffy rocks solid here) stuff for
> linuxlator is required..
>
> Big Thank You For Everyone Who Made It Possible That Easy!! :-)
>
> Tomek
>
> [1] https://forums.freebsd.org/threads/is-opencl-possible-with-the-current-nvidia-driver.78304/

I managed to run multimedia/jellyfin + Nvidia NVENC hardware
acceleration in a jail on my home server about two months ago using the
same approach :) It is capable of transcoding video to 4K@30 FPS using
GTX 1070 and Intel 4770K. Not bad at all!

Regards,
Dmitry

-- 
https://wiki.freebsd.org/DmitrySalychev