Creation of GPencil material preview lags Blender #124945

Open
opened 2024-07-18 02:45:30 +02:00 by Mot-Emanc · 4 comments

Windows 11

Blender Version
Broken: version: 4.2.0,
Worked: version 4.1.1

Short description of error

After creating a gpencil object and the new material is assigned there's a small lag before the preview thumbnail loads.
This only happens if the material tab is visible.

It might not be noticeable in a good computer

Exact steps for others to reproduce the error

Example of 4.1.1 vs 4.2.0, both on factory settings.

Windows 11 **Blender Version** Broken: version: 4.2.0, Worked: version 4.1.1 **Short description of error** After creating a gpencil object and the new material is assigned there's a small lag before the preview thumbnail loads. This only happens if the material tab is visible. It might not be noticeable in a good computer **Exact steps for others to reproduce the error** Example of 4.1.1 vs 4.2.0, both on factory settings. <video src="/attachments/04b3eb32-cece-4172-a765-8e7e202b31a0" title="2024-07-17 20-00-59.mp4" controls></video>
Mot-Emanc added the
Type
Report
Severity
Normal
Status
Needs Triage
labels 2024-07-18 02:45:31 +02:00
Member

I can confirm increase stutter in Blender 4.2 compared to 4.1. I'm doubtful it's caused by changes in Grease pencil, and is probably a shader compilation thing related to EEVEE. But I haven't looked into it to verify this (Or to even verify if the greasepencil preview uses EEVEE). This might be a expected issue.

System Information
Operating system: Windows-10-10.0.22631-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 4090/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 556.12
Blender version: 4.2.0, branch: blender-v4.2-release, commit date: 2024-07-16 06:20, hash: a51f293548ad

I can confirm increase stutter in Blender 4.2 compared to 4.1. I'm doubtful it's caused by changes in Grease pencil, and is probably a shader compilation thing related to EEVEE. But I haven't looked into it to verify this (Or to even verify if the greasepencil preview uses EEVEE). This might be a expected issue. **System Information** Operating system: Windows-10-10.0.22631-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 4090/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 556.12 Blender version: 4.2.0, branch: blender-v4.2-release, commit date: 2024-07-16 06:20, hash: `a51f293548ad`
Member

Can confirm as well. #123108 might be related.
Edit: Raised the priority for attention.

Can confirm as well. #123108 might be related. Edit: Raised the priority for attention.
Pratik Borhade added
Status
Confirmed
Severity
High
and removed
Status
Needs Triage
Severity
Normal
labels 2024-07-18 06:35:29 +02:00

Yes, it is likely to be the cost of creating the EEVEE instance and the shaders associated. This requires some profiling to find the root cause.

However, there are not enough workforce for it during the summer so I will reduce the priority.

Yes, it is likely to be the cost of creating the EEVEE instance and the shaders associated. This requires some profiling to find the root cause. However, there are not enough workforce for it during the summer so I will reduce the priority.
Clément Foucault added
Severity
Normal
and removed
Severity
High
labels 2024-08-02 16:02:35 +02:00
Bart van der Braak added
Type
Bug
and removed
Type
Report
labels 2024-08-14 12:56:13 +02:00

Just confirming this happens on my Linux machine on Blender 4.2, and doesn't happen in Blender 4.1. I'm on an integrated Intel GPU, so it doesn't seem to just be on Windows w/ Nvidia.

It's enough of a problem where I'm having to use 4.1 for now for all Grease Pencil things. I think the previous severity seemed justified to me, at least.

Just confirming this happens on my Linux machine on Blender 4.2, and doesn't happen in Blender 4.1. I'm on an integrated Intel GPU, so it doesn't seem to just be on Windows w/ Nvidia. It's enough of a problem where I'm having to use 4.1 for now for all Grease Pencil things. I think the previous severity seemed justified to me, at least.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
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
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#124945
No description provided.