Open nnanhuang opened 10 months ago
Would require more context. Apparently you don't have a running X11 server. Are you doing some special rendering like a headless server or running in WSL or some dockerized container?
try to add --gpus 'all,"capabilities=compute,utility,graphics"' --privileged=true -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix$DISPLAY
when you generate a container by docker images
[SIBR] -- INFOS --: Initialization of GLFW [SIBR] ## ERROR ##: FILE /data1/hn/gaussian/gaussian-splatting/SIBR_viewers/src/core/graphics/Window.cpp LINE 30, FUNC glfwErrorCallback X11: The DISPLAY environment variable is missing terminate called after throwing an instance of 'std::runtime_error' what(): See log for message errors Aborted (core dumped) When I run SIBR_viewers, I got this problem. How can I fix this ?