Renderman and Arnold packages conflicting

   1487   5   3
User Avatar
Member
200 posts
Joined: Nov. 2013
Offline
I am using packages to get multiple renderers working alongside each other in Solaris.
I can get Radeon ProRender, Arnold, and Renderman all opening up and rendering in the same Houdini session (Houdini 19.5.640 Py3.9).

When I check the About Houdini info in my session, it shows that all three packages are loaded from the correct dir (C:\Users\****\Documents\houdini19.5\packages) and the .json files all seem to be working fine.

I can render with all of the engines/delegates with basic geometry, but as soon as I try and render a sphere with a mtlx material (downloaded from the AMD Library) they all render it fine except for Renderman, which just spits a ton of jibberish to the console. If I remove the Arnold.json from the packages directory and restart Houdini, Renderman renders everything perfectly fine.

Is there a possibility that mtlx libraries are clashing? I have followed this blog post and even copied the arnold.json syntax into my arnold.json file https://www.toadstorm.com/blog/?p=722 [www.toadstorm.com]

It seems like PATH may be clashing, but it's set to 'append' in the Arnold json and 'prepend' in the renderman json... I've renamed arnold.json to zarnold.json so it loads renderman first (blog comments suggest they're loaded alphabetically). Still no success.

Attached my .json files. Here is the error log:

Car_Paint/Materials/Car_Paint/NG_Car_Paint/node_multiply_16:out" was found for input "texcoord" of instance "/Car_Paint/Materials/Car_Paint/NG_Car_Paint/node_image_float_15" of plugin "c:\PROGRA~1\SIDEEF~1\HOUDIN~1.640\houdini\materialx\libraries\stdlib\stdlib_defs.mtlx" on gprim "<unnamed geometry>". R10043 default, unknown or mismatched input parameter of c:\PROGRA~1\SIDEEF~1\HOUDIN~1.640\houdini\materialx\libraries\stdlib\stdlib_defs.mtlx (/Car_Paint/Materials/Car_Paint/NG_Car_Paint/node_image_float_15). R10043 file, unknown or mismatched input parameter of c:\PROGRA~1\SIDEEF~1\HOUDIN~1.640\houdini\materialx\libraries\stdlib\stdlib_defs.mtlx (/Car_Paint/Materials/Car_Paint/NG_Car_Paint/node_image_float_15). R10043 filtertype, unknown or mismatched input parameter of c:\PROGRA~1\SIDEEF~1\HOUDIN~1.640\houdini\materialx\libraries\stdlib\stdlib_defs.mtlx (/Car_Paint/Materials/Car_Paint/NG_Car_Paint/node_image_float_15). R10043 frameendaction, unknown or mismatched input parameter of c:\PROGRA~1\SIDEEF~1\HOUDIN~1.640\houdini\materialx\libraries\stdlib\stdlib_defs.mtlx (/Car_Paint/Materials/Car_Paint/NG_Car_Paint/node_image_float_15). R10043 frameoffset, unknown or mismatched input parameter of c:\PROGRA~1\SIDEEF~1\HOUDIN~1.640\houdini\materialx\libraries\stdlib\stdlib_defs.mtlx (/Car_Paint/Materials/Car_Paint/NG_Car_Paint/node_image_float_15). R10043 uaddressmode, unknown or mismatched input parameter of c:\PROGRA~1\SIDEEF~1\HOUDIN~1.640\houdini\materialx\libraries\stdlib\stdlib_defs.mtlx (/Car_Paint/Materials/Car_Paint/NG_Car_Paint/node_image_float_15). R10043 vaddressmode, unknown or mismatched input parameter of c:\PROGRA~1\SIDEEF~1\HOUDIN~1.640\houdini\materialx\libraries\stdlib\stdlib_defs.mtlx (/Car_Paint/Materials/Car_Paint/NG_Car_Paint/node_image_float_15). R10043 index, unknown or mismatched input parameter of c:\PROGRA~1\SIDEEF~1\HOUDIN~1.640\houdini\materialx\libraries\stdlib\stdlib_defs.mtlx (/Car_Paint/Materials/Car_Paint/NG_Car_Paint/node_texcoord_vector2_6). R10041 Invalid or mismatched reference parameter "/Car_Paint/Materials/Car_Paint/NG_Car_Paint/UVScale_Flakes:out" was found for input "in2" of instance "/Car_Paint/Materials/Car_Paint/NG_Car_Paint/node_multiply_5" of plugin "c:\PROGRA~1\SIDEEF~1\HOUDIN~1.640\houdini\materialx\libraries\stdlib\stdlib_defs.mtlx" on gprim "<unnamed geometry>". R10041 Invalid or mismatched reference parameter "/Car_Paint/Materials/Car_Paint/NG_Car_Paint/node_texcoord_vector2_6:out" was found for input "in1" of instance "/Car_Paint/Materials/Car_Paint/NG_Car_Paint/node_multiply_5" of plugin "c:\PROGRA~1\SIDEEF~1\HOUDIN~1.640\houdini\materialx\libraries\stdlib\stdlib_defs.mtlx" on gprim "<unnamed geometry>". R10041 Invalid or mismatched reference parameter "/Car_Paint/Materials/Car_Paint/NG_Car_Paint/node_multiply_5:out" was found for input "texcoord" of instance "/Car_Paint/Materials/Car_Paint/NG_Car_Paint/node_image_float_11" of plugin "c:\PROGRA~1\SIDEEF~1\HOUDIN~1.640\houdini\materialx\libraries\stdlib\stdlib_defs.mtlx" on gprim "<unnamed geometry>". R10043 default, unknown or mismatched input parameter of c:\PROGRA~1\SIDEEF~1\HOUDIN~1.640\houdini\materialx\libraries\stdlib\stdlib_defs.mtlx (/Car_Paint/Materials/Car_Paint/NG_Car_Paint/node_image_float_11). R10043 file, unknown or mismatched input parameter of c:\PROGRA~1\SIDEEF~1\HOUDIN~1.640\houdini\materialx\libraries\stdlib\stdlib_defs.mtlx (/Car_Paint/Materials/Car_Paint/NG_Car_Paint/node_image_float_11). R10043 filtertype, unknown or mismatched input parameter of c:\PROGRA~1\SIDEEF~1\HOUDIN~1.640\houdini\materialx\libraries\stdlib\stdlib_defs.mtlx (/Car_Paint/Materials/Car_Paint/NG_Car_Paint/node_image_float_11). R10043 frameendaction, unknown or mismatched input parameter of c:\PROGRA~1\SIDEEF~1\HOUDIN~1.640\houdini\materialx\libraries\stdlib\stdlib_defs.mtlx (/Car_Paint/Materials/Car_Paint/NG_Car_Paint/node_image_float_11). R10043 frameoffset, unknown or mismatched input parameter of c:\PROGRA~1\SIDEEF~1\HOUDIN~1.640\houdini\materialx\libraries\stdlib\stdlib_defs.mtlx (/Car_Paint/Materials/Car_Paint/NG_Car_Paint/node_image_float_11). R10043 uaddressmode, unknown or mismatched input parameter of c:\PROGRA~1\SIDEEF~1\HOUDIN~1.640\houdini\materialx\libraries\stdlib\stdlib_defs.mtlx (/Car_Paint/Materials/Car_Paint/NG_Car_Paint/node_image_float_11). R10043 vaddressmode, unknown or mismatched input parameter of c:\PROGRA~1\SIDEEF~1\HOUDIN~1.640\houdini\materialx\libraries\stdlib\stdlib_defs.mtlx (/Car_Paint/Materials/Car_Paint/NG_Car_Paint/node_image_float_11).
Edited by Hamilton Meathouse - Sept. 9, 2023 15:12:09

Attachments:
renderman.json (1.5 KB)
zarnold_meeee.json (388 bytes)

User Avatar
Member
200 posts
Joined: Nov. 2013
Offline
Forgot to add, yes; both RenderManForHoudini-25.2/RenderManProServer-25.2 and Arnold (htoa-6.2.2.1) are both built for 19.5.640.
User Avatar
Member
200 posts
Joined: Nov. 2013
Offline
Managed to ensure the package processing order had Renderman load first, and even named them renderer1.json and renderer2.json for good measure. Still gives me a billion materialX errors.

Renderman json:
{
    "load_package_once": true,
    "env": [
        {
            "RMANTREE": "C:/Program Files/Pixar/RenderManProServer-25.2"
        },
        {
            "RFHTREE": "C:/Program Files/Pixar/RenderManForHoudini-25.2/"
        },
        {
            "RFH_HOUDINI_VERS" :
            [
                {"houdini_version<'20.0' and houdini_version>='19.5.640'": "19.5.640"},
                {"houdini_version<'19.5.640' and houdini_version>='19.5.605'": "19.5.605"},
                {"houdini_version<'19.5.605' and houdini_version>='19.5.569'": "19.5.569"},
                {"houdini_version<'19.5' and houdini_version>='19.0.720'": "19.0.720"},
                {"houdini_version<'19.0' and houdini_version>='18.5.759'": "18.5.759"}
            ]
        },
        {
            "RFH_PY_VERS":
            [
                { "houdini_python=='python2'": "2.7" },
                { "houdini_python=='python3' and houdini_version<'19.5'": "3.7" },
                { "houdini_python=='python3.7'": "3.7" },
                { "houdini_python=='python3.9'": "3.9" },
            ]
        },
        { "HOUDINI_PATH": "${RFHTREE}/${RFH_PY_VERS}/${RFH_HOUDINI_VERS}" },
        {
            "RMAN_PROCEDURALPATH": 
            {
                "value": "${RFHTREE}/${RFH_PY_VERS}/${RFH_HOUDINI_VERS}/openvdb",
                "method": "prepend"
            } 
        },
        {
            "PATH":
            { 
                "value": "${RMANTREE}/bin",
                "method": "prepend",
                "process_order" : 1
            }
        }
    ],
    "process_order" : 1
}

Arnold json
{
    "env": [
        {
            "HOUDINI_PATH": {
                "method": "append",
                "process_order" : 2,
                "value": [
                    "C:/Program Files/htoa/htoa-6.2.2.1_r0a87540_houdini-19.5.640"
                ]
            }
        },
        {
            "PATH": {
                "method": "append",
                "process_order" : 2,
                "value": [
                    "C:/Program Files/htoa/htoa-6.2.2.1_r0a87540_houdini-19.5.640/scripts/bin"
                ]
            }
        }
    ],
    "process_order" : 2
}
Edited by Hamilton Meathouse - Sept. 13, 2023 01:23:10
User Avatar
Member
200 posts
Joined: Nov. 2013
Offline
When I go to the 'About Houdini' menu and see the variables, 'PATH' lists the following:

C:\Program Files/htoa/htoa-6.2.2.1_r0a87540_houdini-19.5.640\scripts\bin
C:\PROGRA~1\SIDEEF~1\HOUDIN~1.640\python39\lib\site-packages-forced\PySide2
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.640/python39
C:/Program Files/Pixar/RenderManProServer-25.2/bin
C:/Program Files/htoa/htoa-6.2.2.1_r0a87540_houdini-19.5.640/scripts/bin
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.640/bin
C:/PROGRA~1/SIDEEF~1/HOUDIN~1.640/toolkit/bin
C:/Windows/system32
C:/Windows
C:/Windows/System32/Wbem
C:/Windows/System32/WindowsPowerShell/v1.0
C:/Windows/System32/OpenSSH
C:/Program Files (x86)/NVIDIA Corporation/PhysX/Common
C:/Program Files/NVIDIA Corporation/NVIDIA NvDLISR
C:/Program Files/3Delight/bin
C:/Users/DC/AppData/Local/Microsoft/WindowsApps

You can see that for some reason the htoa path is listed twice, the first time is first in the order for some reason. Removing the arnold.json from the packages dir removes both instances of this line in the PATH variable.
User Avatar
Member
136 posts
Joined: Oct. 2020
Offline
found a solution?
https://www.youtube.com/channel/UC4NQi8wpYUbR9wLolfHrZVA [www.youtube.com]
User Avatar
Member
12 posts
Joined: Oct. 2016
Offline
Hello,

Does anyone have a working solution as we have the same issue on Houdini 20.5.278, Renderman 26.2 and Arnold.

Thanks in advance.
  • Quick Links