CGRU / cgru

CGRU - AFANASY
http://cgru.info/
GNU Lesser General Public License v3.0
276 stars 111 forks source link

Dynamically release Tickets during execution #582

Open jonassorgenfrei opened 1 year ago

jonassorgenfrei commented 1 year ago

Hey,

Houdini introduced a new render procedural systems to solaris/husk. The render procedural can be executed prior to the rendering and tho create the geometry only in memory.

Reasonably it requires a houdini engine license to run that procedural from husk but this aquired license get's released (in process) once this step is done and the render delegate starts rendering. As far as we know it's not yet possible to release tickets in afanasy while the task is still running/in process?

100 frames render:

Currently we would have to "freeze" both licenses for the complete two hour rendertime.

Would this be something that can be added? Or is there already something in place covering this? Thanks for your help in advance!

Cheers

Jonas (RISE FX)

lithorus commented 1 year ago

Does it even indicate when it starts and stops using the engine license in the log output? If not, it will be hard to detect it and release it.

jonassorgenfrei commented 1 year ago

Hey @lithorus

yes in the log it shows when the procedural starts and when it ends. But i haven't seen any log about the engine license in particular. Will try to check with Sidefx if they can add a notification explicitly about the license release.

Cheers Jonas

timurhai commented 1 year ago

Hello! Unfortunately, Afanasy can't release running task ticket.

jonassorgenfrei commented 1 year ago

Hey @timurhai

thanks for your answer, do you think this would be possible to add? Or do we have to considered something else to track the licenses used then the task tickets?

Cheers Jonas

timurhai commented 1 year ago

I think that it is possible, but not easy. As for now any release operations are going only on task release (after finish).