EEVEE: Crash if computation is too heavy for the system (TDR issue) #65223

Open
opened 4 years ago by GemstoneStudios · 23 comments

System Information
Operating system: Windows-10-10.0.17134 64 Bits
Graphics card: GeForce RTX 2080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.64

Blender Version
Broken: version: 2.80 (sub 72), branch: blender2.7, commit date: 2019-05-27 19:48, hash: 89207df722
Worked: (optional)

Short description of error
Any time I try to render an image sequence in any format in Eevee, it constantly crashes the whole program on the first frame. I was able to render before until I changed some camera location animations and adding a focusing animation. As well as changing the camera sensor size. I am rendering in 4K I have attached the log file.
blender_debug_output.txt

blender_system_info.txt

NebulaV2.blend

**System Information** Operating system: Windows-10-10.0.17134 64 Bits Graphics card: GeForce RTX 2080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.64 **Blender Version** Broken: version: 2.80 (sub 72), branch: blender2.7, commit date: 2019-05-27 19:48, hash: `89207df722` Worked: (optional) **Short description of error** Any time I try to render an image sequence in any format in Eevee, it constantly crashes the whole program on the first frame. I was able to render before until I changed some camera location animations and adding a focusing animation. As well as changing the camera sensor size. I am rendering in 4K I have attached the log file. [blender_debug_output.txt](https://archive.blender.org/developer/F7074082/blender_debug_output.txt) [blender_system_info.txt](https://archive.blender.org/developer/F7074083/blender_system_info.txt) [NebulaV2.blend](https://archive.blender.org/developer/F7076346/NebulaV2.blend)
Poster

Added subscriber: @GemstoneStudios

Added subscriber: @GemstoneStudios
Collaborator

#71689 was marked as duplicate of this issue

#71689 was marked as duplicate of this issue
Collaborator

#70084 was marked as duplicate of this issue

#70084 was marked as duplicate of this issue
brecht commented 4 years ago
Owner

Added subscriber: @brecht

Added subscriber: @brecht
brecht commented 4 years ago
Owner

We require an example .blend file to reproduce bugs.

We require an example .blend file to reproduce bugs.
Owner

Added subscriber: @dfelinto

Added subscriber: @dfelinto
Owner

It crashed here as well and I got to restart. It may be the high resolution of the render. Writing this down before I eventually have to restart the computer again.

It crashed here as well and I got to restart. It may be the high resolution of the render. Writing this down before I eventually have to restart the computer again.
Poster

I have tried restarting it multiple times and it has still crashed. It rendered in 4K before I did the changes I described above. Could it be the camera sensor size or the focusing animation that could be causing issues?

I have tried restarting it multiple times and it has still crashed. It rendered in 4K before I did the changes I described above. Could it be the camera sensor size or the focusing animation that could be causing issues?
fclem was assigned by dfelinto 4 years ago
Owner

(one or two restarts later ...)

We have a double locking going on here.

DRW_render_to_image() > DRW_opengl_render_context_enable() > engine_type->draw_engine->render_to_image()
And before we get to calling DRW_opengl_render_context_disable() we get a lock in DRW_opengl_context_enable_ex().

My blind guess is that rendering in a new window is part of the issue.

(one of the restarts messed with my internet on Linux, I will be back to it later)

*(one or two restarts later ...)* We have a double locking going on here. `DRW_render_to_image()` > `DRW_opengl_render_context_enable()` > `engine_type->draw_engine->render_to_image()` And before we get to calling `DRW_opengl_render_context_disable()` we get a lock in `DRW_opengl_context_enable_ex()`. My blind guess is that rendering in a new window is part of the issue. *(one of the restarts messed with my internet on Linux, I will be back to it later)*
Owner

My blind guess is that rendering in a new window is part of the issue.

Not really the case. Anyways I will leave to Clément to figure out what is next here.

>My blind guess is that rendering in a new window is part of the issue. Not really the case. Anyways I will leave to Clément to figure out what is next here.
Owner

Added subscriber: @Sergey

Added subscriber: @Sergey
Owner

Not sure if related, but I took the file, changed render size (1024x1024):

NebulaV3.blend

Now if I try to render the file above I get the following depsgraph assert when adding the scene node itself:
BLI_assert failed: //source/blender/depsgraph/intern/depsgraph.cc:121, add_id_node(), at '(id->tag & LIB_TAG_COPIED_ON_WRITE) == 0'

Full backtrace: P987

Not sure if related, but I took the file, changed render size (1024x1024): [NebulaV3.blend](https://archive.blender.org/developer/F7076837/NebulaV3.blend) Now if I try to render the file above I get the following depsgraph assert when adding the scene node itself: `BLI_assert failed: //source/blender/depsgraph/intern/depsgraph.cc:121, add_id_node(), at '(id->tag & LIB_TAG_COPIED_ON_WRITE) == 0'` Full backtrace: [P987](https://archive.blender.org/developer/P987.txt)
fclem was unassigned by Sergey 4 years ago
Sergey self-assigned this 4 years ago
Sergey commented 4 years ago
Owner

Added subscriber: @fclem

Added subscriber: @fclem
Sergey removed their assignment 4 years ago
fclem was assigned by Sergey 4 years ago
Sergey commented 4 years ago
Owner

The bug in depsgrapgh is now fixed.

File from Dalai seems to be rendering fine now. But the original file takes quite a bit to render. Not sure if it's something wrong in code or is just how the file is set up.

Crashes i couldn't reproduce so far after my fix, but would be cool if someone verifies this.

The bug in depsgrapgh is now fixed. File from Dalai seems to be rendering fine now. But the original file takes quite a bit to render. Not sure if it's something wrong in code or is just how the file is set up. Crashes i couldn't reproduce so far after my fix, but would be cool if someone verifies this.
Poster

I tried rendering again with my 4K settings with the latest version of 2.8 today and it still crashes the whole program. 1080p and lower seen to work but I need to be rendering this particular project in 4K. If my last resort is to upscale it, I will, but that is something I would like to avoid.

I tried rendering again with my 4K settings with the latest version of 2.8 today and it still crashes the whole program. 1080p and lower seen to work but I need to be rendering this particular project in 4K. If my last resort is to upscale it, I will, but that is something I would like to avoid.
Sergey commented 4 years ago
Owner

@GemstoneStudios, if you're using buildbot.b.o then it doesn't have the fix yet.

Could also be GPU limitation or a driver bug. Are there any error messages printed to the console?

@GemstoneStudios, if you're using buildbot.b.o then it doesn't have the fix yet. Could also be GPU limitation or a driver bug. Are there any error messages printed to the console?
Poster

I am able to render but I cannot have any render displays turned on. Anytime I try and use a view that shows the render, it crashes. It’s currently rendering the scene now. I noticed it gets hung up on the first frame to be rendered, but it starts speeding up after the first frame of the animation is completed.

I am able to render but I cannot have any render displays turned on. Anytime I try and use a view that shows the render, it crashes. It’s currently rendering the scene now. I noticed it gets hung up on the first frame to be rendered, but it starts speeding up after the first frame of the animation is completed.
Poster

It crashed during the middle of the render. Here are the bug logs.

blender_system_info.txt

blender_debug_output.txt

It crashed during the middle of the render. Here are the bug logs. [blender_system_info.txt](https://archive.blender.org/developer/F7080434/blender_system_info.txt) [blender_debug_output.txt](https://archive.blender.org/developer/F7080435/blender_debug_output.txt)
Jaksza commented 4 years ago

Added subscriber: @Jaksza

Added subscriber: @Jaksza
fclem commented 4 years ago
Collaborator

Ok it crashes because the rendering is too heavy (takes too much time to render). What is taking the most time is the Depth of field. If you lower the max size it renders in a decent amount of time.

If you do it in post you can get away with lower rendertime even.

Ok it crashes because the rendering is too heavy (takes too much time to render). What is taking the most time is the Depth of field. If you lower the max size it renders in a decent amount of time. If you do it in post you can get away with lower rendertime even.
brecht commented 4 years ago
Owner

Not a high priority bug anymore as far as I can see, now that the system lockup is fixed and it's a driver timeout type of issue.

Not a high priority bug anymore as far as I can see, now that the system lockup is fixed and it's a driver timeout type of issue.
lichtwerk changed title from Entire Program crashes when Rendering Animation Image Sequence to Eevee crash (caused primarily by very shallow Depth of Field) 3 years ago
Collaborator

Added subscribers: @MarcinTwarowski, @lichtwerk, @mano-wii

Added subscribers: @MarcinTwarowski, @lichtwerk, @mano-wii
Collaborator

Added subscribers: @JTDM, @MaciejJutrzenka

Added subscribers: @JTDM, @MaciejJutrzenka
fclem was unassigned by dfelinto 3 years ago
fclem changed title from Eevee crash (caused primarily by very shallow Depth of Field) to EEVEE: Crash if computation is too heavy for the system (TDR issue) 3 years ago
lichtwerk removed the
legacy module/Eevee & Viewport
label 22 hours ago
lichtwerk removed the
Interest/Eevee & Viewport
label 22 hours ago
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/Collada
Interest/Compositing
Interest/Core
Interest/Cycles
Interest/Dependency Graph
Interest/Development Management
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/Modeling
Interest/Modifiers
Interest/Motion Tracking
Interest/Nodes & Physics
Interest/Overrides
Interest/Performance
Interest/Performance
Interest/Physics
Interest/Pipeline, Assets & I/O
Interest/Platforms, Builds, Tests & Devices
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
legacy module/Animation & Rigging
legacy module/Core
legacy module/Development Management
legacy module/Eevee & Viewport
legacy module/Grease Pencil
legacy module/Modeling
legacy module/Nodes & Physics
legacy module/Pipeline, Assets & IO
legacy module/Platforms, Builds, Tests & Devices
legacy module/Python API
legacy module/Rendering & Cycles
legacy module/Sculpt, Paint & Texture
legacy module/Triaging
legacy module/User Interface
legacy module/VFX & Video
legacy project/1.0.0-beta.2
legacy project/Asset Browser (Archived)
legacy project/BF Blender: 2.8
legacy project/BF Blender: After Release
legacy project/BF Blender: Next
legacy project/BF Blender: Regressions
legacy project/BF Blender: Unconfirmed
legacy project/Blender 2.70
legacy project/Code Quest
legacy project/Datablocks and Libraries
legacy project/Eevee
legacy project/Game Animation
legacy project/Game Audio
legacy project/Game Data Conversion
legacy project/Game Engine
legacy project/Game Logic
legacy project/Game Physics
legacy project/Game Python
legacy project/Game Rendering
legacy project/Game UI
legacy project/GPU / Viewport
legacy project/GSoC
legacy project/Infrastructure: Websites
legacy project/LibOverrides - Usability and UX
legacy project/Milestone 1: Basic, Local Asset Browser
legacy project/Nodes
legacy project/OpenGL Error
legacy project/Papercut
legacy project/Pose Library Basics
legacy project/Retrospective
legacy project/Tracker Curfew
legacy project/Wintab High Frequency
Meta/Good First Issue
Meta/Papercut
migration/requires-manual-verification
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 & Devices
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 Information 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
8 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#65223
Loading…
There is no content yet.