Unable to open a display
Closed this issue · 1 comments
I run distributed.py with --num_gpus 1 --workers_per_gpu 2 --input_models_path ./input_models_path.json
I cannot get the result in ./views ,get the logs:
Blender 3.2.2 (hash bcfdb14560e7 built 2022-08-02 23:38:01)
No protocol specified
xcb_connection_has_error() returned true
['blender-3.2.2-linux-x64/blender', '-b', '-P', 'scripts/blender_script.py', '--', '--object_path', '/home1/stu/linmi/objaverse-rendering-main/input/000074a334c541878360457c672b6c2e.glb']
Data are loaded, start creating Blender stuff
glTF import finished in 0.08s
No protocol specified
Unable to open a display
trying to find this sentence
command = ( f"export DISPLAY=:0.{gpu} &&" f" blender-3.2.2-linux-x64/blender -b -P scripts/blender_script.py --" f" --object_path {item}" )
and change 0.{gpu}
to 1.{gpu}