You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
background rendering doesn't render the whole (larger duration) animation #1015
Issue description:
I changed the duration of an animation to 59s. Background rendering stops at somewhere around 12s. Doesn't render further even if I place the time cursor manually on the gray areas.
changed the title [-]background rendering doesn't render the whole (larger) duration animations[/-][+]background rendering doesn't render the whole (larger duration) animation[/+]on Nov 22, 2019
If you mean RAM I have firefox and synfig running right now. The task manager indicates 1.4/3.8 GB is used. Looks there's still plenty enough room.
But if you mean video memory (since I don't have a dedicated GPU equipped on my notebook computer) then I think my computer is... only good enough for programming ;D
Maybe, I can work in small (10s) sections for my animation and clip them together afterward.
Overall I think this issue is hardware related and not synfig related. Should close this issue?
background renderer has an internal fixed hardcoded memory limit for background frames - 512Mb
in file synfig-studio/src/gui/workarearenderers/renderer_canvas.cpp at line 92
i thunk that eating of all avialable memory just for cache is not a good solution because an operating system has another applications to run at the same time with synfig. I think exists a solution to communicate with OS mark this memory as the cache for OS, and when system will require more memory we can free some from old preprendered images. But to implement it we need to do a three different solutions for Linux, for MacOS and for Windows - seems unreal.
we may add environment variable to control this limit, or add it to preferences
also we can set limit in depend from amount of installed RAM, but it will not work fine in some cases.
for example if you install more memory for specific task - not for extending a synfig cache - but to run a virtual machine for example, or for other user in multiuser machine, etc
in current synfig build, as a workaround, you may to reduce the size of visible workarea in pixels (do zoomout, or resize window to make visible worarea smaller) and press refresh button
i thunk that eating of all avialable memory just for cache is not a good solution because an operating system has another applications to run at the same time with synfig.
Now I see the reason for not rendering larger duration animation (memory limit) is by design.
as a workaround, you may to reduce the size of visible workarea in pixels
Or limit the animation length (in my case 10s max) and not suffer quality loss.
Or limit the animation length (in my case 10s max) and not suffer quality loss.
you doen no need to split the file
You cannot prerender the whole animation, but you have ability to select which part of your animation will be prerendered. Just set time cursor into middle of your animation and press 'refresh' button to free already prerendered data. After that prerenderer will render some frames forward and a little frames backward from the time cursor.
Activity
[-]background rendering doesn't render the whole (larger) duration animations[/-][+]background rendering doesn't render the whole (larger duration) animation[/+]morevnaproject commentedon Nov 23, 2019
Please check memory usage on your system - background rendering stops when it getting close to memory limit.
Keyikedalube commentedon Nov 24, 2019
If you mean RAM I have firefox and synfig running right now. The task manager indicates 1.4/3.8 GB is used. Looks there's still plenty enough room.
But if you mean video memory (since I don't have a dedicated GPU equipped on my notebook computer) then I think my computer is... only good enough for programming ;D
Maybe, I can work in small (10s) sections for my animation and clip them together afterward.
Overall I think this issue is hardware related and not synfig related. Should close this issue?
morevnaproject commentedon Nov 25, 2019
@Keyikedalube Hmm... it uses RAM only, no GPU memory involved. So, there is some problem here/
@blackwarthog Any ideas?
blackwarthog commentedon Nov 25, 2019
Keyikedalube commentedon Nov 26, 2019
Now I see the reason for not rendering larger duration animation (memory limit) is by design.
Or limit the animation length (in my case 10s max) and not suffer quality loss.
blackwarthog commentedon Nov 26, 2019
Keyikedalube commentedon Jan 17, 2020
I'm closing this issue because I feel the current solution of hardcoding memory limit is better both for