Commandline Rendering keeps synchronizing and doesn't start rendering #62833

Closed
opened 2019-03-22 10:18:22 +01:00 by Manuel Albert · 19 comments

System Information
Operating system: Windows 7
Graphics card: NVIDIA Quadro K5200
System Memory: 192 GB
CPU: 2x Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz

Blender Version
Broken: 2.80, 0bbff8a711, master, 2019-03-21 00:58
Worked: Tested a few different versions back to Blender 2.80, 790cb7799d, master, 2019-02-19 and all tested didn't work.

Short description of error
Commandline Rendering keeps synchronizing and doesn't start rendering. The console doesn't crash it just keeps synchronizing (after 12 hours I cancelled the process).

It works when started through Blenders Interface (Render Animation) and the scene preparation before rendering takes about 5-10minutes and then it starts and all renders as expected.

The file contains a large environment with lots of plants, rocks, trees, other assets linked in and a highpoly car model (windows shows: 1,76 GB [1.898.231.532 Bytes]) appended into the Set. The environment itself (without the car) is approx. 1.25 GB in size. The complete file size (as shown by Windows) is 3,02 GB (3.243.675.632 Bytes). It peaks around 13/14 GB during rendering and only CPU is used.

I attached two screenshots from console during start (-b -d options) and the system-info.txt

Exact steps for others to reproduce the error
Start cmd.exe, change into directory where the blender executalbe resides and use "blender -b -a"
Blender opens in background mode, opens the file and starts synchronizing (forever).

Because of NDA I cannot attach a blend file and the problem doesn't occure with smaller files. I hope that the information supplied is sufficient.

Thank you.

system-info.txt

screenshots_02.png

screenshot_01.png

**System Information** Operating system: Windows 7 Graphics card: NVIDIA Quadro K5200 System Memory: 192 GB CPU: 2x Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz **Blender Version** Broken: 2.80, 0bbff8a71138, master, 2019-03-21 00:58 Worked: Tested a few different versions back to Blender 2.80, 790cb7799dcf, master, 2019-02-19 and all tested didn't work. **Short description of error** Commandline Rendering keeps synchronizing and doesn't start rendering. The console doesn't crash it just keeps synchronizing (after 12 hours I cancelled the process). It works when started through Blenders Interface (Render Animation) and the scene preparation before rendering takes about 5-10minutes and then it starts and all renders as expected. The file contains a large environment with lots of plants, rocks, trees, other assets linked in and a highpoly car model (windows shows: 1,76 GB [1.898.231.532 Bytes]) appended into the Set. The environment itself (without the car) is approx. 1.25 GB in size. The complete file size (as shown by Windows) is 3,02 GB (3.243.675.632 Bytes). It peaks around 13/14 GB during rendering and only CPU is used. I attached two screenshots from console during start (-b -d options) and the system-info.txt **Exact steps for others to reproduce the error** Start cmd.exe, change into directory where the blender executalbe resides and use "blender -b <filepath> -a" Blender opens in background mode, opens the file and starts synchronizing (forever). Because of NDA I cannot attach a blend file and the problem doesn't occure with smaller files. I hope that the information supplied is sufficient. Thank you. [system-info.txt](https://archive.blender.org/developer/F6864355/system-info.txt) ![screenshots_02.png](https://archive.blender.org/developer/F6864361/screenshots_02.png) ![screenshot_01.png](https://archive.blender.org/developer/F6864360/screenshot_01.png)
Author

Added subscriber: @ManuelAlbert

Added subscriber: @ManuelAlbert
Member

Added subscribers: @Sergey, @brecht, @lichtwerk

Added subscribers: @Sergey, @brecht, @lichtwerk
Member

You say "forever", but screenshots suggest there is actually progress (synchronizing one object after the other).
So does this "stop" at a certain point (no more progress)?

Also it seems like this is already consuming ~20GB [see screenshot], are you possibly running out of RAM (leading to swapping)?
[not quite sure what could cause such a difference between rendering from the UI vs. from the commandline]

Definitely not easy to reproduce if we dont have access to the files, but maybe this rings a bell for @Sergey or @brecht?

You say "forever", but screenshots suggest there is actually progress (synchronizing one object after the other). So does this "stop" at a certain point (no more progress)? Also it seems like this is already consuming ~20GB [see screenshot], are you possibly running out of RAM (leading to swapping)? [not quite sure what could cause such a difference between rendering from the UI vs. from the commandline] Definitely not easy to reproduce if we dont have access to the files, but maybe this rings a bell for @Sergey or @brecht?
Author

Yes, "it keeps progressing over and over" is probably better :). It doesn't stop.
I do have 192GB Ram of System Memory and it doesn't even get close to running out of memoy (uses around 40-50 GB in total).

And as stated above it renders just fine using the regular interface "Render Animation" option.
screenshot_35-09-54_elapsed_01.png

Yes, "it keeps progressing over and over" is probably better :). It doesn't stop. I do have 192GB Ram of System Memory and it doesn't even get close to running out of memoy (uses around 40-50 GB in total). And as stated above it renders just fine using the regular interface "Render Animation" option. ![screenshot_35-09-54_elapsed_01.png](https://archive.blender.org/developer/F6864529/screenshot_35-09-54_elapsed_01.png)
Member

So you see the same objects synchronized twice (or more)?

So you see the same objects synchronized twice (or more)?
Author

Actually I can't tell since there are 7,144 objects in the scene withouth the ones that get linked in. Hard to tell.

Actually I can't tell since there are 7,144 objects in the scene withouth the ones that get linked in. Hard to tell.

We need a .blend file to investigate the issue, it's unclear what in this scene might be causing issues.

You can remove objects and materials, or replace them with dummies, turn off render settings, .. until you narrow down exactly what the problem is.

We need a .blend file to investigate the issue, it's unclear what in this scene might be causing issues. You can remove objects and materials, or replace them with dummies, turn off render settings, .. until you narrow down exactly what the problem is.
Author

I am working on it right now. It may take some time, though.

I am working on it right now. It may take some time, though.
Member

In #62833#646077, @ManuelAlbert wrote:
Actually I can't tell since there are 7,144 objects in the scene withouth the ones that get linked in. Hard to tell.

how about redirecting the output to a file blender -b <filepath> -a >foo.txt and search for double entries?

> In #62833#646077, @ManuelAlbert wrote: > Actually I can't tell since there are 7,144 objects in the scene withouth the ones that get linked in. Hard to tell. how about redirecting the output to a file `blender -b <filepath> -a >foo.txt` and search for double entries?
Author

Okay, thanks for the hint. The linked in and instanced plants are syncronized several times of course since there are a lot of them. Other objects such as car, parts of the set and objects used by the particle system appear only ones in the log. So there's nothing obvious going wrong to my understanding. After 12 hours yesterday it seemd to be still synchronizing the plants as it seems to be in the foo.txt as well.

The foo.txt keeps growing quickly (after 15minutes approx. 160 MB).

Is there a way to supply a file to a developer non publicly?

Okay, thanks for the hint. The linked in and instanced plants are syncronized several times of course since there are a lot of them. Other objects such as car, parts of the set and objects used by the particle system appear only ones in the log. So there's nothing obvious going wrong to my understanding. After 12 hours yesterday it seemd to be still synchronizing the plants as it seems to be in the foo.txt as well. The foo.txt keeps growing quickly (after 15minutes approx. 160 MB). Is there a way to supply a file to a developer non publicly?

You can send me the file privately (to my username @blender.org), however we still expect users to try to isolate the problem first.

If the plants are specifically the problem, try deleting everything else. If you set samples to 1, Simplify settings to 0 and set a material override to a simple material then rendering is usually quite fast.

You can send me the file privately (to my username @blender.org), however we still expect users to try to isolate the problem first. If the plants are specifically the problem, try deleting everything else. If you set samples to 1, Simplify settings to 0 and set a material override to a simple material then rendering is usually quite fast.
Author

Thank you. I will do my best.

Thank you. I will do my best.
Author

@brecht I have send you the file.

I tested on different systems as well:

  1. Windows 7 (system-info is included in the zip-file)
    The file renders when clicking Render Animation in the GUI.
    The file doesn't render when run through commandline and keeps synchronizing.

  2. Windows 10 (system-info included in the zip-file)
    The file renders when clicking Render Animation in the GUI.
    The file doesn't render when run through commandline and keeps synchronizing.

  3. Linux Mint 19.1 (system-info included in the zip-file)
    The file renders when clicking Render Animation in the GUI.
    The file renders when run through commandline (faster than Blender GUI variant).

I also checked on each linked library and tested if they work - didn't notice anything that doesn't work.

Since the file renders fine when the rendering happens through blenders interface but not through commandline on windows 7 & 10, different pc configurations and also renders without any issues on linux mint 19.1 (either GUI and commandline),

I would think that even if it is caused by the linked in library there's something wrong on windows and it probably is supposed to work.

EDIT:
I started a rendertest in our companies renderfarm (windows 7 nodes with a lot of power) using deadline as a render manager [which also creates a simple command] and the job did not render but synchronize for 2 days 19 hours 32 minutes before canceled through user. The same file renders about two hours on a similar machine when rendering is done through blenders user interface including synchronization.

@brecht I have send you the file. I tested on different systems as well: 1) Windows 7 (system-info is included in the zip-file) The file renders when clicking Render Animation in the GUI. The file doesn't render when run through commandline and keeps synchronizing. 2) Windows 10 (system-info included in the zip-file) The file renders when clicking Render Animation in the GUI. The file doesn't render when run through commandline and keeps synchronizing. 3) Linux Mint 19.1 (system-info included in the zip-file) The file renders when clicking Render Animation in the GUI. The file renders when run through commandline (faster than Blender GUI variant). I also checked on each linked library and tested if they work - didn't notice anything that doesn't work. Since the file renders fine when the rendering happens through blenders interface but not through commandline on windows 7 & 10, different pc configurations and also renders without any issues on linux mint 19.1 (either GUI and commandline), I would think that even if it is caused by the linked in library there's something wrong on windows and it probably is supposed to work. EDIT: I started a rendertest in our companies renderfarm (windows 7 nodes with a lot of power) using deadline as a render manager [which also creates a simple command] and the job did not render but synchronize for 2 days 19 hours 32 minutes before canceled through user. The same file renders about two hours on a similar machine when rendering is done through blenders user interface including synchronization.
Author

