cuda runtime issue
Hi there.
I just start trying shinobi. Got the ":nvidia" docker-compose example up. I can add cameras and db works fine it seems.
I cannot see any motion or object detection option though.
In the logs, I keep getting this error
shinobi_1 | CUDA Error: CUDA driver version is insufficient for CUDA runtime version
shinobi_1 | node /opt/shinobi/plugins/yolo/shinobi-yolo.js: ./darknet/src/cuda.c:36: check_error: Assertion `0' failed.
shinobi_1 | 2020-11-09T08:49:54: PM2 log: App [Yolo-Plugin:2] exited with code [0] via signal [SIGABRT]
shinobi_1 | 2020-11-09T08:49:54: PM2 log: App [Yolo-Plugin:2] starting in -fork mode-
shinobi_1 | 2020-11-09T08:49:54: PM2 log: App [Yolo-Plugin:2] online
shinobi_1 | 2020-11-09T07:49:54.833Z Yolo Main Shinobi Config Found... Checking for Plugin Key...
shinobi_1 | 2020-11-09T07:49:54.836Z Yolo Plugin Key matches Main Configuration : true
shinobi_1 | 2020-11-09T07:49:54.839Z Yolo Plugin starting as Client, Host Address : ws://localhost:8080
shinobi_1 | layer filters size input output
shinobi_1 | 0
this is the nvidia drivers I have installed
❯ nvidia-smi -l
Mon Nov 9 08:51:24 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 455.38 Driver Version: 455.38 CUDA Version: 11.1 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 GeForce GTX 105... Off | 00000000:03:00.0 Off | N/A |
| 45% 26C P8 N/A / 75W | 39MiB / 4038MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 942 G /usr/lib/Xorg 36MiB |
+-----------------------------------------------------------------------------+
^C%
antouank in hades in ~/Shinobi
❯ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2020 NVIDIA Corporation
Built on Mon_Oct_12_20:09:46_PDT_2020
Cuda compilation tools, release 11.1, V11.1.105
Build cuda_11.1.TC455_06.29190527_0
any idea what's wrong?
thank you
Edited by Antonis