Re: [LDWG][FBSD_LDWG] Nvidia GPU on Freebsd15
- In reply to: Gleb Popov : "Re: [LDWG][FBSD_LDWG] Nvidia GPU on Freebsd15"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 11 Jul 2025 18:06:38 UTC
On Fri, 11 Jul 2025 at 00:27, Gleb Popov <arrowd@freebsd.org> wrote: > 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 > 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. > >