From owner-freebsd-x11@freebsd.org Sun Aug 27 08:53:54 2017 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E9780DEACB4 for ; Sun, 27 Aug 2017 08:53:54 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CE0456B055; Sun, 27 Aug 2017 08:53:54 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 0ADE2D276; Sun, 27 Aug 2017 08:53:54 +0000 (UTC) From: Jan Beich To: Scott Bennett Cc: freebsd-x11@freebsd.org Subject: Re: x11/nvidia-driver-340 and OpenCL References: <201708241205.v7OC5wrR016229@sdf.org> Date: Sun, 27 Aug 2017 10:53:47 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Aug 2017 08:53:55 -0000 Scott Bennett writes: > My current system has a pair of 10-year-old Radeon HD 3870x2 cards > interconnected by a Crossfire cable. Those cards support OpenGL 4, but > do not support OpenCL, unfortunately. My previous computer, now sitting > unused in a corner, has an EVGA GeForce 210 card in it that supports only > OpenGL 3.1, according to the box it came in, but does support OpenCL, > though it doesn't say up to which version of OpenCL. The modern > x11/nvidia-driver does not support this older card, but > x11/nvidia-driver-340 does support it. I could pull one of the Radeon > cards, disconnecting the unsupported-by-X.org Crossfire cable, and > replace the card with the EVGA card if the older driver it requires > supports OpenCL on it. Can anyone tell me whether it does? If so, I > would like to leave the monitor connected to the remaining Radeon card > and use the Nvidia-based EVGA card just for OpenCL. I would rather not > spend money on a newer and more powerful card from either company just > to familiarize myself with OpenCL, and the EVGA ought to be good enough > for that purpose if the driver will support it. > Thanks in advance for any information on this! NVIDIA seems to implement OpenCL via CUDA runtime but both are missing[1] in the FreeBSD driver. CUDA is known to work via 32bit linuxulator but not 64bit one (bug 206711). OpenCL may work as well after extracting under /compat/linux at least nvidia.icd, libnvidia-opencl.so.1 and dependencies from Linux version of the driver. -- [1] NVIDIA driver for FreeBSD is probably in maintenance-only mode given new features like DRM KMS or Vulkan are also missing for more than a year. Try comparing NVIDIA_Changelog or files installed by Linux and FreeBSD version of the driver to get an insight.