Computer crashes when rendering in cycles with GPU #73541

Closed
opened 2020-02-02 10:09:59 +01:00 by Samarth kapoor · 41 comments

System Information
Operating system: windows 10
Graphics card: Nvidia Geforce 2060 rtx Super

Blender Version
Broken: blender 2.81.16 and 2.82b and blender 2.80
Worked: blender2.79

Short description of error
basically the computer crashes as soon as i click the render button in cycles with gpu .. as simple as a default cube wont render
the view port display works fine but wont render
cycles works normally with cpu
eevee works fine with gpu but not cycles

Exact steps for others to reproduce the error
open blender and click render with deafult settings

**System Information** Operating system: windows 10 Graphics card: Nvidia Geforce 2060 rtx Super **Blender Version** Broken: blender 2.81.16 and 2.82b and blender 2.80 Worked: blender2.79 **Short description of error** basically the computer crashes as soon as i click the render button in cycles with gpu .. as simple as a default cube wont render the view port display works fine but wont render cycles works normally with cpu eevee works fine with gpu but not cycles **Exact steps for others to reproduce the error** open blender and click render with deafult settings
Author

Added subscriber: @tiltanimation

Added subscriber: @tiltanimation

Added subscriber: @derekbarker

Added subscriber: @derekbarker

Crash as in Blender closes or it becomes unresponsive?

I rolled back to 441.66 on my RTX 2080 and it fixed some of my crashes, Not sure if the latest driver is broken or it was a bad install

Crash as in Blender closes or it becomes unresponsive? I rolled back to 441.66 on my RTX 2080 and it fixed some of my crashes, Not sure if the latest driver is broken or it was a bad install
Author

Crash as in my computer shuts down and I need to open it again

Crash as in my computer shuts down and I need to open it again

Added subscriber: @rjg

Added subscriber: @rjg

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

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

Please try to update your graphics driver using the latest version from Nvidia and report back if this resolves the issue. If you're already using the latest driver, please rollback to a previous version.

