Page 1 of 1

OpenCL driver API error code: -30

Posted: Fri Nov 14, 2025 2:08 pm
by docgfx
Hi!
Please help!

BlendLuxCore suddenly stopped working.
I keep getting the following error message:

OpenCL driver API error (code: -30, file:/Users/runner/work/LuxCore/LuxCore/src/luxrays/utils/ocl.cpp, line: 372): CL_INVALID_VALUE

I am using Blender 4.5.3 on a Macbook Pro M3 (worked without any issues a few weeks ago).
I tried BlendLuxCore 2.10.1 and 2.10.2, still getting the same error.

The only thing that might have changed is my MacOS version.
I have updated from MacOS Tahoe 26.0 to 26.1 recently.

Any ideas?

Thank you very much in advance!

Re: OpenCL driver API error code: -30

Posted: Sat Nov 15, 2025 12:21 pm
by docgfx
Solved (at least temporarily).

Go to Edit - Preferences - Add-ons - BlendLuxCore - Preferences - choose CPU as Film Device.

I still hope LuxCoreRender will support Metal someday.

Re: OpenCL driver API error code: -30

Posted: Sun Nov 16, 2025 11:01 pm
by epilectrolytics
When updating MacOS you might have to delete (user)/luxcorerender.org/ocl_kernel_cache folder before starting LuxCore.

A Metal version would be great indeed.

Re: OpenCL driver API error code: -30

Posted: Wed Nov 19, 2025 6:29 am
by docgfx
Thank you!

Deleting the cache folder solved the problem as well 8-)