gaussian-splatting
gaussian-splatting copied to clipboard
Running remote viewer on a remote headless server?
- Trying to naively running it gives me the same error as https://github.com/graphdeco-inria/gaussian-splatting/issues/619:
[SIBR] -- INFOS --: Initialization of GLFW
[SIBR] ## ERROR ##: FILE ../src/core/graphics/Window.cpp
LINE 30, FUNC glfwErrorCallback
X11: The DISPLAY environment variable is missing
- Trying to use a virtual display:
sudo apt-get install xvfb
sudo apt-get install libgl1-mesa-dev
sudo apt-get install mesa-utils
export LIBGL_ALWAYS_INDIRECT=1
export DISPLAY=:1
Xvfb :1 -screen 0 1024x768x16 &
and creating a xorg.conf
file, gets me:
[SIBR] -- INFOS --: Initialization of GLFW
[SIBR] ## ERROR ##: FILE ../src/core/graphics/Window.cpp
LINE 30, FUNC glfwErrorCallback
GLX: Failed to create context: GLXBadFBConfig
- After undoing all done in 2. and trying the options:
./install/bin/SIBR_remoteGaussian_app --offscreen --nogui
I still get
[SIBR] -- INFOS --: Initialization of GLFW
[SIBR] ## ERROR ##: FILE ../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'
Does somebody know how to run the remote viewer on a headless server?
I'm on Linux 20.04, CUDA 11.6 (checked out the fossa_compatibility
branch).
Thank you!
I'm facing the same issues. Would highly appreciate help on running the SIBR viewer remotely.
Any progress here? Does it help to set up the Chrome remote desktop?
@fantasy-fish So far I've not found any solution, so I've abandoned my efforts on this direction.