Render fails with abort, no error log.

187 views
Skip to first unread message

Donald Powers

unread,
Dec 23, 2014, 12:13:39 PM12/23/14
to Natro...@googlegroups.com
I have the latest release installed on a Pentium 4 hyper-threaded Dell. The application is installed in a 32 bit environment under Windows 7 and an Ubuntu 14.04 OS's. Both applications fail to completely render to .mov prores files. It also fails with renders to other formats. It does initiate render but fails to complete. The Linux install completes more frames than the Window build. Both applications are installed with the available binaries from the SourceForge site.  I have run a memory test and ensured Natron can be run with full privileges in Windows. I have reinstalled in Ubuntu and changed the preferences settings in Windows. A complete render fails in all cases. Default settings are currently restored. The effect chain includes a Mpeg2 I-frame .mp4 file with choma key over a still image. The video is 900 frames long @ 29.97 fps. The problem did not exist in the last RC in Ubuntu. I only installed the latest release in Windows. 

Guidance on the matter would be appreciated.

Alexandre

unread,
Dec 23, 2014, 12:18:20 PM12/23/14
to Donald Powers, Natro...@googlegroups.com
How does it stops ? Crash ? Hang ? Does it give you any error message ? Can you post a video showcasing the error ?

On 23 Dec 2014, at 18:13, Donald Powers <donkp...@gmail.com> wrote:

I have the latest release installed on a Pentium 4 hyper-threaded Dell. The application is installed in a 32 bit environment under Windows 7 and an Ubuntu 14.04 OS's. Both applications fail to completely render to .mov prores files. It also fails with renders to other formats. It does initiate render but fails to complete. The Linux install completes more frames than the Window build. Both applications are installed with the available binaries from the SourceForge site.  I have run a memory test and ensured Natron can be run with full privileges in Windows. I have reinstalled in Ubuntu and changed the preferences settings in Windows. A complete render fails in all cases. Default settings are currently restored. The effect chain includes a Mpeg2 I-frame .mp4 file with choma key over a still image. The video is 900 frames long @ 29.97 fps. The problem did not exist in the last RC in Ubuntu. I only installed the latest release in Windows. 

Guidance on the matter would be appreciated.

--
You received this message because you are subscribed to the Google Groups "Natron" group.
To unsubscribe from this group and stop receiving emails from it, send an email to Natron-VFX+...@googlegroups.com.
To post to this group, send email to Natro...@googlegroups.com.
Visit this group at http://groups.google.com/group/Natron-VFX.
To view this discussion on the web visit https://groups.google.com/d/msgid/Natron-VFX/b5f67c50-950f-4d70-b01d-29b53441ba1c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Donald Powers

unread,
Dec 23, 2014, 1:48:31 PM12/23/14
to Natro...@googlegroups.com
I get the message that the render was aborted. That is all.

Upon further testing, I simplified the process to write a single still image (1280x720 png) to prores video for 30 seconds. The project settings are custom with 1280x720 square pixel. I still get the abort message. However, I am now also receiving ffmpeg error message that Natron cannot allocate memory. As a side test, I ran an encode from the terminal using my build of ffmpeg. That method successfully converted the still image to prores file, as expected.

I don't believe I can capture a video from my screen, my computer is quite under powered by current standards. Natron is using nearly all the CPU to perform its tasks.

Donald Powers

unread,
Dec 23, 2014, 2:29:15 PM12/23/14
to Natro...@googlegroups.com

Repeating the operation, here are screen shots.


On Tuesday, December 23, 2014 12:13:39 PM UTC-5, Donald Powers wrote:

Alexandre

unread,
Dec 23, 2014, 2:31:00 PM12/23/14
to Donald Powers, Natro...@googlegroups.com
Can you try by turning on “Render in a separate process” in the General tab of the Preferences ?
I suspect you have not enough RAM and the cache is eating up all your memory.

-- 
You received this message because you are subscribed to the Google Groups "Natron" group.
To unsubscribe from this group and stop receiving emails from it, send an email to Natron-VFX+...@googlegroups.com.
To post to this group, send email to Natro...@googlegroups.com.
Visit this group at http://groups.google.com/group/Natron-VFX.

Donald Powers

unread,
Dec 23, 2014, 4:20:01 PM12/23/14
to Natro...@googlegroups.com
Okay, I tried that in Ubuntu, it locks up my screen and I had to crash the computer to clear it. I checked the box in the Windows environment earlier and had problems as well. I have 4 gigs of memory installed in a 32 bit machine.


