-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No crash/errors in Solaris, but also no render #66
Comments
Does MoonRay remain in the list of renderers? (a link error will cause it to be removed) |
@rgwilson68 Yes, it remains in the list. I did some more troubleshooting and I can confirm that MoonRay standalone is working 100%, including XPU. I juggled around some environment variables trying to narrow down the problem with Houdini and I finally was able to get this in the console after trying to launch a MR render in Solaris. Any ideas how to fix? I also attached a pic showing my houdini.env and .bashrc and what it looks like after selecting a MR render (empty viewport with just object manipulators).
|
@BrianHanke There might be a few reasons why python isn't pickup your env variables. How are you running houdini? Are you sure that everything is making its way to the PYTHONPATH in houdini ? Can you run a |
MoonrayShaderParser and MoonrayShaderDiscovery are plugins that don't have Python modules. I've seen usdview issue a warning about them, but I haven"t seen this cause an error in Houdini before. I don't know if this error is causing the empty render, or if it's something else. You could try creating empty Python modules for them (under pxr) and adding these to PYTHONPATH : that should get rid of the module load error at least. |
Thanks @vvzen and @rgwilson68, I rebuilt MoonRay with Python 3.9.0 on the off chance that was the problem. Build successful and warning gone, but still no render. Attached is a video showing what's happening. There are no errors or warnings in the terminal or the Houdini viewport. sys.path gives the following, both in hython and in the Houdini GUI:
moonray_1.mp4 |
Hmm... Are you able to bring up the render settings for MoonRay when it is selected? (You should see 'debug mode', 'restart', 'reload textures' etc...) |
@rgwilson68 Where are those options located? |
Right side of the solaris view, near the bottom : it looks like an eye and has tooltip 'Open display options...' |
Ah yep, that's there, lists all options for MoonRay. |
If the options are listed, that suggests that the plugin is loaded and running, but not producing a render for some reason. |
It def appears to be running. The little pencil icon is active, showing rendering is happening. If there is geometry in the scene Debug mode causes a segmentation fault. It does not if there's no geo. Here's the crash log: Crash report from brian; Houdini FX Version 19.5.534 [linux-x86_64-gcc9.3] Traceback from 4576 ThreadId=0x7f325cbff700 Traceback from 4576 ThreadId=0x7f328e242f40 |
* adds joke on Rust and memory safe languages * Jokes aside, I’m curious to know more myself since I wanted to try Moonray on Houdini! If you could make a MRE and attach a simple scene so that maybe someone else could try to reproduce it? |
I suppose I could, but it's essentially 1) Load Houdini Solaris 2) Enable MoonRay 3) Doesn't work. :P I haven't heard of a single person getting Open MoonRay working in Houdini, so I'm wondering if there's a bug somewhere. This seems unnecessarily complicated. The actual standalone renderer is working fine and everything is there in Houdini. Just no rendering... |
Here's another clue. I tried rendering a simple scene to MPlay with MoonRay. (The scene works in Karma/MPlay.) Got this in the console: "[TF_DEBUG_ENVIRONMENT_SYMBOL] multiple debug symbol definitions for 'TF_DEBUG_REGISTRY'. This is usually due to software misconfiguration, such as multiple versions of the same shared library loaded simultaneously in the process. Please check your build configuration." |
|
@BrianHanke When you build MoonRay with Python3.9, Do you have MoonrayShaderParser and MoonrayShaderDiscovery Python modules? or There are no Python module for them but just warning messages gone? |
Please ignore my above message. #64 (reply in thread) MoonrayShaderParser and MoonrayShaderDiscovery does not have Python modules. |
I have the same error problem, is there a solution? No rendering,but moonray appears in the rendering list. |
@BrianHanke I have the same error problem. what is the solution? thanks |
@solomon-s2020 For me the solution was to build MoonRay using the Houdini USD libraries. A standard MoonRay build using the official build guide won't work in Houdini. |
I've got everything set up according to the instructions in the docs. All the MoonRay nodes and parameters are showing up in Houdini and MoonRay is listed in the choice of renderers. But, when I select it, the viewport goes blank and there is no rendering happening. Right now I have HOUDINI_PATH pointing to MoonRay in
houdini.env
and all the other MoonRay variables (PXR_PLUGINPATH, etc) are in.bashrc
.The text was updated successfully, but these errors were encountered: