Entire system freezing while using NLA in Blender 2.91 and newer (Mesa only?) #83754

Open
opened 2020-12-14 13:01:43 +01:00 by Alexandr · 25 comments

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

**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](https://archive.blender.org/developer/F9649830/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](https://archive.blender.org/developer/F9508165/blender-vse-artifacts-1.webm)
Author

Added subscriber: @scaled

Added subscriber: @scaled

Added subscriber: @rjg

Added subscriber: @rjg

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

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.

./blender --debug --debug-gpu > ~/blender_debug_output.txt 2>&1
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. ``` ./blender --debug --debug-gpu > ~/blender_debug_output.txt 2>&1 ```
Author

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

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](https://archive.blender.org/developer/F9508234/blender_debug_output.txt)
Author

Also i forgot to mention, VSE always open in my workspace:
blender-workspace-scr-1.png

Also i forgot to mention, VSE always open in my workspace: ![blender-workspace-scr-1.png](https://archive.blender.org/developer/F9508239/blender-workspace-scr-1.png)

@scaled Is the freeze limited to Blender or does it affect the entire OS? Does this problem only happen with a particular project?

@scaled Is the freeze limited to Blender or does it affect the entire OS? Does this problem only happen with a particular project?
Author

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.

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.
Author

Does this problem only happen with a particular project?

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.

> Does this problem only happen with a particular project? 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 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?

@scaled Have you been able to check if upgrading or downgrading to a previous version of the driver fixed the issue for you?
Author

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.
изображение.png

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. ![изображение.png](https://archive.blender.org/developer/F9553262/изображение.png)
Author

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.

Blender 2.92.0 Alpha
	build date: 2021-01-08
	build time: 07:12:45
	build commit date: 2021-01-06
	build commit time: 07:11
	build hash: 947dc920835b
	build platform: Linux
	build type: Release
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. ``` Blender 2.92.0 Alpha build date: 2021-01-08 build time: 07:12:45 build commit date: 2021-01-06 build commit time: 07:11 build hash: 947dc920835b build platform: Linux build type: Release ```
Author

Hello again! I found way to reproduce bug easily. Check my video:

blender-freeze-1.mp4

untitled.blend

Hello again! I found way to reproduce bug easily. Check my video: [blender-freeze-1.mp4](https://archive.blender.org/developer/F9607660/blender-freeze-1.mp4) [untitled.blend](https://archive.blender.org/developer/F9607683/untitled.blend)
Author

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

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](https://archive.blender.org/developer/F9649830/blender-freeze-2.mp4)
Alexandr changed title from Blender 2.91 freeze entire system after 10 minutes of work to Entire system freezing while using NLA in Blender 2.91 and newer 2021-02-05 10:23:06 +01:00

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

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

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

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

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

Cant reproduce any of this, seems to be Mesa bound?

**System Information**
Operating system: Linux-5.10.12-200.fc33.x86_64-x86_64-with-glibc2.32 64 Bits
Graphics card: GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 455.45.01
version: 2.93.0 Alpha, branch: master, commit date: 2021-02-16 12:58, hash: `rB2442c85dc3da`

Are you getting this on any machine not running Mesa?

Cant reproduce any of this, seems to be Mesa bound? ``` **System Information** Operating system: Linux-5.10.12-200.fc33.x86_64-x86_64-with-glibc2.32 64 Bits Graphics card: GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 455.45.01 version: 2.93.0 Alpha, branch: master, commit date: 2021-02-16 12:58, hash: `rB2442c85dc3da` ``` Are you getting this on any machine not running Mesa?
Philipp Oeser changed title from Entire system freezing while using NLA in Blender 2.91 and newer to Entire system freezing while using NLA in Blender 2.91 and newer (Mesa only?) 2021-02-16 18:59:40 +01:00
Author

Sorry, i don't have non-Mesa machines.

Sorry, i don't have non-Mesa machines.
Member

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

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

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.

Screenshot 2021-08-08 18-10-36.png

Screenshot 2021-08-08 18-10-56.png

Screenshot 2021-08-08 18-10-51.png

Screenshot 2021-08-08 18-11-04.png:

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. ![Screenshot 2021-08-08 18-10-36.png](https://archive.blender.org/developer/F10274256/Screenshot_2021-08-08_18-10-36.png) ![Screenshot 2021-08-08 18-10-56.png](https://archive.blender.org/developer/F10274257/Screenshot_2021-08-08_18-10-56.png) ![Screenshot 2021-08-08 18-10-51.png](https://archive.blender.org/developer/F10274258/Screenshot_2021-08-08_18-10-51.png) ![Screenshot 2021-08-08 18-11-04.png](https://archive.blender.org/developer/F10274259/Screenshot_2021-08-08_18-11-04.png):
Member

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

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

Added subscribers: @fclem, @Jeroen-Bakker

Added subscribers: @fclem, @Jeroen-Bakker
Member

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?

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?
Philipp Oeser removed the
Interest
EEVEE & Viewport
label 2023-02-09 15:14:06 +01: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
3 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#83754
No description provided.