Comments (12)
The correct line is... FROM nvidia/cudagl:9.0-devel
from redtail.
from redtail.
nvidia 390.30 installed on both host and container. When trying to launch gazebo I get libGL errors
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
I can run gazebo and other opengl gui applications when basing a container of nvidia/opengl:runtime
from redtail.
We are using nvidia-docker
(v1) which works fine. My guess would be nvidia-docker2
is doing something different which causes this problem to appear. If you can, try running gazebo using nvidia-docker
. Be aware that containers created by v1 and v2 are not compatible.
from redtail.
yes, nvidia-docker2 does not load the opengl drivers by default. starting the image from nvidia/opengl:runtime allows the running of gazebo / rviz with a vanilla kinetic / 16.04 installation. I will try and see if i can build a redtail image over the coming few days with nvidia-docker2.
I think nvidia-docker1 is being deprecated, so would be worth making it all work with v2...
from redtail.
+1
from redtail.
I found a fix for this. The Dokcerfile.kinetic should simply build from cudagl:devel
.
If you do this make sure to do docker rm
the previously created redtail container, so the run_redtail_docker.sh
will not launch the old one.
from redtail.
@kidtronnix What do you mean by "the Dockerfile.kinetic should simply build from cudagl:devel
"? Do I have to run the container differently from the wiki: run_redtail_docker.sh [container_name] [host_data_dir] [container_data_dir]
?
Also, what do you mean by "The correct line is... From nvidia/cudagl:9.0-devel
"?
from redtail.
@Alexey-Kamenev For the simulation, do I need to install Cuda 9.0?
Currently I have the following installed:
- NVIDIA Driver (version: 396.54)
- NVIDIA Docker (version: 2.0.3)
I also have theTensorRT 4.0.1.6 for Ubuntu 1604 and CUDA 9.0 tar package
downloaded onto my computer. Do I need to install/download anything else to run the simulations properly?
from redtail.
@daylanc You need to replace the first line in redtail/tools/simulation/docker/Dockerfile.kinetic from
FROM nvidia/cuda:9.0-devel-ubuntu16.04
with
FROM nvidia/cudagl:9.0-devel
Then run the script tools/simulation/docker/build_redtail_image.sh as per the docs
cudagl adds the opengl libraries to the image, which means you can run gazebo in the container
from redtail.
CUDA is required in case you want to run full simulation which includes running TrailNet via caffe_ros
package. TrailNet uses TensorRT, cuDNN and CUDA.
You can, however, run just the controller node, px4_controller
, along with Gazebo without any CUDA dependency as mentioned in the wiki (that section of the wiki describes manual build of the container which is recommended only if default redtail Docker image does not suit your needs)
from redtail.
When attempting to build the docker image via sudo ./build_redtail_image.sh /path/to/tensorrt/tar/file>
I run into the error above. I updated pip to 18.0, but it's still stating that I'm using pip 8.1.1
Here are some sanity checks I ran:
$ sudo python --version
Python 2.7.12
$ sudo pip --version
pip 18.0 from /usr/local/lib/python2.7/dist-packages/pip (python 2.7)
I don't know why it's still saying I'm using pip 8.1.1..
from redtail.
Related Issues (20)
- camera image not received for gscam kind camera in trailnet_debug_gscam.launch/trailnet_debug_zed_gscam.launch
- stereoDNN resnet18 test fails HOT 2
- gscam problem with no video shown, even not shown in rqt-image window, not even gst-launch on host machine HOT 1
- tx2 onboard connection with px4 flushed by apm not connected even with mavros HOT 11
- gscam donot stream on nano,but do stream on tx2
- lateral offset dataset
- Failed with error code 1 in /tmp/pip-build-U_9LbZ/numpy/
- Extended Redtail implementation for Arducopter HOT 7
- Training Resnet18_2D
- Error Loading TensorRT plan for ResNet-18_2D HOT 1
- Testing in Simulator
- Regarding tensorRT of TrailNet_SResNet-18 HOT 1
- Takeoff Mode Initiated Mid-air when starting px4_controller node in Navigate Mode HOT 2
- Unable to complete build_redtail_image.sh script HOT 3
- clarification on difference between visionworks and redtail? HOT 1
- Dataset used for training HOT 2
- The segmentation effect in your video HOT 1
- Jetpack 4.4 caffe_ros node Assertion failed HOT 3
- 2.4 GHz range cut due to Jetson RF noise HOT 6
- Could not find a configuration file for package "OpenCV"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redtail.