Skip to content

Unable to open a display #10

Description

@alexisrolland

Hello Isaac and thank you for making this Dockerfile!

I've worked on a slightly different version for my own comfort and it is available here:
https://github.com/alexisrolland/docker-blender

It is not very much different from your in terms of environment. It is using Blender v2.82a on ubuntu:bionic base image. My problem is when I try to render a frame I get the error message: Unable to open a display

PS C:\Users\Alexis\Documents\GitHub\docker-blender> docker-compose up
Starting blender ... done
Attaching to blender
blender    | Blender 2.82 (sub 7) (hash 375c7dc4caf4 built 2020-03-12 05:30:40)
blender    | found bundled python: /usr/local/blender/2.82/python
blender    | Read blend: /media/bouncing_ball.blend
blender    | Unable to open a display
blender    | Writing: /tmp/bouncing_ball.crash.txt
blender exited with code 139

I have read online that Eevee does not allow for headless rendering. There's a bunch of solutions out there which I will test but they are not in the context of Docker so I was curious to know if you had faced and solved this issue?

Here is a set of commands if you wish to reproduce:

git clone https://github.com/alexisrolland/docker-blender.git
cd docker-blender
docker-compose build
docker-compose up

Thank you
Alexis

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions