Hello,
I posted this problem a year ago: Access to Raspberry Cam ( nvargus-daemon ) from docker container , back in the days it wasn’t possible to do this without proxying the CSI camera into /dev/video*
I thought nvargus-daemon was now accessible from Docker container since Jetpack 3.3 , but I can’t make it work somehow. I’ve read this documentation here: NVIDIA Container Runtime on Jetson · NVIDIA/nvidia-docker Wiki · GitHub but it doesn’t say much about accessing nvargus-daemon .
The error I get is still:
(Argus) Error FileOperationFailed: Connecting to nvargus-daemon failed: No such file or directory (in src/rpc/socket/client/SocketClientDispatch.cpp, function openSocketConnection(), line 201)
(Argus) Error FileOperationFailed: Cannot create camera provider (in src/rpc/socket/client/SocketClientDispatch.cpp, function createCameraProvider(), line 102)
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:551 Failed to create CameraProvider
[ WARN:0] global /var/local/git/opencv/modules/videoio/src/cap_gstreamer.cpp (933) open OpenCV | GStreamer warning: Cannot query video position: status=0, value=-1, duration=-1
Is is still not possible ??
The pipeline I’m trying to use is
nvarguscamerasrc ! video/x-raw(memory:NVMM),width=1280, height=720, framerate=30/1, format=NV12 ! nvvidconv ! video/x-raw, format=BGRx, width=640, height=360 ! videoconvert ! video/x-raw, format=BGR ! appsink
I’m running Jetson nano with latest Jetpack 32.4.2 and building my dockerfile FROM nvcr.io/nvidia/l4t-base:r32.4.2
Thanks