Slow Vray Export on random Scenes

Hi ChaosGroup-Team and Forum-Members,

from time to time Maya / VRay takes forever to calculate a .vrscene for a specific renderlayer with very simple elements in it.

For this specific example a renderlayer with a sphere/black surface shader and an animated camera took about 10 minutes to export.

In other scenes its lighting fast and we are not able to track down the error. I already created the scene from scratch and it’s still slow.

Specs:

Centos 7
Maya 2018.3
Vray 3.6.04

I attached a vrayscene file just in case someone would like to look at it…

Any help would be appreciated.

Kind Regards
Pirmin

After some exporting and waiting, I discovered something or maybe it’s just a coincidence.

If the final .vrscene seems to be very small(like smaller then 1mb) it takes a very long time(13 minutes). If it’s 40-360 mb or even more it writes out the layer with the whole animation within seconds.

Shall I send the scene file to the support for further investigation or is there some kind of “hidden” button that I missed :confused: ?

Kind Regards
Pirmin

Yes, scene would be definitely required since we haven’t noticed such behaviour in our internal tests.
Please send it to support@chaosgroup.com and include a link to this thread for a reference.

Thank you very much in advance.

Hello again,

Would you please let us know whether the scene is sent or not?
Thank you very much in advance.

Hello, sry was caught up with other stuff during production, I will set up the scene today for you guys and send you an wetransfer link via mail!

Thank you very much for your patience!

Pirmin

Please include a link to this thread for a reference.

Or send the scene directly to me - this sounds concerning and I’d like to run some tests asap - alexander.yolov@chaosgroup.com - and yes - do reference the thread title or a link to this thread so I’d know what I’m looking at :slight_smile:

Oh sry, I actually send the mail with a link to this thread a couple of days ago, but I’ll send it to alexander.yolov@chaosgroup.com right away in a few minutes :slight_smile:

OK, got the scene, thanks. Exports in a split-second for me with 3.60.04 and Next.
But one thing I’ve noticed is that you export to a /mnt/ location on Linux - is that a mounted network drive?
This makes me think that you might have some network issues, especially if the same scene would export really fast all the time, but is very slow every now and then randomly.
Can you try the same thing when writing on a local drive?

Hey, thanks for taking a look at the scene.

I copied the scene to my local documents folder and rendered the layers: “SolarWind_Displaced_ShrinkWarp_Layer1” and “SolarWind_Displaced_OverEarth_Layer1” on my local harddrive

The ShrinkWarp layers renders as on the network drive very fast, but OverEarth takes again forever to render.

I’m not sure if it’s a network issue because if a renderlayer exports fast, it always exports fast and if it’s slow from the beginning like the “OverEarth_Layer1” it’s always slow. I’ll try it on a different workstation, maybe thats the problem… I’ll report back on monday

Thanks for your effort, much appreciated. Now I know that the error has to be on our side!

Kind Regards
Pirmin

I just think that the problem might be on your side, I can’t be absolutely positive though :slight_smile:
Still, all layers export very fast for me, and the only clue I have so far is the /mnt/ path for export.
Do let me know how it goes and if you come back with more info, I might be able to think of something else.

The export times are quite fast here too, but I noticed there are some errors with missing Alembic Libraries:
Can you send us the full project, right now I have only Maya file?

[2018/Sep/17|13:34:26] V-Ray: Exporting scene to V-Ray.
[2018/Sep/17|13:34:26] V-Ray: Parsing light links time  0h  0m  0.0s (0.0 s)
[2018/Sep/17|13:34:26] V-Ray debug: Using image file prefix "tmp/seq_130/seq_130_sc_002/seq_130_sc_002_SolarWind_Breit_Close/seq_130_sc_002_SolarWind_Breit_Close_v012/seq_130_sc_002_SolarWind_Breit_Close_v012"
[2018/Sep/17|13:34:26] V-Ray debug: Exporting scene lights.
[2018/Sep/17|13:34:26] V-Ray debug: NDAG: 1029
[2018/Sep/17|13:34:26] V-Ray debug: Exporting scene geometry and materials.
[2018/Sep/17|13:34:26] V-Ray debug: Number of dependency nodes: 2216
[2018/Sep/17|13:34:26] V-Ray: Translating scene geometry for V-Ray
[2018/Sep/17|13:34:26] V-Ray debug: Creating default lights.
[2018/Sep/17|13:34:26] V-Ray: Total time translating scene for V-Ray  0h  0m  0.1s (0.1 s)
[2018/Sep/17|13:34:26] V-Ray: Rendering.
[2018/Sep/17|13:34:26] V-Ray: Clearing bitmap cache memory...
[2018/Sep/17|13:34:26] V-Ray debug: cmd: vrend -q 
[2018/Sep/17|13:34:26] V-Ray debug: vrend result: false
[2018/Sep/17|13:34:26] V-Ray debug: cmd: vrend -isRendering 
[2018/Sep/17|13:34:26] V-Ray debug: vrend result: true
[2018/Sep/17|13:34:26] V-Ray: Updating frame at time 1037.00
[2018/Sep/17|13:34:26] V-Ray:  (Estimated time remaining:  0h  0m  0.4s): 35 % completed
[2018/Sep/17|13:34:26] V-Ray: Total time updating frame  0h  0m  0.3s (0.3 s)
[2018/Sep/17|13:34:27] V-Ray: Updating frame at time 1037.50
[2018/Sep/17|13:34:27] V-Ray: Total time updating frame  0h  0m  0.0s (0.0 s)
[2018/Sep/17|13:34:27] V-Ray: Writing to V-Ray scene file.
[2018/Sep/17|13:34:27] V-Ray debug: Multi-threaded vrscene writhing with 7 threads
[2018/Sep/17|13:34:27] V-Ray debug: Current numeric locale is "C"
[2018/Sep/17|13:34:27] V-Ray: Writing vrscene file...
[2018/Sep/17|13:34:27] V-Ray: File "D:/Support/342-908-637/ex.vrscene" exported
[2018/Sep/17|13:34:27] V-Ray: Total time writing vrscene file  0h  0m  0.0s (0.0 s)
[2018/Sep/17|13:34:27] V-Ray: Total frame time  0h  0m  0.4s (0.4 s)
HDF5-DIAG: Error detected in HDF5 (1.8.11) thread 0:
  #000: C:\Mayadepot\ACRD_zhihao_SHA63GG422_DELL_Maya\depot\main\Maya\src\Components\ExternalLibraries\Alembic\HDF5\src\H5F.c line 854 in H5Fis_hdf5(): unable to open file
    major: Low-level I/O
    minor: Unable to initialize object
  #001: C:\Mayadepot\ACRD_zhihao_SHA63GG422_DELL_Maya\depot\main\Maya\src\Components\ExternalLibraries\Alembic\HDF5\src\H5FD.c line 987 in H5FD_open(): open failed
    major: Virtual File Layer
    minor: Unable to initialize object
  #002: C:\Mayadepot\ACRD_zhihao_SHA63GG422_DELL_Maya\depot\main\Maya\src\Components\ExternalLibraries\Alembic\HDF5\src\H5FDsec2.c line 343 in H5FD_sec2_open(): unable to open file: name = '/mnt/spycer-03/VFX_PROJEKTDATEN/180502_Sonne/03_PreRender/_3D/_Cache/seq_130/seq_130_sc_002/seq_130_sc_002_v004/seq_130_sc_002_Sonnenstrahlen_Group1_v004/seq_130_sc_002_Sonnenstrahlen_Group1_v004.abc', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0
    major: File accessibilty
    minor: Unable to open file
HDF5-DIAG: Error detected in HDF5 (1.8.11) thread 0:
  #000: C:\Mayadepot\ACRD_zhihao_SHA63GG422_DELL_Maya\depot\main\Maya\src\Components\ExternalLibraries\Alembic\HDF5\src\H5F.c line 854 in H5Fis_hdf5(): unable to open file
    major: Low-level I/O
    minor: Unable to initialize object
  #001: C:\Mayadepot\ACRD_zhihao_SHA63GG422_DELL_Maya\depot\main\Maya\src\Components\ExternalLibraries\Alembic\HDF5\src\H5FD.c line 987 in H5FD_open(): open failed
    major: Virtual File Layer
    minor: Unable to initialize object
  #002: C:\Mayadepot\ACRD_zhihao_SHA63GG422_DELL_Maya\depot\main\Maya\src\Components\ExternalLibraries\Alembic\HDF5\src\H5FDsec2.c line 343 in H5FD_sec2_open(): unable to open file: name = '/mnt/spycer-03/VFX_PROJEKTDATEN/180502_Sonne/03_PreRender/_3D/_Cache/seq_130/seq_130_sc_002/seq_130_sc_002_v004/seq_130_sc_002_Sonnenstrahlen_Group2_v004/seq_130_sc_002_Sonnenstrahlen_Group2_v004.abc', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0
    major: File accessibilty
    minor: Unable to open file
