Community
Arnold for 3ds Max Forum
Rendering with Arnold in 3ds Max using the MaxtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Shader compilation time per frame

2 REPLIES 2
Reply
Message 1 of 3
giandosopaolo
175 Views, 2 Replies

Shader compilation time per frame

Hi

I am batch rendering a sequence in Arnold using a .bat file

I noticed that for every frame there is a almost 2 m time spent compiling shaders, even when the gpu cache has been precompiled. 

 

 

this is the line from the cmd.exe :

00:29:08 20674MB [gpu] compiling shaders
00:29:09 20674MB | [gpu] shader compilation done in 0:01.519

00:35:18 22496MB | 0% done -- estimated remaining time = 129.4s
00:35:32 22521MB | 5% done -- estimated remaining time = 308.1s
00:35:49 18623MB | 10% done -- estimated remaining time = 301.4s
00:36:06 18624MB | 15% done -- estimated remaining time = 288.8s
00:36:23 18626MB | 20% done -- estimated remaining time = 285.0s
00:36:42 18628MB | 25% done -- estimated remaining time = 297.6s

The rendering time in itself is around 5 m, but like this it grows to 7 m per frame, which makes a difference on the long term.   

Is this normal? Shouldn't the shaders be compiled just once?

 

 

Labels (5)
2 REPLIES 2
Message 2 of 3

That looks like less than 2 seconds to me...

00:29:08 20674MB [gpu] compiling shaders 
00:29:09 20674MB | [gpu] shader compilation done in 0:01.519 

 



// Stephen Blair
// Arnold Renderer Support
Message 3 of 3

Oh gosh, so stupid of me, I thought it was described as in hours and minutes 😳

But then, why are my rendering taking longer than what is written?

From the last frame to this frame, the render time I witnessed is 4-5 minutes. But the rendering time indicated in the cmd is much less: 2:42.902

 

[gpu] shader compilation done in 0:01.469
01:06:26 19907MB | 0% done -- estimated remaining time = 114.4s
01:06:35 19930MB | 5% done -- estimated remaining time = 181.4s
01:06:44 19931MB | 10% done -- estimated remaining time = 161.9s
01:06:53 19933MB | 15% done -- estimated remaining time = 159.8s
01:07:03 19933MB | 20% done -- estimated remaining time = 161.1s
01:07:14 19935MB | 25% done -- estimated remaining time = 166.1s
01:07:25 19937MB | 30% done -- estimated remaining time = 155.8s
01:07:36 19938MB | 35% done -- estimated remaining time = 153.6s
01:07:49 19940MB | 40% done -- estimated remaining time = 159.4s
01:08:03 18757MB | 45% done -- estimated remaining time = 157.0s
01:08:18 18758MB | 50% done -- estimated remaining time = 152.2s
01:08:34 18759MB | 55% done -- estimated remaining time = 147.4s
01:08:52 18762MB | 60% done -- estimated remaining time = 148.1s
01:09:07 18763MB | 65% done -- estimated remaining time = 19.3s
01:09:07 18763MB | 100% done -- estimated remaining time = 0.0s
01:09:07 18763MB | render done in 2:42.902

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report