Scale gizmos cause complete freezes in Blender 2.83 on Intel graphics #77455

Closed
opened 2020-06-05 17:16:41 +02:00 by Real Name · 24 comments

System Information
Operating system: Linux-5.6.15-arch1-1-x86_64-with-glibc2.29 64 Bits
Graphics card: Mesa Intel(R) UHD Graphics 620 (KBL GT2) Intel 4.6 (Core Profile) Mesa 20.0.7

Blender Version
Broken: version: 2.83.0, branch: makepkg (modified), commit date: 2020-06-03 14:38, hash: 211b6c29f7
Worked: 2.82a

Short description of error
Blender freezes completely when the scale gizmo is used.
The exact number of operations that can be performed before crashing seems to vary between 1 and about 10.
When frozen, the UI is unresponsive, one CPU core is pinned at 100% usage, and the system becomes quite sluggish until Blender is force-killed.
Memory usage is normal (<5% usage).
The issue doesn't seem to happen on my Nvidia card (Geforce MX150) when started with prime-run.

Exact steps for others to reproduce the error

  • Add a cube

  • Select the cube

  • Click on the resize gizmo

  • Resize on the X,Y, and Z Asis.
    Result: OK. Still Working

  • Click on the rotation gizmo

  • Then click on the resize Gizmo
    Result: Freeze happen, forced to restart Blender

  • Add a cube

  • Select the cube

  • Click on the resize Gizmo
    Result: Freeze again

By deleting the .blend files in the*/tmp* folder, the user could again do more resizes, the freeze can also be triggerred with other types of actions.

**System Information** Operating system: Linux-5.6.15-arch1-1-x86_64-with-glibc2.29 64 Bits Graphics card: Mesa Intel(R) UHD Graphics 620 (KBL GT2) Intel 4.6 (Core Profile) Mesa 20.0.7 **Blender Version** Broken: version: 2.83.0, branch: makepkg (modified), commit date: 2020-06-03 14:38, hash: `211b6c29f7` Worked: 2.82a **Short description of error** Blender freezes completely when the scale gizmo is used. The exact number of operations that can be performed before crashing seems to vary between 1 and about 10. When frozen, the UI is unresponsive, one CPU core is pinned at 100% usage, and the system becomes quite sluggish until Blender is force-killed. Memory usage is normal (<5% usage). The issue doesn't seem to happen on my Nvidia card (Geforce MX150) when started with prime-run. **Exact steps for others to reproduce the error** - Add a cube - Select the cube - Click on the resize gizmo - Resize on the X,Y, and Z Asis. **Result: OK. Still Working** - Click on the rotation gizmo - Then click on the resize Gizmo **Result: Freeze happen, forced to restart Blender** - Add a cube - Select the cube - Click on the resize Gizmo **Result: Freeze again** By deleting the .blend files in the*/tmp* folder, the user could again do more resizes, the freeze can also be triggerred with other types of actions.
Author

Added subscriber: @tstsrt

Added subscriber: @tstsrt

#78657 was marked as duplicate of this issue

#78657 was marked as duplicate of this issue

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'

The steps are not very clear.
Do we have to use the same gizmo a number of times or can it be different gizmos?

The steps are not very clear. Do we have to use the same gizmo a number of times or can it be different gizmos?
Author

Any single gizmo or multiple gizmos can be used.

Any single gizmo or multiple gizmos can be used.

A recent problem with the undo system has been fixed.
For many it could look like random crashes.
Can you try the latest daily build and confirm that the problem still exists? https://builder.blender.org/download/

A recent problem with the undo system has been fixed. For many it could look like random crashes. Can you try the latest daily build and confirm that the problem still exists? https://builder.blender.org/download/
Author

Just checked both the 2.83 and 2.90 builds. The problem still persists in both.

Just checked both the 2.83 and 2.90 builds. The problem still persists in both.

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

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

Added subscriber: @christian-clavet

Added subscriber: @christian-clavet

Hi, Have to report the same problem with someone from the french community using a Intel NUC (Intel GPU), and using Ubuntu 20.04 as OS. The issue happen more often when using the gizmo to rescale an object. The UI freeze and he can only force quit Blender.

Can this be related on "picking" on Intel? (like the pick function would go in an infinite loop because of the way the driver respond to the pick requests)
Like this change?: https:*developer.blender.org/rB3685347b4172

It happen while dragging, then freeze, then have to force Quit Blender. As mentionned, this will not reproduce every time. Need to do it a couple of times to have it reproduce..

EDIT: The user tried the last build of 2.9Alpha build (june 22) and the problem is reproductible using the scale gizmo. The issue is not present on Blender 2.82a.

Edit2(June 25) Asked the user to retest using newly released Blender 2.83.1. Waiting for the feedback.

Hi, Have to report the same problem with someone from the french community using a Intel NUC (Intel GPU), and using Ubuntu 20.04 as OS. The issue happen more often when using the gizmo to rescale an object. The UI freeze and he can only force quit Blender. Can this be related on "picking" on Intel? (like the pick function would go in an infinite loop because of the way the driver respond to the pick requests) Like this change?: [https:*developer.blender.org/rB3685347b4172 ](https:*developer.blender.org/rB3685347b4172) It happen while dragging, then freeze, then have to force Quit Blender. As mentionned, this will not reproduce every time. Need to do it a couple of times to have it reproduce.. **EDIT:** The user tried the last build of 2.9Alpha build (june 22) and the problem is reproductible using the scale gizmo. The issue is not present on Blender 2.82a. **Edit2(June 25)** Asked the user to retest using newly released Blender 2.83.1. Waiting for the feedback.
Author

Update: In Blender 2.83.1, the problem now only occurs with the scale gizmo and not move or rotate.

**Update:** In Blender 2.83.1, the problem now only occurs with the scale gizmo and not move or rotate.

Update: (june 29)
Got new result from my french community user testing the problem with 2.83.1
User tried with 2.83.1. It still freeze.

Hardware: This user run an Intel NUC, running with and i7 processor on Ubuntu, and using the integrated GPU.

Here are the steps that were used to test:

  • Add a cube

  • Select the cube

  • Click on the resize gizmo

  • Resize on the X,Y, and Z Asis.
    Result: OK. Still Working

  • Click on the rotation gizmo

  • Then click on the resize Gizmo
    Result: Freeze happen, forced to restart Blender

  • Add a cube

  • Select the cube

  • Click on the resize Gizmo
    Result: Freeze again

By deleting the .blend files in the*/tmp* folder, the user could again do more resizes, the freeze can also be triggerred with other types of actions.

**Update:** (june 29) Got new result from my french community user testing the problem with 2.83.1 User tried with 2.83.1. It still freeze. **Hardware:** This user run an Intel NUC, running with and i7 processor on Ubuntu, and using the integrated GPU. *Here are the steps that were used to test:* - Add a cube - Select the cube - Click on the resize gizmo - Resize on the X,Y, and Z Asis. **Result: OK. Still Working** - Click on the rotation gizmo - Then click on the resize Gizmo **Result: Freeze happen, forced to restart Blender** - Add a cube - Select the cube - Click on the resize Gizmo **Result: Freeze again** By deleting the .blend files in the*/tmp* folder, the user could again do more resizes, the freeze can also be triggerred with other types of actions.
Germano Cavalcante changed title from Object gizmos cause complete freezes in Blender 2.83 on Intel graphics to Scale gizmos cause complete freezes in Blender 2.83 on Intel graphics 2020-06-30 15:21:26 +02:00

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker

@Jeroen-Bakker, do you have a setup to test the Intel(R) UHD Graphics 620 on Linux?

@Jeroen-Bakker, do you have a setup to test the `Intel(R) UHD Graphics 620` on Linux?
Jeroen Bakker self-assigned this 2020-07-06 10:32:57 +02:00
Member

I am able to reproduce this one. Will have a look

I am able to reproduce this one. Will have a look
Member

The driver freezes in glGetQueryObjectuiv (gpu_select_sample_query.c) when i = 3 adding any additional delay here makes it very hard to reproduce.

  for (i = 0; i < g_query_state.active_query; i++) {
    uint result = 0;
    /* We are not using GL_QUERY_RESULT_AVAILABLE and sleep to wait for results,
     * because it causes lagging on Windows/NVIDIA, see T61474. */
    glGetQueryObjectuiv(g_query_state.queries[i], GL_QUERY_RESULT, &result);

The driver freezes in `glGetQueryObjectuiv` (`gpu_select_sample_query.c`) when `i = 3` adding any additional delay here makes it very hard to reproduce. ``` for (i = 0; i < g_query_state.active_query; i++) { uint result = 0; /* We are not using GL_QUERY_RESULT_AVAILABLE and sleep to wait for results, * because it causes lagging on Windows/NVIDIA, see T61474. */ glGetQueryObjectuiv(g_query_state.queries[i], GL_QUERY_RESULT, &result); ```
Member

Probably introduced by d712f1f83a But due to the randomness of the issue, you should take it with a grain of salt.

git bisect start
# bad: [705015e0a42c09ae503e42ebc592c9f04f097617] Fix T78481: Workbench Shadow effects XRay
git bisect bad 705015e0a42c09ae503e42ebc592c9f04f097617
# bad: [d114288f90a8fbb2675d802f7e13f25fbee75801] Bumped blender version to 2.83.1
git bisect bad d114288f90a8fbb2675d802f7e13f25fbee75801
# good: [f1bf7bfa1b5b468514655a18fa99a6900948173f] Cleanup: spelling
git bisect good f1bf7bfa1b5b468514655a18fa99a6900948173f
# bad: [08048f7cceb82826bb520a2ca04f0bc38271faa9] Fix T75810: Child bone frozen when both Auto IK and X-Axis mirror are used
git bisect bad 08048f7cceb82826bb520a2ca04f0bc38271faa9
# good: [44b9f6a8885bed381e0b86bec378008490a58511] Fix T74881: Plane-track corner drag fails with LMB select
git bisect good 44b9f6a8885bed381e0b86bec378008490a58511
# good: [28f7c80c464b71911f926932f6a789efeea14c1e] Fix invalid RNA path for transform orientations.
git bisect good 28f7c80c464b71911f926932f6a789efeea14c1e
# bad: [e8d3996e6776029ce27e29d7e717b0f301a0fa55] Fix edit-mesh selection mode switching causing two undo pushes
git bisect bad e8d3996e6776029ce27e29d7e717b0f301a0fa55
# good: [5491c045af7b7f185a147bfe1ff34d88df431458] Cleanup: add explicit enum values in DNA_rigidbody_types.h
git bisect good 5491c045af7b7f185a147bfe1ff34d88df431458
# good: [2467f4df79755b4d503a1b7f93da36cea31fbc53] Fix T75607: crash trying to sculpt while remesh is in progress
git bisect good 2467f4df79755b4d503a1b7f93da36cea31fbc53
# bad: [d712f1f83af881be536ec0d183b7d3025c172684] GPU: Add Polyline shader (wide line emulation)
git bisect bad d712f1f83af881be536ec0d183b7d3025c172684
# good: [0fbcb824d0ff1673ad186055a472b977406fb61d] Fix T76014: correct description of COLLECTION_OT_objects_remove_all
git bisect good 0fbcb824d0ff1673ad186055a472b977406fb61d
# good: [d0ff3434cffa2e056e4f191ead21226f32ea8c15] Fix T73741 Grid Floor render on top of Wireframe objects
git bisect good d0ff3434cffa2e056e4f191ead21226f32ea8c15
# first bad commit: [d712f1f83af881be536ec0d183b7d3025c172684] GPU: Add Polyline shader (wide line emulation)

When it fails it seems to always fail when getting the result of GIZMO_GT_arrow_3d.

Probably introduced by d712f1f83a But due to the randomness of the issue, you should take it with a grain of salt. ``` git bisect start # bad: [705015e0a42c09ae503e42ebc592c9f04f097617] Fix T78481: Workbench Shadow effects XRay git bisect bad 705015e0a42c09ae503e42ebc592c9f04f097617 # bad: [d114288f90a8fbb2675d802f7e13f25fbee75801] Bumped blender version to 2.83.1 git bisect bad d114288f90a8fbb2675d802f7e13f25fbee75801 # good: [f1bf7bfa1b5b468514655a18fa99a6900948173f] Cleanup: spelling git bisect good f1bf7bfa1b5b468514655a18fa99a6900948173f # bad: [08048f7cceb82826bb520a2ca04f0bc38271faa9] Fix T75810: Child bone frozen when both Auto IK and X-Axis mirror are used git bisect bad 08048f7cceb82826bb520a2ca04f0bc38271faa9 # good: [44b9f6a8885bed381e0b86bec378008490a58511] Fix T74881: Plane-track corner drag fails with LMB select git bisect good 44b9f6a8885bed381e0b86bec378008490a58511 # good: [28f7c80c464b71911f926932f6a789efeea14c1e] Fix invalid RNA path for transform orientations. git bisect good 28f7c80c464b71911f926932f6a789efeea14c1e # bad: [e8d3996e6776029ce27e29d7e717b0f301a0fa55] Fix edit-mesh selection mode switching causing two undo pushes git bisect bad e8d3996e6776029ce27e29d7e717b0f301a0fa55 # good: [5491c045af7b7f185a147bfe1ff34d88df431458] Cleanup: add explicit enum values in DNA_rigidbody_types.h git bisect good 5491c045af7b7f185a147bfe1ff34d88df431458 # good: [2467f4df79755b4d503a1b7f93da36cea31fbc53] Fix T75607: crash trying to sculpt while remesh is in progress git bisect good 2467f4df79755b4d503a1b7f93da36cea31fbc53 # bad: [d712f1f83af881be536ec0d183b7d3025c172684] GPU: Add Polyline shader (wide line emulation) git bisect bad d712f1f83af881be536ec0d183b7d3025c172684 # good: [0fbcb824d0ff1673ad186055a472b977406fb61d] Fix T76014: correct description of COLLECTION_OT_objects_remove_all git bisect good 0fbcb824d0ff1673ad186055a472b977406fb61d # good: [d0ff3434cffa2e056e4f191ead21226f32ea8c15] Fix T73741 Grid Floor render on top of Wireframe objects git bisect good d0ff3434cffa2e056e4f191ead21226f32ea8c15 # first bad commit: [d712f1f83af881be536ec0d183b7d3025c172684] GPU: Add Polyline shader (wide line emulation) ``` When it fails it seems to always fail when getting the result of `GIZMO_GT_arrow_3d`.

This issue was referenced by 0f95cc8293

This issue was referenced by 0f95cc8293b0bb1d1b84cd88f96b643e8bcf7365

This issue was referenced by 202e7ccaae

This issue was referenced by 202e7ccaaee8909f72465f67ab59626fa6dd3a48
Member

Added subscribers: @giovannio.garoto, @Memento

Added subscribers: @giovannio.garoto, @Memento
Member

Changed status from 'Needs Triage' to: 'Resolved'

Changed status from 'Needs Triage' to: 'Resolved'

Thanks! Jeroen! I asked the french community user to try again with the fix.

Thanks! Jeroen! I asked the french community user to try again with the fix.
Author

Update: I can confirm the issue is resolved in the July 14th daily build of Blender 2.90. Thanks for the fix!

Update: I can confirm the issue is resolved in the July 14th daily build of Blender 2.90. Thanks for the fix!
Thomas Dinges added this to the 2.90 milestone 2023-02-08 16:27:16 +01: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 & 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
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & 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
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#77455
No description provided.