Open
Conversation
Fix filename issue and new issue section
add a common issue fix for a nvidia docker error
making it more replicable
scchow
requested changes
Mar 9, 2021
Owner
scchow
left a comment
There was a problem hiding this comment.
Almost there, just a couple of spelling and formatting issues.
| - Give permissions to execute the bash script | ||
|
|
||
| ```chmod +x build_with_moveit.bash .``` | ||
| ```chmod +x build_witb_moveit.bash .``` |
|
|
||
| - If a NVIDIA graphics card isn't set up properly, running `./run_custom.bash dave_nvidia:latest` will result in something similar to the error below. This can be resolved by updating your drivers ([how to install nvidia proprietary drivers](https://www.cyberciti.biz/faq/ubuntu-linux-install-nvidia-driver-latest-proprietary-driver/) or [how to install nvidia docker tools](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#docker)) (note: [nvidia drivers may break things](https://askubuntu.com/questions/882385/dev-sda1-clean-this-message-appears-after-i-startup-my-laptop-then-it-w)) fixing the issue that is preventing the graphics card from being seen by your OS (for example, on a dual boot machine a power saving program running on windows may disable the graphics to save power requiring you to switch to windows and stop it). To check if the NVIDIA card is setup properly, run `lspci -v | grep VGA` which should list your graphics card (if it doesn't then you may have a similar issue -- if it does tryp updating your drivers) | ||
| ```bash | ||
| docker: Error response from daemon: OCI runtime create failed: container_linux.go:370: starting container process caused: process_linux.g\n0:459: container init caused: Running hook #0:: error running hook: exit status 1, stdout: , stderr: nvidia-container-cli: initialization\nerror: driver error: failed to process request: unknown.\ncharisma charisma- ROG-Zephyrus-G15-GA5030R-GA5030R: -uuy ws/src/daye/dockers | |
Owner
There was a problem hiding this comment.
Can you move this error message up to line 176, since that's the most likely thing people will try to look up first.
Also remove \ncharisma charisma- ROG-Zephyrus-G15-GA5030R-GA5030R: -uuy ws/src/daye/dockers, since that seems to be machine specific.
Replace \n with proper line breaks for better visuals.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue is related to OS not seeing NVIDIA card. Explained how to check for the issue and summarized the the fix that worked for me