gatling
gatling copied to clipboard
Running problems on the Mac platform
- In usdview
export PYTHONPATH=/Users/usd-build/lib/python && export PATH=/Users/usd-build/bin:/Users/usd-build/lib:$PATH && usdview --renderer=Gatling /Users/gatling/cornell.usdc
segmentation fault
usdview --renderer=Gatling
- Standalone
/Users/gatling/cmake-build-relwithdebinfo/bin/gatling
`HdGatling plugin is not supported!`
Any help would be greatly appreciated.
Aaron
Hi Aaron. Unfortunately I can't determine what's wrong based on the first error message. So here's what I think you can try to get it to work:
- update the Vulkan SDK
- clone the repository again (to ensure that submodules use the correct upstreams)
- remove CMakeCache.txt and execute CMake again, using the MDL SDK 2022
- clear the installed files (
rm -rf <USD_INSTALL_DIR>/plugin/usd/hdGatling*
) - install the Release configuration
If it still doesn't work, the problem may be caused by MacOS's security features. The renderer tries to load the MDL SDK library dynamically, which's signature may have changed due to the update. In this case, I would expect such a window to pop up:

Is this the case? If so, you can press 'Cancel' and afterwards allow the library in the System Preferences -> Security & Privacy -> General (bottom) panel.

Regarding the standalone: the executable is based on USD/Hydra and therefore also needs the PYTHONPATH and PATH environment variables.
If it still fails with a SEGFAULT, could you please paste the output of vulkaninfo
here within a <details> tag?
Thanks, Pablo

Seems to be a problem with my vulkan, I use the latest code to get the error.

I'm still checking, any progress I'll let you know
Can't support macOS anymore since I've fully switched to hardware ray tracing. Let's hope supports lands in MoltenVK rather soon!