@brecht after seeing your commit (https://lists.blender.org/pipermail/bf-blender-cvs/2019-March/121596.html) I tested the scene again and it renders without issues. It renders just as supposed via commandline. So I guess this reports status can be changed to solved. Thank you very much.

@brecht after seeing your commit (https://lists.blender.org/pipermail/bf-blender-cvs/2019-March/121596.html) I tested the scene again and it renders without issues. It renders just as supposed via commandline. So I guess this reports status can be changed to solved. Thank you very much.
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Philipp Oeser self-assigned this 2019-03-29 09:24:14 +01:00
Member

Thanks indeed @brecht [good to know printing to command prompt can have such a drastic impact on windows...] and glad to hear this is solved then.

Thanks indeed @brecht [good to know printing to command prompt can have such a drastic impact on windows...] and glad to hear this is solved then.

Added subscriber: @RDrehmer

Added subscriber: @RDrehmer

Sorry to bring this ghost back to life, @brecht , but I'm getting the EXACTLY same issue described here with v2.80 (stable) and 2.81 beta.

Although it doesn't take "forever", it takes almost double the time to render via CMD on Windows than on Blender itself. It seems to be the same issue: object synchronization (and printing to console).
My scene consists in about 2800 objects, all low poly, but linked from an Alembic file.

I think I could provide you some files, if you need. Please, let me know.

Sorry to bring this ghost back to life, @brecht , but I'm getting the EXACTLY same issue described here with v2.80 (stable) and 2.81 beta. Although it doesn't take "forever", it takes almost double the time to render via CMD on Windows than on Blender itself. It seems to be the same issue: object synchronization (and printing to console). My scene consists in about 2800 objects, all low poly, but linked from an Alembic file. I think I could provide you some files, if you need. Please, let me know.

We don't reopen old reports like this, you can always report a new bug with all the required information if you want.

We don't reopen old reports like this, you can always report a new bug with all the required information if you want.
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#62833
No description provided.