Question

How to setup Blender 3.2.1 in Ubuntu 22.04

I was abble to install blender with the instructions from the thread: https://www.digitalocean.com/community/questions/how-to-install-blender-2-79-ubuntu-20-04-2021

sudo snap install blender --classic

Got error: /snap/blender/2578/blender: error while loading shared libraries: libXi.so.6: cannot open shared object file: No such file or directory and also had to install libxi6

sudo apt install -y libxi6 libxxf86vm1 libxfixes3 libxrender1 libgl1

After that, I got the error [ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)

And changed the file /etc/security/limits.conf adding these two lines:

<username> hard rtprio 99
<username> soft rtprio 99

After restart the droplet (power on/off) I was able to run blender in the background, but now I’m receiving:

/run/user/1000/gvfs/ non-existent directory

I’ve already installed gvfs, but error persists. Can’t render yet, blender reads the file, but after some seconds, got Killed in the terminal.

> blender -b scene.blend --engine CYCLES --debug --debug-cycles -- --cycles-device CPU

Switching to fully guarded memory allocator.
Blender 3.2.1 (hash a2d59b2dac9e built 2022-07-05 23:53:28)
Blender 3.2.1
Build: 2022-07-05 23:53:28 Linux release
argv[0] = /snap/blender/2578/blender
argv[1] = -b
argv[2] = cse.blend
argv[3] = --engine
argv[4] = CYCLES
argv[5] = --python
argv[6] = cse.py
argv[7] = --debug
argv[8] = --debug-cycles
argv[9] = --
argv[10] = --cycles-device
argv[11] = CPU
/run/user/1000/gvfs/ non-existent directory
Read blend: /home/marlus/scene.blend
Killed

Does anyone successfully installed and used blender inside Droplet for rendering with CPU?

Thanks in advance.


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
January 9, 2023

Hi there,

The Killed message most likely indicates that your server is running out of RAM. You can check your syslog to verify if this is the case.

What you could do is:

  • Add more RAM to your server
  • Add a SWAP file so that you could have some extra buffer:

https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-22-04

Best,

Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up