sudo docker run -it --rm --net=host --runtime nvidia -e DISPLAY=$DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix nvcr.io/nvidia/deepstream-peopledetection:r32.4.2 deepstream-test5-app -c deepstream-5.0/samples/configs/deepstream-app/sourceX_1080p_dec_infer-resnet_tracker_tiled_display_int8_hq_dla_nx.txt
and I got this error as follow:
docker: Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "process_linux.go:430: container init caused \"process_linux.go:413: running prestart hook 0 caused \\\"error running hook: exit status 1, stdout: , stderr: nvidia-container-cli: initialization error: driver error: failed to process request\\\\n\\\"\"": unknown.
I check my docker info ,and got this:
docker version
Client:
Version: 19.03.6
API version: 1.40
Go version: go1.12.17
Git commit: 369ce74a3c
Built: Fri Feb 28 23:47:53 2020
OS/Arch: linux/arm64
Experimental: false
Server:
Engine:
Version: 19.03.6
API version: 1.40 (minimum version 1.12)
Go version: go1.12.17
Git commit: 369ce74a3c
Built: Wed Feb 19 01:06:16 2020
OS/Arch: linux/arm64
Experimental: false
containerd:
Version: 1.2.6-0ubuntu1~18.04.2
GitCommit:
runc:
Version: spec: 1.0.1-dev
GitCommit:
docker-init:
Version: 0.18.0
GitCommit:
docker info
Client:
Debug Mode: false
Server:
Containers: 2
Running: 2
Paused: 0
Stopped: 0
Images: 4
Server Version: 19.03.6
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: nvidia runc
Default Runtime: runc
Init Binary: docker-init
containerd version:
runc version:
init version:
Security Options:
seccomp
Profile: default
Kernel Version: 4.9.140-tegra
Operating System: Ubuntu 18.04.4 LTS
OSType: linux
Architecture: aarch64
CPUs: 6
Total Memory: 7.589GiB
Name: incar-desktop
ID: SRWJ:CMUN:N2J2:5Z6C:ZNQI:75IW:EWL4:B73Z:4SSC:Y3R4:XVE5:GPCX
Docker Root Dir: /var/lib/docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
but ,I got error when docker nvidia-container-cli
sudo nvidia-container-cli -k -d /dev/tty info
-- WARNING, the following logs are for debugging purposes only --
I0528 00:00:19.799962 17533 nvc.c:281] initializing library context (version=1.1.1, build=e5d6156aba457559979597c8e3d22c5d8d0622db)
I0528 00:00:19.800159 17533 nvc.c:255] using root /
I0528 00:00:19.800223 17533 nvc.c:256] using ldcache /etc/ld.so.cache
I0528 00:00:19.800260 17533 nvc.c:257] using unprivileged user 65534:65534
W0528 00:00:19.800735 17533 nvc.c:171] failed to detect NVIDIA devices
I0528 00:00:19.801205 17534 nvc.c:191] loading kernel module nvidia
E0528 00:00:19.801896 17534 nvc.c:193] could not load kernel module nvidia
I0528 00:00:19.801937 17534 nvc.c:203] loading kernel module nvidia_uvm
E0528 00:00:19.802571 17534 nvc.c:205] could not load kernel module nvidia_uvm
I0528 00:00:19.802600 17534 nvc.c:211] loading kernel module nvidia_modeset
E0528 00:00:19.803045 17534 nvc.c:213] could not load kernel module nvidia_modeset
I0528 00:00:19.803727 17535 driver.c:101] starting driver service
E0528 00:00:19.804331 17535 driver.c:161] could not start driver service: load library failed: libnvidia-ml.so.1: cannot open shared object file: no such file or directory
I0528 00:00:19.804644 17533 driver.c:196] driver service terminated successfully
nvidia-container-cli: initialization error: driver error: failed to process request
why I cannot found nvidia driver? and how can I fix it ?
**• Hardware Platform :Jetson NX **
• Deepstream 5
• JetPack Version 4.4DP
• TensorRT 10.2
• NVIDIA GPU Driver Version (valid for GPU only)