I was trying to run interactive_slam on my WSL, since I used docker before but it had extremely poor performance (3FPS). So, I compiled everything just like I did on docker with ROS noetic, but when running it on WSL I get:
~/catkin_ws$ rosrun interactive_slam interactive_slam construct solver: lm_var_cholmod # Using CHOLMOD poseDim -1 landMarkDim -1 blockordering 1 done Segmentation fault with a screen that instantly opens and closes. Any idea to what the issue might be? I combed through the interactive SLAM git to find a solution but every solution that was suggested did not work. Any ideas as to where the issue is or what I can do to fix it?
gdb backtrace:
#0 0x0000000000000000 in ?? () #1 0x00007fd02445bd24 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so #2 0x00007fd02461aa5a in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so #3 0x000055bfe71d8caa in guik::GLCanvas::bind (this=0x55bfe8630c50, clear_buffers=true) at /home/inter/catkin_ws/src/interactive_slam/src/guik/gl_canvas.cpp:82 #4 0x000055bfe6fc572b in hdl_graph_slam::InteractiveSLAMApplication::draw_gl (this=0x55bfe80def50) at /home/inter/catkin_ws/src/interactive_slam/src/interactive_slam.cpp:148 #5 0x000055bfe71eb422 in guik::Application::run (this=0x55bfe80def50) at /home/inter/catkin_ws/src/interactive_slam/src/guik/imgui_application.cpp:94 #6 0x000055bfe6fba654 in main (argc=1, argv=0x7ffcc426b198) at /home/inter/catkin_ws/src/interactive_slam/src/interactive_slam.cpp:747 Edit: going to Ubuntu 18-04 fixed this problem, but still runs on low FPS since OpenGL uses llvmpipe instead of my integrated NVIDIA GeForce RTX 3060 Ti.