Re: [LDWG][FBSD_LDWG] Nvidia GPU on Freebsd15
Date: Fri, 11 Jul 2025 07:26:30 UTC
On Thu, Jul 10, 2025 at 10: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 ) > > //Lars Most of the instructions there are wrong (which is why I dislike "manuals" scattered across forums and GitHub gists). Actually important steps are: sysrc linux_enable="YES" && service linux start pkg install linux-nvidia-libs nvidia-drm-kmod libc6-shim sysrc kld_list+="nvidia-drm" shutdown -r now Now, running any command with "nvsgl-run" prepended will make CUDA and other nvidia stuff available for the program.