I just had an error with OpenCL trying to render an animation.
It ran fine for 57 frames, then aborted on frame 58. Only rotating objects in the scene, no light changes etc.
error below, full console output for frame 58 attached.
Won't be relevant for me (I hope) since I'm trying to switch to Optix, but perhaps you still need to fix it for others.
Blend-file is quite large, let me know if you need it for testing.
Code: Select all
Traceback (most recent call last):
File "C:\Users\johannes\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\BlendLuxCore-daily\engine\base.py", line 86, in render_final
final.render(self, depsgraph)
File "C:\Users\johannes\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\BlendLuxCore-daily\engine\final.py", line 48, in render
_render_layer(engine, depsgraph, statistics, layer)
File "C:\Users\johannes\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\BlendLuxCore-daily\engine\final.py", line 153, in _render_layer
engine.framebuffer.draw(engine, engine.session, depsgraph.scene, render_stopped=False)
File "C:\Users\johannes\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\BlendLuxCore-daily\draw\final.py", line 71, in draw
self._width, self._height, combined.as_pointer(), False, True)
RuntimeError: OpenCL driver API error (code: -4, file:D:\a\1\Luxcore\src\luxrays\devices\ocldevice.cpp, line: 313): CL_MEM_OBJECT_ALLOCATION_FAILURE
ERROR: OpenCL driver API error (code: -4, file:D:\a\1\Luxcore\src\luxrays\devices\ocldevice.cpp, line: 313): CL_MEM_OBJECT_ALLOCATION_FAILURE
[LuxCore][3272.657] [GeForce RTX 2070 OpenCLIntersect] Memory used for hardware image pipeline: 56700Kbytes
Error: OpenCL driver API error (code: -4, file:D:\a\1\Luxcore\src\luxrays\devices\ocldevice.cpp, line: 313): CL_MEM_OBJECT_ALLOCATION_FAILURE