Blender 4.2 freezes randomly, even with something as simple as the default cube #126594

Closed
opened 2024-08-21 12:23:04 +02:00 by Stu-4 · 2 comments

System Information
Operating system: Linux-6.1.0-23-amd64-x86_64-with-glibc2.38 64 Bits, X11 UI
Graphics card: Mesa Intel(R) UHD Graphics 620 (WHL GT2) Intel 4.6 (Core Profile) Mesa 24.1.3 (git-0c49f54c76)

Blender Version
Broken: version: 4.2.0, branch: blender-v4.2-release, commit date: 2024-07-16 06:20, hash: a51f293548ad
Worked: (newest version of Blender that worked as expected)

Short description of error
Blender freezes randomly. Most of the time I have to kill it from command line because I can't quit properly.
[Please fill out a short description of the error here]

Exact steps for others to reproduce the error
Now that's the tricky part, for it can happen any time. Sometimes it doesn't freeze for a whole hour, sometimes it freezes every 3 minutes, mostly in the following situations:

  • before I even had time to delete or edit the default cube
  • after I edited a few vertices of a mesh or a few bones of an armature (FYI I'm into low poly modelling and very basic materials)

Doesn't seem to happen while rendering or in pose mode. No assets library activated. No fancy addons beside looptools or node wrangler.

The freezing comes in two flavors.

The first one is temporary and affects the whole system (web browser if open, the cursor, etc). I can't do anything until it's back to normal. I know I can use Blender again when all of a sudden the background color (in the 3D viewport) turns white. As soon as I start interacting again with whatever is inside the viewport, the background color gets back to normal (if I have two different 3D viewports, they're both impacted and I have to click on each of them to "correct" them both).

The second one affects only blender, but waiting is pointless as there's no improvment in sight. When I get a look at htop I can see that the corresponding process uses 100% of the CPU. That's when I have to kill it.

I run Blender from CLI and I can't figure out what's going wrong. Here's how the typical crash looks like (I saved the file very frequently for obvious reasons):

nl@mx:~ $ flatpak run org.blender.Blender Reloading external rigs... Reloading external metarigs... register_class(...): Info: Registering operator class: 'OBJECT_OT_AlignOperator', bl_idname 'object.align' has been registered before, unregistering previous Read blend: "/home/nl/Documents/Blender/Studies/characters.blend" Info: Saved "characters.blend" Info: Saved "characters.blend" Info: Saved "characters.blend" Info: Saved "characters.blend" Info: Saved "characters.blend" Info: Saved "characters.blend" Info: Saved "characters.blend" Info: Saved "characters.blend" Info: Saved "characters.blend" kill 8095

And this will happen with basically any file: large files, tiny files, old files from previous versions, brand new 4.2 files... It happens also with 3.6, so I thought maybe it's a hardware issue, but I used the exact same CPU with Windows on it, and when I ran Blender 4.2 on Windows 11, I had no problem.

Of course this is annoying as 3D modelling is my main hobby :-/

Thank your for your help!

**System Information** Operating system: Linux-6.1.0-23-amd64-x86_64-with-glibc2.38 64 Bits, X11 UI Graphics card: Mesa Intel(R) UHD Graphics 620 (WHL GT2) Intel 4.6 (Core Profile) Mesa 24.1.3 (git-0c49f54c76) **Blender Version** Broken: version: 4.2.0, branch: blender-v4.2-release, commit date: 2024-07-16 06:20, hash: `a51f293548ad` Worked: (newest version of Blender that worked as expected) **Short description of error** Blender freezes randomly. Most of the time I have to kill it from command line because I can't quit properly. [Please fill out a short description of the error here] **Exact steps for others to reproduce the error** Now that's the tricky part, for it can happen any time. Sometimes it doesn't freeze for a whole hour, sometimes it freezes every 3 minutes, mostly in the following situations: - before I even had time to delete or edit the default cube - after I edited a few vertices of a mesh or a few bones of an armature (FYI I'm into low poly modelling and very basic materials) Doesn't seem to happen while rendering or in pose mode. No assets library activated. No fancy addons beside looptools or node wrangler. The freezing comes in two flavors. The first one is temporary and affects the whole system (web browser if open, the cursor, etc). I can't do anything until it's back to normal. I know I can use Blender again when all of a sudden the background color (in the 3D viewport) turns white. As soon as I start interacting again with whatever is inside the viewport, the background color gets back to normal (if I have two different 3D viewports, they're both impacted and I have to click on each of them to "correct" them both). The second one affects only blender, but waiting is pointless as there's no improvment in sight. When I get a look at htop I can see that the corresponding process uses 100% of the CPU. That's when I have to kill it. I run Blender from CLI and I can't figure out what's going wrong. Here's how the typical crash looks like (I saved the file very frequently for obvious reasons): `nl@mx:~ $ flatpak run org.blender.Blender Reloading external rigs... Reloading external metarigs... register_class(...): Info: Registering operator class: 'OBJECT_OT_AlignOperator', bl_idname 'object.align' has been registered before, unregistering previous Read blend: "/home/nl/Documents/Blender/Studies/characters.blend" Info: Saved "characters.blend" Info: Saved "characters.blend" Info: Saved "characters.blend" Info: Saved "characters.blend" Info: Saved "characters.blend" Info: Saved "characters.blend" Info: Saved "characters.blend" Info: Saved "characters.blend" Info: Saved "characters.blend" kill 8095 ` And this will happen with basically any file: large files, tiny files, old files from previous versions, brand new 4.2 files... It happens also with 3.6, so I thought maybe it's a hardware issue, but I used the exact same CPU with Windows on it, and when I ran Blender 4.2 on Windows 11, I had no problem. Of course this is annoying as 3D modelling is my main hobby :-/ Thank your for your help!
Stu-4 added the
Severity
Normal
Type
Bug
Status
Needs Triage
labels 2024-08-21 12:23:04 +02:00
Member

Hi, thanks for the report. Does the following command help?

$ echo 10000 | sudo tee /sys/class/drm/card0/engine/rcs0/preempt_timeout_ms
$ INTEL_DEBUG=reemit blender

Reference: #116322

Hi, thanks for the report. Does the following command help? ``` $ echo 10000 | sudo tee /sys/class/drm/card0/engine/rcs0/preempt_timeout_ms $ INTEL_DEBUG=reemit blender ``` Reference: `#116322`
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2024-08-23 10:24:49 +02:00

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.
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2024-09-19 11:36:42 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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#126594
No description provided.