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

Pangolin X11: Unable to retrieve framebuffer options #4

Closed
sunstarchan opened this issue Jan 28, 2016 · 4 comments
Closed

Pangolin X11: Unable to retrieve framebuffer options #4

sunstarchan opened this issue Jan 28, 2016 · 4 comments

Comments

@sunstarchan
Copy link

Hello,

when I follow these steps to run KITTI monocular example, I get following error.

terminate called after throwing an instance of 'std::runtime_error'
what(): Pangolin X11: Unable to retrieve framebuffer options
Aborted (core dumped)

I'm running it with Ubuntu running in Parallels on Mac.
What's the main reason for this issue?

Thanks.

@raulmur
Copy link
Owner

raulmur commented Jan 28, 2016

When do you get this error?

@sunstarchan
Copy link
Author

@raulmur Thanks for your comment.

when I just run the KITTI example, after loading vocabulary.
I look into the Pangolin code, it seems that glXChooseFBConfig returned a NULL pointer in CreateX11Window().

I'm just wondering whether or not my virtual Ubuntu system doesn't connect to a real display, as I tested all Pangolin examples on Mac, all of them can work correct.

So does Pangolin support virtual system running in Parallels, VirtualBox or VMware player?

@sunstarchan
Copy link
Author

I got another notebook with Ubuntu install on real hardware, and followed all these steps, I could run these examples. So maybe Pangolin needs to a real display.

BTW, your work is awesome, thanks for sharing.

@sunstarchan
Copy link
Author

I finally got ORB_SLAM2 run successfully on my virtual Ubuntu system by commenting two lines of Pangolin as explained here.

stevenlovegrove/Pangolin#74 (comment)

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

2 participants