Hardware Info:
*• Hardware Platform : GPU
**• DeepStream Version: 7.0
**• NVIDIA GPU Driver Version: 560.94
**• Issue Type: Question
I have a problem accessing webcam in deepstream container inside WSL2.
I’ve attached the camera to WSL, and i can access it (i tried with guvcview) and when i run v4l2-ctl --list-devices i get the following result:
MX Brio 705 for Business (usb-vhci_hcd.0-1):
/dev/video0
/dev/video1
/dev/media0
But when i run the container like this:
docker run -d --rm --gpus all -e DISPLAY=$DISPLAY -e CUDA_CACHE_DISABLE=0 -p 8554:8554 --device=/dev/video0 --name deepstream_project -v /tmp/.X11-unix:/tmp/.X11-unix -v /home/administrator/deepstream-build:/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/apps/myapp/ -e "GST_DEBUG=1" deepstream_project
I cant access the webcam. Guvcview says no video found and when i run v4l2-ctl --list-devices i get this:
():
/dev/video0
NOTE: I tried running other containers ( a basic ubuntu container) and i can access the webcam and when i run v4l2-ctl --list-devices i get this:
MX Brio 705 for Business (usb-vhci_hcd.0-1)
/dev/video0
NOTE: I tried running my deepstream project on a ubuntu machine and it worked perfectly. But i want to be able to run it on WSL
I don’t know what else to do. Could you please help me somehow?