Entire system freezing while using NLA in Blender 2.91 and newer (Mesa only?) #83754
Labels
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#83754
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Fedora 33
Graphics card: Intel HD Graphics 520 (Mesa 20.2.4)
Blender Version
Broken: 2.91
Worked: 2.90.1
Short description of error
Blender randomly freeze entire graphics system. After freezing, last 2 frames is flickering if you move mouse. I can even save my work with CTRL+S, but after that i need to restart my computer. Setting INTEL_DEBUG=reemit environment variable fixes the issue.
Exact steps for others to reproduce the error
Method 1
Add a few keyframes.
Scroll up and down in the NLA editor.
blender-freeze-2.mp4
Method 2
Just do something, even in Solid view, even in Video Sequence editor. I don't know how to reproduce, it happens after 10 minutes of work. Also i notice some glitches in VSE with image strips. Also bug with Depth of Field was fixed in this version, probably this fix relate to this bug.
Bug with depth of view that was fixed:
https://developer.blender.org/T77828
Issue with VSE
blender-vse-artifacts-1.webm
Added subscriber: @scaled
Added subscriber: @rjg
Changed status from 'Needs Triage' to: 'Needs User Info'
Glitches in the VSE were also reported in #83318. If the system freezes outside of Blender as well, it seems like the issue is in the graphics driver and not (just) Blender itself.
You could try to run Blender with debug flags and upload the log files when the issue happens again.
It happens only in Blender 2.91, Blender 2.90.1 works fine up to few hours (didn't test for more).
blender_debug_output.txt
Also i forgot to mention, VSE always open in my workspace:
@scaled Is the freeze limited to Blender or does it affect the entire OS? Does this problem only happen with a particular project?
Freezing happens only if i use Blender 2.91. But after 10 minutes of work screen become unresponsible in entire OS, but keyboard and shortcuts works. Also, after saving work and closing blender with ALT+F4 screen doesn't return to normal state and i need to reboot my PC.
I don't remember, usually i working on my latest big project with many libraries and animation data. But i can test this bug with another project later.
@scaled Since this affects the OS as a whole, this appears to be a problem with your graphics driver and not something that we can fix.
@scaled Have you been able to check if upgrading or downgrading to a previous version of the driver fixed the issue for you?
I upgraded driver today and nothing changed. I also tried another blender project, without VSE in my workspace, leave it compile my Eevee shaders while browsing internet and my system was crashed too. Firstly, after compiling latest Blender it crashed my system after few minutes when i tried to record some things with OBS while exploring my World.blend. I thought that it OBS, but it happens again without OBS and other programs.
Usually i use X11, but recently i compiled latest Blender from git (2.92.0 Alpha) with native Wayland support and bug appears too. 2.90 works incredibly stable, but 2.91 don't =(((
I think that this bug is some sort of video memory leak, but i don't know how to check my video memory, Blender don't show it too.
I compiled Blender 2.92 Alpha with this CMake flags and it works just fine under X11.
WITH_GHOST_WAYLAND = YES
WITH_XR_OPENXR = NO
WITH_GL_EGL = YES
WITH_CYCLES_NATIVE_ONLY = YES
WITH_CYCLES_DEVICE_CUDA = NO
WITH_CYCLES_DEVICE_OPTIX = NO
WITH_CYCLES_DEVICE_OPENCL = NO
WITH_INPUT_NDOF = NO
Also i added -march=native to CMAKE_C_FLAGS and CMAKE_CXX_FLAGS.
Hello again! I found way to reproduce bug easily. Check my video:
blender-freeze-1.mp4
untitled.blend
I can reproduce bug even more easily. You just need to scroll NLA editor to freeze system in HD Graphics 520, Mesa 20.3.3.
Let's rename issue to "Entire system freezing while using NLA in Blender 2.91 and newer"
blender-freeze-2.mp4
Blender 2.91 freeze entire system after 10 minutes of workto Entire system freezing while using NLA in Blender 2.91 and newerChanged status from 'Needs User Info' to: 'Needs Triage'
Added subscriber: @lichtwerk
Changed status from 'Needs Triage' to: 'Needs User Info'
Cant reproduce any of this, seems to be Mesa bound?
Are you getting this on any machine not running Mesa?
Entire system freezing while using NLA in Blender 2.91 and newerto Entire system freezing while using NLA in Blender 2.91 and newer (Mesa only?)Sorry, i don't have non-Mesa machines.
Changed status from 'Needs User Info' to: 'Needs Triage'
Update. I notice few things. Firstly,
INTEL_DEBUG=reemit
environment varriable resolves the problem, but in cost 50% performance in heavy scenes.Also when you trying to capture blender 2.91 or newer with this tool https://github.com/nowrep/obs-vkcapture , you get strange picture. With Blender 2.90 capture works just fine.
:
Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Added subscribers: @fclem, @Jeroen-Bakker
Seems like other people have similar issues.
https://bugs.freedesktop.org/show_bug.cgi?id=109072
https://medium.com/swlh/mx-linux-and-blender-crash-209a2a66f96e
I am not familiar enough with this to triage this any further, maybe @fclem or @Jeroen-Bakker can take over?