Huge performance drop with Eevee under certain conditions #64458
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
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
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
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
Core
Module
Development Management
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
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#64458
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.17134 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 419.67
Blender Version
Broken: version: 2.80 (sub 59), branch: Unknown, commit date: Unknown Unknown, hash:
rBUnknown
Worked: (optional)
Short description of error
Eevee is very slow under unexpected conditions.
Exact steps for others to reproduce the error
In the attached scene, rendering with Eevee is slow (press spacebar to playback and see the fps in the top left corner).
Open this blend and switch to render mode. It contains 5 coconut trees only.
coconuts.blend
Weirdly, by doing one of the following operation listed below, the fps suddenly jumps from 4fps to 40-60fps.
Added subscriber: @LucasVeber
Added subscriber: @nacioss
Yeah, i can reproduce the issue
Added subscriber: @Phigon
The Normal Map has a performance leak on dense meshes, and leaks even if said mesh, does not have the material with it assigned to anything.
I increased my fps (with my scene) in eevee from 3 fps to around 30 fps, by muting the normal map node from their materials.
There were no textures in it, it was just there to make adding a texture faster if I needed to.
Added subscriber: @TheOldBen
As a temporary workaround, we use a script to mute the normal nodes, which gives regular viewport performance and another to un-mute the nodes later for rendering:
Mute Nodes:
Un-Mute Nodes
Changed status from 'Open' to: 'Archived'
This is because we recalculate the tangent space if the mesh changes. There is no workaround because normalmaps uses it. Realtime engines assume the tangents do not change and use GPU skinning, 2 things we cannot do in a program in blender (at least without special cases that are going to tangle everything).
Made an add-on that does the toggling, aptly named: Toggle Normal Maps
https://github.com/theoldben/ToggleNormalMaps
Thanks for sharing!
@fclem Are there any plans for such optimizations? Would be a game changer, even if it's scheduled for Blender 3.0. Thanks for your work!
There has been an alternate solution suggested here:
https://blenderartists.org/t/way-faster-normal-map-node-for-realtime-animation-playback-with-tangent-space-normals/1175379/3
We made an addon to replace Normal Map Nodes with the above-mentioned setup and return them back to normal with a toggle button for render time.
This add-on is available free of charge here:
https://github.com/theoldben/BlenderNormalGroups
Thanks a lot for mentioning it, this is more than welcome! Will make happy thousand of users.
Has this been addressed in some way in Blender 3,6 so we dont have to toggle this, even with this very nice add-on?