Displaying a large image impacts Image Editor and viewport modeling performance #77812

Closed
opened 2020-06-12 20:54:28 +02:00 by Sam Van Hulle · 11 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.19

Blender Version
Broken: version: 2.83.0, branch: master, commit date: 2020-06-03 14:38, hash: 211b6c29f7
Worked: 2.80

Short description of error
Displaying a large image in the Image Editor impacts performance, mostly in the editor's UI itself, but as well in viewports with certain modeling tools.
The behaviour is not consistent, but seems to occur in spikes. In my experience it's most noticeable with 4k+ images.

Exact steps for others to reproduce the error

  • Load or create an image of several thousands of pixels (10K x 10K).
  • Zoom out until you see whole image

Play animation

The Image Editor's UI now exhibits a low frame rate and long response times.

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.19 **Blender Version** Broken: version: 2.83.0, branch: master, commit date: 2020-06-03 14:38, hash: `211b6c29f7` Worked: 2.80 **Short description of error** Displaying a large image in the Image Editor impacts performance, mostly in the editor's UI itself, but as well in viewports with certain modeling tools. The behaviour is not consistent, but seems to occur in spikes. In my experience it's most noticeable with 4k+ images. **Exact steps for others to reproduce the error** - Load or create an image of several thousands of pixels (10K x 10K). - Zoom out until you see whole image # Play animation The Image Editor's UI now exhibits a low frame rate and long response times.
Author

Added subscriber: @frameshift

Added subscriber: @frameshift

#79518 was marked as duplicate of this issue

#79518 was marked as duplicate of this issue
Author

Just noticed that it only occurs when the image is at a zoom level of less than 100%.

Just noticed that it only occurs when the image is at a zoom level of less than 100%.

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

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

Added subscriber: @Sergey

Added subscriber: @Sergey

This goes to quite technical details of how image drawing works in Blender in general: every redraw will push the entire image to the GPU. For small images it's fine, but big images saturate the bus, causing lags.

Moving to the closest to the image drawing code module.

P.S. Technically this is a known limitation of current design.

This goes to quite technical details of how image drawing works in Blender in general: every redraw will push the entire image to the GPU. For small images it's fine, but big images saturate the bus, causing lags. Moving to the closest to the image drawing code module. P.S. Technically this is a known limitation of current design.

Added subscribers: @Rawalanche, @Jeroen-Bakker

Added subscribers: @Rawalanche, @Jeroen-Bakker
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Jeroen Bakker self-assigned this 2020-09-11 16:37:39 +02:00
Member

@frameshift, This seems to be better in latest master, IMO good enough to close this issue.

large-image-perfomance-2020-09-11_16.36.13.webm

@frameshift, This seems to be better in latest master, IMO good enough to close this issue. [large-image-perfomance-2020-09-11_16.36.13.webm](https://archive.blender.org/developer/F8865873/large-image-perfomance-2020-09-11_16.36.13.webm)

Added subscriber: @JacobMerrill-1

Added subscriber: @JacobMerrill-1
Author

Thanks, great work @Jeroen-Bakker !

Thanks, great work @Jeroen-Bakker !
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
6 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#77812
No description provided.