Moving from classic LuxRender

Use this forum for general user support and related questions.
User avatar
Dade
Developer
Posts: 1338
Joined: Mon Dec 04, 2017 8:36 pm

Re: Moving from classic LuxRender

Post by Dade » Tue Apr 10, 2018 2:51 pm

klayman wrote:
Tue Apr 10, 2018 2:42 pm
Thanks again! Unfortunately, I'm not good at coding. I need a wrapper for the pyluxcoreconsole.cmd as I'm trying to render on a remote machine (not within my local network). I tried to create the luxcoreconsole.py file:
My solution was for netnode, with netconsole (note: "netconsole" not "console", they are 2 different tools now) you have to pass as argument the file to render.

But there is more, do you want to run all nodes and the console on a remote network ? Or they are on different networks ? Auto-discovery works only on local network (where broadcast service is available).
Support LuxCoreRender project with salts and bounties

klayman
Posts: 20
Joined: Tue Jan 09, 2018 3:21 pm

Re: Moving from classic LuxRender

Post by klayman » Tue Apr 10, 2018 3:09 pm

Actually, I don't need any networking between working nodes at all. It would be fine if I could ssh to some remote host and just submit a batch of files to render from command line.

User avatar
Dade
Developer
Posts: 1338
Joined: Mon Dec 04, 2017 8:36 pm

Re: Moving from classic LuxRender

Post by Dade » Tue Apr 10, 2018 3:39 pm

klayman wrote:
Tue Apr 10, 2018 3:09 pm
Actually, I don't need any networking between working nodes at all. It would be fine if I could ssh to some remote host and just submit a batch of files to render from command line.
So you are you going to use a single rendering node ? That is a different problem and it is very easy to solve:

1) export in binary format from BlendLuxCore (i.e. .bcf file);

2) transfer the file on the remote machine;

3) download LuxCoreRender (OpenCL-less version I guess) on the remote machine and unpack the archive;

4) run something like:

Code: Select all

./luxcoreconsole -D batch.haltspp 2000 scene.bcf
Support LuxCoreRender project with salts and bounties

klayman
Posts: 20
Joined: Tue Jan 09, 2018 3:21 pm

Re: Moving from classic LuxRender

Post by klayman » Wed Apr 11, 2018 1:02 am

Dade wrote:
Tue Apr 10, 2018 3:39 pm
4) run something like:

Code: Select all

./luxcoreconsole -D batch.haltspp 2000 scene.bcf
The problem was that there is no luxcoreconsole binary in the LuxCoreRender standalone archives (I asked about this in the first post here). But it's included with the SDK and works fine, thank you! There is a glibc version mismatch on the remote host though, but it's unrelated to this discussion and I hope I'll be able to workaround this.

lighting_freak
Posts: 93
Joined: Thu Jan 18, 2018 6:02 pm

Re: Moving from classic LuxRender

Post by lighting_freak » Thu Oct 04, 2018 6:27 am

Hi all,

I`m running into some issues while testing the "network rendering".
My operating system in Windwos 7.
First I was trying to open LuxCore network render from Blender.
After pressing the button an GUI appears that allows me select betwenn NetNode or NetConsole.
OK that seems to work like described in the wiki, but after selecting one of these options nothing else happens.

My next attempt was running the pyluxcorettols.exe from Desktop, but that leads to identical result.
Last test I did was running the *.exe from command prompt and at least I'm receiving this error message after selection of NetConsole:

Code: Select all

C:\>C:\Users\Martin\Downloads\luxcorerender-v2.1alpha4-win64-opencl\pyluxcoretoo
l.exe
ImportError: numpy.core.multiarray failed to import
ImportError: numpy.core.umath failed to import
ImportError: numpy.core.umath failed to import

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "pyluxcoretool.py", line 74, in <module>
  File "C:\Users\Martin\AppData\Local\Temp\_MEI52322\pyluxcoretools.zip\pyluxcor
etools\pyluxcoremenu\cmd.py", line 59, in main
  File "C:\Users\Martin\AppData\Local\Temp\_MEI52322\pyluxcoretools.zip\pyluxcor
etools\pyluxcorenetconsole\ui.py", line 442, in ui
SystemError: <Boost.Python.function object at 0x0000000002BD1580> returned a res
ult with an error set
[1724] Failed to execute script pyluxcoretool
Slightly different message while selecting NetNode option:

Code: Select all

C:\>C:\Users\Martin\Downloads\luxcorerender-v2.1alpha4-win64-opencl\pyluxcoretoo
l.exe
ImportError: numpy.core.multiarray failed to import
ImportError: numpy.core.umath failed to import
ImportError: numpy.core.umath failed to import

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "pyluxcoretool.py", line 74, in <module>
  File "C:\Users\Martin\AppData\Local\Temp\_MEI56362\pyluxcoretools.zip\pyluxcor
etools\pyluxcoremenu\cmd.py", line 57, in main
  File "C:\Users\Martin\AppData\Local\Temp\_MEI56362\pyluxcoretools.zip\pyluxcor
etools\pyluxcorenetnode\ui.py", line 125, in ui
SystemError: <Boost.Python.function object at 0x0000000002BD5530> returned a res
ult with an error set
[324] Failed to execute script pyluxcoretool
Does anyone know what`s wrong?
Thanks for helping me.

