Rendering an animation freezes at random frame #102667

Closed
opened 2022-11-21 21:32:04 +01:00 by Jan Sugarek · 39 comments

System Information
Operating system: Windows 11 Pro Version 10.0.22623 Build 22623
Graphics card: RTX4090 MSI Ventus 3X OC

Blender Version
Broken: 3.4 - 3915f5300a and later builds
Worked: 3.4 - e6902d19a0, 3.3.1

Short description of error
I start-up rendering a sequence and suddenly GPU utilization drops down to 0 and blender environment is freezed (not possible do any action in neither in render window or main blender window). blender logs doesn't show any crashes - It just get stucked without consuming CPU/GPU. I also tried different versions of Nvidia drivers and without any effect.

Exact steps for others to reproduce the error
Easiest scene I've tried with freezing:
3.5_gpu.blend
blender_system_info.txt
blender_debug_output.txt


simplified
3.5_gpu.blend

**System Information** Operating system: Windows 11 Pro Version 10.0.22623 Build 22623 Graphics card: RTX4090 MSI Ventus 3X OC **Blender Version** Broken: 3.4 - 3915f5300ad2 and later builds Worked: 3.4 - e6902d19a0d8, 3.3.1 **Short description of error** I start-up rendering a sequence and suddenly GPU utilization drops down to 0 and blender environment is freezed (not possible do any action in neither in render window or main blender window). blender logs doesn't show any crashes - It just get stucked without consuming CPU/GPU. I also tried different versions of Nvidia drivers and without any effect. **Exact steps for others to reproduce the error** Easiest scene I've tried with freezing: [3.5_gpu.blend](https://archive.blender.org/developer/F13957239/3.5_gpu.blend) [blender_system_info.txt](https://archive.blender.org/developer/F13957016/blender_system_info.txt) [blender_debug_output.txt](https://archive.blender.org/developer/F13957017/blender_debug_output.txt) - - - simplified [3.5_gpu.blend](https://archive.blender.org/developer/F13960804/3.5_gpu.blend)
Author

Added subscriber: @shugo

Added subscriber: @shugo

Added subscriber: @iss

Added subscriber: @iss

How often does renderin freeze? I was able to rener 15 frames without any issue.

How often does renderin freeze? I was able to rener 15 frames without any issue.
Author

Scene above freezes almost everytime (sometimes 300th frame, sometimes 60th and even later around 600-700).

I'm trying to narrow down problematic versions - I currently tested some other builds with these results:
Freezing occured: blender-3.4.0-alpha+master.3915f5300ad2-windows.amd64-release (Oct 20, 2022)
Looks ok blender-3.4.0-alpha+master.104fd82f7428-windows.amd64-release ( Oct 07, 2022 )

Curently I'm testing version from Oct 15th - blender-3.4.0-alpha+master.bc06fcca47ca-windows.amd64-release (this looks good until writing this post) I'll let you know next day if i am able to find closest versions to each other - working vs freezing.

Scene above freezes almost everytime (sometimes 300th frame, sometimes 60th and even later around 600-700). I'm trying to narrow down problematic versions - I currently tested some other builds with these results: **Freezing occured**: blender-3.4.0-alpha+master.3915f5300ad2-windows.amd64-release (Oct 20, 2022) **Looks ok** blender-3.4.0-alpha+master.104fd82f7428-windows.amd64-release ( Oct 07, 2022 ) Curently I'm testing version from Oct 15th - blender-3.4.0-alpha+master.bc06fcca47ca-windows.amd64-release (this looks good until writing this post) I'll let you know next day if i am able to find closest versions to each other - working vs freezing.

Added subscriber: @costa

Added subscriber: @costa

Same here

Same here
Author

I think I found two consecutive builds when freezing started:
Looks ok - Can't reproduce freezing until version e6902d19a0 (3.4 beta, 4th build from Oct 19)
Regular random freezes - 3915f5300a (3.4 beta from Oct 20)

I can get stucked in all tested builds after (including) 3915f5300a - i've tested about 10-15 different builds
Everything seems to work before ( including ) e6902d19a0 - I've tested about 5-10 versions

All tested versions with the same results - 0% cpu, 0% gpu, memory still occupied, no errors/crashes in logs

I think I found two consecutive builds when freezing started: **Looks ok** - Can't reproduce freezing until version e6902d19a0d8 (3.4 beta, 4th build from Oct 19) **Regular random freezes** - 3915f5300ad2 (3.4 beta from Oct 20) I can get stucked in all tested builds after (including) 3915f5300ad2 - i've tested about 10-15 different builds Everything seems to work before ( including ) e6902d19a0d8 - I've tested about 5-10 versions All tested versions with the same results - 0% cpu, 0% gpu, memory still occupied, no errors/crashes in logs

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

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

@shugo Rendering 300 frames would need about hour of machine time here, But what is worse, that with such low reliability I can't be even sure, that I see the same bug you see. Can you somehow increase chance of crashing? Usually crash is caused by some object or setting, so having more problematic objects or changing render settings may increase chance of crashing.

Alternatively if you can setup to build Blender you can try to bisect the issue, since you have narrowed it down quite well

@shugo Rendering 300 frames would need about hour of machine time here, But what is worse, that with such low reliability I can't be even sure, that I see the same bug you see. Can you somehow increase chance of crashing? Usually crash is caused by some object or setting, so having more problematic objects or changing render settings may increase chance of crashing. Alternatively if you can setup to build Blender you can try to bisect the issue, since you have narrowed it down quite well
Author

Can you try the same scene with lowered setings - optix, max 1 sample, camera depth of field 0.001

I can end up getting stucked in seconds using this file: 3.5_gpu.blend

Can you try the same scene with lowered setings - optix, max 1 sample, camera depth of field 0.001 I can end up getting stucked in seconds using this file: [3.5_gpu.blend](https://archive.blender.org/developer/F13960804/3.5_gpu.blend)

Thanks for optimizing the file, I was unable to reproduce the issue with build 24bd2d0bea. All 900 frames were rendered.

Just to be sure, did you overclock the GPU? This would cause problems with cuda/optix renders.

Thanks for optimizing the file, I was unable to reproduce the issue with build 24bd2d0bea. All 900 frames were rendered. Just to be sure, did you overclock the GPU? This would cause problems with cuda/optix renders.
Author

I've tried today's build ( November 25th ) and it works now without freezing.

I've tried today's build ( November 25th ) and it works now without freezing.

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

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

Thanks for info, will close then.

Thanks for info, will close then.

I tried it on my PC moments ago, I downloaded the latest build and I have a freeze at frame 7...

I tried it on my PC moments ago, I downloaded the latest build and I have a freeze at frame 7...

@costa I would recommend to create new report, unless you are testing exact same file and your debug output blender_debug_output.txt looks about the same as well. Please upload debug output if you can, so I can check it.

@costa I would recommend to create new report, unless you are testing exact same file and your debug output `blender_debug_output.txt` looks about the same as well. Please upload debug output if you can, so I can check it.

I tested same file 3.5 GPU, but I don't know how to make debug output
Edit: I can accelerate blender freeze much faster if i alt tab

I tested same file 3.5 GPU, but I don't know how to make debug output Edit: I can accelerate blender freeze much faster if i alt tab

I tried making a debug file but it's not responding
image.png

I tried making a debug file but it's not responding ![image.png](https://archive.blender.org/developer/F13969169/image.png)

In #102667#1451472, @costa wrote:
I tested same file 3.5 GPU, but I don't know how to make debug output
Edit: I can accelerate blender freeze much faster if i alt tab

Run file blender_debug_log.cmd instead of blender.exe, after crash upload created files.

> In #102667#1451472, @costa wrote: > I tested same file 3.5 GPU, but I don't know how to make debug output > Edit: I can accelerate blender freeze much faster if i alt tab Run file `blender_debug_log.cmd` instead of `blender.exe`, after crash upload created files.

Here I managed to do this, thanks :)

blender_system_info.txt

blender_debug_output.txt

Here I managed to do this, thanks :) [blender_system_info.txt](https://archive.blender.org/developer/F13969189/blender_system_info.txt) [blender_debug_output.txt](https://archive.blender.org/developer/F13969190/blender_debug_output.txt)

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

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

Thanks for files, it seems to be same issue, so will reopen.

Can you check if crash happens when you run file blender_factory_startup.cmd?

Thanks for files, it seems to be same issue, so will reopen. Can you check if crash happens when you run file `blender_factory_startup.cmd`?
Author

I'm sorry guys, I tried it again and freezing still occurs :( It was probably just a coincidence that i ran through the whole sequence withou freezing before.

I'm sorry guys, I tried it again and freezing still occurs :( It was probably just a coincidence that i ran through the whole sequence withou freezing before.
Author

@costa What about rendering with DEPTH of FIELD turned off? Don't you have more stable results after this?

@costa What about rendering with DEPTH of FIELD turned **off**? Don't you have more stable results after this?

Here is factory reset, I changed it to gpu

blender_system_info.txt

blender_debug_output.txt

Here is factory reset, I changed it to gpu [blender_system_info.txt](https://archive.blender.org/developer/F13969253/blender_system_info.txt) [blender_debug_output.txt](https://archive.blender.org/developer/F13969254/blender_debug_output.txt)

@shugo not really, still freezes

@shugo not really, still freezes

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

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

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123

Thanks all for info. There is no crash being reported in logs, that leads me to believe, that this is related to cuda/optix backend. But since there are 2 different GPUs involved it seems strange, since I was able to render the file without any issues.

@PratikPB2123 Can you reproduce this one?

Thanks all for info. There is no crash being reported in logs, that leads me to believe, that this is related to cuda/optix backend. But since there are 2 different GPUs involved it seems strange, since I was able to render the file without any issues. @PratikPB2123 Can you reproduce this one?
Member

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

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

Hi, can not reproduce either in 3.4 buildbot build. I just have to start render animation once file is opened, right?

camera depth of field 0.001

This would make no difference when focus object is selected

Just to be sure, did you overclock the GPU? This would cause problems with cuda/optix renders.

This is still unanswered :)


Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.78```
Hi, can not reproduce either in 3.4 buildbot build. I just have to start render animation once file is opened, right? > camera depth of field 0.001 This would make no difference when focus object is selected > Just to be sure, did you overclock the GPU? This would cause problems with cuda/optix renders. This is still unanswered :) - - - ```**System Information** Operating system: Windows-10-10.0.22000-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.78```
Author

I'm sorry I didn't answer - GPU is in default state, no forced overclocking (just factory boost clock).

I'm sorry I didn't answer - GPU is in default state, no forced overclocking (just factory boost clock).
Member

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

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

3.4.0 stable 175bd38201 still freezes.
But after few days I tried today 3.4.1 RC b87bcd3f8f and it did not get stuck yet.

maybe this commit fixed it? https://developer.blender.org/rB6325174a753fc19effb1039f1872287383fbd787

@costa Can you try it and confirm it?

3.4.0 stable 175bd3820151 still freezes. But after few days I tried today 3.4.1 RC b87bcd3f8fe1 and **it did not get stuck yet.** maybe this commit fixed it? https://developer.blender.org/rB6325174a753fc19effb1039f1872287383fbd787 @costa Can you try it and confirm it?

Added subscriber: @mano-wii

Added subscriber: @mano-wii

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

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

It's good to know that the issue appears to have been resolved in the 3.4.1 RC. I'm marking it as 'Needs Information from User' for now until we have further confirmation.

It's good to know that the issue appears to have been resolved in the 3.4.1 RC. I'm marking it as 'Needs Information from User' for now until we have further confirmation.

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

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

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
5 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#102667
No description provided.