EEVEE Material Preview works significantly slower than before. #95600

Open
opened 2022-02-08 07:46:45 +01:00 by Matt Nomatter · 9 comments

System Information
Operating system: MacOS Mojave 10.14.6 (18G9323)
Graphics card: Intel Iris Graphics 550 1536 MB
Memory: 16 GB 2133 MHz LPDDR3
Processor: 3,3 GHz Intel Core i7

Blender Version
Broken: (example: 3.0.1, 2.93.8 edbf15d3c0, master, 2018-11-28, as found on the splash screen)
Worked: 2.83.19

Short description of error
Switching to "Material Preview" view mode (or Rendered) and any manipulation of a material (like adding new node) takes significantly longer than in previous version.

Exact steps for others to reproduce the error

  1. Open attached file
  2. Click "Material Preview" view mode
  3. Wait until material is fully visible in the viewport

I know my machine is not a great performance beast and my OS is pretty outdated (but I can't upgrade because of other apps that I use), but you can clearly tell that 3.0.1 works much slower. I tried also 2.93.8 version (LTS tab on blender.org) and the result is the same. Only 2.83.19 worked faster. I attached a video, it's realtime screen recording (the only editing within the video is blurring the mess on my desktop). Also you can find a blend file that was use to perform the test. performance-test.blend

blender_performance.mp4

**System Information** Operating system: MacOS Mojave 10.14.6 (18G9323) Graphics card: Intel Iris Graphics 550 1536 MB Memory: 16 GB 2133 MHz LPDDR3 Processor: 3,3 GHz Intel Core i7 **Blender Version** Broken: (example: 3.0.1, 2.93.8 edbf15d3c044, master, 2018-11-28, as found on the splash screen) Worked: 2.83.19 **Short description of error** Switching to "Material Preview" view mode (or Rendered) and any manipulation of a material (like adding new node) takes significantly longer than in previous version. **Exact steps for others to reproduce the error** 1. Open attached file 2. Click "Material Preview" view mode 3. Wait until material is fully visible in the viewport I know my machine is not a great performance beast and my OS is pretty outdated (but I can't upgrade because of other apps that I use), but you can clearly tell that 3.0.1 works much slower. I tried also 2.93.8 version (LTS tab on blender.org) and the result is the same. Only 2.83.19 worked faster. I attached a video, it's realtime screen recording (the only editing within the video is blurring the mess on my desktop). Also you can find a blend file that was use to perform the test. [performance-test.blend](https://archive.blender.org/developer/F12854620/performance-test.blend) [blender_performance.mp4](https://archive.blender.org/developer/F12854616/blender_performance.mp4)
Author

Added subscriber: @Matt-Nomatter

Added subscriber: @Matt-Nomatter
Author

few more things that came to my mind:

  1. if you're surprised my desktop wallpaper changed - I just have automatically changing wallpaper every few minutes. the video is uncut.
  2. this file was created in 3.0.1, but the issue is the same with files that I previously created in 2.83.x
  3. render single frame time jumped from 4-5s (2.83.19) to 11-12s (3.0.1)
few more things that came to my mind: 1. if you're surprised my desktop wallpaper changed - I just have automatically changing wallpaper every few minutes. the video is uncut. 2. this file was created in 3.0.1, but the issue is the same with files that I previously created in 2.83.x 3. render single frame time jumped from 4-5s (2.83.19) to 11-12s (3.0.1)
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Member

There is indeed a sizable difference between shader preparation/compilation time in 2.83 and later versions. It could be that more work is being done, but we should ask a developed if this is expected or not.

There is indeed a sizable difference between shader preparation/compilation time in 2.83 and later versions. It could be that more work is being done, but we should ask a developed if this is expected or not.
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Member

I suspect D10390: EEVEE: Refactor closure_lit_lib.glsl. Sometimes tradeoff have to be made in terms between maintainability and platform performance. In blender we try to optimize for newer platforms. Older platforms can become slower as their drivers don't receive the optimizations we are targeting (responsibility of the OS driver developer). If the closure lit refactor is the root cause fixing this would slow down other platforms as that was the goal of the task.

The good news is that #93220 (EEVEE rewrite) will be improved compilation times.

I suspect [D10390: EEVEE: Refactor closure_lit_lib.glsl](https://archive.blender.org/developer/D10390). Sometimes tradeoff have to be made in terms between maintainability and platform performance. In blender we try to optimize for newer platforms. Older platforms can become slower as their drivers don't receive the optimizations we are targeting (responsibility of the OS driver developer). If the closure lit refactor is the root cause fixing this would slow down other platforms as that was the goal of the task. The good news is that #93220 (EEVEE rewrite) will be improved compilation times.
Author

In #95600#1303770, @Jeroen-Bakker wrote:
I suspect D10390: EEVEE: Refactor closure_lit_lib.glsl. Sometimes tradeoff have to be made in terms between maintainability and platform performance. In blender we try to optimize for newer platforms. Older platforms can become slower as their drivers don't receive the optimizations we are targeting (responsibility of the OS driver developer). If the closure lit refactor is the root cause fixing this would slow down other platforms as that was the goal of the task.

The good news is that #93220 (EEVEE rewrite) will be improved compilation times.

is there anything else for now that I can do? I totally understand the approach the dev team has, that's fair. I just stuck for now with mojave OS and I can't really help it. To be frank, the only thing that I miss in 2.83 is the Asset Browser, except that I could live with old version until v3.2 (as I checked that's when EEVEE would be rewritten) or there's a chance I'd upgrade my setup by then. Any advice for short term solution?

> In #95600#1303770, @Jeroen-Bakker wrote: > I suspect [D10390: EEVEE: Refactor closure_lit_lib.glsl](https://archive.blender.org/developer/D10390). Sometimes tradeoff have to be made in terms between maintainability and platform performance. In blender we try to optimize for newer platforms. Older platforms can become slower as their drivers don't receive the optimizations we are targeting (responsibility of the OS driver developer). If the closure lit refactor is the root cause fixing this would slow down other platforms as that was the goal of the task. > > The good news is that #93220 (EEVEE rewrite) will be improved compilation times. is there anything else for now that I can do? I totally understand the approach the dev team has, that's fair. I just stuck for now with mojave OS and I can't really help it. To be frank, the only thing that I miss in 2.83 is the Asset Browser, except that I could live with old version until v3.2 (as I checked that's when EEVEE would be rewritten) or there's a chance I'd upgrade my setup by then. Any advice for short term solution?
Member

@Matt-Nomatter I suspect the requirements for EEVEE are only going to get higher, so I wouldn't expected older hardware to fair better in the future even with the rewrite, so that's something to keep in mind.

@Matt-Nomatter I suspect the requirements for EEVEE are only going to get higher, so I wouldn't expected older hardware to fair better in the future even with the rewrite, so that's something to keep in mind.
Philipp Oeser removed the
Interest
Viewport & EEVEE
label 2023-02-09 15:12:53 +01:00
Bart van der Braak added
Type
Bug
and removed
Type
Report
labels 2024-08-14 13:21:29 +02: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
FBX
Interest
Freestyle
Interest
Geometry Nodes
Interest
glTF
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
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#95600
No description provided.