Page MenuHome

GPU rendering freezes in camera preview with render region enabled.
Needs Information from User, NormalPublic

Description

Hi! I'm having a system-specific issue. One of my GPUs (GTX 1080 Ti), stops rendering in the render preview with the cancel message. This only happens from the camera preview and render region enabled. I've tested multiple Nvidia drivers, tried rolling back and the latest one doesn't fix it. I've tried multiple blender versions including the latest 2.9 experimental. I've also set the TDR values to 60 and tried going higher.

I started noticing this issue after migrating my OS to an NVME from an SSD but I'm not sure if that has anything to do with this.

I'm hoping it's not my GPU as I've been rendering with it for a long time, it's stable, performs as it's supposed to and even now the preview render works perfectly. It's just the camera preview with enabled border cropping and zooming in that gives the cancel message and freezes blender if I try to exit it then.

I have another GTX 1080 Ti and it doesn't do this, I can't reproduce the issue with it. The GPU I'm having is in the 2nd PCIe slot I think and it appears to be 2nd in the CUDA panel in Blender. It doesn't matter if I'm using one or two GPUs, I still get the error. I'm fairly confident this isn't a hardware issue and that the GPUs are seated in properly. All the rendering works properly, it just freezes when I zoom in the camera preview with render region enabled.

I'll be attaching my logs in a comment below.

Event Timeline

This comment was removed by Arnas Karmaza (madllama).

Logs:

Clément Foucault (fclem) changed the task status from Needs Triage to Needs Information from User.Tue, Jun 30, 3:13 AM
  • Does that happens using the default scene?
  • If not can you provide a test file.
  • What renderer are you using? Cycles or EEVEE?

In the debug output I see the next lines

CUDA error: Launch failed in cuCtxSynchronize(), line 1945

Refer to the Cycles GPU rendering documentation for possible solutions:
https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html

CUDA error: Launch failed in cuCtxSynchronize(), line 2362

Refer to the Cycles GPU rendering documentation for possible solutions:
https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html

Seems like a Cycles issue.

Hi! and sorry for the late clarification.

I've been messing with drivers since this issue and I don't think I can reproduce the render border error with the most recent nvidia drivers at the time. The only issue I still have is Cycles errors while using 2 GPUs. Memory doesn't exceed the limits as one GPU can render the scene perfectly.

I'm getting various errors similar to CUDA error: Launch failed in cuCtxSynchronize(), line 1945 when rendering complex scenes, the next time I get that, I'll post it here, though it may be better to track that as a different issue, as the title no longer applies.

Just had a crash rendering using a single GPU after rendering for about an hour. I'm using blender for production and this is really bugging me out, as there seems to be virtually no stable way I can render things on my machine. Can't wait for the new Nvidia's release to simplify my machine just to one GPU.