-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Bugfix/fix nvidia docker v2 (redux) #1416
Bugfix/fix nvidia docker v2 (redux) #1416
Conversation
This is still a work in progress. I simply rebased #1167 and pushed it here. |
I can confirm this solves the OpenGL issues with opening rviz |
@esteve Is this PR still valid? |
Same question here. |
@esteve ping |
autoware/docker/generic/run.sh Line 123 in e7c12b0
master supports the --runtime=nvidia option which is only available with nvidia_docker2 (nvidia_docker used the actual nvidia-docker command instead). I just tested it with bash autoware/docker/generic/run.sh and it appears to work correctly on my 18.04 host. The results from nvidia-smi look correct.
|
#1946 fixed this particular issue. I am pretty positive this PR can be closed. |
Awesome! Thanks for letting us know. |
(Copied from #1167)
Status
PRODUCTION, safe for the "optional" todos mentioned below.
Description
Adding nvidia docker v2 support as discussed in issue autowarefoundation/autoware_ai#93 .
Todos
nvidia-docker run
command (which isdocker run --runtime nvidia
these days).Steps to Test or Reproduce
See autowarefoundation/autoware_ai#93.
Make sure to install nvidia-docker v2 and see if the old image works for your (should not work. Opening RVIZ would crash for example). Then try again with the new image and see if it works.