EEVEE Next: very low performance with hair particles #114752

Open
opened 2023-11-12 08:19:17 +01:00 by Sun Kim · 4 comments
Contributor

System Information
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2060 SUPER/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 545.84

Blender Version
Broken: version: 4.1.0 Alpha, branch: main, commit date: 2023-11-10 13:41, hash: cb5f650a5aa1
Worked: n/a

Short description of error
EEVEE Next shows very low performance with hair particles, leads to very unresponsive viewport experience in comparison to the legacy EEVEE.

Test file: eevee_hair_particles_performance.blend

It has 20 parent hair particles, 10 strand steps, 200 children particles.

In the legacy EEVEE viewport plays in more than 60fps, while in EEVEE Next viewport plays in around 2.5fps.

For a real-life example you can check out the 2.81 splash screen "The Junk Shop" file, in which the character uses hair particle with similar settings.

**System Information** Operating system: Windows-10-10.0.19045-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2060 SUPER/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 545.84 **Blender Version** Broken: version: 4.1.0 Alpha, branch: main, commit date: 2023-11-10 13:41, hash: `cb5f650a5aa1` Worked: n/a **Short description of error** EEVEE Next shows very low performance with hair particles, leads to very unresponsive viewport experience in comparison to the legacy EEVEE. Test file: [eevee_hair_particles_performance.blend](/attachments/1edb7b00-293d-4c62-9c77-77b565e0f574) It has 20 parent hair particles, 10 strand steps, 200 children particles. In the legacy EEVEE viewport plays in more than 60fps, while in EEVEE Next viewport plays in around 2.5fps. For a real-life example you can check out the 2.81 splash screen "The Junk Shop" file, in which the character uses hair particle with similar settings.
Sun Kim added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-11-12 08:19:18 +01:00
Richard Antalik added
Module
EEVEE & Viewport
Status
Confirmed
and removed
Status
Needs Triage
labels 2023-11-12 20:39:58 +01:00
Author
Contributor

@iss Hi, thanks for confirming the report. Can you add the EEVEE-specific label too? So people come from this thread can see this listed as known issue.

@iss Hi, thanks for confirming the report. Can you add the EEVEE-specific label too? So people come from [this thread](https://devtalk.blender.org/t/blender-4-1-eevee-next-feedback/31813) can see this listed as [known issue](https://projects.blender.org/blender/blender/issues?state=open&labels=1138).
Richard Antalik added the
Interest
EEVEE
label 2023-11-13 23:28:43 +01:00
Member

There are few things going here, the main performance hit comes from shadow rendering.
This is in part because shadows in EEVEE Next are slower/higher-quality, and still missing some optimizations.

But it's worth noting that you have the hair Strand Steps set to 10. That's 1024 vertex per hair strand (4096000 verts in total)!

I'm leaving this open since there are issues that still need to be solved (although they're not really specific to hair),
but keep in mind that setting the Strand Steps to a more reasonable value will give you much better performance.

There are few things going here, the main performance hit comes from shadow rendering. This is in part because shadows in EEVEE Next are slower/higher-quality, and still missing some optimizations. But it's worth noting that you have the hair Strand Steps set to 10. That's 1024 vertex per hair strand (4096000 verts in total)! I'm leaving this open since there are issues that still need to be solved (although they're not really specific to hair), but keep in mind that setting the Strand Steps to a more reasonable value will give you much better performance.
Author
Contributor

@pragma37 Hey, thanks for the explanation. (Not only here but in other reports as well!)

I was wondering why the 2.81 splash screen file was lagging so much with EEVEE Next, and found out the issue with hair. So I made a simple file to replicate that for the report.

For some reason I personally don't see disabling shadows improving performance.

Comparison of render times:

  • EEVEE Next (with shadows, without SSGI): 24.97s
  • EEVEE Next (without shadows and SSGI): 25.2s
  • EEVEE legacy (without shadows): 0.63s

I get that the hair is really excessive (I also converted it to hair curves and performance seems to be in line with particle one) but still hope the performance won't regress that much in the end!

@pragma37 Hey, thanks for the explanation. (Not only here but in other reports as well!) I was wondering why the 2.81 splash screen file was lagging so much with EEVEE Next, and found out the issue with hair. So I made a simple file to replicate that for the report. For some reason I personally don't see disabling shadows improving performance. Comparison of render times: - EEVEE Next (with shadows, without SSGI): 24.97s - EEVEE Next (without shadows and SSGI): 25.2s - EEVEE legacy (without shadows): 0.63s I get that the hair is really excessive (I also converted it to hair curves and performance seems to be in line with particle one) but still hope the performance won't regress that much in the end!
Member

Right now shadows are still computed even when disabled, that's why there's no performance difference.
And they are being re-rendered more than once per frame (which shouldn't be the case for the actual release).

Still, we may need to tweak the way we render hair/curves, because even after the mentioned issues are solved, the way the new shadows are rendered doesn't play very nicely with it.

Also, thank you too for all your reports, they're always very high quality. 🙂

Right now shadows are still computed even when disabled, that's why there's no performance difference. And they are being re-rendered more than once per frame (which shouldn't be the case for the actual release). Still, we may need to tweak the way we render hair/curves, because even after the mentioned issues are solved, the way the new shadows are rendered doesn't play very nicely with it. Also, thank you too for all your reports, they're always very high quality. 🙂
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
2 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#114752
No description provided.