Double render times with Cycles 2.69 vs 2.70RC #39089

Closed
opened 2014-03-10 13:40:10 +01:00 by Clemens Rudolph · 20 comments

System Information
Win7
I7-2600K
2 x GeForce GTX 580
Driver: 334.89

Blender Version
Broken: 2.70 RC
Worked: 2.69

Short description of error

Hello Devs,

unfortunately I have almost double cycles rendertimes with 2.70 RC.
Mike Pans BMW renders in the same time but my files has problems.
Perhaps it has something to do with linking. I link 28 objects in the szene.

Rendertimes:
2.69 Resolution: 50%HD, 100spmls, 2x GPU 26 sec, CPU 3:13
2.70 Resolution: 50%HD, 100smpls, 2x GPU 45 sec, CPU 6:29

I can´t upload the production folder because it is to big. I tried to delete all necessary stuff but it´s still to big.
But here is a dropbox link:
https://dl.dropboxusercontent.com/u/15310188/render%20bug.zip

(By the way I won a trailer competition for the local short filmfestival
with the video I made with the attached file: http://www.kurzfilmwoche.de/)

**System Information** Win7 I7-2600K 2 x GeForce GTX 580 Driver: 334.89 **Blender Version** Broken: 2.70 RC Worked: 2.69 **Short description of error** Hello Devs, unfortunately I have almost double cycles rendertimes with 2.70 RC. Mike Pans BMW renders in the same time but my files has problems. Perhaps it has something to do with linking. I link 28 objects in the szene. Rendertimes: 2.69 Resolution: 50%HD, 100spmls, 2x GPU 26 sec, CPU 3:13 2.70 Resolution: 50%HD, 100smpls, 2x GPU 45 sec, CPU 6:29 I can´t upload the production folder because it is to big. I tried to delete all necessary stuff but it´s still to big. But here is a dropbox link: https://dl.dropboxusercontent.com/u/15310188/render%20bug.zip (By the way I won a trailer competition for the local short filmfestival with the video I made with the attached file: http://www.kurzfilmwoche.de/)

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @ClemensRudolph

Added subscriber: @ClemensRudolph

#39280 was marked as duplicate of this issue

#39280 was marked as duplicate of this issue

Added subscribers: @ThomasDinges, @brecht, @mont29

Added subscribers: @ThomasDinges, @brecht, @mont29

Think this is for you, guys?

Think this is for you, guys?

Added subscriber: @Sergey

Added subscriber: @Sergey
Member

Added subscriber: @MartijnBerger

Added subscriber: @MartijnBerger
Member

does this also happen when using a single GPU ?

does this also happen when using a single GPU ?

Added subscriber: @ignatz

Added subscriber: @ignatz

I'm seeing similar time differences on my system. Only tested it with the GPU, but yeah a bit more than two times slower on Blender 2.7 for this file.

Blender 2.69 - r60995
time: 46.21 seconds

Blender 2.70 - hash 211f08d
time: 2 minutes and 8.5 seconds

Windows 7 Pro 64-bit
core i7-4770K 3.5 GHz
ASUS nVidia GeForce GTX 760 2GB GDDR5 DirectCU Mini

I'm seeing similar time differences on my system. Only tested it with the GPU, but yeah a bit more than two times slower on Blender 2.7 for this file. Blender 2.69 - r60995 time: 46.21 seconds Blender 2.70 - hash 211f08d time: 2 minutes and 8.5 seconds Windows 7 Pro 64-bit core i7-4770K 3.5 GHz ASUS nVidia GeForce GTX 760 2GB GDDR5 DirectCU Mini

It is also with simgle GPU.
I think it has something to do with linking (and or depsgraph).
I will try later with BI.

It is also with simgle GPU. I think it has something to do with linking (and or depsgraph). I will try later with BI.
Member

I have bisected and arrived at:

37c4d6a50a

this commit causes this issue

I have bisected and arrived at: 37c4d6a50a7dc8e819ecab208f150ceb0ae1d01c this commit causes this issue

Wow, thanks for the effort!

Wow, thanks for the effort!

Added subscriber: @RonanZeegers

Added subscriber: @RonanZeegers

◀ Merged tasks: #39280.

◀ Merged tasks: #39280.
Brecht Van Lommel was assigned by Thomas Dinges 2014-03-20 13:34:55 +01:00
Member

Added subscriber: @Lockal

Added subscriber: @Lockal
Member

Confirming bisect by @juicyfruit.

Before commit: 00:32.53
After commit: 01:34.59

Note that the following materials have misconnected node trees both to surface and volume sockets:

  • Stuhl_Stoff.alt.fleck
  • Stuhl_Stoff.alt
  • Stuhl_Stoff.alt mit fleck
  • Stuhl_Stoff.alt:FLECK

After fixing materials in 4 library files (which can be filtered in Outliner in "Blender file" mode), the rendertime goes back to 32 seconds.

Confirming bisect by @juicyfruit. Before commit: 00:32.53 After commit: 01:34.59 Note that the following materials have misconnected node trees both to surface and volume sockets: * Stuhl_Stoff.alt.fleck * Stuhl_Stoff.alt * Stuhl_Stoff.alt mit fleck * Stuhl_Stoff.alt:FLECK After fixing materials in 4 library files (which can be filtered in Outliner in "Blender file" mode), the rendertime goes back to 32 seconds.

@Lockal's findings gave me an idea.

If a node is connected to the Volume Output, "shader->has_volume" is true in shader.cpp.
This leads to "SD_HAS_TRANSPARENT_SHADOW" being set, and therefore more work and BVH intersections in shadow_blocked().

Solution: Check the nodes that are connected to the Volume output and ignore them, if no valid Volume closure is present.

@Lockal's findings gave me an idea. If a node is connected to the Volume Output, "shader->has_volume" is true in shader.cpp. This leads to "SD_HAS_TRANSPARENT_SHADOW" being set, and therefore more work and BVH intersections in shadow_blocked(). Solution: Check the nodes that are connected to the Volume output and ignore them, if no valid Volume closure is present.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

I wouldn't consider this a bug even. We could make the code smarter here, but it's not possible to do this reliably in all cases even. I've added it to the todo list now:
http://wiki.blender.org/index.php/Dev:2.6/Source/Render/Cycles/Volume

I wouldn't consider this a bug even. We could make the code smarter here, but it's not possible to do this reliably in all cases even. I've added it to the todo list now: http://wiki.blender.org/index.php/Dev:2.6/Source/Render/Cycles/Volume
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
9 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#39089
No description provided.