Hi there, so recently I’ve stumbled into a serious issue. For the past 4 months I was able to render scenes of various sizes and setups without a major problem, however, all that was a subject to change in the past few days. I started to get the following error: “OpenCL error: CL_MEM_OBJECT_ALLOCATION_FAILURE in clENqueueBuffer(cqCommandQueue, CL_MEM_PTR(mem.device_pointer), CL_TRUE, 0, size(void*)mem.data_pointer, 0, NULL, NULL)” even when I try to render the most simple scene containing one cube without an HDRi using my Radeon R9 270, rendering works fine with my CPU but my GPU is having major issues. I don’t think that there is a problem with my GPU because like I said it was working fine in the past but now all of a sudden it doesn’t anymore.
Let me just give you another important information, the error doesn’t occur every time I start blender, it works fine the first time but when I try to render something the second time regardless if that scene is the same one or another one from a second file the error happens again. But If I were to exit Blender and start it again, the software doesn’t have a problem with rendering the first time using my GPU.
I’ve already tested out and ruled out a couple of things: the scene, resolution, sampling amount and other important settings in render panels are not the cause, I can minimize it as much as I want to but the error is persistent. Simplify also doesn’t help since like I said a simple scene with one cube un-subdivide won’t render and I’ve rendered scenes in the past using my GPU that had about 2 000 000 polygons. I would send you my files and setup but I don’t see how that would help since the issue only began with Blender couple of days ago when Blender all of a sudden crashed alongside my display driver in a really intense scene and I wasn’t even rendering anything I just moved an empty that was a parent of a high poly mesh that had a subdivision modifier on it.
I guess I should reinstall Blender and see if that changes anything?