Blender crashing every once in a while, when rendering with Cycles X #94042

Closed
opened 2021-12-14 03:53:26 +01:00 by Facundo · 15 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 497.09
system-info.txt

Blender Version
Broken: version: 3.1.0 Alpha, branch: master, commit date: 2021-12-13 00:03, hash: 03015a9b22
Worked: (newest version of Blender that worked as expected)

Short description of error

  • Blender crashes from time to time while rendering a long animation, using Cycles X.
  • The blend file in question is a file with a rigged character, which is linked from another file.
  • The render is very heavy, with a posed character (with library override on) with lots of subdivitions, mesh displacement, complex shaders and hair simulation.
  • It is using an HDRI lighthing.
  • It also contains a camera with motion based on Camera Tracking, three render layers and a composition (which is disabled, so I render the invidivual layers first, and then I do the composition).
  • I save the render animation as an image sequence in OpenEXR multilayer, in a specific folder, and I use two computers to render the frames on that same folder, one being this one (the one that crashes) and the other one being a Notebook (in which so far didn't crash). For that reason I think the crash should be somewhat related to the hardware (maybe).
  • Sometimes renders fine a few frames (lets say 5 to 15 frames) and then suddenly crashes. I think this bug is very critical as you cannot leave the computer rendering alone, you never know when it's gonna crash.
  • I'm rendering using the GPU with CUDA configuration (the same configuration in both computers)

I give you all this information to help find the root of the issue, I hope it helps. Feel free to ask me anything else you would need to know. Also let me know if there is some logs or something with additional information of the crashes, that I can share.

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 497.09 [system-info.txt](https://archive.blender.org/developer/F12738695/system-info.txt) **Blender Version** Broken: version: 3.1.0 Alpha, branch: master, commit date: 2021-12-13 00:03, hash: `03015a9b22` Worked: (newest version of Blender that worked as expected) **Short description of error** - Blender crashes from time to time while rendering a long animation, using Cycles X. - The blend file in question is a file with a rigged character, which is linked from another file. - The render is very heavy, with a posed character (with library override on) with lots of subdivitions, mesh displacement, complex shaders and hair simulation. - It is using an HDRI lighthing. - It also contains a camera with motion based on Camera Tracking, three render layers and a composition (which is disabled, so I render the invidivual layers first, and then I do the composition). - I save the render animation as an image sequence in OpenEXR multilayer, in a specific folder, and I use two computers to render the frames on that same folder, one being this one (the one that crashes) and the other one being a Notebook (in which so far didn't crash). For that reason I think the crash should be somewhat related to the hardware (maybe). - Sometimes renders fine a few frames (lets say 5 to 15 frames) and then suddenly crashes. I think this bug is very critical as you cannot leave the computer rendering alone, you never know when it's gonna crash. - I'm rendering using the GPU with CUDA configuration (the same configuration in both computers) I give you all this information to help find the root of the issue, I hope it helps. Feel free to ask me anything else you would need to know. Also let me know if there is some logs or something with additional information of the crashes, that I can share.
Author

Added subscriber: @Facu

Added subscriber: @Facu

Added subscriber: @Garek

Added subscriber: @Garek

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

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

Please open Blender's installation directory and double click on the blender_debug_gpu.cmd. This will start Blender in debug mode and create log files. Try to reproduce the error again. Once it crashes or you close Blender manually the Windows Explorer should open and show you up to two files, a debug log and the system information. Add them to your bug report by clicking on the upload button as shown in the screenshot below or via drag and drop. Please also upload the crash log located in C:\Users\[your username]\AppData\Local\Temp\[project name].crash.txt (or simply type %TEMP% into the path bar of the Windows Explorer).2019_12_04_upload_icon_developer_blender_org.png

Please open Blender's installation directory and double click on the `blender_debug_gpu.cmd`. This will start Blender in debug mode and create log files. Try to reproduce the error again. Once it crashes or you close Blender manually the Windows Explorer should open and show you up to two files, a debug log and the system information. Add them to your bug report by clicking on the upload button as shown in the screenshot below or via drag and drop. Please also upload the crash log located in `C:\Users\[your username]\AppData\Local\Temp\[project name].crash.txt` (or simply type `%TEMP%` into the path bar of the Windows Explorer).![2019_12_04_upload_icon_developer_blender_org.png](https://archive.blender.org/developer/F8190038/2019_12_04_upload_icon_developer_blender_org.png)
Author

blender_debug_output.txt

blender_system_info.txt

Here are the debug log and system information files. Regarding the "crash.txt" file in the TEMP folder, I couldn't find it.

[blender_debug_output.txt](https://archive.blender.org/developer/F12739428/blender_debug_output.txt) [blender_system_info.txt](https://archive.blender.org/developer/F12739427/blender_system_info.txt) Here are the debug log and system information files. Regarding the "crash.txt" file in the TEMP folder, I couldn't find it.

Added subscriber: @ThomasDinges

Added subscriber: @ThomasDinges

The debug output mentions out of memory issues. Can you confirm in the task manager, that it uses all of the GPU memory?

The debug output mentions out of memory issues. Can you confirm in the task manager, that it uses all of the GPU memory?
Author

In a lot of cases the GPU memory goes up and down, and sometimes it goes near the top. So I think is very possible that it goes out of memory.

4.PNG

In a lot of cases the GPU memory goes up and down, and sometimes it goes near the top. So I think is very possible that it goes out of memory. ![4.PNG](https://archive.blender.org/developer/F12742515/4.PNG)

You're rendering using CUDA+CPU. Does the error also occur when rendering only with CUDA or Optix?

You're rendering using CUDA+CPU. Does the error also occur when rendering only with CUDA or Optix?
Author

It only happens when rendering with CUDA. I cannot render with Optix because it throws an "Out of GPU memory" error. But the thing is, with CUDA it renders fine most of the times, that's why I choose it.

1.PNG

And the bug can be reproduced by either selecting just CUDA, or both CUDA+CPU.

It only happens when rendering with CUDA. I cannot render with Optix because it throws an "Out of GPU memory" error. But the thing is, with CUDA it renders fine most of the times, that's why I choose it. ![1.PNG](https://archive.blender.org/developer/F12742756/1.PNG) And the bug can be reproduced by either selecting just CUDA, or both CUDA+CPU.
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Hi, we need reporter to narrow down the problem.
You may run out of memory when rendering in large files.

System is out of GPU and shared host memory

Turn off memory intensive operation if you're using them: https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html#error-out-of-memory
If I know correctly, these reports are not considered as a bug unless they are regressions

It appears this crashes because Blender ran out of memory.
While we want to improve Blender to handle such cases memory gracefully, this is not currently considered a bug.

Hi, we need reporter to narrow down the problem. You may run out of memory when rendering in large files. > System is out of GPU and shared host memory Turn off memory intensive operation if you're using them: https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html#error-out-of-memory If I know correctly, these reports are not considered as a bug unless they are regressions > It appears this crashes because Blender ran out of memory. > While we want to improve Blender to handle such cases memory gracefully, this is not currently considered a bug.
Member

poke. Will close this report if we don't receive any reply within a week (according to trackers policy)

poke. Will close this report if we don't receive any reply within a week (according to trackers policy)
Member

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

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

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.

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

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed. Thanks again for the report. If the problem persists please open a new report with the required information.
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#94042
No description provided.