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

Bugfix/fix nvidia docker v2 (redux) #1416

Closed
wants to merge 2 commits into from
Closed

Bugfix/fix nvidia docker v2 (redux) #1416

wants to merge 2 commits into from

Conversation

esteve
Copy link
Contributor

@esteve esteve commented Aug 3, 2018

(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

I'd like to leave these up to the Autoware maintainers.

  • I think these new images should become the standard (as Autoware assumes or even needs an nvidia GPU to run on, right?) You can consider renaming current images to something like "-legacy", rather than suffixing these new images with "-nvidia".
  • Documentation could be checked on all old references to the old nvidia-docker run command (which is docker 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.

@esteve esteve changed the base branch from master to develop August 3, 2018 11:34
@esteve
Copy link
Contributor Author

esteve commented Aug 3, 2018

This is still a work in progress. I simply rebased #1167 and pushed it here.

@asimonov-hitachi
Copy link

I can confirm this solves the OpenGL issues with opening rviz

@gbiggs
Copy link

gbiggs commented Mar 15, 2019

@esteve Is this PR still valid?

@gbiggs gbiggs added type:bug Software flaws or errors. in progress labels Mar 15, 2019
@MTDzi
Copy link

MTDzi commented Mar 17, 2019

@esteve Is this PR still valid?

Same question here.

@JWhitleyWork
Copy link

@esteve ping

@JWhitleyWork
Copy link

@gbiggs / @MTDzi - Based on

RUNTIME="--runtime=nvidia"
it looks like at least 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.

@JWhitleyWork
Copy link

#1946 fixed this particular issue. I am pretty positive this PR can be closed.

@gbiggs
Copy link

gbiggs commented May 9, 2019

Awesome! Thanks for letting us know.

@gbiggs gbiggs closed this May 9, 2019
@mitsudome-r mitsudome-r added the version:autoware-ai Autoware.AI label Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Software flaws or errors. version:autoware-ai Autoware.AI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants