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

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
User avatar
motaman
Posts: 34
Joined: Tue Mar 12, 2019 4:03 pm
Location: Mexico
Contact:

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

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

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

Post 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:
Support LuxCoreRender project with salts and bounties
User avatar
motaman
Posts: 34
Joined: Tue Mar 12, 2019 4:03 pm
Location: Mexico
Contact:

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

Post by motaman »

:oops: HAHAHA boi yep, that worked
instagram: motaman.art
naruto123sdo
Posts: 19
Joined: Mon Jun 14, 2021 9:47 pm

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

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

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

Post 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 ?
Support LuxCoreRender project with salts and bounties
naruto123sdo
Posts: 19
Joined: Mon Jun 14, 2021 9:47 pm

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

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