-
Notifications
You must be signed in to change notification settings - Fork 843
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 #74
Comments
@stevenlovegrove one more comment, I tried to build the project with the default C++ compiler on Mac, it built successfully, and all examples could run too. but when I tried to build with gcc/g++, the Object C code for Mac has build errors, such as
/usr/include/objc/NSObject.h:22:4: error: 'instancetype' does not name a type
Does this mean it not compatible with gcc/g++ on Mac? |
In Parallels, as with issue #69 , it looks as though no 3D graphics is supported from your session. Make sure that a simple program like glxgears can run first. |
I have hit your issue on OSX myself. I believe it should be possible to fix, but I haven't done so yet. As a workaround you can avoid the Objective C code by setting FORCE_GLUT to true in the CMakeLists.txt. If anyone is more intimately acquainted with the peculiarities of Objective C, I would appreciate some advice there. |
Thanks for your input. The build process is successful now. |
I'm seeing the same I've managed to remove the error by commenting these 2 lines: https://github.com/stevenlovegrove/Pangolin/blob/master/src/display/device/display_x11.cpp#L123-L124 As far as i understand, the |
@paulinus Great comment. I can run the project successfully now. Thanks very much. |
I've just pushed 45b38c1 which will hopefully address this issue whilst keeping the current behaviour on systems with decent graphics support. |
@paulinus Also solved my problem. Thanks very much! |
I have the same problem when running Pangolin on FreeBSD using VirtualBox. The stevenlovegrove's patch solves my problem. Thanks a lot! |
Hi guys, I still get the same error when I do fix, any ideas why? |
What fix you have used? The proposed by stevenlovegrove here 45b38c1 ? What is the environment where you are running, over hardware, virtualbox or vmware? What is your operating system where you are trying run Pangolin? |
I am running over vmware and I am using a OSX |
What is your system that you are running over OSX? |
Ubuntu 14.04 |
Try enable 3D acceleration on VMWARE. I got considerable improvements after this. |
Hello, I clone the pangolin code from github, and I use it when I running ORB-SLAM2, I get the following error, I have download the pangolin code up to date, and the GLX_SAMPLE_BUFFERS and GLX_SAMPLES are deleted. how should I do now. Any one can help me? OS : ubuntu 12.04 |
Make sure a simple graphical program like glxgears can run on your system. Then try the Pangolin sample HelloPangolin. If the first works, but the latter doesn't, then it may be a Pangolin issue and you should repost here. Otherwise you will need to make sure that you have OpenGL correctly configured on your system. |
When I run HelloPangolin on the real ubuntu 14.04 or VMWare, it works well!
Can anyone to help if I want to run Pangolin based application via remote ssh? |
@ccyinlu I got similar error with HelloPangolin with Ubuntu 16.04 guest inside virtual box on a Windows 7 host. My X11 display is also Xming on the Win 7 reachable from PuTTY tunnel and the "glxgears" tool runs well without issues. |
I noticed that my Windows 7 display mode is 16bit (RGB565) actually, thus I commented out the bits related attributes in display_x11.cpp. However, I finally was stopped by the fact that Pangolin requires at least GLX 1.3 but my Xming server seems like 1.2:
So very likely my X11 environment is not proper for Pangolin. :( |
Have you tried modifying the check on line 178 of display_x11.cpp? I'm not really aware of the difference between 1.2 and 1.3 - perhaps it will still work? |
This problem may be solved by providing an
As @stevenlovegrove metioned, Even if you upgrade your GLX version in the client PC to meet Pangolin's requirement, you may still get problem like I tried Xming 6.9 in the Server PC, and run
It indicated that the GLX version is Xming 7.5 or Xming 7.7 is not free, maybe it can fix the problem. ( I have tried MoboXterm 9.3 in the server PC, and run
After the GLX version upgraded to So the key point is that the |
I still meet this problem at latest stable build. My environment is running on Bash Ubuntu on Windows 10 and Xming Server. The glxgears application runs well on my computer. The code compiled successfully, but still have problem with "Pangolin X11: Unable to retrieve framebuffer options " |
I'm using |
As somebody else mentioned in #81, Pangolin works after disabling 3d acceleration on my Parallels virtual machine configuration. It's kind of laggy though! |
@sunstarchan , hi ,I have the second problem on mac, from /Users/Ming/Documents/Projects/package_dir/Pangolin/src/display/device/display_osx.mm:33: can you give more detail about how you solved the issue please? |
I meet an error, |
Hello,
when I follow these steps to run ORB_SLAM2(https://github.com/raulmur/ORB_SLAM2), 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
The text was updated successfully, but these errors were encountered: