Page MenuHome

Command Line Rendering with EEVEE is slow
Confirmed, NormalPublicBUG


Win 7 Pro 64Bit
GTX 1070
Driver: 417.22

Blender Version

If I render with EEVEE via Command Line, the GPU Load is around 40-50% (4min 33sec).
Rendered the same scene in a normal way via Gui, the GPU Load is around 90-98% (3min 20sec).

If I render the same scene with Cycles via Command Line, the GPU Load is around 90-98%

blender -b PathToBlend -a

I've tried several scenes with the same result all the time.

Event Timeline

Sebastian Parborg (zeddb) lowered the priority of this task from 90 to Normal.

I can not reproduce this in Linux. I get the reverse (and that is to be expected if it works correctly).

inside blender: 02.43
from command line: 01.08

Could be a driver issue or something we are doing bad on our end. Difficult to say. "Minimized" applications may have lower priority to the GPU.

Cycles is a different beast and does not use OpenGL for rendering so no surprize about that.

Thank you so much for your trouble.

I just searched unsuccessfully for a program to increase the GPU priority.

If any of you are using Windows and do not have this slowdown, please post your Nvidia driver version.

I have now tested half a dozen drivers (current version 399.24).
No change.

@Hans Nolte (ditos) , isn't that render time a bit too much? I've GTX 1070 as well and this animation render finished around ~20 seconds (similar results with both command line and GUI)(I've around %60 GPU usage).
By the way how do you guys check total animation render time for Eevee?

My System Info
Windows-10 64 Bits
GeForce GTX 1070 NVIDIA 419.67 (I use Creator Ready Drivers, Idk if that makes much difference)
Blender version: 2.80 (sub 74), branch: blender2.7, commit date: 2019-06-08 13:24, hash: rB81b68f7279cd

Hi Emir,

the render times did not refer to the attached files, they were just an example.
For the Eevee Scene I also only need 21sec.

For the total render time you can use the file properties of Windows.
This is not an exact seconds specification, but it is sufficient for an overview.

I was able to find a solution for checking animation render time thanks to @Gavin Scott (Zoot) . I typed this to Powershell:

Measure-Command {start-process blender -argumentlist "-b cube.blend -a" -wait}

I still have the same problem.

Rendering direct in Blender = 21sec
Rendering via Powershell = 30sec

By the way...
Nice solution with the Powershell.

Any news with this issue? I have same problem with Cycles.

Ray molenkamp (LazyDodo) triaged this task as Low priority.Sep 20 2019, 7:13 PM

I did some profiling

GUI Render

CLI Render

seems like some color management is done for the cli render while not being required for the gui renders somehow, on top of that it seems to create the color transform over and over again for each frame rather than caching it

I think @Brecht Van Lommel (brecht) is most familiar with the color managment code?

Ray molenkamp (LazyDodo) raised the priority of this task from Low to 50.Sep 20 2019, 7:32 PM

after some discussion with @Dalai Felinto (dfelinto) on chat re-triaged as medium.

Germano Cavalcante (mano-wii) changed the subtype of this task from "Report" to "Bug".