question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

blender Unable to open a display

See original GitHub issue

I know nothing about blender. I just want generate some different views pictures with one obj file. My blender is 2.90.0. I got below error when I run command

blender --background --python render_blender.py -- --output_folder temp bugatti.obj
Blender 2.90.0 (hash 0330d1af29c0 built 2020-08-31 11:54:54)
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM default
/run/user/1000/gvfs/ non-existent directory
found bundled python: /home/inveno/payne/3d/blender-2.90.0-linux64/2.90/python
Info: Deleted 1 object(s)
Info: Deleted 1 object(s)
(  0.0001 sec |   0.0001 sec) Importing OBJ 'bugatti.obj'...
  (  0.0002 sec |   0.0001 sec) Parsing OBJ file...
    ( 18.7100 sec |  18.7098 sec) Done, loading materials and images...
    ( 18.7277 sec |  18.7275 sec) Done, building geometries (verts:744213 faces:759882 materials: 40 smoothgroups:1) ...
    ( 35.2136 sec |  35.2135 sec) Done.
  ( 35.2138 sec |  35.2137 sec) Finished importing: 'bugatti.obj'
Progress: 100.00%

Info: Removed 2672 vertice(s)
Info: Removed 2672 vertice(s)
Rotation 0.0, 0.0
Unable to open a display

Any suggestions will help me , thanks

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
ldocommented, Jun 22, 2021

You can probably get rid of the error messages about audio by adding the “-noaudio” option to the Blender command.

0reactions
michimussatocommented, Oct 30, 2022

@panmari this is just to let you know that your workaround --engine=CYCLES will fail in case you render grease pencil elements - even in Cycles. @sunny123123 , a more reliable solution can be found here: https://github.com/nytimes/rd-blender-docker/issues/6#issuecomment-1296347978

Read more comments on GitHub >

github_iconTop Results From Across the Web

Blender 2.8: "Unable to open a display" by the rendering on ...
If you get a message like Unable to open a display then either the X server isn't running, the appropriate DISPLAY value isn't...
Read more >
Blender 2.8: "Unable to open a display" by the rendering on ...
The rendering on the background crashes with this error message: “Unable to open a display”. We don't currently support headless rendering with ...
Read more >
Blender 2.8: “Unable to open a display” by the rendering on ...
Blender 2.8: “Unable to open a display” by the rendering on the background (CYCLES) when using it on server , but it's ok...
Read more >
"Unable to open a display" error on linux - Building Blender
"Unable to open a display" error on linux · Verify if the build from blender.org has the same problem. · Paste the complete...
Read more >
"Unable to open a display" when rendering with Eevee #6
I then proceeded to use the following command to render my Monkey.blend (as a test) that I copied to the /tmp folder in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found