Blender crashes when going into "rendered" viewport mode using cycles. #70490

Closed
opened 2019-10-03 20:22:08 +02:00 by Keith Weatherby II · 16 comments

System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 425.31

Blender Version
Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: f6cb5f5449
Worked: (optional)

Short description of error
So essentially Blender 2.80 AND 2.81 crashes when I switched to rendered viewport mode using Cycles, after modifying the material on my object. Material(tab)->Settings->Surface->Displacement(Displacement and Bump)

Exact steps for others to reproduce the error
I'm going through a tutorial (Blender Guru's Beginner tutorial for 2.8 video level 2 part 4: Procedural displacement) so it has several steps. I don't remember it all, however, i'm going to go ahead and attach the actual blend file and to be able to reproduce the problem from the blend file, make sure the renderer is set to cycles, with sample size of 32 for both render and viewport. Then simply make sure Dispacement and Bump is set on the material tab as outlined above. And select "Rendered" viewport shading. It should start to render in cycles and go for a bit and then after less than a minute it should crash.

Donut_00001.blend

Here is the texture should be in the same folder/directory as the blend file
Doughnut Tutorial Texture.png

AS A QUICK UPDATE: It appears that if in the shading tab you change the scale in the displacement node from 1 to something really small like 0.001 it doesn't crash then. So presumably scale of 1 caused some super massive geometry that kills the GPU. In fact it won't crash in CPU mode.

**System Information** Operating system: Windows-7-6.1.7601-SP1 64 Bits Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 425.31 **Blender Version** Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: `f6cb5f5449` Worked: (optional) **Short description of error** So essentially Blender 2.80 AND 2.81 crashes when I switched to rendered viewport mode using Cycles, after modifying the material on my object. Material(tab)->Settings->Surface->Displacement(Displacement and Bump) **Exact steps for others to reproduce the error** I'm going through a tutorial (Blender Guru's Beginner tutorial for 2.8 video level 2 part 4: Procedural displacement) so it has several steps. I don't remember it all, however, i'm going to go ahead and attach the actual blend file and to be able to reproduce the problem from the blend file, make sure the renderer is set to cycles, with sample size of 32 for both render and viewport. Then simply make sure Dispacement and Bump is set on the material tab as outlined above. And select "Rendered" viewport shading. It should start to render in cycles and go for a bit and then after less than a minute it should crash. [Donut_00001.blend](https://archive.blender.org/developer/F7787758/Donut_00001.blend) Here is the texture should be in the same folder/directory as the blend file ![Doughnut Tutorial Texture.png](https://archive.blender.org/developer/F7787791/Doughnut_Tutorial_Texture.png) **AS A QUICK UPDATE: It appears that if in the shading tab you change the scale in the displacement node from 1 to something really small like 0.001 it doesn't crash then. So presumably scale of 1 caused some super massive geometry that kills the GPU. In fact it won't crash in CPU mode.**

Added subscriber: @Uhfgood

Added subscriber: @Uhfgood

Added subscriber: @mano-wii

Added subscriber: @mano-wii

I can't reproduce the crash in my GPU (OpenCL)

Operating system: Windows-10-10.0.18941 64 Bits
Graphics card: Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.13559 Core Profile Context 26.20.12028.2

I can't reproduce the crash in my GPU (OpenCL) **Operating system:** Windows-10-10.0.18941 64 Bits **Graphics card:** Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.13559 Core Profile Context 26.20.12028.2

Added subscriber: @iss

Added subscriber: @iss

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

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

@Uhfgood Is this still an issue with latest build? https://builder.blender.org/download/

@Uhfgood Is this still an issue with latest build? https://builder.blender.org/download/
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

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

Changed status from 'Needs User Info' to: 'Archived'
Jacques Lucke self-assigned this 2020-01-21 13:45:22 +01:00
Member

Closing because there has not been a response for a week. If you are still able to reproduce the issue in the latest builds and with latest gpu drivers, reopen the report please.

Closing because there has not been a response for a week. If you are still able to reproduce the issue in the latest builds and with latest gpu drivers, reopen the report please.

Added subscriber: @brokenstyli

Added subscriber: @brokenstyli

I'd like to chime in and say that I'm having a similar issue, but the crash appears to only occur when using Eevee and wireframe/solid mode viewport renderers, not Cycles (in fact, I'm able to render out an image completely as expected in Cycles).

I'm following along the same tutorial series. My machine's information are as follows;

System Information
WIndows 10 Education, Version 1803. 64 Bit

Blender Version
2.81, Release

Graphics Card
Intel HD Graphics 4000

Steps to Reproduce
bugreport.PNG
Create the above pictured material node graph, apply material to a torus mesh. Enable Displacement + Bump in the settings of the material panel, as mentioned in the OP. Switch from Shading workspace tab to Modeling/Sculpting/Layout workspace tabs. Crash happens a few seconds after switching workspaces.

Other important details;

  • The machine I'm working on does NOT have a discrete/dedicated GPU.
  • The crash only seems to occur when on a workspace tabs that is NOT the Shading tab. Project file immediately crashes on open if the project was saved on a tab that isn't the Shading tab.
  • Crashing requires both that the mesh with the Displacement applied is visible in the View Layer panel, and any onscreen viewports have their renderer to any renderer EXCEPT Cycles - Wireframe, Solid Mode, and Eevee lookdev mode will crash, but Cycles will not crash.

I'm not able to check the latest builds, and do not know how to reopen a report.

I'd like to chime in and say that I'm having a similar issue, but the crash appears to only occur when using Eevee and wireframe/solid mode viewport renderers, not Cycles (in fact, I'm able to render out an image completely as expected in Cycles). I'm following along the same tutorial series. My machine's information are as follows; > **System Information** > WIndows 10 Education, Version 1803. 64 Bit > > **Blender Version** > 2.81, Release > > **Graphics Card** > Intel HD Graphics 4000 **Steps to Reproduce** ![bugreport.PNG](https://archive.blender.org/developer/F8300005/bugreport.PNG) Create the above pictured material node graph, apply material to a torus mesh. Enable Displacement + Bump in the settings of the material panel, as mentioned in the OP. Switch from Shading workspace tab to Modeling/Sculpting/Layout workspace tabs. Crash happens a few seconds after switching workspaces. Other important details; - The machine I'm working on does NOT have a discrete/dedicated GPU. - The crash only seems to occur when on a workspace tabs that is NOT the Shading tab. Project file immediately crashes on open if the project was saved on a tab that isn't the Shading tab. - Crashing requires both that the mesh with the Displacement applied is visible in the View Layer panel, and any onscreen viewports have their renderer to any renderer EXCEPT Cycles - Wireframe, Solid Mode, and Eevee lookdev mode will crash, but Cycles will not crash. I'm not able to check the latest builds, and do not know how to reopen a report.

In #70490#857962, @brokenstyli wrote:
I'd like to chime in and say that I'm having a similar issue, but the crash appears to only occur when using Eevee and wireframe/solid mode viewport renderers, not Cycles (in fact, I'm able to render out an image completely as expected in Cycles).

I'm following along the same tutorial series. My machine's information are as follows;

System Information
WIndows 10 Education, Version 1803. 64 Bit

Blender Version
2.81, Release

Graphics Card
Intel HD Graphics 4000

Steps to Reproduce
bugreport.PNG
Create the above pictured material node graph, apply material to a torus mesh. Enable Displacement + Bump in the settings of the material panel, as mentioned in the OP. Switch from Shading workspace tab to Modeling/Sculpting/Layout workspace tabs. Crash happens a few seconds after switching workspaces.

Other important details;

  • The machine I'm working on does NOT have a discrete/dedicated GPU.
  • The crash only seems to occur when on a workspace tabs that is NOT the Shading tab. Project file immediately crashes on open if the project was saved on a tab that isn't the Shading tab.
  • Crashing requires both that the mesh with the Displacement applied is visible in the View Layer panel, and any onscreen viewports have their renderer to any renderer EXCEPT Cycles - Wireframe, Solid Mode, and Eevee lookdev mode will crash, but Cycles will not crash.

I'm not able to check the latest builds, and do not know how to reopen a report.

I would recommend to file new repor if this is not reported and please follow guidelines (include.blend file)

> In #70490#857962, @brokenstyli wrote: > I'd like to chime in and say that I'm having a similar issue, but the crash appears to only occur when using Eevee and wireframe/solid mode viewport renderers, not Cycles (in fact, I'm able to render out an image completely as expected in Cycles). > > I'm following along the same tutorial series. My machine's information are as follows; >> **System Information** >> WIndows 10 Education, Version 1803. 64 Bit >> >> **Blender Version** >> 2.81, Release >> >> **Graphics Card** >> Intel HD Graphics 4000 > > **Steps to Reproduce** > ![bugreport.PNG](https://archive.blender.org/developer/F8300005/bugreport.PNG) > Create the above pictured material node graph, apply material to a torus mesh. Enable Displacement + Bump in the settings of the material panel, as mentioned in the OP. Switch from Shading workspace tab to Modeling/Sculpting/Layout workspace tabs. Crash happens a few seconds after switching workspaces. > > Other important details; > - The machine I'm working on does NOT have a discrete/dedicated GPU. > - The crash only seems to occur when on a workspace tabs that is NOT the Shading tab. Project file immediately crashes on open if the project was saved on a tab that isn't the Shading tab. > - Crashing requires both that the mesh with the Displacement applied is visible in the View Layer panel, and any onscreen viewports have their renderer to any renderer EXCEPT Cycles - Wireframe, Solid Mode, and Eevee lookdev mode will crash, but Cycles will not crash. > > I'm not able to check the latest builds, and do not know how to reopen a report. I would recommend to file new repor if this is not reported and please follow guidelines (include.blend file)

Added subscriber: @NoHow

Added subscriber: @NoHow

Hi,
i have a gut feeling that this is again a problem with the Windows TDR feature, espacialy if it happens after a >2sec GUI freeze!

SubstancePainter had this issue and they wrote a nice documentation/fix for that:
https://docs.substance3d.com/spdoc/gpu-drivers-crash-with-long-computations-128745489.html

I've found this so often across various projects on the internet, wasting the precious developers time.
So, if it solves this problem.... please spread the word!

Hi, i have a gut feeling that this is again a problem with the Windows TDR feature, espacialy if it happens after a >2sec GUI freeze! SubstancePainter had this issue and they wrote a nice documentation/fix for that: https://docs.substance3d.com/spdoc/gpu-drivers-crash-with-long-computations-128745489.html I've found this so often across various projects on the internet, wasting the precious developers time. So, if it solves this problem.... please spread the word!

Added subscriber: @SteffenD

Added subscriber: @SteffenD

This is a main cause for errors, especially with less experienced users. The problem is that any Windows or nVidia drivers update can reset these values in the Registry :(
Allegorithmic had enough "bug" reports because of this issue and so they not only released a documentation on how to fix it but also added a check during the startup of Substance Painter that warns you in case your TdrDelay and TdrDdiDelay values were too low.

Maybe such a check should be added to the Windows version of Blender.

This is a main cause for errors, especially with less experienced users. The problem is that any Windows or nVidia drivers update can reset these values in the Registry :( Allegorithmic had enough "bug" reports because of this issue and so they not only released a documentation on how to fix it but also added a check during the startup of Substance Painter that warns you in case your TdrDelay and TdrDdiDelay values were too low. Maybe such a check should be added to the Windows version of Blender.
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
7 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#70490
No description provided.