Time required for rendering in cycle increased in the latest build. #50001

Closed
opened 2016-11-12 02:38:07 +01:00 by perfection cat · 24 comments

System Information
OS: windows10 pro
GPU: NVidia GTX-1070
MEMORY:16GB

Blender Version
Broken: 2.78.2(Hash: 7fd2efa)
Worked: 2.78.1(Hash: cf8f6d1)

Short description of error
It was finished in the former build in 54 seconds, but takes 63 seconds in the latest build.
Hash of the build before having used it. (Hash: cf8f6d1)
Hash_cf8f6d1.png
Hash of the latest build. (Hash: 7fd2efa)
Hash_7fd2efa.png

System Info:
system-info.txt
Exact steps for others to reproduce the error
Based on a (as simple as possible) attached .blend file with minimum amount of steps

**System Information** OS: windows10 pro GPU: NVidia GTX-1070 MEMORY:16GB **Blender Version** Broken: 2.78.2(Hash: 7fd2efa) Worked: 2.78.1(Hash: cf8f6d1) **Short description of error** It was finished in the former build in 54 seconds, but takes 63 seconds in the latest build. Hash of the build before having used it. (Hash: cf8f6d1) ![Hash_cf8f6d1.png](https://archive.blender.org/developer/F397723/Hash_cf8f6d1.png) Hash of the latest build. (Hash: 7fd2efa) ![Hash_7fd2efa.png](https://archive.blender.org/developer/F397725/Hash_7fd2efa.png) System Info: [system-info.txt](https://archive.blender.org/developer/F397727/system-info.txt) **Exact steps for others to reproduce the error** Based on a (as simple as possible) attached .blend file with minimum amount of steps
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @sindra1961

Added subscriber: @sindra1961

Added subscriber: @brecht

Added subscriber: @brecht

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Brecht Van Lommel self-assigned this 2016-11-13 02:00:39 +01:00

This is due to 93ace71bd. Initially we had the light sampling threshold optimization enabled in all existing files, but now it's done only in new files for backwards compatibility.

You can try manually setting it to 0.05 to get the performance the same again.

This is due to 93ace71bd. Initially we had the light sampling threshold optimization enabled in all existing files, but now it's done only in new files for backwards compatibility. You can try manually setting it to 0.05 to get the performance the same again.
Author

I tried it, but still take a lot of time for five seconds.
I think that there is the different cause.

I tried it, but still take a lot of time for five seconds. I think that there is the different cause.

Changed status from 'Archived' to: 'Open'

Changed status from 'Archived' to: 'Open'
Author

A rendering domain is small in the latest build.
Does it contribute to take rendering time more?

Before build
before_build.png
Latest build
latest_build.png

A rendering domain is small in the latest build. Does it contribute to take rendering time more? Before build ![before_build.png](https://archive.blender.org/developer/F398807/before_build.png) Latest build ![latest_build.png](https://archive.blender.org/developer/F398809/latest_build.png)

Added subscriber: @Sergey

Added subscriber: @Sergey

Are you using auto tile size addon?

Are you using auto tile size addon?
Author

No, I do not use it.
However, I validated it, but the result was the same.

No, I do not use it. However, I validated it, but the result was the same.
Author

Though I open the same blend file, the default size of the tile is different.
I make tile size the same and tried it, but after all the latest build is slower.
(I tried it again in Hash:69470e3.)

Though I open the same blend file, the default size of the tile is different. I make tile size the same and tried it, but after all the latest build is slower. (I tried it again in Hash:69470e3.)
Author

I found something.
error.png

Error Message

File "F:\Blender_Git\build_windows_Full_x64_vc12_Release\bin\Release\2.78\scripts\addons\render_auto_tile_size.py", line 149, in engine_is_gpu
  return engine == 'CYCLES' and device == 'GPU' and userpref.system.compute_device_type != 'NONE'

AttributeError: 'UserPreferencesSystem' object has no attribute 'compute_device_type'
Traceback (most recent call last):

File "F:\Blender_Git\build_windows_Full_x64_vc12_Release\bin\Release\2.78\scripts\addons\render_auto_tile_size.py", line 177, in on_scene_update
  threads = get_threads(context, device)
File "F:\Blender_Git\build_windows_Full_x64_vc12_Release\bin\Release\2.78\scripts\addons\render_auto_tile_size.py", line 208, in get_threads
  if engine_is_gpu(engine, device, userpref):
File "F:\Blender_Git\build_windows_Full_x64_vc12_Release\bin\Release\2.78\scripts\addons\render_auto_tile_size.py", line 149, in engine_is_gpu

I found something. ![error.png](https://archive.blender.org/developer/F401176/error.png) **Error Message** ``` File "F:\Blender_Git\build_windows_Full_x64_vc12_Release\bin\Release\2.78\scripts\addons\render_auto_tile_size.py", line 149, in engine_is_gpu return engine == 'CYCLES' and device == 'GPU' and userpref.system.compute_device_type != 'NONE' ``` AttributeError: 'UserPreferencesSystem' object has no attribute 'compute_device_type' Traceback (most recent call last): ``` File "F:\Blender_Git\build_windows_Full_x64_vc12_Release\bin\Release\2.78\scripts\addons\render_auto_tile_size.py", line 177, in on_scene_update threads = get_threads(context, device) File "F:\Blender_Git\build_windows_Full_x64_vc12_Release\bin\Release\2.78\scripts\addons\render_auto_tile_size.py", line 208, in get_threads if engine_is_gpu(engine, device, userpref): File "F:\Blender_Git\build_windows_Full_x64_vc12_Release\bin\Release\2.78\scripts\addons\render_auto_tile_size.py", line 149, in engine_is_gpu ``` ****

This is an error from auto tile size addon (so you DO use this addon ;)

This addon is broken since dd92123.

@brecht, i will let you to deal with this, i was never up to that compat breaking.

This is an error from auto tile size addon (so you DO use this addon ;) This addon is broken since dd92123. @brecht, i will let you to deal with this, i was never up to that compat breaking.
Author

@Sergey
No, I did not use it.
I ran it in factory settings and chose GPU device and tried it after I set 0.05 for light sampling.
Because you asked me about that addon, I validated it later.
noaddon.png

@Sergey No, I did not use it. I ran it in factory settings and chose GPU device and tried it after I set 0.05 for light sampling. Because you asked me about that addon, I validated it later. ![noaddon.png](https://archive.blender.org/developer/F401567/noaddon.png)

Did you check that tile size is the same across cf8f6d1 (the one which was fast for you) and the current latest builds?

Did you check that tile size is the same across cf8f6d1 (the one which was fast for you) and the current latest builds?
Author

@Sergey, @brecht
I tested it in the latest build. (Hash: e17b92f)
I excluded that addon, and rendering was completed in the fastest time when I set most suitable tile size. (50sec)
Thank you for advice.

@Sergey, @brecht I tested it in the latest build. (Hash: e17b92f) I excluded that addon, and rendering was completed in the fastest time when I set most suitable tile size. (50sec) Thank you for advice.

This issue was referenced by blender/cycles@6dd03c01b5

This issue was referenced by blender/cycles@6dd03c01b5a8890d442b2ff1bc52810cb2134a17

This issue was referenced by 60409841a4

This issue was referenced by 60409841a4b9308575b108933f5e4c0d96e64f7e

This issue was referenced by blender/blender-addons@fcdeee23b3

This issue was referenced by blender/blender-addons@fcdeee23b3ce58010692e949df65e4013279a499

This issue was referenced by blender/blender-addons@71daaea8cd

This issue was referenced by blender/blender-addons@71daaea8cd689acdcc958a8c711a5b64156165f3

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Author

I'm sorry.
I thought that I reported that it became same as the past to you.

@Sergey Sharybin (sergey), @brecht Van Lommel (brecht)
I tested it in the latest build. (Hash: e17b92f)
I excluded that addon, and rendering was completed in the fastest time when I set most suitable tile size. (50sec)
Thank you for advice.

I confirmed it in Hash: 411836d.
Thank you.

I'm sorry. I thought that I reported that it became same as the past to you. > @Sergey Sharybin (sergey), @brecht Van Lommel (brecht) > I tested it in the latest build. (Hash: e17b92f) > I excluded that addon, and rendering was completed in the fastest time when I set most suitable tile size. (50sec) > Thank you for advice. I confirmed it in Hash: 411836d. Thank you.
Author

Processing time becomes 5% long.

Processing time becomes 5% long.
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#50001
No description provided.