-
Notifications
You must be signed in to change notification settings - Fork 1
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
D435 testing/tabletop_plane GLEW error #7
Comments
I haven't seen this issue before; I can try to reproduce the issues you're seeing later this evening if you can provide me a short snippet of code to reproduce the issue. I looked around and openai/mujoco-py#268 might be a relevant solution, which involves preloading a shared library by running |
That doesn't work. Saw it too. The first 20-30 google hits returned nothing of value. I usually go deep about 2-3 pages of hits, so the chances of you finding something I didn't see already are slim. The best would be to get your setup starting with the versions of installed packages listed in the issue starting message. Let's see if they align. The current vtk is vtk9 I think. Maybe that is what you use? Or there may be nvidia specific problems that require an upgrade of the drivers. That was not noted above, but the nvidia installation provides OpenGL and Mesa libraries custom to nvidia. Let me know what driver version you have or if you don't have nvidia. Usually these problems are package related on the nvidia side. But who knows. |
I did most of the work here on bluestreak iirc, but it's been a while so it could have been one of the other PC's. Just to verify, you're running the script under camera/d435/testing/tabletop_plane.py via |
Kinda yes. I go directly to the directory then type The other two testing scripts in that directory work ( |
Next time I work on this part of the project, I'll check out bluestreak. What login did you use just in case that matters due to pip installed packages? |
I used the vipteam login. There are issues with using pptk outside of python 3.7, which is why I opted for mayavi for newer machines. I can optionally add the package back if that resolves issues going forward for an older machine e.g. ubuntu 16.04. You can also use the 1.1.0 tag/package (https://github.com/ivapylibs/camera/releases/tag/1.1.0) which should work as expected. The directory structure is a bit different though, which is why there was a major version bump on those newer changes. |
So this is a dependency issue on VTK based on the error message (https://github.com/Kitware/VTK/blob/master/Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx), which means this just wont run on old systems (with the exception of maybe pinning mayavi to older versions(?)). For context, I can run this fine on ubuntu 20.04 (with a slightly newer version of opengl to fix some gazebo rendering issues in wsl2):
This probably also works fine on bluestreak, which is why I didn't run into this earlier. I've added a matplotlib fallback which should unblock any of the workflows that are using the plotting utility. |
@acmiyaguchi Coding into |
@acmiyaguchi
Have you seen this error before when using the mayavi package?
Output to command window after running
tabletop_plane
and hitting "c":I googled but nothing popped out. Maybe I did not pip install something and the workstation defaults are wrong. For example, the workstation has vtk7, GLEW 2.1.0, OpenGL 1.3.2. Not sure what the dependencies are since I don't know mayavi.
It is not entirely essential, but without it, the script does not output anything useful. Can't confirm functionality and see outcomes relative to measurements. Thanks - PAV.
The text was updated successfully, but these errors were encountered: