Page MenuHome

Trying to render on the GPU with tiles larger than a few hundred makes Blender crash
Open, Waiting for Developer to ReproducePublic

Description

System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce GTX 980/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 436.30

Blender Version
Broken: version: 2.81 (sub 12), branch: master (modified), commit date: 2019-09-27 17:16, hash: rBbe985bdde27f

Short description of error
I have had this issue since I started using 2.8x back in December. I've been trying to follow the Cycles optimisation tips by the Blender Guru in this video, but when I try to set the render tiles to 512 or 1024 with the GPU selected, Blender has consistently been crashing every time, especially right at the end of a completed render of some reason. Also, rendering on the CPU does not cause these crashes for me strangely.

Exact steps for others to reproduce the error
Set the render tiles to one of those numbers on a scene. I don't know what is causing the issue, but if it is a universal problem, Blender should crash eventually from rendering with those settings.

Details

Type
Bug

Event Timeline

Stephen Swaney (stiv) lowered the priority of this task from Needs Triage by Developer to Needs Information from User.Sep 28 2019, 10:44 PM

/me guesses randomly: perhaps you are blowing out the GPU memory. Can you show us the error message? Also a .blend would be useful

Optimal tile size depends on your card. Maybe do a bit of testing to find appropriate size

@Stephen Swaney (stiv) That's the thing, Blender rendering rarely works out properly and I have been trying out different settings for a long time. I've tried everything from 100 up to 1k and it rarely works out the way I expect it to. Here's another example of an error I get fairly often, a CUDA error:

I'm gonna guess it's a TDR issue, too much work is queued and the OS kills the GPU driver after it gets unresponsive for more than a few seconds.

@LazyDodo (LazyDodo) Okay. Anything that can be done on my end to avoid those issues?

I'd probably start by validating it is a TDR issue, by looking in the event viewer from around the time of the crash and see if there are any TDR events reported.

It is not recommended anymore to use such large tile sizes, and smaller ones often render faster now. When using denoising or many render passes in general, large tile sizes will also run out of memory.

In any case we require a .blend file and exact steps to reproduce problem, this bug report is too vague.

@Brecht Van Lommel (brecht) Okay, I will keep that in mind.

Here is is a file I am currently working on which crashes for me every time I press render. Since I don't know what setting is causing the crash, this is all I can really give you. I am using a Geforce GTX 980 card and quite recently installed the latest drivers.

Bastien Montagne (mont29) raised the priority of this task from Needs Information from User to Waiting for Developer to Reproduce.Mon, Oct 14, 11:04 AM