Running on nvidia-container-toolkit / Jetson platform
razvanphp opened this issue · 1 comments
razvanphp commented
Hello,
I'm trying to run the container with nvidia-container-toolkit, but I get this error when running:
$ sudo docker run -it --rm --runtime=nvidia --gpus all restreamio/gstreamer:aarch64-latest-prod /bin/bash
root@ab2c967bc18c:/#
root@ab2c967bc18c:/#
root@ab2c967bc18c:/#
root@ab2c967bc18c:/# gst-launch-1.0 --version
(gst-launch-1.0:21): GStreamer-WARNING **: 11:48:43.711: External plugin loader failed. This most likely means that the plugin loader helper binary was not found or could not be run. You might need to set the GST_PLUGIN_SCANNER environment variable if your setup is unusual. This should normally not be required though.
(gst-launch-1.0:21): GStreamer-WARNING **: 11:48:44.574: Failed to load plugin '/lib/aarch64-linux-gnu/gstreamer-1.0/libgstxvimagesink.so': libXv.so.1: cannot open shared object file: No such file or directory
(gst-launch-1.0:21): GStreamer-WARNING **: 11:48:44.580: Failed to load plugin '/lib/aarch64-linux-gnu/gstreamer-1.0/libgstfluidsynthmidi.so': libfluidsynth.so.3: cannot open shared object file: No such file or directory
(gst-launch-1.0:21): GStreamer-WARNING **: 11:48:44.896: Failed to load plugin '/lib/aarch64-linux-gnu/gstreamer-1.0/libgstqroverlay.so': libqrencode.so.4: cannot open shared object file: No such file or directory
(Argus) Error FileOperationFailed: Connecting to nvargus-daemon failed: No such file or directory (in src/rpc/socket/client/SocketClientDispatch.cpp, function openSocketConnection(), line 204)
(Argus) Error FileOperationFailed: Cannot create camera provider (in src/rpc/socket/client/SocketClientDispatch.cpp, function createCameraProvider(), line 106)
sh: 1: lsmod: not found
sh: 1: modprobe: not found
gst-launch-1.0 version 1.22.7
GStreamer 1.22.7
Unknown package origin
root@ab2c967bc18c:/#
Don't care much about the plugin warnings, but the main issue is how do we make the cameras accessible through nvargus?
Any ideas? Missing mount directory?
Thanks!
R
razvanphp commented
Ok, found the issue, one needs to mount this inside the container:
-v /tmp/argus_socket:/tmp/argus_socket