System Hangs while Interacting with the Viewport #106752

Open
opened 2023-04-10 04:36:11 +02:00 by Adam T. Ryder · 17 comments

System Information
Operating system: Manjaro KDE Plasma
Graphics card: Intel HD Graphics (Cherry Trail) Atom X7-Z8700

Blender Version
Broken: 3.5.0, 3.4.0, 3.4.1
Worked: 3.3.2 (Haven't tried newer versions in the 3.3.x series)

Short description of error
Blender causes the entire system to hang periodically while performing any task. Simply rotating the camera or zooming in or out results in the system freezing for minutes at a time. The mouse cursor responds to mouse and touchpad movement, but the system does not respond to mouse button clicks or keyboard input for long periods of time. Neither Blender nor the desktop respond.

When rotating, moving or zooming the camera text overlays in the viewport flicker, sometimes the entire viewport flickers, then the system hangs. There are no errors or warnings printed to the terminal

Exact steps for others to reproduce the error
Doesn't appear to be related to a specific file. The issue is present in all blend files and when starting with the default setup.

**System Information** Operating system: Manjaro KDE Plasma Graphics card: Intel HD Graphics (Cherry Trail) Atom X7-Z8700 **Blender Version** Broken: 3.5.0, 3.4.0, 3.4.1 Worked: 3.3.2 (Haven't tried newer versions in the 3.3.x series) **Short description of error** Blender causes the entire system to hang periodically while performing any task. Simply rotating the camera or zooming in or out results in the system freezing for minutes at a time. The mouse cursor responds to mouse and touchpad movement, but the system does not respond to mouse button clicks or keyboard input for long periods of time. Neither Blender nor the desktop respond. When rotating, moving or zooming the camera text overlays in the viewport flicker, sometimes the entire viewport flickers, then the system hangs. There are no errors or warnings printed to the terminal **Exact steps for others to reproduce the error** Doesn't appear to be related to a specific file. The issue is present in all blend files and when starting with the default setup.
Adam T. Ryder added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-04-10 04:36:12 +02:00
Member

Hi, thanks for the report. Does this issue happen in particular viewport shading mode?
This could be same as #106401
Can you check again in 3.6 build?: https://builder.blender.org/download/daily/

Hi, thanks for the report. Does this issue happen in particular viewport shading mode? This could be same as #106401 Can you check again in 3.6 build?: https://builder.blender.org/download/daily/
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-04-10 05:19:29 +02:00
Author

It happens in the solid shading mode. I haven't tried wireframe, eevee or cycles shading modes, but will check when I get the chance.

It happens in the solid shading mode. I haven't tried wireframe, eevee or cycles shading modes, but will check when I get the chance.
Author

I tested the default cube scene running blender-3.6.0-alpha+main.cc5128f6cafa-linux.x86_64-release using the four shading modes with the following results:

Wireframe:
Periodic long freezes+flickering. Eventually crashed with console output "zsh: IOT instruction (core dumped) ./blender"

Solid:
Periodic long freezes+flickering

Material Preview:
Periodic long freezes+flickering. Eventually crashed with console output "zsh: IOT instruction (core dumped) ./blender"

Rendered (EEVEE):
Periodic long freezes+flickering

Rendered (Cycles):
Works perfectly

Additionally, my system continued to be very sluggish and slow to respond after closing Blender. It did not seem to recover until a reboot.

I tested the default cube scene running blender-3.6.0-alpha+main.cc5128f6cafa-linux.x86_64-release using the four shading modes with the following results: **Wireframe**: Periodic long freezes+flickering. Eventually crashed with console output "zsh: IOT instruction (core dumped) ./blender" **Solid**: Periodic long freezes+flickering **Material Preview**: Periodic long freezes+flickering. Eventually crashed with console output "zsh: IOT instruction (core dumped) ./blender" **Rendered (EEVEE)**: Periodic long freezes+flickering **Rendered (Cycles)**: Works perfectly Additionally, my system continued to be very sluggish and slow to respond after closing Blender. It did not seem to recover until a reboot.
Author

Additional system information

KDE Plasma: 5.26.5
KDE Frameworks: 5.103.0
Qt: 5.15.8
Kernel: 5.15.94-1
RAM: 4GB (0.83GiB used)

Problem is present under both X11 and Wayland.

Additional system information KDE Plasma: 5.26.5 KDE Frameworks: 5.103.0 Qt: 5.15.8 Kernel: 5.15.94-1 RAM: 4GB (0.83GiB used) Problem is present under both X11 and Wayland.
Member

Thanks. Can you run blender from command line with --debug option? Does it generate/capture any error?
Any difference after switching to METAL viewport backend?

Thanks. Can you run blender from command line with `--debug` option? Does it generate/capture any error? Any difference after switching to METAL viewport backend?
Author

I ran again until crash with 3.5.0 using the --debug option and, unfortunately, there was no additional output. There's no crash log written to /tmp either.

Additionally I can't find any option to switch to the METAL backend, but I'm not using an Apple computer anyway. Actually it's a Microsoft Surface 3.

I ran again until crash with 3.5.0 using the --debug option and, unfortunately, there was no additional output. There's no crash log written to /tmp either. Additionally I can't find any option to switch to the METAL backend, but I'm not using an Apple computer anyway. Actually it's a Microsoft Surface 3.
Author

Played around with it a bit more and found that the problem is less prevalent when not running in fullscreen mode. When not in fullscreen the flickering and freezing only occurred in the Material Preview shading mode. I ran Blender alongside the KSysGuard system monitor and found that when it froze CPU4 maintained 100% utilization while the other 3 cores dropped near zero.

BlendFreeze.png

Then I disabled the desktop compositor and found that the flickering and freezing no longer occurred.

Played around with it a bit more and found that the problem is less prevalent when not running in fullscreen mode. When not in fullscreen the flickering and freezing only occurred in the Material Preview shading mode. I ran Blender alongside the KSysGuard system monitor and found that when it froze CPU4 maintained 100% utilization while the other 3 cores dropped near zero. ![BlendFreeze.png](/attachments/8a154c70-b2a6-4d23-8181-782e5803192b) Then I disabled the desktop compositor and found that the flickering and freezing no longer occurred.
Pratik Borhade added
Status
Needs Triage
and removed
Status
Needs Information from User
labels 2023-04-19 07:45:45 +02:00
Member

Additionally I can't find any option to switch to the METAL backend, but I'm not using an Apple computer anyway. Actually it's a Microsoft Surface 3.

I'm not sure if this setup is supported. @brecht ?

> Additionally I can't find any option to switch to the METAL backend, but I'm not using an Apple computer anyway. Actually it's a Microsoft Surface 3. I'm not sure if this setup is supported. @brecht ?

@PratikPB2123 Metal is only for macOS, it's not relevant for this report about Linux.

@PratikPB2123 Metal is only for macOS, it's not relevant for this report about Linux.
Member

Ah, sorry. I later forget about the OS mentioned in the report (it's linux and I assumed Mac).

Ah, sorry. I later forget about the OS mentioned in the report (it's linux and I assumed Mac).
Member

@HamburgerJones hi, still encountering this problem?
Can you check whether it works?: #116322 (comment)

$ echo 10000 | sudo tee /sys/class/drm/card0/engine/rcs0/preempt_timeout_ms
$ INTEL_DEBUG=reemit blender
@HamburgerJones hi, still encountering this problem? Can you check whether it works?: https://projects.blender.org/blender/blender/issues/116322#issuecomment-1087634 ``` $ echo 10000 | sudo tee /sys/class/drm/card0/engine/rcs0/preempt_timeout_ms $ INTEL_DEBUG=reemit blender ```
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-12-20 04:21:30 +01:00
Member
@HamburgerJones ^
Author

I have a new computer now, but I pulled out my old Surface 3 to test this out with Blender 4.0.2. Just using the default cube scene I'd say the problem is even worse. The scene loads up, but after maybe a second or less of rotating the camera Blender hangs for a long period of time, then starts responding for split seconds as it tries to complete the camera rotation then crashes to the desktop with the following output:

zsh: IOT instruction (core dumped) INTEL_DEBUG=reemit ./blender

I should note that the timeout command doesn't appear to have worked. When running the first command the output is as follows:

tee: /sys/class/drm/card0/engine/rcs0/preempt_timeout_ms: permission denied
10000

I typed my password correctly.

I have a new computer now, but I pulled out my old Surface 3 to test this out with Blender 4.0.2. Just using the default cube scene I'd say the problem is even worse. The scene loads up, but after maybe a second or less of rotating the camera Blender hangs for a long period of time, then starts responding for split seconds as it tries to complete the camera rotation then crashes to the desktop with the following output: zsh: IOT instruction (core dumped) INTEL_DEBUG=reemit ./blender I should note that the timeout command doesn't appear to have worked. When running the first command the output is as follows: tee: /sys/class/drm/card0/engine/rcs0/preempt_timeout_ms: permission denied 10000 I typed my password correctly.
Member

okay, thanks. Could you attach system info: Help > Save System Info

okay, thanks. Could you attach system info: `Help > Save System Info`
Author

System info attached

System info attached
Member

Thanks. Any improvements after updating mesa drivers?

Thanks. Any improvements after updating mesa drivers?
Author

I have very poor internet access in my current location so it might be a while until I can update the mesa drivers.

I have very poor internet access in my current location so it might be a while until I can update the mesa drivers.
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#106752
No description provided.