On Tuesday, December 23, 2014 12:13:39 PM UTC-5, Donald Powers wrote:

Donald Powers

unread,
Dec 23, 2014, 4:24:20 PM12/23/14
to Natro...@googlegroups.com
I should also say, when in Windows, I have not exceeded 70% of memory usage during the operations. I'm not sure about Ubuntu because I didn't look closely. The operation appears normal until the time the render is automatically aborted. The only other programs that are running is Resource Monitor in Windows and top in the terminal in Ubuntu.


On Tuesday, December 23, 2014 12:13:39 PM UTC-5, Donald Powers wrote:

Donald Powers

unread,
Dec 23, 2014, 5:19:33 PM12/23/14
to Natro...@googlegroups.com

Increased reserved RAM to 11%. Here are the screen shots, including top just before the render aborted.





On Tuesday, December 23, 2014 12:13:39 PM UTC-5, Donald Powers wrote:

Alexandre

unread,
Dec 24, 2014, 10:43:38 AM12/24/14
to Donald Powers, Natro...@googlegroups.com
Hi Donalod,

Try to lower the maximum amount of RAM used for caching. The problem being the cache eating up all your memory. 
What worries me is the “Cannot allocate memory” error, meaning it didn’t find enough available memory to allocate a chunk to process. 

-- 
You received this message because you are subscribed to the Google Groups "Natron" group.
To unsubscribe from this group and stop receiving emails from it, send an email to Natron-VFX+...@googlegroups.com.
To post to this group, send email to Natro...@googlegroups.com.
Visit this group at http://groups.google.com/group/Natron-VFX.

Donald Powers

unread,
Dec 24, 2014, 11:52:55 AM12/24/14
to Natro...@googlegroups.com
I shall comply later today when I have time to work with Natron. Thank you for your attention to the matter.


On Tuesday, December 23, 2014 12:13:39 PM UTC-5, Donald Powers wrote:

Donald Powers

unread,
Dec 24, 2014, 2:53:11 PM12/24/14
to Natro...@googlegroups.com
I ran the same test again in a new project. First I reset all preferences then I set cache at 34%. Restarted Natron and ran it as previously outlined. The same failure and symptoms appear. The memory climbs steadily to 84.8% and the render self aborts. Same ffmpeg error. As far as I can see, changing the cache parameter has no effect.




On Tuesday, December 23, 2014 12:13:39 PM UTC-5, Donald Powers wrote:

Alexandre

unread,
Dec 25, 2014, 2:40:59 AM12/25/14
to Donald Powers, Natro...@googlegroups.com
Hi Donald, have you tried running NatronRenderer (which is just the command line renderer) ? 

In fact the cache in your project shouldn’t even be used internally, so I’m wondering what takes up all this memory. 

-- 
You received this message because you are subscribed to the Google Groups "Natron" group.
To unsubscribe from this group and stop receiving emails from it, send an email to Natron-VFX+...@googlegroups.com.
To post to this group, send email to Natro...@googlegroups.com.
Visit this group at http://groups.google.com/group/Natron-VFX.

Donald Powers

unread,
Dec 25, 2014, 7:23:07 AM12/25/14
to Natro...@googlegroups.com
I saw the .exe file in Windows. I'd rather stay away from troubleshooting in Windows, it is such a pain to recover. There is not a manpage in Ubuntu, could someone share the procedure for running the renderer from the terminal? Thank you.


On Tuesday, December 23, 2014 12:13:39 PM UTC-5, Donald Powers wrote:

Gmail

unread,
Dec 25, 2014, 8:32:40 AM12/25/14
to Donald Powers, Natro...@googlegroups.com
If you run ./NatronRenderer you will get some help


--
You received this message because you are subscribed to the Google Groups "Natron" group.
To unsubscribe from this group and stop receiving emails from it, send an email to Natron-VFX+...@googlegroups.com.
To post to this group, send email to Natro...@googlegroups.com.
Visit this group at http://groups.google.com/group/Natron-VFX.

Donald Powers

unread,
Dec 25, 2014, 9:48:21 AM12/25/14
to Natro...@googlegroups.com
Yes, thank you. The bash file will not execute.


#!/bin/bash


SOURCE="${BASH_SOURCE[0]}"

