Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The visualizer crashed when click start button, something wrong with opengl #17

Closed
wwtinwhu opened this issue Jul 18, 2019 · 9 comments
Closed

Comments

@wwtinwhu
Copy link

Hi Behley, Could you help me with this problem? Thank you very much! Following is what in the terminal when I open visualizer and open one bin file and last click the start button:

./visualizer
OpenGL Context Version 4.3 core profile
GLEW initialized.
OpenGL context version: 4.3
OpenGL vendor string : nouveau
OpenGL renderer string: NV117
Extracting surfel maps partially.
Performing frame-to-model matching.
Gtk-Message: 15:12:49.587: GtkDialog mapped without a transient parent. This is discouraged.
calibration filename: /media/weitongwu/Elements/Data/kitti/00/calib.txt...loaded.
ground truth filename: /media/weitongwu/Elements/Data/poses/00.txt
4541 poses read.
Performing frame-to-model matching.
OpenGL Error: invalid value(1281)
In: /home/weitongwu/suma_ws/src/glow/src/glow/GlFramebuffer.cpp on Line: 25
terminate called after throwing an instance of 'std::runtime_error'
what(): OpenGL error detected.
已放弃 (核心已转储)

@jbehley
Copy link
Owner

jbehley commented Jul 18, 2019

It seems like that the nouveau driver does not implement all features that I use. Since Nvidia provides more then the core profile functionality with it's driver it happens sometimes that I use more than the required parts of the core profile. Thus, it is very hard for me to really test that I use only core parts of the OpenGL specification.

The easiest way to resolve this problem is to just use the Nvidia driver (if possible). If this is not possible, you could run the program with "gdb" and just provide me with the stack trace to find out where this problem happens.

@wwtinwhu
Copy link
Author

@jbehley I am very sorry to reply you so late. I will try to use the Nvidia driver later and then if work I will close this issue, thank you very much!

@LiShuaixin
Copy link

LiShuaixin commented Sep 5, 2019

The issue was caused by the wrong version of Gtsam. I met the same issue and I debugged the code to find out where the problem happens. The back trace showed the issue was occurred when calling gtsam function. Now, the only thing you need to do is recompiling gtsam of version 4.0.0-alpha2 and then recompiling SuMa

@wwtinwhu
Copy link
Author

wwtinwhu commented Sep 6, 2019

The issue was caused by the wrong version of Gtsam. I met the same issue and I debugged the code to find out where the problem happens. The back trace showed the issue was occurred when calling gtsam function. Now, the only thing you need to do is recompiling gtsam of version 4.0.0-alpha2 and then recompiling SuMa

@LiShuaixin Thanks for your advice. Recently, I am busy with something else. Then, I will try your method. Best Regards!

@jbehley
Copy link
Owner

jbehley commented Sep 6, 2019

@LiShuaixin Also thanks from me and I will then close the issue.

If the problem persists, please re-open the issue again.

@jbehley jbehley closed this as completed Sep 6, 2019
@zorosmith
Copy link

Hello @LiShuaixin .
You solve my problem!
Could you tell me how did you figure out this problem?

@xdtzzz
Copy link

xdtzzz commented Nov 8, 2021

hi,@zorosmith,what version number is your computer, i use 4.0.0-alpha2, but it still happen this problem.what should i do?

@jbehley
Copy link
Owner

jbehley commented Nov 8, 2021

I have it running with ubuntu 20.04, but it also compile and worked with Ubuntu 18.04. important is to compile gtsam with "use_system_eigen" option enabled. Usually, you will get some error in some matrix computation if you did not compile with the system's Eigen version.

@xdtzzz
Copy link

xdtzzz commented Nov 8, 2021

thanks reply so quickly, I wonder what eigen version corresponding gtsam4.0.0-alpha2? In my computer, I can run SuMa++ successfully, but I can't run SuMa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants