OpenCl error on windows

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Post Reply
JoeDDD
Posts: 26
Joined: Sun Jan 13, 2019 8:00 am

OpenCl error on windows

Post 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.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: OpenCl error on windows

Post 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).
Support LuxCoreRender project with salts and bounties
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: OpenCl error on windows

Post by B.Y.O.B. »

This happens when you render inside Blender, or something else?
JoeDDD
Posts: 26
Joined: Sun Jan 13, 2019 8:00 am

Re: OpenCl error on windows

Post 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?
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: OpenCl error on windows

Post 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?
JoeDDD
Posts: 26
Joined: Sun Jan 13, 2019 8:00 am

Re: OpenCl error on windows

Post 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
Post Reply