-
Notifications
You must be signed in to change notification settings - Fork 14
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
demoA errors #58
Comments
It looks like you are running into something like this Can you follow the accepted answer and see if it works? Thanks |
It did not work. I'm wondering if this is not a conflict between the docker container library and the host library? I'm new to docker, so don't yet know much about it. What versions of docker/ros/gazebo are you using? Here's transcript of my test:
So looking at the suggestions in In the host environment, there was no mesa libGL.so.1 just the nvidia one
In the docker container, there was only one libGL.so.1 and it was from mesa
It is a symbolic link which happens to point to libGL.so.1.2.0
Just for grins, removed the libGL.so.1 link anyway
So put it back:
|
I spent more time looking for other suggestions and found a comment by user Medalibi on Mar 14 under the issue at link jessfraz/dockerfiles#253 which mentioned mounting the driver's library folder into the container and adding to the PATH and LD_LIBRARY_PATH, so I tried that and was finally able to get gazebo to run and thus demoA (though I only see one obstacle not 3, and had to zoom way out to see it). Doing this is certainly not very portable. I also noticed that the LD_LIBRARY_PATH contains /usr/local/nvidia/lib and /usr/local/nvidia/lib64, but those are none existant inside the mav container... maybe there is a missed dependency or something which should have installed nvidia folders there ?
|
First I am glad that you got it to work on your system, yes we will have to make sure that this issue is resolved. I am not sure what is happening. What version if Ubuntu are you running? Also what is your graphics card? It seems like this may be pretty specific to your graphics drivers... Second Notice it uses s9.yaml this file only has a single obstacle |
also please put your code in quotes
and if you want to ping me you use the @ symbol. Like @gjhenley |
Do you have a physical desktop or server computer you are running MAVs on? I was running on Ubuntu 16.04 and it has a Nvidia Quadro K2200 with the nvidia driver version 384. |
Do you have a physical desktop or server computer you are running MAVs on? A: I have run MAVs on a number of laptops as well as physical desktops. In your docker container, do you have /usr/local/nvidia/lib and /usr/local/nvidia/lib64 folders?
If so, isn't the dockerfile supposed to handle getting those populated with valid libraries? It made the Dockerfile image smaller so that we can work towards testing using .travis. It reduced the build time from more that 45 minutes to about 20, see .travis difference in time between build 44 and 45 etc. I was running on Ubuntu 16.04 and it has a Nvidia Quadro K2200 with the nvidia driver version 384. |
Sorry, but I did follow the MAVSs Docker README.MD and I did install nvidia-docker a week or two ago. The suggested nvidia docker test:
succeeded with no errors. I don't know what is causing the problem, but the gazebo built and installed inside the docker container has the earlier mentioned problem when using the |
OK, sorry for the misunderstanding. I thought it was a simple fix. So, do you think that this program might be causing the issue? Also, the mapping that works for the Docker file looks does not have The paths are |
Just to be clear, are able to run the demos now after this fix you made? |
When I looked at your comments on github and click on the "this program" link I get a HTTP 404 Page not found error, so I didn't know what "this program" referred to.
But in this email I was able to see that your are referring to the Dockerfile line 12 which is mesa-utils. Yes this probably is what installs the mesa version of libGL which somehow seems incompatible with the gazebo (at least gazebo fails when using this libGL), so it might be causing the issue. However, there needs to be a libGL provided by someone, and in the docker container, I don't see any other one, thus I took necessary steps to make one visible in the container.
…________________________________
From: Huckleberry Febbo <notifications@github.com>
Sent: Thursday, July 12, 2018 10:31 AM
To: JuliaMPC/MAVs
Cc: Henley, Greg; Mention
Subject: Re: [JuliaMPC/MAVs] demoA errors (#58)
OK, sorry for the misunderstanding. I thought it was a simple fix. So, you think that this program might be causing the issue
https://github.com/JuliaMPC/MAVs/blob/master/docker/Dockerfile#L12
-
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#58 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AGGGrv4Z5zy71h9tKO5BHBL-1hA7cFWcks5uF2vagaJpZM4VJvqF>.
|
I'm not sure I understand what you mean by "Also, the mapping that works for the Docker file looks does not have |
I am now able to run demoA, demoB, demoC, and demoE. The first time I run demoB it gave lots of warnings and 2 errors, I just killed it and ran a 2nd time and it eventually ran successfully. demoD and demoF did not work. does the dockerfile handle installing chrono? |
@gjhenley OK. Thank you for explaining this to me and thank you for coming up with a fix on your machine. Yeah, sometimes there are errors when you start up and you have to restart it. I am glad that you are able to get demoA -C and E working. Actually, currently, I removed Chrono to strip down the Dockerfile and because while we were able to get it working, there are still a few kinks that need to be worked out before it is really ready for use. |
closing due to metaissue #89 |
Huckleberry, When I try to run demoA I'm getting the following errors with the gazebo_gui and rvis processes:
The text was updated successfully, but these errors were encountered: