-
Notifications
You must be signed in to change notification settings - Fork 133
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
Crashes on Ubuntu 22.04 , Blender 2.93 LTS #652
Comments
Same error here with Ubuntu 22.04. The plugin finds Renderman and I can make all the settings but when I click render or IT Blender crashes with segmentation fault. Houdini and renderman work fine for me on Ubuntu 22.04. The Blender plugin also works on Windows on my computer |
@schulze1963 do you know if it's just a problem if you render to "it"? Does it stop crashing if you render to "blender"? @edap where did you guys download blender? On Windows, we've had issues with folks downloading Blender form the various app stores (steam, windows store etc.). I'm wondering if we might have a similar issue using Pop! and Ubuntu. It's kind of hard for me to test this, as we use CentOS and RenderMan for Blender works for us there. If you are using some kind of app store version of blender, do you mind downloading/installing Blender from blender.org, and see if that works? |
Hello, |
@schulze1963 OK, thanks for checking. Can you give me a debug log, like the one edap provided? |
I only get the message |
@schulze1963 you'll need to turn on debug logging. Since you're on the command line, you can set an environment variable to do that: export RFB_LOG_LEVEL=DEBUG this is assuming you're using bash. |
[INFO] (MainThread) RenderManForBlender.rfb_logger start_interactive_render: Parsing scene... |
@schulze1963 Hmm...the log isn't giving any more info, unfortunately. What's your RMANTREE set to? echo $RMANTREE |
echo $RMANTREE gives an blank answer. |
Same for me. |
I have downloaded it from the blender website https://download.blender.org/release/. I am aware of the fact that the package is tested on CentOS, but most of the CGI freelancers/small studio using linux use ubuntu or other debian derivated distros. For sure not CentOS. It would be nice from Pixar to think about a .deb package, or flathub https://flathub.org/home |
Try manually setting RMANTREE and see if that works. export RMANTREE=/opt/pixar/RenderManProServer-24.4 |
@edap @schulze1963 Also, did you modify anything to your system to get it installed? |
@edap @schulze1963 Another thought I had.... I can't test this, but if you guys don't modifying some code. In the RfB addons directory, if you edit the file rfb_utils/envconfig_utils.py in a text editor and change the def _config_pythonpath(self) part to look like:
then try it again and see if it works. |
Many thanks for your support, I can't test it today, I will test it on Tuesday. |
I've done both tests to no avail. Gives the same log output as before. |
Thanks, @schulze1963. Not sure what to say. It's odd that it crashes in Blender, but not Houdini. What happens if you run the confidence test? i.e.: cd $RMANTREE/etc/setup; make |
cd $RMANTREE/etc/setup; make |
I installed the Blender USD Hydra addon from AMD and renderman recognizes it too. When rendering, Blender also crashes, but the log tells me that IT cannot start due to missing libraries. I then created symbolic links to libicudata.so.50, libicui18n.so.50, libicuuc.so.50. blender still has a segmentation fault (core dumped) but IT will open. In my opinion, the problem doesn't seem to be the plugin, but rather the missing libraries in renderman pro server, which Houdini apparently brings with it |
@schulze1963 Ah, that might be it. I know there are some additional tweaking people need to do to get it to run correctly on Ubuntu. |
Same for me, I have just tested it.
I also had a similar approach. On my desktop computer i have an old ubuntu version and it worked (I have to convert the rpm to a .deb using alien). On my laptop I am running PopOS, that is based on the latest Ubuntu 22.04. The openssl lib shipped is too recent(3.0.2), I have to download an older one from here https://centos.pkgs.org/8-stream/centos-appstream-x86_64/compat-openssl10-1.0.2o-3.el8.x86_64.rpm.html, extract it and then copy libssl.so.1.0.2o and libcrypto.so.1.0.2o to the opt/pixar/RenderMan-Installer-ncr-24.4/lib/3rdparty/Qt-5.12.6/lib folder. Then I moved to that folder and I have created the symbolic links:
After that I have installed libtinfo5. Personally, I think that creating a sandboxed app with all the libraries included would be the best solution for the linux users. Flathub is probably the most stable at the moment, and it supports red hat distros, debian based distros, openSuse and arch. https://itsfoss.com/flatpak-guide/ |
Thanks for the notes. re: supporting other distros It's something we've talked about, but we've only had discussions and haven't actually started any work towards this goal. We're also waiting on the VFX reference platform and see what they decide. |
I have freshly installed Manjro Linux and successfully installed the script from https://github.com/myhcel/renderman-for-arch renderman. Even under Manjaro, Blender falls 2.93 again when rendering. |
@schulze1963 I'm not sure what could have went in between 24.3 and 24.4 that would cause it to just out right crash. The only big things that come to mind are some changes to the live statistics system in the core, and the addition of Maya 2023 support. |
I have freshly installed Ubuntu 20.04 Linux and successfully install renderman (the same way as on Ubuntu 22.04). blender don´t crashes. It worked perfekt! |
@schulze1963 Oh, nice! Do you know what might be the difference between the two setups, other than Ubuntu versions being different? |
Hello, in attachment you can find the output of launching Let me know if there is something that I can do to help you debugging this issue. |
Thanks, @edap. Towards the end, I see that it tries to open/read this file: /home/dapx/Applications/blenderRenderman/2.93/datafiles/colormanagement/luts/srgb.spi1d Are you trying to use your own OCIO file? |
No.I have just checked on a blender 2.93 package directly downloaded from https://download.blender.org/release/Blender2.93/, the following files are in
|
@edap OK, thanks. It seems it never finishes reading the file. The last line before it crashes is: read(27, " 3.24657656853\n 3.24"..., 8191) = 8191 and that seems to be only part way through the file. I don't know if it's RenderMan trying to read the file or Blender. Just for kicks and giggles, what happens if you use ACES? i.e. set the OCIO environment variable and point to our ACES config: export OCIO=/opt/pixar/RenderManProServer-24.4/lib/ocio/ACES-1.2/config.ocio and then restart Blender. |
after export the OICO..... |
I have exactly the same RM installation on Ubuntu 22.02 as on Ubuntu 20.04. I use 5.18 as the kernel and the Nvidia graphics driver 510 on both systems. I also used KDE as the desktop on Ubuntu 22.04, but it didn't help either. |
@schulze1963 OK, thanks. I'm not sure there's more I can do about this. If you're OK running Ubuntu 20.04, I'll leave this alone, but if you have to use 22.02, it might take me a while find a spare machine to install/run. |
That's ok for me, but actually not for Pixar. The NCR is intended to give future customers an insight and to attract them. However, this does not work for Linux users. Even with the installer, you need help from the Internet to get it running on a reasonably up-to-date system. There are simply too many libraries linked to the outdated centos 7 that you have to laboriously search for. The server doesn't look any better either. Most users are already frustrated at this point and instead use a competitor's product that works out of the box. |
Hello! I've recently installed Renderman 25.2 on my Ubuntu 22.04 machine. It seems there are a bunch of issues regarding libicu*.so.50; Ubuntu 22.04 does seem to use them anymore. I'm still finding ways to solve the issue, but I was wondering if there's any update on this bug |
Update: To install the Renderman Installer on Ubuntu 22.04 I followed this guide: https://gist.github.com/laurelch/66bf7ccad104a1e645630518d7af8d31 After you finish doing the install, you convert the RenderManProServer .rpm into .deb and If you then run |
I have installed Renderman on Pop!_OS 22.04 LTS using the renderman installer, and I have also installed the plugin.
How to reproduce the crash:
In the render properties, in the "Render engine" menu, I select "Renderman". I add a "Lama Add" material to the default cube.
As I click the render button it fails. The error message is:
The text was updated successfully, but these errors were encountered: