Skip to content
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

Unable to open a display #10

Open
alexisrolland opened this issue May 23, 2020 · 2 comments
Open

Unable to open a display #10

alexisrolland opened this issue May 23, 2020 · 2 comments

Comments

@alexisrolland
Copy link

alexisrolland commented May 23, 2020

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

@ikester
Copy link
Owner

ikester commented Jun 24, 2020

Hi. I don't know. I never used this image with an Eevee renderer (always Cycles). I but i did manage to render frames with Cycles using a GPU instance in the past. I just don't know enough about how Eevee works to see if it would work.

@alexisrolland
Copy link
Author

alexisrolland commented Jun 29, 2020

I am currently tryin to implement the solution described here in the Docker container. I am pasting the links here for reference:

https://blender.stackexchange.com/questions/144083/how-to-get-blender-2-80-to-render-through-an-ssh-connection-minimal-working-ex/176110#176110

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants