Render Animation Freezes / Hangs after a few hundred frames #102675

Closed
opened 2022-11-22 01:25:46 +01:00 by Derrick Murray · 17 comments

System Information
Operating system: Windows-10-10.0.22621-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.94

Blender Version
Broken: version: 3.3.1, branch: master, commit date: 2022-10-04 18:35, hash: b292cfe5a9
Worked: 3.2

Short description of error
Render Animation Freezes / Hangs after a few hundred frames

Exact steps for others to reproduce the error

When rendering an animation, Blender freezes on a frame at 100% status, but does not continue to the next frame. I've waited up to 30 minutes in case it was a transient error, but it never restarts. The session is dead, and I have to end it via Task Manager and restart Blender. This has only started with the 3.3.1 LTS and occurs on all of my current blend files (I've tried half a dozen).

Screenshot 2022-11-22 at 00.10.51.png

There is no error message, and the console window (which only started displaying since I installed 3.3.1) shows activity which is not current (i.e. "saving xxx.png where 'xxx' is not the current frame being rendered).

When it has crashed, Task Manager shows Blender.exe with the usual high memory usage but 0% CPU activity. (Note: System memory is only about 50% utilised overall, out of 48GB max)

VRAM is at about 6GB used on a 12GB card for the blend files I am working on.

The hang occurs on both single camera renders, and Multiview.
Upon restart Blender continues with no issues, but will again stop after a few hundred frames. There is plenty of HD space on the drive (>1TB free).

**System Information** Operating system: Windows-10-10.0.22621-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.94 **Blender Version** Broken: version: 3.3.1, branch: master, commit date: 2022-10-04 18:35, hash: `b292cfe5a9` Worked: 3.2 **Short description of error** Render Animation Freezes / Hangs after a few hundred frames **Exact steps for others to reproduce the error** When rendering an animation, Blender freezes on a frame at 100% status, but does not continue to the next frame. I've waited up to 30 minutes in case it was a transient error, but it never restarts. The session is dead, and I have to end it via Task Manager and restart Blender. This has only started with the 3.3.1 LTS and occurs on all of my current blend files (I've tried half a dozen). ![Screenshot 2022-11-22 at 00.10.51.png](https://archive.blender.org/developer/F13957874/Screenshot_2022-11-22_at_00.10.51.png) There is no error message, and the console window (which only started displaying since I installed 3.3.1) shows activity which is not current (i.e. "saving xxx.png where 'xxx' is not the current frame being rendered). When it has crashed, Task Manager shows Blender.exe with the usual high memory usage but 0% CPU activity. (Note: System memory is only about 50% utilised overall, out of 48GB max) VRAM is at about 6GB used on a 12GB card for the blend files I am working on. The hang occurs on both single camera renders, and Multiview. Upon restart Blender continues with no issues, but will again stop after a few hundred frames. There is plenty of HD space on the drive (>1TB free).
Author

Added subscriber: @djm.nx01

Added subscriber: @djm.nx01
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

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

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

When it has crashed.

I am guessing you mean freezed here? Or did it actually crash?

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 freezes and 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

> When it has crashed. I am guessing you mean freezed here? Or did it actually crash? 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 freezes and 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)
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Member

I remember a report where GPU subdivision memory wasn't cleared during Eevee rendering. This has been fixed recently 88c956c13b. Just added the fix to be backported to 3.3 as well.

I remember a report where GPU subdivision memory wasn't cleared during Eevee rendering. This has been fixed recently 88c956c13b. Just added the fix to be backported to 3.3 as well.
Author

In #102675#1449535, @OmarEmaraDev wrote:

When it has crashed.

I am guessing you mean freezed here? Or did it actually crash?

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 freezes and 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

Thanks for the reply and detail on how to run in debug mode - very helpful! However - frustration ensues. After this occurring 2 or 3 time every day whilst working on the project, it hasn't occurred once in the three days since reporting this issue, whilst running in debug mode.
So, I tried running it as per normal, to see if the debug mode was somehow affecting it, and it hasn't occurred at all.