Please try to [update your graphics driver using the latest version from Nvidia ](https://www.nvidia.com/Download/driverResults.aspx/156281/en-us) and report back if this resolves the issue. If you're already using the latest driver, please rollback to a previous version.
Author

Hello sir , I made sure to update the driver before writing this log like 30 min before and tried with that too. so yea my driver's are updated and I even made the switch from 'gamer ready driver' to 'studio drivers'
The problem still exists

Hello sir , I made sure to update the driver before writing this log like 30 min before and tried with that too. so yea my driver's are updated and I even made the switch from 'gamer ready driver' to 'studio drivers' The problem still exists

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

In #73541#863535, @tiltanimation wrote:
Crash as in my computer shuts down and I need to open it again

Explain the crash. Your computer turns off? Blender turns off? Did you try going to the driver I recommended?

If your computer turns off there is a much deeper problem than blender.

Explain exactly what blender or your computer does it helps a lot figuring out what is wrong.

> In #73541#863535, @tiltanimation wrote: > Crash as in my computer shuts down and I need to open it again Explain the crash. Your computer turns off? Blender turns off? Did you try going to the driver I recommended? If your computer turns off there is a much deeper problem than blender. Explain exactly what blender or your computer does it helps a lot figuring out what is wrong.
Author

Okay so if I open blender and work on it everything will work normally be it Eevee or cycles and when it comes to rendering if I am rendering in cycles with gpu be it optix or Cuba my computer shuts down in a sec. And it then needs to be restarted again

If I am rendering in cycles with CPU then it works normally and rendering in Eevee is fine as well ,it's just that I am unable to render even a default cube with cycles using gpu

For drivers yes I have the latest version and am using the "studio driver'

Any more details you need sir ?

Okay so if I open blender and work on it everything will work normally be it Eevee or cycles and when it comes to rendering if I am rendering in cycles with gpu be it optix or Cuba my computer shuts down in a sec. And it then needs to be restarted again If I am rendering in cycles with CPU then it works normally and rendering in Eevee is fine as well ,it's just that I am unable to render even a default cube with cycles using gpu For drivers yes I have the latest version and am using the "studio driver' Any more details you need sir ?

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker

@tiltanimation Since your computer crashes this is most likely caused by the graphics driver. Please try the driver version suggested by @derekbarker (441.66). If the crash is caused by the driver there's usually not much that we can do, except waiting for a patched version from the vendor.

@Jeroen-Bakker Does this issue with an RTX card and the current driver version sound familiar?

@tiltanimation Since your computer crashes this is most likely caused by the graphics driver. Please try the driver version suggested by @derekbarker (441.66). If the crash is caused by the driver there's usually not much that we can do, except waiting for a patched version from the vendor. @Jeroen-Bakker Does this issue with an RTX card and the current driver version sound familiar?

In #73541#863686, @rjg wrote:
@tiltanimation Since your computer crashes this is most likely caused by the graphics driver. Please try the driver version suggested by @derekbarker (441.66). If the crash is caused by the driver there's usually not much that we can do, except waiting for a patched version from the vendor.

@Jeroen-Bakker Does this issue with an RTX card and the current driver version sound familiar?

It's somewhat similar though my computer didn't turn off on it's own I did have to shut down my computer because blender wouldn't close. Blender turned black and hung until restart. Task manager wouldn't kill it

> In #73541#863686, @rjg wrote: > @tiltanimation Since your computer crashes this is most likely caused by the graphics driver. Please try the driver version suggested by @derekbarker (441.66). If the crash is caused by the driver there's usually not much that we can do, except waiting for a patched version from the vendor. > > @Jeroen-Bakker Does this issue with an RTX card and the current driver version sound familiar? It's somewhat similar though my computer didn't turn off on it's own I did have to shut down my computer because blender wouldn't close. Blender turned black and hung until restart. Task manager wouldn't kill it
Member

Changed status from 'Needs Developer To Reproduce' to: 'Needs User Info'

Changed status from 'Needs Developer To Reproduce' to: 'Needs User Info'
Member

This report does not contain all the requested information, which is required for us to investigate the issue.

Be sure to provide system information & exact Blender version. A guideline for making a good bug report can be found at https://wiki.blender.org/wiki/Process/Bug_Reports

As you are able to start Blender and this seems to be hardware related please provide us with the system-info.txt created from within Blender.

How to Provide System Information

Including the system-info.txt generated from the Help > Save System Info Menu will give information about the OS, hardware, drivers, Blender version and add-ons enabled.

This report does not contain all the requested information, which is required for us to investigate the issue. Be sure to provide system information & exact Blender version. A guideline for making a good bug report can be found at https://wiki.blender.org/wiki/Process/Bug_Reports As you are able to start Blender and this seems to be hardware related please provide us with the `system-info.txt` created from within Blender. **How to Provide System Information** Including the system-info.txt generated from the Help > Save System Info Menu will give information about the OS, hardware, drivers, Blender version and add-ons enabled.
Author

name system-info.txt
heres the finfo file sir and yes i am using the suggested drivers
just tried to render again and it still crashed on clicking render

[name ](URL)[system-info.txt](https://archive.blender.org/developer/F8318601/system-info.txt) heres the finfo file sir and yes i am using the suggested drivers just tried to render again and it still crashed on clicking render
Member

Added subscriber: @brecht

Added subscriber: @brecht
Member

Oke, I don't see anything special. Just to be sure can you disable the Roll Viewport addon?

And can you start blender with the --debug-cycles flag from the command line. So we perhaps locate where it fails on your system.

@brecht can you have a look at this report?

Oke, I don't see anything special. Just to be sure can you disable the Roll Viewport addon? And can you start blender with the --debug-cycles flag from the command line. So we perhaps locate where it fails on your system. @brecht can you have a look at this report?
Author

I will check if I can disable the roll viewport add
But sorry sir I don't know what "And can you start blender with the --debug-cycles flag from the command line" means and what I need to do here?

I will check if I can disable the roll viewport add But sorry sir I don't know what "And can you start blender with the --debug-cycles flag from the command line" means and what I need to do here?

In #73541#864044, @tiltanimation wrote:
I will check if I can disable the roll viewport add
But sorry sir I don't know what "And can you start blender with the --debug-cycles flag from the command line" means and what I need to do here?

This can be done by running blender_debug_log.cmd that is included with the Blender installation. After Blender exits it will show you log files, which can be attached to this report.

However if the entire computer crashes, I'm not sure there will be log files.

> In #73541#864044, @tiltanimation wrote: > I will check if I can disable the roll viewport add > But sorry sir I don't know what "And can you start blender with the --debug-cycles flag from the command line" means and what I need to do here? This can be done by running `blender_debug_log.cmd` that is included with the Blender installation. After Blender exits it will show you log files, which can be attached to this report. However if the entire computer crashes, I'm not sure there will be log files.
Author

sorry for the late reply sir, i tried running blender with "blender_debug_log.cmd" i was then able to render the default cube with optix but it crashed when i tried with cuba

sorry for the late reply sir, i tried running blender with "blender_debug_log.cmd" i was then able to render the default cube with optix but it crashed when i tried with cuba

Added subscriber: @NoHow

Added subscriber: @NoHow

Hi,
i think this could be related to the very usual (but apperently not well known) windows problem with long running GPU computations.
If crashes happen after >2sec of GUI freeze... i'm pretty sure this is caused by the Windows TDR feature!

SubstancePainter had the same problem and they wrote a nice tutorial on how to change the registry to fix this:
https://docs.substance3d.com/spdoc/gpu-drivers-crash-with-long-computations-128745489.html

I've found this problem very often on various developer forums on the internet and it often leads to month long bug hunting.
It's apperently not well known across the developers... so much wasted time :(
PLEASE SPREAD THE WORD!

Hi, i think this could be related to the very usual (but apperently not well known) windows problem with long running GPU computations. If crashes happen after >2sec of GUI freeze... i'm pretty sure this is caused by the Windows TDR feature! SubstancePainter had the same problem and they wrote a nice tutorial on how to change the registry to fix this: https://docs.substance3d.com/spdoc/gpu-drivers-crash-with-long-computations-128745489.html I've found this problem very often on various developer forums on the internet and it often leads to month long bug hunting. It's apperently not well known across the developers... so much wasted time :( PLEASE SPREAD THE WORD!

@NoHow This is well known among the developers. A small TDR delay shouldn't crash the operating system, as @tiltanimation is experiencing, it simply results in a reset of the GPU (which is also a problem, but a different one).

@tiltanimation Please upload the log files that were created by running blender_debug_log.cmd and resulted in a crash.

@NoHow This is well known among the developers. A small TDR delay shouldn't crash the operating system, as @tiltanimation is experiencing, it simply results in a reset of the GPU (which is also a problem, but a different one). @tiltanimation Please upload the log files that were created by running `blender_debug_log.cmd` and resulted in a crash.

Added subscriber: @robert-18

Added subscriber: @robert-18

@robert-18 Guetzkow: ahh, good to hear that it's well known :)

Is this also somewhere in the Blender documention/FAQ?
It should also be well known to the blender users to prevent the many 'false' crash reports.

@robert-18 Guetzkow: ahh, good to hear that it's well known :) Is this also somewhere in the Blender documention/FAQ? It should also be well known to the blender users to prevent the many 'false' crash reports.

@NoHow As Brecht already replied to one of your other posts, it's documented in the manual . Please don't spam post on the bug tracker.

@NoHow As Brecht already replied to one of your other posts, it's [documented in the manual ](https://docs.blender.org/manual/en/dev/render/cycles/gpu_rendering.html#the-nvidia-opengl-driver-lost-connection-with-the-display-driver) . Please don't spam post on the bug tracker.
Author

blender_debug_output.txt

blender_system_info.txt
this is the log that was created when rendering a default cube with CUDA and when my computer crashed

[blender_debug_output.txt](https://archive.blender.org/developer/F8332648/blender_debug_output.txt) [blender_system_info.txt](https://archive.blender.org/developer/F8332649/blender_system_info.txt) this is the log that was created when rendering a default cube with CUDA and when my computer crashed

@robert-18 Guetzkow: Ohh, i really apologize. It's indeed the wrong place for that.

@robert-18 Guetzkow: Ohh, i really apologize. It's indeed the wrong place for that.
Member

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'
Author

any update sir? i still cant render in cycles

any update sir? i still cant render in cycles

@tiltanimation Unfortunately the debug logs don't show anything out of the ordinary as far as I can see. If the crash is caused by a bug in Nvidia's driver, which is quite likely since your computer crashes, then there isn't much that we can do.

Could you please check if the issue persist in [Blender 2.83 ]] with the [ https:*www.nvidia.com/Download/driverResults.aspx/158760/en-us | latest Nvidia driver ?

@tiltanimation Unfortunately the debug logs don't show anything out of the ordinary as far as I can see. If the crash is caused by a bug in Nvidia's driver, which is quite likely since your computer crashes, then there isn't much that we can do. Could you please check if the issue persist in [Blender 2.83 ]] with the [[ https:*www.nvidia.com/Download/driverResults.aspx/158760/en-us | latest Nvidia driver ](https:*builder.blender.org/download/)?

Added subscriber: @ArnasKarmaza

Added subscriber: @ArnasKarmaza

Hi! I'm having a very similar issue as well. 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 border 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'll be attaching my logs in a comment below.

Hi! I'm having a very similar issue as well. 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 border 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'll be attaching my logs in a comment below.

@ArnasKarmaza Please create a separate ticket (Help > Report a Bug in Blender), especially since there are specific conditions that allow you to reproduce the crash that appear unrelated to the issue reported here.

@ArnasKarmaza Please create a separate ticket (*Help > Report a Bug* in Blender), especially since there are specific conditions that allow you to reproduce the crash that appear unrelated to the issue reported here.

@rjg thanks! I will

@rjg thanks! I will

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Is this problem still seen in the latest development snapshot of blender?
https://builder.blender.org/download

Is this problem still seen in the latest development snapshot of blender? https://builder.blender.org/download
Author

its all good now , the problem was with my psu apprantly it was unstable and used to close down with my gpu
thank you all for the help

its all good now , the problem was with my psu apprantly it was unstable and used to close down with my gpu thank you all for the help

Changed status from 'Needs Developer To Reproduce' to: 'Resolved'

Changed status from 'Needs Developer To Reproduce' to: 'Resolved'
Brecht Van Lommel self-assigned this 2020-07-13 19:52:27 +02:00
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
9 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#73541
No description provided.