Grease Pencil Viewport performance drop #85834

Closed
opened 2021-02-21 08:04:50 +01:00 by Dan Pastean · 12 comments

System Information
Operating system: Linux-5.4.0-65-generic-x86_64-with-glibc2.31 64 Bits
Graphics card: Radeon RX 580 Series (POLARIS10, DRM 3.40.0, 5.4.0-65-generic, LLVM 11.0.0) X.Org 4.6 (Core Profile) Mesa 20.2.6

Blender Version
Broken: version: 2.93.0 Alpha, branch: master, commit date: 2021-02-20 21:05, hash: 6c2e1f3398
Worked: not sure i just use 2.9 and up, first time i noticed, also it does the same in 2.92 candidate

Short description of error
No matter the amount of points a grease pencil object has, the performance drom is the same on my case, while selecting multiple grease pencil objects performance suffers masivly

Exact steps for others to reproduce the error
ive attached a file for faster verification, start up with a grease pencil object, draw something, (in my case i changed the origin of the object to the center of the square) then Alt-D the thing, the more you link duplicate it the slower it becomes once you select the objects. While unselected the performance is good and normal.

GP_performance drop.blend

**System Information** Operating system: Linux-5.4.0-65-generic-x86_64-with-glibc2.31 64 Bits Graphics card: Radeon RX 580 Series (POLARIS10, DRM 3.40.0, 5.4.0-65-generic, LLVM 11.0.0) X.Org 4.6 (Core Profile) Mesa 20.2.6 **Blender Version** Broken: version: 2.93.0 Alpha, branch: master, commit date: 2021-02-20 21:05, hash: `6c2e1f3398` Worked: not sure i just use 2.9 and up, first time i noticed, also it does the same in 2.92 candidate **Short description of error** No matter the amount of points a grease pencil object has, the performance drom is the same on my case, while selecting multiple grease pencil objects performance suffers masivly **Exact steps for others to reproduce the error** ive attached a file for faster verification, start up with a grease pencil object, draw something, (in my case i changed the origin of the object to the center of the square) then Alt-D the thing, the more you link duplicate it the slower it becomes once you select the objects. While unselected the performance is good and normal. [GP_performance drop.blend](https://archive.blender.org/developer/F9824272/GP_performance_drop.blend)
Author

Added subscriber: @Pastean_Narcis_Dan

Added subscriber: @Pastean_Narcis_Dan
Member

Added subscriber: @filedescriptor

Added subscriber: @filedescriptor
Member

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

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

I cannot reproduce this. After a couple of thousand of duplicates, the viewport slows down, but the selection does not matter. Basically blender slows down as a whole for me. It's the same in 2.91 and 2.93.
Maybe I am misunderstanding how to reproduce the issue. Could you clarify how to reproduce the performance drop with exact steps?

I cannot reproduce this. After a couple of thousand of duplicates, the viewport slows down, but the selection does not matter. Basically blender slows down as a whole for me. It's the same in 2.91 and 2.93. Maybe I am misunderstanding how to reproduce the issue. Could you clarify how to reproduce the performance drop with exact steps?
Author

Using KDE as a desktop envoirment, the default compositor is opengl 3.1, while using blender and grease pencil (probably other areas too, i havent tested) as the scene increases in complexity (meaning copy and pasting more instances of grease pencil), the compositor crashes (im quessing, there is no screen feedback), and the performance drops. After that the KDE compositor settings displays a message that something went wrong and turns of opengl giving me the option to turn it back on. After a while it crashes again. It may be a mesa issue, or KDE issue, im not sure because my abilityes in the matter are limited, however it only hapens in Blender. The compositor doesnt crash in other apps, however once it does in blender its visible in all other apps.
So far switching it to OpenGL 2.0 as a compositor doesnt give any issues but its a bit slower on some scenes.
I hope this helps, i'm still learning Linux as an OS

Using KDE as a desktop envoirment, the default compositor is opengl 3.1, while using blender and grease pencil (probably other areas too, i havent tested) as the scene increases in complexity (meaning copy and pasting more instances of grease pencil), the compositor crashes (im quessing, there is no screen feedback), and the performance drops. After that the KDE compositor settings displays a message that something went wrong and turns of opengl giving me the option to turn it back on. After a while it crashes again. It may be a mesa issue, or KDE issue, im not sure because my abilityes in the matter are limited, however it only hapens in Blender. The compositor doesnt crash in other apps, however once it does in blender its visible in all other apps. So far switching it to OpenGL 2.0 as a compositor doesnt give any issues but its a bit slower on some scenes. I hope this helps, i'm still learning Linux as an OS
Member

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

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

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'

I don't have the hardware to test, but I believe it is the same problem as described in #83488 (Grease pencil object outline shader fails to compile on radeonsi).
@Pastean_Narcis_Dan, can you confirm if it is the same?

I don't have the hardware to test, but I believe it is the same problem as described in #83488 (Grease pencil object outline shader fails to compile on radeonsi). @Pastean_Narcis_Dan, can you confirm if it is the same?
Author

Im not sure if i get the same result as them, but running blender terminal i get similar errors, even on the blender versions that they claim doesnt have it

/run/user/1000/gvfs/ non-existent directory
found bundled python: /home/npdan/Downloads/Blender/stable/blender-2.83.12-linux64/2.83/python
LLVM triggered Diagnostic Handler: Illegal instruction detected: VOP* instruction violates constant bus restriction
renamable $vgpr3 = V_CNDMASK_B32_e32 32768, killed $vgpr3, implicit killed $vcc, implicit $exec
LLVM failed to compile shader
radeonsi: can't compile a main shader part

Im not sure if i get the same result as them, but running blender terminal i get similar errors, even on the blender versions that they claim doesnt have it /run/user/1000/gvfs/ non-existent directory found bundled python: /home/npdan/Downloads/Blender/stable/blender-2.83.12-linux64/2.83/python LLVM triggered Diagnostic Handler: Illegal instruction detected: VOP* instruction violates constant bus restriction renamable $vgpr3 = V_CNDMASK_B32_e32 32768, killed $vgpr3, implicit killed $vcc, implicit $exec LLVM failed to compile shader radeonsi: can't compile a main shader part

Apparently, it is the same problem (or an effect of the same problem).
So I will merge the reports.

Apparently, it is the same problem (or an effect of the same problem). So I will merge the reports.

Closed as duplicate of #83488

Closed as duplicate of #83488
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#85834
No description provided.