I have a problem with my Radeon HD 7770 when I’m rendering. I’m getting the error:
“Message : Tiles need to be split further inside path trace (due to insufficient device-global-memory for split kernel to function) The current tile of dimensions 256x256 is split into tiles of dimension 128x256 for render OpenCL error (-4): CL_MEM_OBJECT_ALLOCATION_FAILURE in clEnqueueNDRangeKernel OpenCL error: CL_MEM_OBJECT_ALLOCATION_FAILURE in clEnqueueNDRangeKernel() OpenCL error (-4): CL_MEM_OBJECT_ALLOCATION_FAILURE in clEnqueueNDRangeKernel OpenCL error: CL_MEM_OBJECT_ALLOCATION_FAILURE in clEnqueueNDRangeKernel() OpenCL error: CL_MEM_OBJECT_ALLOCATION_FAILURE in clEnqueueWriteBuffer(cqCommandQueue, CL_MEM_PTR(mem.device_pointer), CL_TRUE, 0, size, (void)mem.data_pointer, 0, NULL, NULL) OpenCL error (-4): CL_MEM_OBJECT_ALLOCATION_FAILURE in clEnqueueNDRangeKernel OpenCL error: CL_MEM_OBJECT_ALLOCATION_FAILURE in clEnqueueNDRangeKernel() OpenCL error: CL_MEM_OBJECT_ALLOCATION_FAILURE in clEnqueueWriteBuffer(cqCommandQueue, CL_MEM_PTR(mem.device_pointer), CL_TRUE, 0, size, (void)mem.data_pointer, 0, NULL, NULL)”
Most of the times I’m getting the error, but sometimes randomly I don’t. Videocard has 1 Gb of vram. While rendering my memory usage is around 400-700mb so nowhere near the full capacity.
If anyone can help I’d be glad.
Thank you in anticipation.
Your card is at the very bottom end of what is supported by OpenCL rendering. And 1 GB VRAM is next to nothing. The error message says quite clearly: insufficient device-global-memory.
The memory consumption shown by Blender while rendering is not accurate. And in addition to that Blender does not show the part of the VRAM used by your OS for display anyway.
With each new Blender version new functionality is added to Cycles. Since your card’s memory is too sparse to use the split kernel, the ever growing render kernel has to be loaded completely into the card’s VRAM. The bigger the render kernel, the less space for your scene.
Your options:
Use an older version of Blender (preferably the one you know worked back then)
Get a new graphics card (preferably by nVidia to use CUDA and to avoid AMD’s nightmarish driver support)
On my 7870, I can render the scene once when starting Blender.
I have then further model some parts in the scene, changed materials and opened viewport shading. When I rendered again, Blender crashed with this similar message.
CL_MEM_OBJECT_ALLOCATION_FAILURE in clEnqueueWriteBuffer(cqCommandQueue, CL_MEM_PTR(mem.device_pointer), CL_TRUE, 0, size, (void)mem.data_pointer, 0, NULL, NULL) OpenCL error (-4): CL_MEM_OBJECT_ALLOCATION_FAILURE in clEnqueueNDRangeKernel OpenCL error: CL_MEM_OBJECT_ALLOCATION_FAILURE in clEnqueueNDRangeKernel() OpenCL error: CL_MEM_OBJECT_ALLOCATION_FAILURE in clEnqueueWriteBuffer(cqCommandQueue, CL_MEM_PTR(mem.device_pointer), CL_TRUE, 0, size, (void)mem.data_pointer, 0, NULL, NULL)"
This also applies with default scene.
Try to add sphere next to cube.
Render the scene.
Open viewport shading mode, close it.
Change material on sphere and cube,open viewport shading mode.
Render the scene once again. Blender crashes.