Workbench refactor causes significant performance regression with workbench shadows #78161
Labels
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
9 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#78161
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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.18362-SP0 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 445.75
Blender Version
Broken: version: 2.83.0, branch: master, commit date: 2020-06-03 14:38, hash:
211b6c29f7
Caused by
c476c36e40
Worked: 2.82a
Short description of error
2.83 solid viewport shading work slowly than 2.82 when shadows is on
Exact steps for others to reproduce the error
Reduction of performance in viewport very high in heavy scenes as example scene with sculpts 6 millions of triangles
Added subscriber: @Serj_Coruzyak
#91218 was marked as duplicate of this issue
Added subscriber: @mano-wii
Can you provide a simple file showing the problem?
For the file not to be too big due to the highpoly object, you can use the subdivision modifier.
Added subscriber: @mattli911
I have noticed the same for a long while. In 2.82 or 2.83 and so on. I thought someone said,it's because of per pixel shadows in Solid Mode, is why it kills it.
I can have really nice performance in Look Dev / Rendered in Eevee, but in Solid mode, with same shadow quality/etc, is like 5FPS. I do have a heavy scene as well/many objects.
Maybe 11 million worth of Verts, and 160 objects. But its pretty much all using modifiers/not collapsed geo.
I would love to see this fixed if at all possible.
Added subscriber: @iss
Changed status from 'Needs Triage' to: 'Needs User Info'
I can't reproduce this. Please upload a file to check with or precise steps how to create example file
Hm, confirm, this viewport performance problem very strange i have scenes with 230 object and 8 mln of triangles and has no reduction of fps in 2.83. I try to do some fast subdivided scenes with primitives under 16 mln poligons and has no reproduce this problem. And i have file with studies of human faces that show very low fps in 2.83. This file contain sculpted face and spline geometry for hair, amount of object 51, 6 mln triangles, and size of this file 200 mb. I was change sculpted model to subdivided primitive, now file size less than 2 mb but performance problem still here. I was share this file, if your PC much powerfull then my, you can "duplicate linked" objects much more times and this might help.
Solid_Viewport_Shadow.blend
Make sure that viewport shadows is on. To see problem open file in 2.82 and 2.83 you only need rotate viewport camera, and compare performance between versions. 2.82 - slightly slows down than blank scene, but still comfortable, 2.83 - slide show 5 - 10 fps.
Changed status from 'Needs User Info' to: 'Needs Triage'
I cannot reproduce the problem.
I tested it on 2.82, 2.83 and 2.90.
They all ran at 21 fps (while orbiting).
Perhaps it is a problem only with Nvidia's GPUs.
Operating system: Windows-10-10.0.18941 64 Bits
Graphics card: Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.13596 Core Profile Context 20.10.19.02 27.20.1019.2002
It is possible is an Nvidia problem, yes. I have a 980TI on Home PC / 1070 on this PC, with more recent Drivers on Windows 10 64bit.
Here's a video of his file. I see really bad lag/hitching as well in Solid mode with shadows enabled. Same settings otherwise, is fine in other modes.
But like I said, maybe is per-pixel shadows or something going on with solid mode that kills it... But basically makes solid mode almost un-useable for me with shadows on generally.
Blender_2.83_SolidMode_Shadow_Lag.mov
Edit: Actually I didn't realize, but the video above is from 2.9 alpha even. But same issue in 2.83 for me.
blender-2.90.0-6fec2e4db05f-windows64
Added subscribers: @fclem, @lichtwerk
Changed status from 'Needs Triage' to: 'Confirmed'
I am also getting a significant performance hit, caused by
c476c36e40
@fclem: this is not intentional change, is it?
2.83 solid viewport shading work slowly than 2.82 when shadows is onto Workbench refactor causes significant performance regression with workbench shadowsAdded subscriber: @Jeroen-Bakker
This needs some more research on our side. The shadow buffers are view depenedent. Moving the view triggers shadows buffer recalculation; that is an issue since the original implementation. It could be that the shadows are refreshed too much (every TAA sample?) but would like to dive deeper into this.
Sounds good, thx!
Added subscriber: @zanqdo
I'm testing on a big production scene and get the following periods of UI unresponsiveness after every refresh
Blender 2.82a = 00:30s
Blender 2.92 = 02:40s
Added subscriber: @Alumx
Added subscriber: @JamesBarrie