Commandline render takes too long synchronizing objects in cycles #69843

Closed
opened 2019-09-13 15:14:26 +02:00 by Ricardo Drehmer · 10 comments

System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 431.60

Blender Version
Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: f6cb5f5449
Worked: (optional)

Short description of error
Commandline render takes a big amount of time synchronizing all objects in scene.
It seems to be just a matter of taking too long to actually PRINT the log to console, as per https://developer.blender.org/T62833.

Exact steps for others to reproduce the error

  • Factory settings
  • Create 3000 cubes (separate objects)
  • Set engine to Cycles
  • Save file
  • Press F12, just for cientific purposes. Buckets should start immediately.
  • Close Blender and run a command line frame render. Here is what I used:
cd %blender%
blender -b "path\file.blend" -f 0

It should take several seconds to synchronize from Cube to Cube.3000 prior to actually start rendering.

**System Information** Operating system: Windows-10-10.0.18362 64 Bits Graphics card: GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 431.60 **Blender Version** Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: `f6cb5f5449` Worked: (optional) **Short description of error** Commandline render takes a big amount of time synchronizing all objects in scene. It seems to be just a matter of taking too long to actually PRINT the log to console, as per https://developer.blender.org/T62833. **Exact steps for others to reproduce the error** - Factory settings - Create 3000 cubes (separate objects) - Set engine to Cycles - Save file - Press F12, just for cientific purposes. Buckets should start immediately. - Close Blender and run a command line frame render. Here is what I used: ``` cd %blender% blender -b "path\file.blend" -f 0 ``` It should take several seconds to synchronize from Cube to Cube.3000 prior to actually start rendering.

Added subscriber: @RDrehmer

Added subscriber: @RDrehmer
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

Please prepare a .blend file so that everyone can reproduce the issue using the same file.

Please prepare a .blend file so that everyone can reproduce the issue using the same file.

a.blend

Sure! Here it is!
It's a file set for Cycles rendering with 3000 cubes.

Again, the command used for rendering was:

cd %blender%
blender -b "path\file.blend" -f 0

And, as per bug report mentioned above, it seems to occur on Windows only

[a.blend](https://archive.blender.org/developer/F7758380/a.blend) Sure! Here it is! It's a file set for Cycles rendering with 3000 cubes. Again, the command used for rendering was: ``` cd %blender% blender -b "path\file.blend" -f 0 ``` And, as per bug report mentioned above, it seems to occur on Windows only
Member

Added subscriber: @brecht

Added subscriber: @brecht
Member

Can confirm the issue. The syncing takes about 20s for me when its printing to the Powershell on windows. Without the printing it is done in less than a second.
Maybe there should be a command line option to disable the printing? Or maybe it is faster to log everything to a file instead? I don't know what the best solution to the problem is.

Can confirm the issue. The syncing takes about 20s for me when its printing to the Powershell on windows. Without the printing it is done in less than a second. Maybe there should be a command line option to disable the printing? Or maybe it is faster to log everything to a file instead? I don't know what the best solution to the problem is.

I guess a single print of "Synchronizing objects" could be sufficient for a normal situation.
And if you need a print for each object (to see which one is taking too long, for example), one could enable a debug mode or raise the verbosity level up a notch.

I guess a single print of "Synchronizing objects" could be sufficient for a normal situation. And if you need a print for each object (to see which one is taking too long, for example), one could enable a debug mode or raise the verbosity level up a notch.

Added subscriber: @ThomasDinges

Added subscriber: @ThomasDinges

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Thomas Dinges self-assigned this 2022-11-24 16:36:17 +01:00

Cannot confirm this anymore with Blender 3.4, total render time is 00:08.71.

Cannot confirm this anymore with Blender 3.4, total render time is 00:08.71.
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
3 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#69843
No description provided.