HDF5-DIAG: Error detected in HDF5 (1.8.11) thread 0:
  #000: C:\Mayadepot\ACRD_zhihao_SHA63GG422_DELL_Maya\depot\main\Maya\src\Components\ExternalLibraries\Alembic\HDF5\src\H5F.c line 854 in H5Fis_hdf5(): unable to open file
    major: Low-level I/O
    minor: Unable to initialize object
  #001: C:\Mayadepot\ACRD_zhihao_SHA63GG422_DELL_Maya\depot\main\Maya\src\Components\ExternalLibraries\Alembic\HDF5\src\H5FD.c line 987 in H5FD_open(): open failed
    major: Virtual File Layer
    minor: Unable to initialize object
  #002: C:\Mayadepot\ACRD_zhihao_SHA63GG422_DELL_Maya\depot\main\Maya\src\Components\ExternalLibraries\Alembic\HDF5\src\H5FDsec2.c line 343 in H5FD_sec2_open(): unable to open file: name = '/mnt/spycer-03/VFX_PROJEKTDATEN/180502_Sonne/03_PreRender/_3D/_Cache/seq_130/seq_130_sc_002/seq_130_sc_002_v004/seq_130_sc_002_Sonnenstrahlen_Group3_v004/seq_130_sc_002_Sonnenstrahlen_Group3_v004.abc', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0
    major: File accessibilty
    minor: Unable to open file
HDF5-DIAG: Error detected in HDF5 (1.8.11) thread 0:
  #000: C:\Mayadepot\ACRD_zhihao_SHA63GG422_DELL_Maya\depot\main\Maya\src\Components\ExternalLibraries\Alembic\HDF5\src\H5F.c line 854 in H5Fis_hdf5(): unable to open file
    major: Low-level I/O
    minor: Unable to initialize object
  #001: C:\Mayadepot\ACRD_zhihao_SHA63GG422_DELL_Maya\depot\main\Maya\src\Components\ExternalLibraries\Alembic\HDF5\src\H5FD.c line 987 in H5FD_open(): open failed
    major: Virtual File Layer
    minor: Unable to initialize object
  #002: C:\Mayadepot\ACRD_zhihao_SHA63GG422_DELL_Maya\depot\main\Maya\src\Components\ExternalLibraries\Alembic\HDF5\src\H5FDsec2.c line 343 in H5FD_sec2_open(): unable to open file: name = '/mnt/spycer-03/VFX_PROJEKTDATEN/180502_Sonne/03_PreRender/_3D/_Cache/seq_130/seq_130_sc_002/seq_130_sc_002_v004/seq_130_sc_002_Sonnenstrahlen_Group5_v004/seq_130_sc_002_Sonnenstrahlen_Group5_v004.abc', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0
    major: File accessibilty
    minor: Unable to open file
HDF5-DIAG: Error detected in HDF5 (1.8.11) thread 0:
  #000: C:\Mayadepot\ACRD_zhihao_SHA63GG422_DELL_Maya\depot\main\Maya\src\Components\ExternalLibraries\Alembic\HDF5\src\H5F.c line 854 in H5Fis_hdf5(): unable to open file
    major: Low-level I/O
    minor: Unable to initialize object
  #001: C:\Mayadepot\ACRD_zhihao_SHA63GG422_DELL_Maya\depot\main\Maya\src\Components\ExternalLibraries\Alembic\HDF5\src\H5FD.c line 987 in H5FD_open(): open failed
    major: Virtual File Layer
    minor: Unable to initialize object
  #002: C:\Mayadepot\ACRD_zhihao_SHA63GG422_DELL_Maya\depot\main\Maya\src\Components\ExternalLibraries\Alembic\HDF5\src\H5FDsec2.c line 343 in H5FD_sec2_open(): unable to open file: name = '/mnt/spycer-03/VFX_PROJEKTDATEN/180502_Sonne/03_PreRender/_3D/_Cache/seq_130/seq_130_sc_002/seq_130_sc_002_v004/seq_130_sc_002_Sonnenstrahlen_Group1_v004/seq_130_sc_002_Sonnenstrahlen_Group1_v004.abc', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0
    major: File accessibilty
    minor: Unable to open file
[2018/Sep/17|13:34:29] V-Ray: Total sequence time  0h  0m  3.3s (3.3 s)
[2018/Sep/17|13:34:29] V-Ray debug: Exiting render().
[2018/Sep/17|13:34:29] V-Ray: Render complete
[2018/Sep/17|13:34:29] V-Ray: ========================
[2018/Sep/17|13:34:29] V-Ray: Clearing exporter memory...
[2018/Sep/17|13:34:29] V-Ray: Total time clearing exporter memory  0h  0m  0.0s (0.0 s)
[2018/Sep/17|13:34:30] V-Ray debug: cmd: vrend -q 
[2018/Sep/17|13:34:30] V-Ray debug: vrend result: false
[2018/Sep/17|13:34:30] V-Ray debug: cmd: vrend -isRendering 
[2018/Sep/17|13:34:30] V-Ray debug: vrend result: false

Sry for the late response. Right now I’m caught up in production, but I hope I find some time this week to run few tests on our side with the Maya Scene, like different V-Ray version, different OS (Windows & Mac) and different machines to narrow down the error.

Kind Regards
Pirmin