GPU rendering freezes in camera preview with render region enabled. #75930

Closed
opened 2020-04-20 14:29:25 +02:00 by Arnas Karmaza · 14 comments

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.

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.
Author

Added subscriber: @ArnasKarmaza

Added subscriber: @ArnasKarmaza
Author

This comment was removed by @ArnasKarmaza

*This comment was removed by @ArnasKarmaza*
Author
Logs: [blender_system_info.txt](https://archive.blender.org/developer/F8485096/blender_system_info.txt) [blender_debug_output.txt](https://archive.blender.org/developer/F8485097/blender_debug_output.txt)

Added subscriber: @fclem

Added subscriber: @fclem

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
  • Does that happens using the default scene?
  • If not can you provide a test file.
  • What renderer are you using? Cycles or EEVEE?
- Does that happens using the default scene? - If not can you provide a test file. - What renderer are you using? Cycles or EEVEE?
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Member

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.

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.
Author

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.

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.
Author

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.
Single GPU.txt

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. [Single GPU.txt](https://archive.blender.org/developer/F8675480/Single_GPU.txt)

Added subscriber: @rjg

Added subscriber: @rjg

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'
Robert Guetzkow self-assigned this 2020-11-03 11:21:28 +01:00

The errors in your log file look like your exceeding the Timeout Detection Recovery delay (TDR-delay) after which the OS resets the graphics driver state. I'm closing this report since this has been inactive for several months.

Thanks again for the report. If the problem persists please open a new report with the updated information.

The errors in your log file look like your exceeding the Timeout Detection Recovery delay (TDR-delay) after which the OS resets the graphics driver state. I'm closing this report since this has been inactive for several months. Thanks again for the report. If the problem persists please open a new report with the updated information.
Author

Just for the record, I tried setting the TDR values to everything, it didn't help in the freezing. I no longer have this issue and I'm not sure what was causing it sadly.

Just for the record, I tried setting the TDR values to everything, it didn't help in the freezing. I no longer have this issue and I'm not sure what was causing it sadly.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#75930
No description provided.