Author Topic: Corona DR  (Read 12116 times)

2015-11-25, 18:26:22

DarcTheo

  • Active Users
  • **
  • Posts: 175
    • View Profile
So we use a NAS drive shared across all our machines, all mapped to the same letter - N. When we try to use Corona DR it constantly says it cant find materials using the following N path even though all those machines can access the drive with the same directory.

The only way it does work is if we go to the asset tracker thing in max and resolve path to UNC location. Is this a must every time we want to use the DR?

Then the other question is....some of the machines are different specs, so sometimes a scene will run out of RAM on a couple of machines and it warns about having different results in the final image, how do we stop this from happening while still using all the machines?

Thanks

2015-11-25, 18:49:42
Reply #1

Frood

  • Active Users
  • **
  • Posts: 1922
    • View Profile
    • Rakete GmbH
[...] even though all those machines can access the drive with the same directory.

How do you define a "machine"? It´s always a user account/credentials who can access something (localy or on a network). So which account runs DrServer.exe? And has THAT user also your "N"-drive mapped?

The only way it does work is if we go to the asset tracker thing in max and resolve path to UNC location. Is this a must every time we want to use the DR?

I do not know any reason to use (legacy) network letters but running DOS emulators :) UNC makes less trouble in all respects.

Good Luck!



Never underestimate the power of a well placed level one spell.

2015-11-26, 09:36:17
Reply #2

DarcTheo

  • Active Users
  • **
  • Posts: 175
    • View Profile
[...] even though all those machines can access the drive with the same directory.

How do you define a "machine"? It´s always a user account/credentials who can access something (localy or on a network). So which account runs DrServer.exe? And has THAT user also your "N"-drive mapped?

The only way it does work is if we go to the asset tracker thing in max and resolve path to UNC location. Is this a must every time we want to use the DR?

I do not know any reason to use (legacy) network letters but running DOS emulators :) UNC makes less trouble in all respects.

Good Luck!

by machine i just mean another PC with its own account for that PC, all of them mapped to use N as the shared drive.

If using UNC is the way to go then I will just keep using that but is there a way to get it to map like that by default? or do you always have to go into the asset tracker?

2015-11-26, 10:33:07
Reply #3

Frood

  • Active Users
  • **
  • Posts: 1922
    • View Profile
    • Rakete GmbH
by machine i just mean another PC with its own account for that PC, all of them mapped to use N as the shared drive.

Where does who have which account? Usually a PC cannot "map a drive" at all. Only a user account can. So most important again: which account/user runs DrServer.exe on your slaves? If you want to solve this you may want to describe your setup more detailed. Maybe you run some nasty NAS client software of which I don´t have any knowledge :)

If using UNC is the way to go then I will just keep using that but is there a way to get it to map like that by default? or do you always have to go into the asset tracker?

Usually it´s no problem to use drive letters but UNC is more fail safe as you can see (not only relating to Corona). And the paths used are simply those you have defined in your materials (Xrefs/IES_Lights/Output Paths and so on go the same). So if you want to make a paradigm change to UNC you will have to adjust all your materials (including libraries) and props one by one. When creating new ones you simply do not load "N:\Textures\Wood\shinywood.tga" but navigate to "\\NAS\sharename\Textures\Wood\shinywood.tga" and load that instead.

For conversion you can use various tools, one of them is the asset tracker but also "Bitmap / Photometric Paths" (in utilities) can be handy or some external tool like "Relink Bitmaps"

https://forum.corona-renderer.com/index.php/topic,3441.msg25225.html#msg25225

Good Luck!


« Last Edit: 2015-11-26, 10:38:42 by Frood »
Never underestimate the power of a well placed level one spell.

2015-11-26, 11:00:22
Reply #4

DarcTheo

  • Active Users
  • **
  • Posts: 175
    • View Profile
Usually it´s no problem to use drive letters but UNC is more fail safe as you can see (not only relating to Corona). And the paths used are simply those you have defined in your materials (Xrefs/IES_Lights/Output Paths and so on go the same). So if you want to make a paradigm change to UNC you will have to adjust all your materials (including libraries) and props one by one. When creating new ones you simply do not load "N:\Textures\Wood\shinywood.tga" but navigate to "\\NAS\sharename\Textures\Wood\shinywood.tga" and load that instead.

