Page MenuHome

Render crashes when linked objects
Needs Information from User, NormalPublic

Description

Render crashes. Open file GARDEN Final Scene and press F12. Only when removing linked objects it works.

Zip file includes all files needed and System Info.

Event Timeline

It didn't crash here, but I also can't render with GPU because this OpenCL error:

OpenCL error: CL_INVALID_VALUE in clEnqueueCopyBuffer(device->cqCommandQueue, CL_MEM_PTR(buffer->device_pointer), CL_MEM_PTR(new_buffer->device_pointer), allocation->desc.offset, offset, allocation->mem->memory_size(), 0, NULL, NULL) (C:\Germano\Dev\BlenderDev\blender\intern\cycles\device\opencl\memory_manager.cpp:114)
OpenCL error: CL_INVALID_VALUE in clEnqueueCopyBuffer(device->cqCommandQueue, CL_MEM_PTR(buffer->device_pointer), CL_MEM_PTR(new_buffer->device_pointer), allocation->desc.offset, offset, allocation->mem->memory_size(), 0, NULL, NULL) (C:\Germano\Dev\BlenderDev\blender\intern\cycles\device\opencl\memory_manager.cpp:114)
OpenCL error: CL_INVALID_VALUE in clEnqueueCopyBuffer(device->cqCommandQueue, CL_MEM_PTR(buffer->device_pointer), CL_MEM_PTR(new_buffer->device_pointer), allocation->desc.offset, offset, allocation->mem->memory_size(), 0, NULL, NULL) (C:\Germano\Dev\BlenderDev\blender\intern\cycles\device\opencl\memory_manager.cpp:114)
OpenCL error: CL_INVALID_VALUE in clEnqueueCopyBuffer(device->cqCommandQueue, CL_MEM_PTR(buffer->device_pointer), CL_MEM_PTR(new_buffer->device_pointer), allocation->desc.offset, offset, allocation->mem->memory_size(), 0, NULL, NULL) (C:\Germano\Dev\BlenderDev\blender\intern\cycles\device\opencl\memory_manager.cpp:114)
OpenCL error: CL_INVALID_VALUE in clEnqueueWriteBuffer(device->cqCommandQueue, CL_MEM_PTR(new_buffer->device_pointer), CL_FALSE, offset, allocation->mem->memory_size(), allocation->mem->host_pointer, 0, NULL, NULL) (C:\Germano\Dev\BlenderDev\blender\intern\cycles\device\opencl\memory_manager.cpp:99)
OpenCL error: CL_INVALID_VALUE in clEnqueueWriteBuffer(device->cqCommandQueue, CL_MEM_PTR(new_buffer->device_pointer), CL_FALSE, offset, allocation->mem->memory_size(), allocation->mem->host_pointer, 0, NULL, NULL) (C:\Germano\Dev\BlenderDev\blender\intern\cycles\device\opencl\memory_manager.cpp:99)
Error: OpenCL error: CL_INVALID_VALUE in clEnqueueCopyBuffer(device->cqCommandQueue, CL_MEM_PTR(buffer->device_pointer), CL_MEM_PTR(new_buffer->device_pointer), allocation->desc.offset, offset, allocation->mem->memory_size(), 0, NULL, NULL) (C:\Germano\Dev\BlenderDev\blender\intern\cycles\device\opencl\memory_manager.cpp:114)

I don't know what can lead to this error, but apparently it is a memory problem, which is not surprising since this file is very complex.
For valid bug reports it is recommended that the file be simplified to the maximum. This makes it easy to identify the problem.

If an out-of-memory problem is confirmed, this is not considered a bug, but a hardware limitation.

This scene rendered without problems in 2.8.
It is a project i left unfinished but had no problems until opened in 2.9 for testing pupouses.
All is optimized and i am sure it is not hardware limitation.
I think i could add more objects to the scene in 2.8 and will render.

Confirmed. In 2.83.5 you can even add plenty of geometry and external objects and works fine.

Just gave this scene a try and it renders without problems here:

@Joselu (Xeluaxeman), rendering with CPU or GPU?
Have you tried Optix, Cuda and OpenCL?

CUDA of course. I guess something went wrong from 2.8 to 2.9. I will make some more tests but 2.9 is unstable in my case and will only keep 2.8 files until the issue is fixed.

What caught my eye when giving this scene a try was that your hair rendering geometry was set to:


which is a major difference to 2.83

Not sure if that's the culprit though.
Maybe you could give "Rounded Ribbons" with "Curve Subdivisions" of 2 a try?

Richard Antalik (ISS) changed the task status from Needs Triage to Needs Information from User.Thu, Sep 3, 8:24 PM

@Joselu (Xeluaxeman) what is your OS? Can you update GPU drivers?
Does this happen, when you click on File > Load Factory Settings, load your file and render?

Please update report description with OS and GPU info and worked/broken version. Click on Help > Report a Bug to auto fill in this info.

Finally your file is too big to really debug. You should remove as much objects as possible while making sure bug is still there. If this is not out-of-memory problem, crash is probably caused by one object.

Sorry everybody. Linked file Candle Final that has pre cached fluids for the flame is the problem.
Thanks. I will keep testing 2.9.

Does that mean that you have resolved the problem by clearing caches?

Yes. Linked objects have some limitations with fluids cache by now.
No problem since i only link unfinished objects as a preview for the whole scene. I would use imported objects for animation purpouses once all final setups are done.

Could you make a simple blend file from scratch that could help us test this issue with linked objects ?