HQueue won’t save any vray renders.
It tries to do just the first frame of the frame range and then doesn’t save any images.
It says it is successful which makes me feel positive…
On Win10
This is reported to SideFX, but not resolved yet.
The only way to make it work is by patching hqueue scripts…
Thanks for the rapid reply bdancer.
Are there any clear instructions on how to do that?
Hey, Jim,
I suppose you’ve seen this page on the docs but adding it here just in case: V-Ray for Houdini
Is it possible to show us the log ?
Yep I read through the docs.
It indicates you can change some files if you want to use the copy project functionality. I am not running the HIP file from the shared folder so I didn’t think I needed to do that?
Hang on a sec I will churn out a log.
Here are the output logs.
job_11_diagnostic_information.txt (9.46 KB)
job_11_output.txt (339 Bytes)
Hmm, so I thought when I added the page.
Alright, could you please check if V-Ray is even loaded when you submit the file for rendering, as shown here:
https://docs.chaosgroup.com/download…4757000&api=v2
Could also please try doing those changes as well: https://docs.chaosgroup.com/download…4757000&api=v2
I suspect the Warning from your log is because of the missing “else if” statement for the V-Ray Renderer node.
As @bdancer mentioned, 3-rd party renderers are currently not officially supported so some hacking is required to get things to work.
This is the prepare job log.
Accessing “\\Live\Wonder Vision\Render Hub\Projects\_HQueue_share\houdini_distros\hfs.windows-x86_64\bin\hython” …
Loading .hip file \\Live\Wonder Vision\Render Hub\Projects\_HQueue_share/projects/vray.hiplc.
Warning: Could not determine frame range from ‘/obj/ropnet1/vray’ node. Using current frame instead.
PROGRESS: 0%PROGRESS: 100%
I made the changes to hqrop.py and get the same thing.
Here is the hqrop.py just for double checking.
hqrop.txt (50 KB)
Also obviously worth noting that Mantra is working with Hqueue.
V-Ray is not loaded then. Alright, I’ll check on my end and message back.
Best regards!
Thank you Gosho !
Setting up HQ through VPN was … an interesting experience.
Anyway, got it working with the environment setup from the docs page above. I copied everything, pasted it into a text editor and replaced all colons ‘:’ with semi-colons ‘;’ for Windows.
Here’s my file - it’s working on my end. Could you please replace the VFH_ROOT variable value according to your setup and try to render it ?
If it’s also good for you, you may want to save it as a preset from the Gear icon on the Parameters editor.
Best regards!
Failed render diags
job_5_output.txt (32.5 KB)
job_5_diagnostic_information.txt (9.86 KB)
I wonder if it is a network issue, as it seems after double checking that Mantra is very slow to send jobs from HQserver to workstation39.
You can see the behaviour in the attached screen caps.
vids.zip (2.69 MB)
Hey, Jim,
1) The “Skipping unrecognized parameter…” warnings are fine if they only happen for a few nodes in your scene - it means we either added or removed a parameter to some V-Ray node.
2) Quadruple “” is because you need to escape each slash - the ‘\’ is usually an escape symbol. Thus, you need the path to start with ‘\\’, so you use ‘\\\\’
It is trying to render all the frames, and it succeeds on 1 workstation. It fails on the workstation I am launching the job from, the one with GUI houdini open
…
Warning: Multiple primitive definitions for: VRaySceneRef
14904: Fatal error: Segmentation fault
…
It just isn’t rendering on workstation39 through HQueue with vray.
This means that for whatever reason, V-Ray is loaded twice on workstation39. HQ uses Hython in the background - the environment variables you set up on the HQueue ROP are passed to the script and Hython is started. Is there a houdini.env file in User/Documents/houdini18.0 , or a vray_for_houdini.json file in (Houdini_install_dir)/packages on workstation39 ?
Best regards!
Yes. This workstation39 is my workstation where I am firing the jobs from an open instance of GUI Houdini (this machine is also setup as a HQueue Client). In the houdini install there is a json package file file for vray. obviously as I use Houdini GUI on this machine.
Hey, @Jim_Meston ,
surprisingly, it seems that the variables used to load V-Ray are preserved when using the package json file but discarded when using an environment file in documents/houdini. Workstation39 fails because V-Ray is loaded twice.
Therefore, you don’t even need the environment variables setup on the HQueue ROP - can you try submitting without them ? That’s assuming that the other machine also has V-Ray installed through the installer, with a vray_for_houdini.json file in $HFS/packages.
Best regards!
Will do ASAP. Thanks!
Ok to add.
It turns out that it is rendering on all workstations, without the env vars.
BUT !
When I put an HDRI on a dome light, workstation36 can’t find the HDRI even though it has been copied to the shared folder. That’s why it looked like it was rendering black on that machine.
Shame there is no failure on that job with a warning about assets…
I suspect it is the classic $HIP $JOB stuff.
A little further exploration on this. I will report back.