Hi, I have installed webodm windows native version. I have an nvidia geforce g210 graphics card and it tells me it is unsupported. Does it depend on the drivers?
This led me to finding another solution by looking into /etc/nvidia-container-runtime/config.toml file where the ldconfig is by default set to “@/sbin/ldconfig”. This for some reason seems to not be working and also produces the error above:
[email protected]:/var/log# docker run --rm --gpus=all nvidia/cuda:11.4-base nvidia-smi
NVIDIA-SMI couldn't find libnvidia-ml.so library in your system. Please make sure that the NVIDIA Display Driver is properly installed and present in your system.
Please also try adding directory that contains libnvidia-ml.so to your system PATH.
Changing the ldconfig path to “/sbin/ldconfig” (instead of “@/sbin/ldconfig”) does indeed fix the problem:
[email protected]:/var/log# docker run --rm --gpus=all nvidia/cuda:11.4-base nvidia-smi
Sun Jan 5 20:39:45 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 430.64 Driver Version: 430.64 CUDA Version: 10.1 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 970 On | 00000000:01:00.0 On | N/A |
| 32% 39C P8 16W / 170W | 422MiB / 4038MiB | 3% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
+-----------------------------------------------------------------------------+
Yeah, I don’t think the nvidia drivers/smi need to be inside the container as they’re going to be communicating with the hardware outside of it, which does need it.
lspci | grep 'VGA.*NVIDIA'
if [ "${?}" -eq 0 ]; then
export GPU_NVIDIA=true
set -e
return
fi
To:
lspci | grep 'NVIDIA'
if [ "${?}" -eq 0 ]; then
export GPU_NVIDIA=true
set -e
return
fi
IT SEEMS SUCCESS
>>> ./webodm.sh start --gpu
01:00.0 3D controller: NVIDIA Corporation GP108M [GeForce MX150] (rev a1)
Checking for docker... OK
Checking for docker-compose... OK
Starting WebODM...
Using the following environment:
================================
Host: localhost
Port: 8000
Media directory: appmedia
SSL: NO
SSL key:
SSL certificate:
SSL insecure port redirect: 80
Celery Broker: redis://broker
Default Nodes: 1
================================
Make sure to issue a ./webodm.sh down if you decide to change the environment.
docker-compose -f docker-compose.yml -f docker-compose.nodeodm.gpu.nvidia.yml up --scale node-odm=1
Pulling node-odm (opendronemap/nodeodm:gpu)...