Re: AMDGPU RX580 OpenCL

Greg V <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11,gmane.os.freebsd.questions
Message-ID <[email protected]>

On Wed, Jan 2, 2019 at 3:35 AM, Tomasz CEDRO <[email protected]> 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.

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.