Re: [LDWG][FBSD_LDWG] Nvidia GPU on Freebsd15
- Reply: Gleb Popov : "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:02:29 UTC
HI Gleb your reliance on the PKG system to do the right thing ,,,,, Does it ? when I tried I got Centos7 linux emulation installed . which is not desired for this to work , or was that rectified. ? //Lars On 11/07/2025 09:26, Gleb Popov 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 > > Now, running any command with "nvsgl-run" prepended will make CUDA and > other nvidia stuff available for the program.