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

docker GPU support version and acceleration #617

Closed
jacklu333333 opened this issue Jul 22, 2021 · 2 comments
Closed

docker GPU support version and acceleration #617

jacklu333333 opened this issue Jul 22, 2021 · 2 comments

Comments

@jacklu333333
Copy link

Hi, I saw this on the issue from rtabmap github repo. It says if I want to accelerate the processing speed with GPU. I can build the dependency library to increase them. However, I encounter some issues with opencv3 with my hardware at build time(old version OpenCV did not support new version architecture as mentioned here).
And the new version of OpenCV will have a dependency with eigen3 and Ceres, if I update both of them all the dependency packages will need to update as well.

Therefore, I turn to the docker version for a solution. This is the instruction I followed. As mentioned in the bottom half, if want to use GPU acceleration, I can follow the step.
I am wondering the following

  1. Are they accelerate because of OpenCV or other dependency libraries?
  2. What are versions of docker images support such acceleration?

Thanks in advance.

@matlabbe
Copy link
Member

This docker image uses nvidia as example to show OpenGL windows (just for visualization). Rtabmap or other libraries are not rebuilt with cuda support in that image.

I am not used to create cuda-enabled docker images, but if you are able to start from an ubuntu-nvidia-cuda image, you may rebuild rtabmap from source and its dependencies (like opencv) while enabling cuda support for each dependency that can support it.

@jacklu333333
Copy link
Author

Got it, thanks for your reply.

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