question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Houdini 18, render delegate selectable but nothing visible

See original GitHub issue

Describe the bug I managed to build against Houdini 18. The problem is that when selecting Arnold in the render delegate list, the viewport is completely empty. I only see the standard houdini widgets. It’s as if a completely translucent image was rendered.

Furthermore no CPU is used and I have the following in my log: 00:00:07 1060MB ERROR | [gpu] newer NVIDIA driver required: detected version 396.54, at least 418.43 needed I don’t expect a GPU render here, so I am kinda surprised if this is the actual reason the render cannot complete.

I built for Houdini 18.0.287, and Arnold 5.3.0.0.

To Reproduce Steps to reproduce the behavior:

  1. Fire up Houdini 18
  2. Select Arnold in the stage render delegate drop down

Expected behavior Something rendered.

Screenshots Screenshot 1

Used Software Versions

  • Arnold: 5.3.0.0
  • USD: Houdini 18.0.287 shipped version
  • Compiler: gcc 7.3.1
  • OS: CentOS 7
  • Any 3rd-party app: Houdini 18.0.287

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
skurmedelcommented, Dec 2, 2019

@suesauer Sure! We used sirpalee’s own repo as it had the fixes we required (mostly ability to set USD lib name prefix, as Houdini 18s are prefixed): https://github.com/sirpalee/arnold-usd

Here’s my not so beautiful build script (don’t know if you are familiar with Rez, hopefully you’ll get the gist of it):

# Let's die if not in install mode, because it will not be very useful.
set -e
if [[ ! $REZ_BUILD_INSTALL -eq 1 ]];
then
    echo not running rez-install;
    exit 1
fi
mkdir -p $REZ_BUILD_INSTALL_PATH;

INSTALL_PATH="$1"

function info() {
    echo "> build.sh: $1";
}

info "Install path is set to $INSTALL_PATH"

if [[ $REZ_USED_RESOLVE == *"houdini"* ]]; then
    usd_bin="$REZ_HOUDINI_ROOT/bin"
    usd_core="$REZ_HOUDINI_ROOT"
    usd_deps="$REZ_HOUDINI_ROOT/dsolib"
    usd_deps_inc="$REZ_HOUDINI_ROOT/toolkit/include"
    usd_deps_lib="$usd_deps"
    tbb_inc="$usd_deps_inc"
    tbb_lib="$usd_deps_lib"
    boost_inc="$usd_deps_inc/hboost"
    boost_lib="$usd_deps_lib"
    boost_lib_name="hboost_%s"
    usd_inc="$usd_deps_inc"
    usd_lib="$usd_deps_lib"
    usd_lib_prefix="libpxr_"
    build_procedural="False"

    # We must LD_PRELOAD libcurl because houdini's doesn't support SSL.
    export LD_PRELOAD=/lib64/libcurl.so.4
else
    usd_bin="$REZ_USD_ROOT/bin"
    usd_core="$REZ_USD_ROOT"
    usd_deps="$USD_DEPENDENCIES_ROOT"
    usd_deps_inc="$usd_deps/include"
    usd_deps_lib="$usd_deps/lib"
    tbb_inc=$usd_deps_inc
    tbb_lib=$usd_deps_lib
    boost_inc=$usd_deps_inc
    boost_lib=$usd_deps_lib
    boost_lib_name="boost_%s"
    usd_inc=$usd_core/include
    usd_lib=$usd_core/lib
    usd_lib_prefix="lib"
    build_procedural="True"
fi

info "Cloning arnold-usd from their git..."
# git clone https://github.com/Autodesk/arnold-usd
git clone https://github.com/sirpalee/arnold-usd 

cd arnold-usd

PARAMETERS=(
    "MODE=opt"
    "BUILD_SCHEMAS=False"
    "BUILD_RENDER_DELEGATE=True"
    "BUILD_NDR_PLUGIN=True"
    "BUILD_USD_WRITER=False"
    "BUILD_PROCEDURAL=$build_procedural"
    "BUILD_DOCS=False"
    "BUILD_HOUDINI_TOOLS=True"
    "USD_BUILD_MODE=shared_libs"
    "DISABLE_CXX11_ABI=True"
    "TBB_INCLUDE=$tbb_inc"
    "TBB_LIB=$tbb_lib"
    "ARNOLD_PATH=${REZ_ARNOLD_ROOT}"
    "PYTHON_INCLUDE=${REZ_PYTHON_ROOT}/include/python2.7"
    "PYTHON_LIB=${REZ_PYTHON_ROOT}/lib"
    "PYTHON_LIB_NAME=python2.7"
    "USD_PATH=$usd_core"
    "USD_BIN=$usd_bin"
    "USD_INCLUDE=$usd_inc"
    "USD_LIB=$usd_lib"
    "USD_LIB_PREFIX=$usd_lib_prefix"
    "PREFIX=$INSTALL_PATH"
    "BOOST_INCLUDE=$boost_inc"
    "BOOST_LIB=$boost_lib"
    "BOOST_LIB_NAME=$boost_lib_name"
    "USD_1910_UPDATED_COMPOSITOR=True"
)

PARAMETERS_STR=""
info "Will scons with:"
for p in ${PARAMETERS[@]}; do
    echo "   $p"
    PARAMETERS_STR="$PARAMETERS_STR $p"
done

info "Calling scons..."
info "########################"
./abuild $PARAMETERS_STR -j 8
info "########################"
info "Scons complete"

Basically the if branch where it looks for houdini in the resolve is what you want. The other branch is for building arnold_usd towards a standalone USD.

0reactions
suesauercommented, Feb 11, 2020

I got this all working last year in December. But after the big changes in Jan it has stopped working in Houdini for me. Works just fine in maya tho. So it still seems like I for one am doing something incorrectly.

On Sat, Feb 8, 2020 at 5:08 PM Frederic Servant notifications@github.com wrote:

Solaris and USD support is included in HtoA, see https://docs.arnoldrenderer.com/display/A5AFHUG/Installation for installation instructions

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Autodesk/arnold-usd/issues/88?email_source=notifications&email_token=AN4NTOSS6ZBKRN6DWHC6FDDRB3DFDA5CNFSM4JS5WADKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELFTZMY#issuecomment-583744691, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN4NTOVHBDLZVEFWN232PDDRB3DFDANCNFSM4JS5WADA .

Sue Sauer | Pipeline TD

m. 079 472 6076

*t *+27 21 702 0817

Chapmans Peak Estate, 1 Chapmans Peak Drive, Noordhoek, 7979, South Africa

Read more comments on GitHub >

github_iconTop Results From Across the Web

Display Options (3D viewer) - SideFX
When looking through a camera in LOPs, render delegates can render to the full viewport area or only the area within the camera...
Read more >
HoudiniLops - cgwiki - Tokeru
That's a trick you can't easily do in vanilla houdini. Lops are not sops part 1: transform lop. If you load a usd...
Read more >
HtoA 6.0.0.0 - Arnold for Houdini - Autodesk Knowledge Network
Automatic selection of box filtering with OIDN and OptiX denoisers: The OptiX and OIDN denoisers do not perform well with CPU rendering ......
Read more >
Unreal Engine 5.1 Release Notes
On-Demand Shader Compilation (ODSC) compiles only the shaders needed to render what is seen on screen in the editor, and during iterative platform...
Read more >
Changelog - 3Delight - 3DL Docs
Improvements are especially visible when rendering more extreme motion. ... Supported Houdini builds: 17.5.460, 18.0.597, 18.5.759 (Python 2) and 19.0.455.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found