Report this

What is the reason for this report?

How to setup Blender 3.2.1 in Ubuntu 22.04

Posted on July 27, 2022

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.