while [ -h "$SOURCE" ]; do

  DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"

  SOURCE="$(readlink "$SOURCE")"

  [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE"

done

DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"


export LC_NUMERIC=C

export LD_LIBRARY_PATH=$DIR/lib:$LD_LIBRARY_PATH


#if [ -f $DIR/share/OpenColorIO-Configs/nuke-default/config.ocio ]; then

#  export OCIO=$DIR/share/OpenColorIO-Configs/nuke-default/config.ocio

#fi


if [ -f $DIR/bin/python2.7 ]; then

  export PYTHON_HOME=$DIR

  export PATH=$DIR/bin:$PATH

fi

if [ -f $DIR/lib/python2.7 ]; then

  export PYTHON_PATH=$DIR/lib/python2.7

fi


if [ "$1" == "-debug" ]; then

  export SEGFAULT_SIGNALS="all"

  catchsegv $DIR/bin/NatronRenderer.debug -style fusion $*

else

  $DIR/bin/NatronRenderer -style fusion $*

fi



On Tuesday, December 23, 2014 12:13:39 PM UTC-5, Donald Powers wrote:

Gmail

unread,
Dec 25, 2014, 10:23:32 AM12/25/14
to Donald Powers, Natro...@googlegroups.com
You have to type the following:

./NatronRenderer.sh


--
You received this message because you are subscribed to the Google Groups "Natron" group.
To unsubscribe from this group and stop receiving emails from it, send an email to Natron-VFX+...@googlegroups.com.
To post to this group, send email to Natro...@googlegroups.com.
Visit this group at http://groups.google.com/group/Natron-VFX.

Donald Powers

unread,
Dec 25, 2014, 10:59:52 AM12/25/14
to Natro...@googlegroups.com
Yes, thank you. The script does not execute.



On Tuesday, December 23, 2014 12:13:39 PM UTC-5, Donald Powers wrote:

soz...@gmail.com

unread,
Dec 25, 2014, 2:33:14 PM12/25/14
to Natro...@googlegroups.com
I ran into the same issues,
On linux mint, my computer has 14Go of ram,
I've got a project with about 10 images sequences composited together and much nodes...

If I work in preview proxy(2) I've got no problems, but when I start rendering my ram get's full after 7/8 images rendered...
I've tried to render by the comand line with natronrenderer and it's the same...
Tweaking cache settings or render in a separate process doesn't seems to help,

For now I've done a little bash script that render 6 frames by 6 frames and that's ok,



Alexandre

unread,
Dec 25, 2014, 5:32:02 PM12/25/14
to soz...@gmail.com, Natro...@googlegroups.com
Ok I found the issue, the problem is that in a very simple graph such as
Reader
Writer

The reader is much faster than the writer somehow, and buffers the frame ‘ahead’ which the writer is rendering sequentially the video. The problem is that at some point the reader might very well be 1000 frames ahead, and all of them remain in memory to be processed eventually by the writer. This behaviour generally doesn’t apply to graphs slightly bigger because the rendering time of the graph upstream compensate for the file writing time.

I will adjust the internal scheduler so this case never occurs. You can expect the fix in v1.0.1
> --
> You received this message because you are subscribed to the Google Groups "Natron" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to Natron-VFX+...@googlegroups.com.
> To post to this group, send email to Natro...@googlegroups.com.
> Visit this group at http://groups.google.com/group/Natron-VFX.
> To view this discussion on the web visit https://groups.google.com/d/msgid/Natron-VFX/e6ab5b18-5a4d-4fac-9898-fa0f7652afe4%40googlegroups.com.

Donald Powers

unread,
Dec 25, 2014, 6:31:17 PM12/25/14
to Natro...@googlegroups.com
I am relieved the problem has been identified and can be fixed. I appreciate your hard work and attention to the problem, MrKepzie. Natron is a fine tool and often the only tool for a particular situation. I shall look forward to the release of the next version.


On Tuesday, December 23, 2014 12:13:39 PM UTC-5, Donald Powers wrote:

Alexandre

unread,
Dec 26, 2014, 8:49:18 AM12/26/14
to Donald Powers, Natro...@googlegroups.com
Alright this has been completely fixed, report when update will be available if the problem still persists. 

-- 
You received this message because you are subscribed to the Google Groups "Natron" group.
To unsubscribe from this group and stop receiving emails from it, send an email to Natron-VFX+...@googlegroups.com.
To post to this group, send email to Natro...@googlegroups.com.
Visit this group at http://groups.google.com/group/Natron-VFX.
Reply all
Reply to author
Forward
0 new messages