I understand now! I didn't realise navigating to the texture different like that would give it a different path name. I just tested going through the network instead of straight through "N:" I'll just make sure to navigate the network like this when linking files.

In terms of more detail how the PCs are setup, there is say workstation 1, work station 2 and node 1 node 2. Node 1 has account Node 1, node 2 has account Node 2. Both are always running DR.exe and have NAS mapped to N:. Its the same for workstation 1 - account is workstation 1 etc. They submit render and the nodes pick it up and help to render.

However just navigating for textures how you explained is probably just easier and then running asset tracker or relink bitmaps if accidently miss any.

Do you know how to fix the RAM problem though? when it says a node has run out of RAM and results may differ, what do I do in that situation? just not use the nodes?


2015-11-26, 12:23:04
Reply #5

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12768
  • Marcin
    • View Profile
Do you know how to fix the RAM problem though? when it says a node has run out of RAM and results may differ, what do I do in that situation? just not use the nodes?

-upgrade RAM
-optimize scene as much as possible
-avoid any other activity on the computers which are rendering - close all unused applications, do not perform any other tasks like playing videos, running other 2d/3d editing software
-there may be some error in the scene/file, or a bug, which causes this

When you are getting an error message/warning, you should also see a "learn more" link, which will take you to a dedicated helpdesk guide.
https://coronarenderer.freshdesk.com/support/solutions/articles/5000675903

Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-11-26, 12:39:11
Reply #6

DarcTheo

  • Active Users
  • **
  • Posts: 175
    • View Profile
Thanks, I have looked around at these, sometimes optimisation of the scene can't be fully achieved. In these cases, Im not really sure how progressive rendering works with a network but would lowering the 'max pixels to transfer at once' mean the lower spec PC could still help out? and is it better to synch at more frequent times or less frequent times?

I dont want lines to appear in the image if i transfer less pixels. Not sure if im missing somewhere i can read about the details of DR.

2015-11-26, 15:01:32
Reply #7

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12768
  • Marcin
    • View Profile
You can read tooltips after hovering your mouse over the spinners (the actual spinners, not the text fields or names). Maybe this will help.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-11-26, 15:32:17
Reply #8

atelieryork

  • Active Users
  • **
  • Posts: 283
    • View Profile
    • Atelier York
I still hold out hope that you guys will remove the need for UNC paths for DR to work. It's really killing a lot of time having to set that up and remember to keep doing it for every project, and many times within each project too.
Alex York
Atelier York
www.atelieryork.co.uk
max 2016 sp1, corona 1.3 final, win 8.1. pro

2015-11-26, 16:25:23
Reply #9

DarcTheo

  • Active Users
  • **
  • Posts: 175
    • View Profile
I still hold out hope that you guys will remove the need for UNC paths for DR to work. It's really killing a lot of time having to set that up and remember to keep doing it for every project, and many times within each project too.

After the explination above and the use of relink bitmaps, it is rather simple. Asset tracker was an inconvenience. I dont feel so bad about the UNC now.

I'm still not finding much info on how the DR works though, the tool tips only say so much. I want to know if synching frequently is better and if using smaller packages of pixels to save on RAM for lower spec machines will result in an inconsistant image or not.

2015-11-26, 17:30:08
Reply #10

Frood

  • Active Users
  • **
  • Posts: 1922
    • View Profile
    • Rakete GmbH
[...] the need for UNC paths for DR to work. [...]

There is none. If you run DrServer by a user/account which has the drive mapped everything works as expected.

Good Luck
Never underestimate the power of a well placed level one spell.

2015-11-26, 17:42:33
Reply #11

atelieryork

  • Active Users
  • **
  • Posts: 283
    • View Profile
    • Atelier York
Is this since 1.3? Because we went through this many, many times here doing exactly that in 1.2.1, setting up the usual mapped network drives etc. and it never worked unless we use UNC paths e.g. \\machine1\project\project1\map.jpg. Nothing else worked.

If that's changed since 1.3 then freakin' halleluja!

