1
$\begingroup$

Recently I got access to my college server and I want to set up headless rendering for my blender projects in the server.

The issue is, they have given me a docker image with Ubuntu 19.10. I tried rendering in it, but I faced a lot of issues:

  • rendering with "-b" flag didn't help. It threw "unable to open a display error".
  • I tried setting up x11 forwarding with ssh but there are some problems because of it being a docker image.
  • Compiling from the source code is not possible because the server has a PowerPC 64-bit little endian architecture and there are lots of problem in building the dependencies for compiling the code. I already tried it and failed miserably :(

So, what would be the best method to set up the headless renderer?

$\endgroup$
0
$\begingroup$

Check out my self answered question here: How do you use Eevee renderer in a Docker container using bpy?

Basically what you should do is install xvfb as a framebuffer on the server. It works, but I caution you that in my experience it's so much less efficient than a real display that you're better off simply switching to Cycles rendering.

$\endgroup$
1
  • $\begingroup$ Thanks so much for the answer. I already gave up on setting up the headless renderer and moved on xD. So there's no way for me to verify if this works. If someone bumps into this in the future, I hope this helps them $\endgroup$
    – r-arvind
    Aug 12 at 19:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.