Very slow subsurface with material mode in viewport and before rendering. #49499

Closed
opened 2016-09-30 15:32:06 +02:00 by Vyacheslav Kobozev · 10 comments

System Information
Win7 x64
nVidia 640GT
Xeon E5450 3Ghz

Blender Version
Broken: 2.78 (rc2 or release)
Worked: 2.77a

Short description of error
Subsurf is very slow with 2 and 3 steps when I am in material mode in the viewport.
Object is simple but multimaterial.
Subsurf is fast in the solid mode, but if I making subsurf in solid and switch back to material view, I have long delay.
Also long delay between sculpt and object mode. Long delay with Undo, deleting vertex group from object etc.
The same is without UV-subdividing. The same with switching UV-subdivide option.
The same with duplicating this object. The same with opening file.

Here is the object
slowsubsurf.7z

**System Information** Win7 x64 nVidia 640GT Xeon E5450 3Ghz **Blender Version** Broken: 2.78 (rc2 or release) Worked: 2.77a **Short description of error** Subsurf is very slow with 2 and 3 steps when I am in material mode in the viewport. Object is simple but multimaterial. Subsurf is fast in the solid mode, but if I making subsurf in solid and switch back to material view, I have long delay. Also long delay between sculpt and object mode. Long delay with Undo, deleting vertex group from object etc. The same is without UV-subdividing. The same with switching UV-subdivide option. The same with duplicating this object. The same with opening file. Here is the object [slowsubsurf.7z](https://archive.blender.org/developer/F371450/slowsubsurf.7z)

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @Vyach

Added subscriber: @Vyach

Added subscribers: @AlexanderRomanov, @Sergey

Added subscribers: @AlexanderRomanov, @Sergey
Alexander Romanov was assigned by Sergey Sharybin 2016-10-06 15:24:37 +02:00

Talked briefly to @AlexanderRomanov in IRC, he offered his help helping here :)

Talked briefly to @AlexanderRomanov in IRC, he offered his help helping here :)

I confirm the performance regression caused by 5abae51 and 5494ea1 . Will investigate it tomorrow.

I confirm the performance regression caused by 5abae51 and 5494ea1 . Will investigate it tomorrow.

Bad performance caused by tangent calculation needed for Normal Mapping. The "Normal Map" node had not been working at all till these two patches were commited. I have similar performance as before the patches if I mute the "Normal Map" in material shader.
I see slow performance for non-node material with normal mapping and similar mesh complexity before these patches.

Bad performance caused by tangent calculation needed for Normal Mapping. The "Normal Map" node had not been working at all till these two patches were commited. I have similar performance as before the patches if I mute the "Normal Map" in material shader. I see slow performance for non-node material with normal mapping and similar mesh complexity before these patches.

Alexander, thanks for details.
So it is another one reason to keep strict workflow from modeling to texturing

Alexander, thanks for details. So it is another one reason to keep strict workflow from modeling to texturing

Added subscriber: @brecht

Added subscriber: @brecht

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

This should be fixed by 5a0f397eaa, latest builds from https://builder.blender.org/download/ should have faster normal map computation again (though obviously not as fast as no computation at all).

This should be fixed by 5a0f397eaa, latest builds from https://builder.blender.org/download/ should have faster normal map computation again (though obviously not as fast as no computation at all).
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
4 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#49499
No description provided.