On Fri, 11 Jul 2025 at 00:27, Gleb Popov <[email protected]> wrote: > On Thu, Jul 10, 2025 at 10:52 PM Lars Tunkrans <[email protected]> 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 >
This bit me recently - the handbook is woefully out of date for nvidia; it literally needs to be "add nvidia-drm to your kld_list, install the right package, set the right thing in /etc/sysctl.conf if you want it to display, and reboot" Can we please please /please/ just get a handbook update for JUST the out of date nvidia driver installation details? pretty please? -adrian > Now, running any command with "nvsgl-run" prepended will make CUDA and > other nvidia stuff available for the program. > >