edit: nope, still not working here. I have 2 machines with mapped network drives, both able to see the main machine just fine. But if I map to local paths DR won't work - I get missing maps errors. As soon as I change to UNC it works.
« Last Edit: 2015-11-26, 18:14:51 by atelieryork »
Alex York
Atelier York
www.atelieryork.co.uk
max 2016 sp1, corona 1.3 final, win 8.1. pro

2015-11-27, 09:54:16
Reply #12

Frood

  • Active Users
  • **
  • Posts: 1922
    • View Profile
    • Rakete GmbH
I have 2 machines with mapped network drives, both able to see the main machine just fine. But if I map to local paths DR won't work - I get missing maps errors. As soon as I change to UNC it works.

Local paths are something completely different. This thread was about using mapped drives. So if you use at your local machine a path like N:\textures\wood\shinywood.tga in a material, where N is mapped to \\server\stuff\ (with "textures" as subdirectory of your share root) and the user(!) which runs drserver.exe on your slave also has this share mapped to N:\ everything is peachy.

But of course if you use at your local machine e.g. C:\data\textures\wood\shinywood.tga and your slave even does not  have this c:\data\[..,] directory with the same maps it fails. BUT if your local machine shares this "C:\data" and you point to your local directory by using UNC, your local machine acts like a server and it works. Is this what you did?

Nutshell:
There are three different ways to point at assets:

1. Local Pahts (nono for DR/BB)
2. Mapped drives (quite ok but not very fail safe)
3. UNC (fail save)

Just imagine opening your scene at the remote slave: paths have to be configured simply in such way that the scene would render fine when opened interactively there by the user who runs drserver.exe


Good Luck





Never underestimate the power of a well placed level one spell.

2015-11-27, 10:04:07
Reply #13

atelieryork

  • Active Users
  • **
  • Posts: 283
    • View Profile
    • Atelier York
I have 2 machines with mapped network drives, both able to see the main machine just fine. But if I map to local paths DR won't work - I get missing maps errors. As soon as I change to UNC it works.

Local paths are something completely different. This thread was about using mapped drives. So if you use at your local machine a path like N:\textures\wood\shinywood.tga in a material, where N is mapped to \\server\stuff\ (with "textures" as subdirectory of your share root) and the user(!) which runs drserver.exe on your slave also has this share mapped to N:\ everything is peachy.

But of course if you use at your local machine e.g. C:\data\textures\wood\shinywood.tga and your slave even does not  have this c:\data\[..,] directory with the same maps it fails. BUT if your local machine shares this "C:\data" and you point to your local directory by using UNC, your local machine acts like a server and it works. Is this what you did?

Nutshell:
There are three different ways to point at assets:

1. Local Pahts (nono for DR/BB)
2. Mapped drives (quite ok but not very fail safe)
3. UNC (fail save)

Just imagine opening your scene at the remote slave: paths have to be configured simply in such way that the scene would render fine when opened interactively there by the user who runs drserver.exe


Good Luck

Hi Frood,

That's exactly what we tried here. By local I meant a mapped path to F:\Projects\, which is the same on all machines. Just as you described. So all 3 machines point to the exact same absolute mapped path e.g. F:\Projects\Project1\maps\map1.jpg. But it doesn't work at all. All the machines can see the same folders and files and have write privilleges to them. But as soon as you try to read them over DR it fails. As soon as we switch to UNC paths it works 100%. We have tried quite literally everything we can think of to get it to work through mapped network drives but no joy.
Alex York
Atelier York
www.atelieryork.co.uk
max 2016 sp1, corona 1.3 final, win 8.1. pro

2015-11-27, 10:32:37
Reply #14

Frood

  • Active Users
  • **
  • Posts: 1922
    • View Profile
    • Rakete GmbH
Hi Alex,

There is no reason why it should not work. What´s the name of the user behind "drserver.exe" in the process tab of the taskmanager on your slaves? And are you logged in at the slave as that user when checking if the "machine can see the folder". Again, I can´t emphasize it more (while I´m always getting ignored :) it´s not about a machine seeing something / having a drive mapped but about the user running drserver.

Good Luck
Never underestimate the power of a well placed level one spell.