BR
OS - Windows 7 X64
CPU - Intel CORE i7
GPU1 - Variants of notebook card from nVidia
GPU2 - Variants of notebook onboard card from Intel
Lux - Latest possible relaease

acasta69
Developer
Posts: 51
Joined: Tue Jan 09, 2018 3:45 pm

Re: Moving from classic LuxRender

Post by acasta69 » Thu Oct 04, 2018 7:20 am

Pyinstaller was not including numpy within the modules packed in pyluxcoretool.exe
This should now be fixed.

If you need a working version immediately, let me know: the file is too large to attach it here, so I have to send it in other way.
Windows 10 64 bits, i7-4770 3.4 GHz, RAM 16 GB, GTX 970 4GB v382.05

lighting_freak
Posts: 93
Joined: Thu Jan 18, 2018 6:02 pm

Re: Moving from classic LuxRender

Post by lighting_freak » Thu Oct 04, 2018 10:07 am

Hi acasta69,

well, I woudn*t die if I dont have this option available, but I would like to continue my experiments.
Do you see a simple way to tranfer the fixed data to me?
Thanks in advance.

BR
OS - Windows 7 X64
CPU - Intel CORE i7
GPU1 - Variants of notebook card from nVidia
GPU2 - Variants of notebook onboard card from Intel
Lux - Latest possible relaease

acasta69
Developer
Posts: 51
Joined: Tue Jan 09, 2018 3:45 pm

Re: Moving from classic LuxRender

Post by acasta69 » Thu Oct 04, 2018 11:30 am

Windows 10 64 bits, i7-4770 3.4 GHz, RAM 16 GB, GTX 970 4GB v382.05

lighting_freak
Posts: 93
Joined: Thu Jan 18, 2018 6:02 pm

Re: Moving from classic LuxRender

Post by lighting_freak » Thu Oct 04, 2018 2:56 pm

Hi,

thank you for the quick update.
The NetConsole is running now...

Now we came up with some new problems.
I`ve exported a blender render setup using the binary option (as described).
After opening the Job in NetConsole this message appears:

Code: Select all

LuxCore 2.1alpha4
NetBeaconReceiver thread started.
Creating single image render farm job: C:/Users/Martin/Desktop/Job/Subsurface_Scattering_LuxCore/00001.bcf
New render farm job: C:/Users/Martin/Desktop/Job/Subsurface_Scattering_LuxCore/00001.bcf
Job file md5: 23f64fdf2ce68b66378e255ec7176e5f
Previous scene MD5: 23f64fdf2ce68b66378e255ec7176e5f
Current scene MD5:  23f64fdf2ce68b66378e255ec7176e5f
C:/Users/Martin/Desktop/Job/Subsurface_Scattering_LuxCore/00001-netrendering exists and is valid. Continue the rendering
[Errno 2] No such file or directory: 'C:/Users/Martin/Desktop/Job/Subsurface_Scattering_LuxCore/00001-netrendering/render.seed'
Traceback (most recent call last):
  File "C:\Users\Martin\AppData\Local\Temp\_MEI63842\pyluxcoretools.zip\pyluxcoretools\renderfarm\renderfarmjobsingleimage.py", line 148, in __CheckWorkDirectoryMD5AndSeed
    oldSeed = fsutils.ReadFileLine(self.seedFileName)
  File "C:\Users\Martin\AppData\Local\Temp\_MEI63842\pyluxcoretools.zip\pyluxcoretools\utils\filesystem.py", line 21, in ReadFileLine
    with open(fileName, "rb") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'C:/Users/Martin/Desktop/Job/Subsurface_Scattering_LuxCore/00001-netrendering/render.seed'
Deleting all films and MD5s in: C:/Users/Martin/Desktop/Job/Subsurface_Scattering_LuxCore/00001-netrendering
-------------------------------------------------------
Job started: C:/Users/Martin/Desktop/Job/Subsurface_Scattering_LuxCore/00001.bcf
-------------------------------------------------------
Film merge thread started
Sorry for causing that much trouble.

BR
OS - Windows 7 X64
CPU - Intel CORE i7
GPU1 - Variants of notebook card from nVidia
GPU2 - Variants of notebook onboard card from Intel
Lux - Latest possible relaease

User avatar
Dade
Developer
Posts: 1338
Joined: Mon Dec 04, 2017 8:36 pm

Re: Moving from classic LuxRender

Post by Dade » Thu Oct 04, 2018 3:35 pm

You seem to have some incomplete file (may be created from a previous run), can you try to delete "C:/Users/Martin/Desktop/Job/Subsurface_Scattering_LuxCore/00001-netrendering"directory and re-run the rendering ?

P.S. Network rendering is highly un-test.
Support LuxCoreRender project with salts and bounties

Post Reply