Page 1 of 1

OpenCl error on windows

Posted: Sat Feb 09, 2019 3:37 pm
by JoeDDD
When I try to render with my gpu I get this error:
"OpenCL device selection string has the wrong length, must be 3 instead of 1"

I have tried to reinstall the addon (opencl supported) and it still doesn't work.

Re: OpenCl error on windows

Posted: Sat Feb 09, 2019 3:54 pm
by Dade
JoeDDD wrote: Sat Feb 09, 2019 3:37 pm When I try to render with my gpu I get this error:
"OpenCL device selection string has the wrong length, must be 3 instead of 1"

I have tried to reinstall the addon (opencl supported) and it still doesn't work.
Do you have multiple OpenCL platforms ? Like Pocl and AMD or NVIDIA OpenCL ?

The message is saying you have 3 OpenCL devices. Just run "clinfo" to check what type of platforms and devices you have (and post here the output).

Re: OpenCl error on windows

Posted: Sat Feb 09, 2019 4:01 pm
by B.Y.O.B.
This happens when you render inside Blender, or something else?

Re: OpenCl error on windows

Posted: Sat Feb 09, 2019 4:16 pm
by JoeDDD
Dade wrote: Sat Feb 09, 2019 3:54 pm
JoeDDD wrote: Sat Feb 09, 2019 3:37 pm When I try to render with my gpu I get this error:
"OpenCL device selection string has the wrong length, must be 3 instead of 1"

I have tried to reinstall the addon (opencl supported) and it still doesn't work.
Do you have multiple OpenCL platforms ? Like Pocl and AMD or NVIDIA OpenCL ?

The message is saying you have 3 OpenCL devices. Just run "clinfo" to check what type of platforms and devices you have (and post here the output).
How can I do that?

Re: OpenCl error on windows

Posted: Sat Feb 09, 2019 4:27 pm
by B.Y.O.B.
You can also download luxmark to see your OpenCL devices.

By the way, what kind of scene do you try to render? one of the example scene, or your own? Does it work with the default cube?

Re: OpenCl error on windows

Posted: Sat Feb 09, 2019 4:39 pm
by JoeDDD
B.Y.O.B. wrote: Sat Feb 09, 2019 4:27 pm You can also download luxmark to see your OpenCL devices.

By the way, what kind of scene do you try to render? one of the example scene, or your own? Does it work with the default cube?
Even with the default cube I get the same error message