I'm going to continue working, and if it starts to occur again, I'll switch debug mode back on and send the info in.

> In #102675#1449535, @OmarEmaraDev wrote: >> When it has crashed. > I am guessing you mean freezed here? Or did it actually crash? > > 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 freezes and 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) Thanks for the reply and detail on how to run in debug mode - very helpful! However - frustration ensues. After this occurring 2 or 3 time every day whilst working on the project, it hasn't occurred once in the three days since reporting this issue, whilst running in debug mode. So, I tried running it as per normal, to see if the debug mode was somehow affecting it, and it hasn't occurred at all. I'm going to continue working, and if it starts to occur again, I'll switch debug mode back on and send the info in.
Author

Finally! It froze again today. Logs attached. I've also archived the entire %TEMP% contents for future reference.blender_debug_output.txt

blender_system_info.txt

Finally! It froze again today. Logs attached. I've also archived the entire %TEMP% contents for future reference.[blender_debug_output.txt](https://archive.blender.org/developer/F13971416/blender_debug_output.txt) [blender_system_info.txt](https://archive.blender.org/developer/F13971415/blender_system_info.txt)
Author
It occurred again. [blender_debug_output.txt](https://archive.blender.org/developer/F13972933/blender_debug_output.txt) ![Screenshot 2022-11-27 at 08.25.45.jpg](https://archive.blender.org/developer/F13972932/Screenshot_2022-11-27_at_08.25.45.jpg) [blender_system_info.txt](https://archive.blender.org/developer/F13972931/blender_system_info.txt)
Member

Does disabling GPU Subdivision in Preferences > Viewport > Subdivision > GPU Subdivision fixes the issue?

Does disabling GPU Subdivision in Preferences > Viewport > Subdivision > GPU Subdivision fixes the issue?
Author

In #102675#1451979, @OmarEmaraDev wrote:
Does disabling GPU Subdivision in Preferences > Viewport > Subdivision > GPU Subdivision fixes the issue?

Hi Omar,
I didn't know about this option, so I have never had it enabled. I just double-checked and it is not set.

Thanks
DJM

> In #102675#1451979, @OmarEmaraDev wrote: > Does disabling GPU Subdivision in Preferences > Viewport > Subdivision > GPU Subdivision fixes the issue? Hi Omar, I didn't know about this option, so I have never had it enabled. I just double-checked and it is not set. Thanks DJM
Author

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

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

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

Changed status from 'Needs Developer To Reproduce' to: 'Needs Triage'
Author

I went back to using v3.2, and it also happened on that version. This is strange because I don't recall it occurring before I upgraded to v3.3. My PC is always kept up to date with Windows versions, so could there be something that't changed on the windows front that is interacting with it? Anyway, I'm running all my v3.2 builds on debug mode (luckily I have a large set to do after a design change), and I'll send you the logs if/when it fails again.
Would it be useful for me to test under v3.1 as well?

I went back to using v3.2, and it also happened on that version. This is strange because I don't recall it occurring before I upgraded to v3.3. My PC is always kept up to date with Windows versions, so could there be something that't changed on the windows front that is interacting with it? Anyway, I'm running all my v3.2 builds on debug mode (luckily I have a large set to do after a design change), and I'll send you the logs if/when it fails again. Would it be useful for me to test under v3.1 as well?
Member

Hi, which render engine is resulting the freeze? Cycles?
Can you test again with factory settings?: File > Defaults > Load Factory Settings
Also check whether freeze still happens in 3.5-beta build: https://builder.blender.org/download/daily/

Hi, which render engine is resulting the freeze? Cycles? Can you test again with factory settings?: `File > Defaults > Load Factory Settings` Also check whether freeze still happens in 3.5-beta build: https://builder.blender.org/download/daily/
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-03-21 10:50:04 +01:00
Member

Hi, any updates?

Hi, any updates?
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 (or comment here to reopen this) 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 (or comment here to reopen this) with the required information.
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2023-06-09 05:49:50 +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
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#102675
No description provided.