Wait_for_rendered_frames never finishes

Hello,

we use a kit app as a render job. The process get its job through a http-service, sets everything up (loads a stage, positions the camera etc.) and then it renders an image and sends this image back.

This works very good… but in some cases the call to wait_for_rendered_frames never comes back (we use this for example to wait for path tracing and passes for example 60 frames to wait for.

My last idea was ecoMode… so we disable ecoMode now befor rendering, but that did not change anything… it works… somethime many hundred auf renderings and than… it suddenly stops.

Is there any way to check if everything is healthy or something like that? Or are there any known situations when this calls waits endless?

Thanks

Carl

Hi @c.bickmeier. I’ll check on this for you.

Hi Mati,

I’ve found the problem, why it runs so long…

I get the message “waiting for shader compilation” in this scenario, but I don’t understand why because all the shaders should already be compiled and in most of this cases a parallel running process does not have to compile those shaders.

Can you tell me how to reset the shader cache?

Thanks

Carl