I am using Auvidea’s JNX42 flashed with Jetpack6.0 GA and running into this issue when trying to launch docker with nvidia runtime
ubuntu@ubuntu:~$ docker run -it --privileged --runtime nvidia nvcr.io/nvidia/l4t-jetpack:r36.3.0
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #1: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy'
NvRmMemInitNvmap failed with Permission denied
356: Memory Manager Not supported
****NvRmMemMgrInit failed**** error type: 196626
libnvrm_gpu.so: NvRmGpuLibOpen failed, error=196626
NvRmMemInitNvmap failed with Permission denied
356: Memory Manager Not supported
****NvRmMemMgrInit failed**** error type: 196626
libnvrm_gpu.so: NvRmGpuLibOpen failed, error=196626
NvRmMemInitNvmap failed with Permission denied
356: Memory Manager Not supported
****NvRmMemMgrInit failed**** error type: 196626
libnvrm_gpu.so: NvRmGpuLibOpen failed, error=196626
nvidia-container-cli: initialization error: nvml error: driver not loaded: unknown.
I can confirm that /etc/nvidia-container-runtime/host-files-for-container.d/drivers.csv has the correct file paths and those compiled libraries exist on the device too.
Even without the privileged mode, the problem persists. Yes, I have tried using launching the docker withsudo and the problem still persists. Given that all the libraries exists, what should I do?
Hi, I have the same problem as @kumarakshay. I’m on an AGX Orin Devkit 32GB with R36.3.0, and see the same error output that was posted in the original question.
I tried the suggested command and it does not solve the problem.
$ sudo docker run -it --privileged --runtime nvidia nvcr.io/nvidia/l4t-jetpack:r36.3.0
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #1: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy'
NvRmMemInitNvmap failed with Permission denied
356: Memory Manager Not supported
****NvRmMemMgrInit failed**** error type: 196626
libnvrm_gpu.so: NvRmGpuLibOpen failed, error=196626
NvRmMemInitNvmap failed with Permission denied
356: Memory Manager Not supported
****NvRmMemMgrInit failed**** error type: 196626
libnvrm_gpu.so: NvRmGpuLibOpen failed, error=196626
NvRmMemInitNvmap failed with Permission denied
356: Memory Manager Not supported
****NvRmMemMgrInit failed**** error type: 196626
libnvrm_gpu.so: NvRmGpuLibOpen failed, error=196626
nvidia-container-cli: detection error: nvml error: unknown error: unknown.
ERRO[0000] error waiting for container:
Here is some additional information from the system where the problem occurs. This system was setup by SDK manager.