Moving, rotating and scaling of grease pencil object is slow in reponse #84768

Closed
opened 2021-01-16 09:05:18 +01:00 by Jin Lim · 8 comments

System Information
Operating system: Linux-5.4.0-62-generic-x86_64-with-debian-bullseye-sid 64 Bits
Graphics card: AMD RAVEN (DRM 3.35.0, 5.4.0-62-generic, LLVM 11.0.0) X.Org 4.6 (Core Profile) Mesa 20.2.6

Blender Version
Broken: 2.93.0 Alpha, branch: master, commit date: 2021-01-16 00:39, hash: 3cc1bcce4f
Worked: 2.80, 2.81, 2.82 from blender binary archive

Short description of error
Delayed response and increased CPU usage at the time of moving, rotating and scaling grease pencil object

Exact steps for others to reproduce the error
This delayed reponse can be duplicated at Blender 2.83.8, 2.90.1, 2.91.0 2.93.0 alpha on Linux machine, not on Windows 10 machine.

Shift+A> grease pencil> monkey
select monkey --- no orange highlighted outline
G, R or S --- lag

You may compare it with Shift+A> mesh> monkey
select monkey --- orange highlighted outline
G, R, or S --- no lag

blender.mov

**System Information** Operating system: Linux-5.4.0-62-generic-x86_64-with-debian-bullseye-sid 64 Bits Graphics card: AMD RAVEN (DRM 3.35.0, 5.4.0-62-generic, LLVM 11.0.0) X.Org 4.6 (Core Profile) Mesa 20.2.6 **Blender Version** Broken: 2.93.0 Alpha, branch: master, commit date: 2021-01-16 00:39, hash: `3cc1bcce4f` Worked: 2.80, 2.81, 2.82 from blender binary archive **Short description of error** Delayed response and increased CPU usage at the time of moving, rotating and scaling grease pencil object **Exact steps for others to reproduce the error** This delayed reponse can be duplicated at Blender 2.83.8, 2.90.1, 2.91.0 2.93.0 alpha on Linux machine, not on Windows 10 machine. Shift+A> grease pencil> monkey select monkey --- no orange highlighted outline G, R or S --- lag You may compare it with Shift+A> mesh> monkey select monkey --- orange highlighted outline G, R, or S --- no lag [blender.mov](https://archive.blender.org/developer/F9581596/blender.mov)
Author

Added subscriber: @piconeuro

Added subscriber: @piconeuro

Added subscriber: @rjg

Added subscriber: @rjg

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

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

That lag appears to be quite significant. When you write that you cannot reproduce the delay free response in old versions, does that include version that you know to have worked properly before?

That lag appears to be quite significant. When you write that you cannot reproduce the delay free response in old versions, does that include version that you know to have worked properly before?
Author

In #84768#1094591, @rjg wrote:
That lag appears to be quite significant. When you write that you cannot reproduce the delay free response in old versions, does that include version that you know to have worked properly before?

Unfortunately I don't have delay free version because I keep replacing old version with new version. Even that version may have the same issue but chances are I couldn't recognize it.

It might be related with mesa driver and llvm. I got terminal output as shown below. It keeps saying LLVM failed to compile shader whenever selecting and moving the grease pencil object only. No error on other types of objects.

lines=10
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1487 pyrna_enum_to_py: current value '0' matches no enum in 'BlenderCloudProjectGroup', '', 'project'
LLVM triggered Diagnostic Handler: Illegal instruction detected: VOP* instruction violates constant bus restriction
renamable $vgpr4 = V_CNDMASK_B32_e32 32768, killed $vgpr5, implicit killed $vcc, implicit $exec
LLVM failed to compile shader
radeonsi: can't compile a main shader part
LLVM triggered Diagnostic Handler: Illegal instruction detected: VOP* instruction violates constant bus restriction
renamable $vgpr4 = V_CNDMASK_B32_e32 32768, killed $vgpr4, implicit killed $vcc, implicit $exec
LLVM failed to compile shader
radeonsi: can't compile a main shader part
Read prefs: /home/jl/.config/blender/2.93/config/userpref.blend
Info: Deleted 1 object(s)
LLVM triggered Diagnostic Handler: Illegal instruction detected: VOP* instruction violates constant bus restriction
renamable $vgpr4 = V_CNDMASK_B32_e32 32768, killed $vgpr4, implicit killed $vcc, implicit $exec
LLVM failed to compile shader
...
...
...
LLVM triggered Diagnostic Handler: Illegal instruction detected: VOP* instruction violates constant bus restriction
renamable $vgpr4 = V_CNDMASK_B32_e32 32768, killed $vgpr4, implicit killed $vcc, implicit $exec
LLVM failed to compile shader
Saved session recovery to '/tmp/quit.blend'
Blender quit
> In #84768#1094591, @rjg wrote: > That lag appears to be quite significant. When you write that you cannot reproduce the delay free response in old versions, does that include version that you know to have worked properly before? Unfortunately I don't have delay free version because I keep replacing old version with new version. Even that version may have the same issue but chances are I couldn't recognize it. It might be related with mesa driver and llvm. I got terminal output as shown below. It keeps saying LLVM failed to compile shader whenever selecting and moving the grease pencil object only. No error on other types of objects. ``` lines=10 WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1487 pyrna_enum_to_py: current value '0' matches no enum in 'BlenderCloudProjectGroup', '', 'project' LLVM triggered Diagnostic Handler: Illegal instruction detected: VOP* instruction violates constant bus restriction renamable $vgpr4 = V_CNDMASK_B32_e32 32768, killed $vgpr5, implicit killed $vcc, implicit $exec LLVM failed to compile shader radeonsi: can't compile a main shader part LLVM triggered Diagnostic Handler: Illegal instruction detected: VOP* instruction violates constant bus restriction renamable $vgpr4 = V_CNDMASK_B32_e32 32768, killed $vgpr4, implicit killed $vcc, implicit $exec LLVM failed to compile shader radeonsi: can't compile a main shader part Read prefs: /home/jl/.config/blender/2.93/config/userpref.blend Info: Deleted 1 object(s) ``` ``` LLVM triggered Diagnostic Handler: Illegal instruction detected: VOP* instruction violates constant bus restriction renamable $vgpr4 = V_CNDMASK_B32_e32 32768, killed $vgpr4, implicit killed $vcc, implicit $exec LLVM failed to compile shader ... ... ... LLVM triggered Diagnostic Handler: Illegal instruction detected: VOP* instruction violates constant bus restriction renamable $vgpr4 = V_CNDMASK_B32_e32 32768, killed $vgpr4, implicit killed $vcc, implicit $exec LLVM failed to compile shader Saved session recovery to '/tmp/quit.blend' ``` ``` Blender quit
Author

Just realized this issue is almost identical to #83488.

Downloaded archived version 2.80, 2.81 and 2.82. Orange outline was shown when selecting grease pencil object and no delayed reponse was found when moving it. Updated description.

Just realized this issue is almost identical to #83488. Downloaded archived version 2.80, 2.81 and 2.82. Orange outline was shown when selecting grease pencil object and no delayed reponse was found when moving it. Updated description.

Closed as duplicate of #83488

Closed as duplicate of #83488

I have merged this tickets as the issue does indeed appear to be the same.

I have merged this tickets as the issue does indeed appear to be the same.
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
2 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#84768
No description provided.