roflcoopter / viseron

Self-hosted, local only NVR and AI Computer Vision software. With features such as object detection, motion detection, face recognition and more, it gives you the power to keep an eye on your home, office or any other place you want to monitor.
MIT License
1.51k stars 155 forks source link

nvidia jetson nano "(Argus) Error FileOperationFailed" #583

Open mow opened 1 year ago

mow commented 1 year ago

Hello,

I'm running viseron on Nvidia Jetson Nano 4GB, Ubuntu 18.04 with Jetpack 4.6.1, with gstreamer plugin I was getting the following error;

[2023-05-01 19:03:34] [ERROR ] [viseron.components.gstreamer.stream.camera_1] - (Argus) Error FileOperationFailed: Connecting to nvargus-daemon failed: No such file or directory (in src/rpc/socket/client/SocketClientDispatch.cpp, function openSocketConnection(), line 205) [2023-05-01 19:03:34] [ERROR ] [viseron.components.gstreamer.stream.camera_1] - (Argus) Error FileOperationFailed: Cannot create camera provider (in src/rpc/socket/client/SocketClientDispatch.cpp, function createCameraProvider(), line 106)

I managed to get rid of it by adding following to the docker run command;

-v /tmp/argus_socket:/tmp/argus_socket

I'm not sure if this has any effect on hardware acceleration but I suspected and wanted you to know to update the docs if necessary.

roflcoopter commented 1 year ago

Thanks for the information! Will add a Troubleshooting section and include this in the GStreamer docs

manuel-jrs commented 1 year ago

I also have a Nvidia Jetson Nano 4GB, Ubuntu 18.04 with Jetpack 4.6.1 but I can't get ffmpeg or gstremer to work, @mow could you please share how you run the docker container?

mow commented 1 year ago

sorry @manuel-jrs I was just evaluating and forgot all about it :( as far as I remember it wasn't working with gstreamer but works with ffmpeg