Page 1 of 1

opencl device selection string has the wrong length, must be 3 instead of 1

Posted: Thu Apr 04, 2019 5:15 pm
by motaman
Tried to render the blender scene "Sharlybg_Food.blend" ,I can see the render on the viewport but when i try to do a final render this error shows up

Code: Select all

opencl device selection string has the wrong length, must be 3 instead of 1
:cry: :cry:

Re: opencl device selection string has the wrong length, must be 3 instead of 1

Posted: Thu Apr 04, 2019 6:07 pm
by Dade
motaman wrote: Thu Apr 04, 2019 5:15 pm Tried to render the blender scene "Sharlybg_Food.blend" ,I can see the render on the viewport but when i try to do a final render this error shows up

Code: Select all

opencl device selection string has the wrong length, must be 3 instead of 1
I guess the scene was saved on a PC with 3 OpenCL devices, just go the the BlendLuxCore device panel, refresh the list and select your GPU :idea:

Re: opencl device selection string has the wrong length, must be 3 instead of 1

Posted: Thu Apr 04, 2019 7:17 pm
by motaman
:oops: HAHAHA boi yep, that worked

Re: opencl device selection string has the wrong length, must be 3 instead of 1

Posted: Fri Oct 01, 2021 4:07 pm
by naruto123sdo
Dade wrote: Thu Apr 04, 2019 6:07 pm
I guess the scene was saved on a PC with 3 OpenCL devices, just go the the BlendLuxCore device panel, refresh the list and select your GPU :idea:
Hi Dade, I met this exact problem, but in my case I'm trying to render through python script remotely, so I cannot open the Blender GUI to refresh the GPU list and select GPU. Do you know the commands that I could try?

Re: opencl device selection string has the wrong length, must be 3 instead of 1

Posted: Fri Oct 01, 2021 6:17 pm
by Dade
naruto123sdo wrote: Fri Oct 01, 2021 4:07 pm
Dade wrote: Thu Apr 04, 2019 6:07 pm
I guess the scene was saved on a PC with 3 OpenCL devices, just go the the BlendLuxCore device panel, refresh the list and select your GPU :idea:
Hi Dade, I met this exact problem, but in my case I'm trying to render through python script remotely, so I cannot open the Blender GUI to refresh the GPU list and select GPU. Do you know the commands that I could try?
But are using a python script calling LuxCore API or still using Blender from command line ?

Re: opencl device selection string has the wrong length, must be 3 instead of 1

Posted: Fri Oct 01, 2021 8:06 pm
by naruto123sdo
Dade wrote: Fri Oct 01, 2021 6:17 pm
But are using a python script calling LuxCore API or still using Blender from command line ?
I guess I'm still using Blender from command line? It's like I just run "blender my_blend.blend -b -p my_script.py" It works in my local device but not remotely