Unable to run deepstream 6.1 image inside wsl

Hi Team,

I have setup nvidia docker container inside wsl and downloaded nvidia 535 drivers and pull the deepstream-6.1 docker image.

GPU: quadro k620

while running the image I am getting below issue.

command:

sudo docker run -d --gpus all -it -v /tmp/.X11-unix:/tmp/.X11-unix -v /mnt/e/smarg:/root/data -e DISPLAY=$DISPLAY --net=host --restart=always --privileged=true --cap-add=SYS_ADMIN -w /root nvcr.io/nvidia/deepstream:6.1-devel /bin/bash

Output/Error:

`c735ee552b45c19fe2383f631bb13cc883884fd8b72ba03ffd82a30ecde89a5b
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 #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy'
nvidia-container-cli: initialization error: WSL environment detected but no adapters were found: unknown.`

Please help if you have any clue why this error is coming on wsl (Installed wsl on windows and use ubuntu20.04 for the deepstream setup).

Thanks.

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

WSL is not officially supported, but we found some user has made Deepstream6.2 work in WLS2, you may refer to the link in this topic: Issue on deepstream 6. 3 containers with wsl2 - Intelligent Video Analytics / DeepStream SDK - NVIDIA Developer Forums

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.