Page 1 of 1

Displacement causing irregular Render Crashes

Posted: Fri May 13, 2016 7:47 am
by artshaman
I'm having trouble with rendering and displacement. Sometimes a setup loads in the Live View no problem and sometimes it just crashes. It seems to correlate with the large displacement textures I am using.

I'm using a Mac, 96gb ram, Titan X,

This is my Log:

Export materials time= 148785.84 ms
Collect objects time= 1.534 ms
Mesh creation time = 656.336 ms.
Triangles:42k Disp.triangles:1.69m Hair count:0 Mesh count:32
CUDA error 2 on device 0: The API was unable to allocate enough memory to perform the requested operation.
-> failed to allocated device memory
device 0: failed to upload data texture 7 of context 0
<<< Render Failure >>>
VRAM used/free/max:917Mb/115Mb/12Gb
Total export Time = 250745.413 ms

Any help would be really appreciated. Considering I have 12Gb of VRAM available why is it using so little?
Thank you in advance! :)

Re: Displacement causing irregular Render Crashes

Posted: Fri May 13, 2016 1:03 pm
by aoktar
pffff. 148 seconds for material export. What are you doing man?

Re: Displacement causing irregular Render Crashes

Posted: Wed May 18, 2016 11:57 am
by artshaman
I am rendering images for VERY large print resolution. I have all other applications closed.
Why would it be using such a small amount of the VRAM in these cases?

My images are large, but I can't make them smaller as I am rendering for very large print size and need the resolution. Similarly if I reduce polygon count the image quality noticeably suffers.

Thanks for your response

Re: Displacement causing irregular Render Crashes

Posted: Wed May 18, 2016 12:04 pm
by aoktar
I think your images are not fitting to VRAM and some of them are filling out-of-core. Can you try to increase out-of-core RAM?

VRAM used/free/max:917Mb/115Mb/12Gb

Re: Displacement causing irregular Render Crashes

Posted: Wed May 18, 2016 1:07 pm
by artshaman
I turned that up to 64Gb.. whats GPU head room? Would that effect anything.
Thank you