Announcement

Collapse
No announcement yet.

Husk fails on macOS after installing VRay.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Husk fails on macOS after installing VRay.

    After installing VRay for Houdini on MacOS Husk command line doesn't work anymore for any render delegate.

    Here is the log, it looks like it's trying to load Qt libs for a command line app with no GUI.

    Code:
    [15:10:56] /Applications/Houdini/Houdini19.5.752/Frameworks/Houdini.framework/Versions/19.5/Resources/bin/husk version 19.5.752
    [15:10:56] Command Line: /Applications/Houdini/Houdini19.5.752/Frameworks/Houdini.framework/Versions/19.5/Resources/bin/husk /Users/lunar/geo/untitled.usd_rop2.usd -o /Users/lunar/geo/image.png --settings /Render/rendersettings --renderer V-Ray --verbose 8
    [15:10:56] CPU Apple M1 Max
    [15:10:56] Architecture - AMD64: mmx sse sse2 cmov ht sse3 ssse3 sse4.1 sse4.2
    [15:10:56] System limit: 10240 file descriptors
    [15:10:58] Setting MATERIALX_SEARCH_PATH to '/Applications/Houdini/Houdini19.5.752/Frameworks/Houdini.framework/Versions/19.5/Resources/houdini/materialx'
    [15:10:58] Setting PXR_MTLX_PLUGIN_SEARCH_PATHS to '/Applications/Houdini/Houdini19.5.752/Frameworks/Houdini.framework/Versions/19.5/Resources/houdini/materialx'
    [15:10:58] Setting PXR_MTLX_STDLIB_SEARCH_PATHS to '/Applications/Houdini/Houdini19.5.752/Frameworks/Houdini.framework/Versions/19.5/Resources/houdini/materialx/libraries'
    [15:10:58] Loading /Users/lunar/geo/untitled.usd_rop2.usd
    [15:11:01] Running prerender procedurals script: /Applications/Houdini/Houdini19.5.752/Frameworks/Houdini.framework/Versions/19.5/Resources/houdini/python3.9libs/husd/runprocedurals.py --mode prerender --validategeo
    [15:11:01] Loading render settings: /Render/rendersettings
    [15:11:01] /Render/rendersettings contains 0 render products
    [2023/Oct/08|15:11:01] [info] V-Ray Hydra delegate hash:c51f859
    [2023/Oct/08|15:11:01] [info] Using V-Ray Application SDK: /Applications/ChaosGroup/V-Ray/Houdini_19.5.752/appsdk
    
    objc[66392]: Class QMacAutoReleasePoolTracker is implemented in both /Applications/Houdini/Houdini19.5.752/Frameworks/QtCore.framework/Versions/5/QtCore (0x122de2378) and /Applications/ChaosGroup/V-Ray/Houdini_19.5.752/appsdk/bin/libQt5Core.5.dylib (0x1dce93a98). One of the two will be used. Which one is undefined.
    objc[66392]: Class QT_ROOT_LEVEL_POOL__THESE_OBJECTS_WILL_BE_RELEASED_WHEN_QAPP_GOES_OUT_OF_SCOPE is implemented in both /Applications/Houdini/Houdini19.5.752/Frameworks/QtCore.framework/Versions/5/QtCore (0x122de23f0) and /Applications/ChaosGroup/V-Ray/Houdini_19.5.752/appsdk/bin/libQt5Core.5.dylib (0x1dce93b10). One of the two will be used. Which one is undefined.
    objc[66392]: Class KeyValueObserver is implemented in both /Applications/Houdini/Houdini19.5.752/Frameworks/QtCore.framework/Versions/5/QtCore (0x122de2418) and /Applications/ChaosGroup/V-Ray/Houdini_19.5.752/appsdk/bin/libQt5Core.5.dylib (0x1dce93b38). One of the two will be used. Which one is undefined.
    objc[66392]: Class RunLoopModeTracker is implemented in both /Applications/Houdini/Houdini19.5.752/Frameworks/QtCore.framework/Versions/5/QtCore (0x122de2468) and /Applications/ChaosGroup/V-Ray/Houdini_19.5.752/appsdk/bin/libQt5Core.5.dylib (0x1dce93b88). One of the two will be used. Which one is undefined.
    [B]This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.[/B]
    
    Available platform plugins are: cocoa.
    
    66392:  (sent by pid 66392)
    -- TRACEBACK BEGIN --
    2   libHoudiniUT.dylib                  0x0000000117c49ed7 stackTrace(UTsignalHandlerArg) + 295
    3   libHoudiniUT.dylib                  0x0000000117c49b07 signalCallback(UTsignalHandlerArg) + 487
    4   libHoudiniUT.dylib                  0x0000000118005d40 UT_Signal::processSignal(int, __siginfo*, void*) + 112
    5   libsystem_platform.dylib            0x00007ff815bda37d _sigtramp + 29
    6   CoreFoundation                      0x00007ff85594b910 __CFURLClass + 0
    7   libsystem_c.dylib                   0x00007ff815acba4d abort + 126
    8   QtCore                              0x0000000122923179 QMessageLogger::debug(char const*, ...) const + 825
    9   QtCore                              0x0000000122c4435e QMessageLogger::fatal(char const*, ...) const + 196
    10  QtGui                               0x0000000121eeeccd QPlatformWindow::setMouseGrabEnabled(bool) + 685
    11  QtGui                               0x0000000121ad1fe6 QGuiApplicationPrivate::createPlatformIntegration() + 6230
    12  QtGui                               0x0000000121ad200b QGuiApplicationPrivate::createEventDispatcher() + 27
    13  QtCore                              0x0000000122aeb6ca QCoreApplicationPrivate::init() + 1146
    14  QtGui                               0x0000000121accb99 QGuiApplicationPrivate::init() + 57
    15  QtWidgets                           0x0000000120cd126a QApplicationPrivate::init() + 26
    16  libvfb2_qt.so                       0x00000001d25d8b46 operator delete[](void*, unsigned long) + 1607158
    17  libvfb2_qt.so                       0x00000001d25d8812 operator delete[](void*, unsigned long) + 1606338
    18  libvray.dylib                       0x00000001938351c5 VUtils::getVRayRevision() + 149
    19  libVRaySDKLibrary.dylib             0x00000001ccc9bcbc VRayImage_compressToJpegFile + 3948
    20  libVRaySDKLibrary.dylib             0x00000001cccf1c7a VRay_VRayRenderer_create + 42
    21  vray_for_houdini.dylib              0x000000018a388f30 VRayForHoudini::VfhVRayInit::newRendererWithOptions(VRay::RendererOptions const&) + 192
    22  vray_for_houdini.dylib              0x000000018a3898b3 VRayForHoudini::VfhVRayInit::initImpl(int) + 1139
    23  vray_for_houdini.dylib              0x000000018a388d71 VRayForHoudini::VfhVRayInit::registerHydra(int) + 49
    24  hdVRay.dylib                        0x00000001caff1b5c initVRayApplicationSDK + 348
    25  hdVRay.dylib                        0x00000001caff32e9 pxrInternal_v0_22__pxrReserved__::HdVRayInit::init(bool) + 745
    26  hdVRay.dylib                        0x00000001caff2164 pxrInternal_v0_22__pxrReserved__::HdVRayRenderDelegate::createVRayRenderer() + 756
    27  hdVRay.dylib                        0x00000001caff3778 pxrInternal_v0_22__pxrReserved__::HdVRayRenderDelegate::HdVRayRenderDelegate(pxrInternal_v0_22__pxrReserved__::TfHashMap<pxrInternal_v0_22__pxrReserved__::TfToken, pxrInternal_v0_22__pxrReserved__::VtValue, pxrInternal_v0_22__pxrReserved__::TfToken::HashFunctor, std::__1::equal_to<pxrInternal_v0_22__pxrReserved__::TfToken>, std::__1::allocator<std::__1::pair<pxrInternal_v0_22__pxrReserved__::TfToken const, pxrInternal_v0_22__pxrReserved__::VtValue>>> const&) + 808
    28  hdVRay.dylib                        0x00000001cafc2a58 pxrInternal_v0_22__pxrReserved__::HdVRayRendererPlugin::createRenderDelegate(pxrInternal_v0_22__pxrReserved__::TfHashMap<pxrInternal_v0_22__pxrReserved__::TfToken, pxrInternal_v0_22__pxrReserved__::VtValue, pxrInternal_v0_22__pxrReserved__::TfToken::HashFunctor, std::__1::equal_to<pxrInternal_v0_22__pxrReserved__::TfToken>, std::__1::allocator<std::__1::pair<pxrInternal_v0_22__pxrReserved__::TfToken const, pxrInternal_v0_22__pxrReserved__::VtValue>>> const&) + 40
    29  hdVRay.dylib                        0x00000001cafc2c81 pxrInternal_v0_22__pxrReserved__::HdVRayRendererPlugin::CreateRenderDelegate(pxrInternal_v0_22__pxrReserved__::TfHashMap<pxrInternal_v0_22__pxrReserved__::TfToken, pxrInternal_v0_22__pxrReserved__::VtValue, pxrInternal_v0_22__pxrReserved__::TfToken::HashFunctor, std::__1::equal_to<pxrInternal_v0_22__pxrReserved__::TfToken>, std::__1::allocator<std::__1::pair<pxrInternal_v0_22__pxrReserved__::TfToken const, pxrInternal_v0_22__pxrReserved__::VtValue>>> const&) + 17
    30  libpxr_hd.dylib                     0x00000001498da8f0 pxrInternal_v0_22__pxrReserved__::HdRendererPlugin::CreateDelegate(pxrInternal_v0_22__pxrReserved__::TfHashMap<pxrInternal_v0_22__pxrReserved__::TfToken, pxrInternal_v0_22__pxrReserved__::VtValue, pxrInternal_v0_22__pxrReserved__::TfToken::HashFunctor, std::__1::equal_to<pxrInternal_v0_22__pxrReserved__::TfToken>, std::__1::allocator<std::__1::pair<pxrInternal_v0_22__pxrReserved__::TfToken const, pxrInternal_v0_22__pxrReserved__::VtValue>>> const&) + 64
    31  libpxr_hd.dylib                     0x00000001498db472 pxrInternal_v0_22__pxrReserved__::HdRendererPluginRegistry::CreateRenderDelegate(pxrInternal_v0_22__pxrReserved__::TfToken const&, pxrInternal_v0_22__pxrReserved__::TfHashMap<pxrInternal_v0_22__pxrReserved__::TfToken, pxrInternal_v0_22__pxrReserved__::VtValue, pxrInternal_v0_22__pxrReserved__::TfToken::HashFunctor, std::__1::equal_to<pxrInternal_v0_22__pxrReserved__::TfToken>, std::__1::allocator<std::__1::pair<pxrInternal_v0_22__pxrReserved__::TfToken const, pxrInternal_v0_22__pxrReserved__::VtValue>>> const&) + 66
    32  libHoudiniUSD.dylib                 0x0000000145400062 pxrInternal_v0_22__pxrReserved__::XUSD_HuskEngine::setRendererPlugin(pxrInternal_v0_22__pxrReserved__::XUSD_RenderSettings const&, char const*) + 1586
    33  husk                                0x00000001024e0a6c hdRender::render(cmdOptions&, UT_StopWatch const&) + 1932
    34  husk                                0x00000001025c99d7 main + 3943
    35  dyld                                0x00000002029953a6 start + 1942
    -- TRACEBACK END --
    
    
    Process finished with exit code 0​
    Editing this file - /Applications/Houdini/Houdini19.5.752/Frameworks/Houdini.framework/Versions/19.5/Resources/packages/vray_for_houdini.json

    Removing this block allows other delegates to start rendering but removes V-Ray delegate.


    Code:
    { "VFH_DSO_PATH" : [
                { "houdini_version == '19.0' and houdini_python == 'python2'": "${VFH_HOME}/dso_py2" },
                { "houdini_version == '19.0' and houdini_python == 'python3'": "${VFH_HOME}/dso_py3" },
    
                { "houdini_version == '19.5' and houdini_python == 'python3.7'": "${VFH_HOME}/dso_py37" },
                { "houdini_version == '19.5' and houdini_python == 'python3.9'": "${VFH_HOME}/dso_py39" },
    
                { "houdini_version == '20.0' and houdini_python == 'python3.10'": "${VFH_HOME}/dso_py310" }
            ]},
    ​
    www.lunaranimation.com

  • #2
    Sorry for that, should be better in the next nightly.
    V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
    andrei.izrantcev@chaos.com
    Support Request

    Comment


    • #3
      Great, thank you.
      www.lunaranimation.com

      Comment


      • #4
        I noticed no macOS builds in the latest nightly folder (20231010) did they fail to build?
        www.lunaranimation.com

        Comment


        • #5
          > I noticed no macOS builds in the latest nightly folder (20231010) did they fail to build?

          Obviously, yes, smth went wrong and will be fixed.
          V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
          andrei.izrantcev@chaos.com
          Support Request

          Comment


          • #6
            Husk is now rendering VRay and Karma jobs. Thanks,

            I am trying to investigate some weirdness with render settings and sampling. This is why I needed husk working to test properly. I can verify that the render settings prim is getting picked up correctly as when rendering with Karma I can change the pixel samples render and get the expected result.

            I'm testing the bucket sampler and with Samples, Min 1 and Max 1. Noise threshold set to 1, It takes a while to render and I get a relatively clean image. If I were to do the same in Maya it would render in seconds and get a really noisy image. Something just feels off with render times in solaris generally just being longer.

            I need to set up some test scenes to do some proper testing, but here is what I've just been using solaris.

            https://www.dropbox.com/scl/fo/dm12q...293j9b2gv&dl=0


            Attached Files
            www.lunaranimation.com

            Comment


            • #7
              Render settings are translated correctly, however with some recent changes some settings that shouldn't be set were exported, this may be the issue and it's already fixed.
              I see that the vrscene contains correctly translated parameters.
              V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
              andrei.izrantcev@chaos.com
              Support Request

              Comment

              Working...
              X