x11/nvidia-driver-340 and OpenCL
Jan Beich
jbeich at vfemail.net
Sun Aug 27 17:23:23 UTC 2017
Scott Bennett <bennett at sdf.org> writes:
> Thank you very much for that information, Jan. I will take a look at
> that, but if the situation is that chancy and would mean being stuck with
> 32-bit emulation, it probably wouldn't be my best option after all.
lang/pocl may also be useful, mainly when debugging OpenCL in apps.
> Do you know whether a 64-bit driver (for later Nvidia cards, of course)
> is in the works with up-to-date features?
No. Try pinging upstream on https://devtalk.nvidia.com/default/board/97/
> Or would I do better by buying a more recent Radeon card?
Did lang/clover not work on Radeon HD 3870 e.g., with radeonkms + r600g?
If so, try upgrading just the kernel to drm-next branch.
Personally, I use lang/beignet on Intel Skylake GT2 (iGPU). The performance
is decent enough to accelerate some jobs e.g., waifu2x-convert-cpp,
ImageMagick, FFmpeg (a few filters but VAAPI encoding also works). X11 display
stutters if OpenCL is running on the same GPU, but neither setpriority(2)
nor rtprio(2) help. Switching X11 display to NVIDIA Kepler GK107 (dGPU)
eliminated the stutter. However, there's probably a better way to schedule
jobs on GPU.
More information about the freebsd-x11
mailing list