BlendLuxCore icon indicating copy to clipboard operation
BlendLuxCore copied to clipboard

BUG: OpenCL Driver API error -30

Open enzyme69 opened this issue 4 years ago • 5 comments

.blend file: no need

Steps to reproduce:

  • install latest LuxCore for Blender
  • all run fine
  • restart Blender, LuxCore does not render anymore

Screenshots or rendered images: Screen Shot 2021-09-10 at 10 15 07 pm

Error message from Blender console: OpenCL driver API error (code: -30, file:/Users/runner/work/1/s/src/luxrays/utils/ocl.cpp, line: 371): CL_INVALID_VALUE

OS: Blender version: 2.92 LuxCore version: 2.5

enzyme69 avatar Sep 10 '21 21:09 enzyme69

https://github.com/LuxCoreRender/BlendLuxCore/issues/682

u3dreal avatar Sep 14 '21 22:09 u3dreal

I confirm that too. Tried on Blender 2.83 (luxcore 2.4), Blender 2.90 (luxcore 2.4 and 2.5), Blender 2.91 (luxcore 2.5). I uninstalled Blender 2.91 and fresh installed it and the problem persist....It all suddenly happened without me doing something like update or else. Till few days back everything worked fine and today I have the dilemma to preinstall my Mac OS because of it. I am on Mac, Big Sur.

dani3315 avatar Sep 16 '21 07:09 dani3315

Follow up: Uninstalled all Blender apps and LuxCore versions, upgraded Big Sur from 11.2 to 11.6, uninstalled Xcode and installed the latest 13 beta ( all together about 13-14 hours ). Fresh installed Blender 2.90 and Blender 2.93. Tried to install again BlendLuxCore and getting the same result. Screen Shot 2021-09-17 at 12 36 56 PM

...so, apparently it is a BUG in LuxCore for Blender as you can see from this link: https://developer.apple.com/forums/thread/666465

dani3315 avatar Sep 17 '21 10:09 dani3315

Hate to break it to you but OpenCL bug-fixes in this vein have been permanently shelved. This is a driver bug at its core, and those won’t be fixed according the lead dev. Hopefully Monterey will solve your issue, until then you can hope that someone will come along and write a Metal backend for LuxCore to bring it into the Apple Silicon era.

jamespa16 avatar Sep 17 '21 13:09 jamespa16

Can confirm in 2022, this bug still happening. I might have the wrong version of the addon. Because it works fine at some point (even after closing and reopening Blender 3.1.2)... strange.

enzyme69 avatar Apr 08 '22 14:04 enzyme69