gatling icon indicating copy to clipboard operation
gatling copied to clipboard

Running problems on the Mac platform

Open aaronmack opened this issue 2 years ago • 1 comments

  • 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

aaronmack avatar Sep 17 '22 09:09 aaronmack

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:

gh_1

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

gh_2

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

pablode avatar Sep 19 '22 16:09 pablode

image

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

image

I'm still checking, any progress I'll let you know

aaronmack avatar Sep 24 '22 12:09 aaronmack

Can't support macOS anymore since I've fully switched to hardware ray tracing. Let's hope supports lands in MoltenVK rather soon!

pablode avatar Nov 18 '23 10:11 pablode