graphdeco-inria / gaussian-splatting

Original reference implementation of "3D Gaussian Splatting for Real-Time Radiance Field Rendering"
https://repo-sam.inria.fr/fungraph/3d-gaussian-splatting/
Other
13.57k stars 1.74k forks source link

[SIBR Viewer] GLX: Failed to create context: GLXBadFBConfig #731

Open cs-mshah opened 5 months ago

cs-mshah commented 5 months ago

I am facing the following error upon running the SIBR Viewer:

./SIBR_gaussianViewer_app -m /<path_to_output>/output/mipnerf360/room/
[SIBR] --  INFOS  --:   Initialization of GLFW
[SIBR] ##  ERROR  ##:   FILE /raid/ankit/manan/gaussian-splatting/SIBR_viewers/src/core/graphics/Window.cpp
            LINE 30, FUNC glfwErrorCallback
            GLX: Failed to create context: GLXBadFBConfig
terminate called after throwing an instance of 'std::runtime_error'
  what():  See log for message errors
[1]    1453319 abort (core dumped)  ./SIBR_gaussianViewer_app -m

I have done X11 forwarding by using the -X flag while connecting to the remote server which has ubuntu 20.04. The SIBR installation was successful. I have also tried setting export LIBGL_ALWAYS_SOFTWARE=1 as suggested in https://github.com/graphdeco-inria/gaussian-splatting/issues/665

I'm running on ubuntu 22.04. Can someone please guide on using the SIBR viewer and running it to view the final .ply files?

cs-mshah commented 5 months ago

I think I need to use the remoteGaussian_app https://github.com/graphdeco-inria/gaussian-splatting/issues/267#issuecomment-1840760152 seems to have solved the issue, but I see a screen and it doesn't respond. The info logs say: Trying to connect...

JinXJinLeX commented 5 months ago

Hi, I meet the same problem when I used remoteGaussian_app, same logs as: [SIBR] -- INFOS --: Trying to connect.... Have you solved this problem?

sdfabkapoe commented 1 month ago

Hi, I meet the same problem when I used remoteGaussian_app, same logs as: [SIBR] -- INFOS --: Trying to connect.... Have you solved this problem?

add one more command below: SIBR_gaussianViewer_app -m "path" --iteration 30000 -s "path"