Date: Wed, 02 Jan 2019 14:14:13 +0300 From: Greg V <greg@unrelenting.technology> To: Tomasz CEDRO <tomek@cedro.info> Cc: FreeBSD Questions Mailing List <freebsd-questions@freebsd.org>, freebsd-x11@freebsd.org Subject: Re: AMDGPU RX580 OpenCL Message-ID: <1546427653.1787.0@smtp.migadu.com> In-Reply-To: <CAFYkXjnVOspenga%2BM0oP-0pS=vxr4gmqs7XcrJZdSjnf1geEZA@mail.gmail.com> References: <CAFYkXjnVOspenga%2BM0oP-0pS=vxr4gmqs7XcrJZdSjnf1geEZA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 2, 2019 at 3:35 AM, Tomasz CEDRO <tomek@cedro.info> wrote: > Hello world in 2019 :-) > > I have recently upgraded 11.2 to 12.0. I made AMDGPU work as my > desktop Xorg driver. However I still did not make it work with > OpenCL.. I have some error messages about kernel code missing.. and I > get the Segmentation Faults at some point in clinfo.. do I miss > anything? > > Did anyone make OpenCL+AMDGPU+RX580 work? Yes, you need two things: - you might have to run OpenCL applications with LD_PRELOAD=/lib/libthr.so.3 (when they're single thread applications like clinfo) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214204 - you have to rebuild the kernel driver with this patch https://github.com/FreeBSDDesktop/kms-drm/issues/33#issuecomment-422793245 keep in mind that Clover is not very good. It can't yet handle Blender, doesn't have image support for Darktable, etc.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1546427653.1787.0>