I'm trying to get OpenCL going on FreeBSD. The GPU that I have is an Asus Radeon RX 550 4 GB. Per these instructions, I installed lang/clover, benchmarks/clpeak, devel/ocl-icd, deve/clinfo, and graphics/drm-kmod. I successfully got a Plasma Wayland session going, so I know graphics/drm-kmod is working. And I have everything compiled from ports, with as many options enabled as possible. The ports snapshot is from early July.
My problem is really the fact that benchmarks/clpeak keeps dumping core and crashing. If I don't start Plasma Wayland, I can actually get my benchmarking numbers on the TTY before clpeak announces 'core dumped'. Trying to run clpeak inside a Plasma Wayland session (e.g., Konsole) crashes the GUI session so hard, I can't even SSH in and reboot.
Today, I tried to see if Blender can take advantage of OpenCL. There's a config option that I tried:
Trouble is, selecting OpenCL made Blender crash and dump core.
This is making me conclude that even though I do have properly compiled codecs on VLC, and it will play stuff reasonably smooth, even the HD stuff, I can't use GPU acceleration properly at this point. Not for playing videos, not for speeding up renders on Blender, not for transcoding/subtitling videos. My Ryzen 5 1400 (3.4 GHz) is still stuck doing the heavy lifting for all that.
I strongly suspect this has something to do with devel/ocl-icd not working properly... both clpeak and clinfo crash. I've seen suggestions to use valgrind, and I discovered oclgrind recently to troubleshoot this.
My problem is really the fact that benchmarks/clpeak keeps dumping core and crashing. If I don't start Plasma Wayland, I can actually get my benchmarking numbers on the TTY before clpeak announces 'core dumped'. Trying to run clpeak inside a Plasma Wayland session (e.g., Konsole) crashes the GUI session so hard, I can't even SSH in and reboot.
Today, I tried to see if Blender can take advantage of OpenCL. There's a config option that I tried:
Trouble is, selecting OpenCL made Blender crash and dump core.
This is making me conclude that even though I do have properly compiled codecs on VLC, and it will play stuff reasonably smooth, even the HD stuff, I can't use GPU acceleration properly at this point. Not for playing videos, not for speeding up renders on Blender, not for transcoding/subtitling videos. My Ryzen 5 1400 (3.4 GHz) is still stuck doing the heavy lifting for all that.
I strongly suspect this has something to do with devel/ocl-icd not working properly... both clpeak and clinfo crash. I've seen suggestions to use valgrind, and I discovered oclgrind recently to troubleshoot this.