## Resume rendering

Please use this forum for general user support and related questions.

Moderator: coordinators

Forum rules
Please include your operating system type/version, LuxRender version and Exporter version used when submitting a support post.

Make sure you have read the Release forum thread for Release and RC (Release Candidates) builds as these threads contain information on known problems and workarounds: Test Builds Forum

### Resume rendering

Hi there,

I have a problem getting the resume feature to work, using Ubuntu 8.04 64 bit and the latest CVS Luxrender, with the Blender exporter.
I made a scene in blender and exported it after selecting "write/use FLM" in the exporter settings. I also selected "restart/erase" since I had done some test renders and wanted to restart with a new flm for this one. This all seems to work - there are messages like "Writing film status to file /home/mark/Documents/blender/fizzy/fizzy.flm" periodically in the Lux log, and the .flm file is created.

Some time later, for a completely unrelated reason, my computer crashed. So, I loaded the same scene in Blender, exported again, this time selecting "write/use FLM" but NOT "restart/erase". After clicking render, Lux started and after the usual startup messages, the log says:

Code: Select all
2008-Aug-30 22:06:45 Info: (0) Reading film status from file /home/mark/Documents/blender/fizzy/fizzy.flm2008-Aug-30 22:06:45 Info: (0) Receiving 7.4274e+07 samples (little endian true)

And then continues as normal. The thing is, despite saying it is reading the .flm file, it restarts from a blank image. I have also tried exporting a test scene without "restart/erase" selected and letting it run for a bit, then reloading the lxs file directly from Luxrender, but I get the same result.

I know there were some problems with resume in Windows, but are there any known issues in Linux? Or am I doing something wrong?

grasshopper

Posts: 28
Joined: Thu Oct 25, 2007 8:47 am

### Re: Resume rendering

i can tell you that it works for me, tested just now - without crash, though
64 bit cvs with blender

black silence

Posts: 5
Joined: Tue Jul 22, 2008 5:02 am

### Re: Resume rendering

Hi,

I don't think there is any problem with the code here,
what i think the issue might be is that lux was writing to the FLM file when your computer crashes,
thereby resulting in a corrupt FLM file, which gives you a black image...

Can you try rendering another image with resume and close lux after it's writen it's first file,
then see if you can resume from it ?

Posts: 3968
Joined: Wed Sep 19, 2007 2:13 am

### Re: Resume rendering

I tried that with some other scenes, same result. It always restarts. This time I was watching the date stamp of the flm file to see when it gets written. It is written at the times when Lux says it is writing the flm file, and also when I close the Luxrender gui window, so it seems that the writing part is OK. The log also says it is reading film samples from the file. I looked in the lxs file generated by Luxblend, and it contains

"bool write_resume_flm" ["true"] "bool restart_resume_flm" ["false"]

which seems to be correct. Is there anything I can do to pin this down a bit more? I realise there's not much to go on here when it seems to work for everyone else!

grasshopper

Posts: 28
Joined: Thu Oct 25, 2007 8:47 am