Page 1 of 1

Problems with OpenCL rendering on Mac

Posted: Thu Mar 08, 2018 9:58 am
by eyeball3000
Hi guys

I'm having some trouble rendering with OpenCL on my Mac machines*. I'm just getting a black picture:
problems_opencl.png
Both systems are supposed to support OpenCL 1.2 (https://support.apple.com/en-us/HT202823)
I'm also getting a SPP count. When I save the picture it's black as in the preview.

Does anyone know what's the problem? Is this a known issue?


Cheers
Benjamin

*MacBook Pro 2016 (Radeon Pro 455 2 GB) and Mac Pro (AMD FirePro D500 3 GB) both running macOS HighSierra 10.13

Re: Problems with OpenCL rendering on Mac

Posted: Thu Mar 08, 2018 11:51 am
by Oscar J
Are you getting a picture with CPU? Is this with a particular scene, or are you unable to render the material preview scene too, for example?

Re: Problems with OpenCL rendering on Mac

Posted: Thu Mar 08, 2018 2:27 pm
by OnoSendai
have a look in the render log also. (in render settings widget)

Re: Problems with OpenCL rendering on Mac

Posted: Sat Mar 10, 2018 6:17 am
by eyeball3000
I found out that the scene was getting no light.
All my light sources where spherical primitives. For some reason this does not go well with OpenCl (at least on MacOS)
When replacing them with meshes it worked again.

Re: Problems with OpenCL rendering on Mac

Posted: Sat Mar 10, 2018 9:01 am
by Oscar J
That's right, spherical primitives aren't supported in OpenCL at the moment.