I can't make WSL2 run with any deepstream-app sample

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) : Gforce GTX 1650
• DeepStream Version 5.1
• JetPack Version (valid for Jetson only) I am not using Jetson.
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only) 510.06_gameready_win11_win10-dch_64bit_international
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

I am using Docker Desktop (on Windows 11)
I have WSL2 + Ubuntu 20.04
I have nvidia-docker2 and all commands work to detect the GPU

| NVIDIA-SMI 510.00 Driver Version: 510.06 CUDA Version: 11.6 |
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
| 0 NVIDIA GeForce … On | 00000000:01:00.0 Off | N/A |
| N/A 36C P3 11W / N/A | 134MiB / 4096MiB | N/A Default |
| | | N/A |

| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
| No running processes found |

I can’t run any sample from any folder! I tried pretty much all of them:


I have issues like

** ERROR: <create_primary_gie_bin:120>: Failed to create ‘primary_gie’
** ERROR: <create_primary_gie_bin:182>: create_primary_gie_bin failed
** ERROR: <create_pipeline:1294>: create_pipeline failed
** ERROR: main:636: Failed to create pipeline


** ERROR: main:655: Failed to set pipeline to PAUSED
ERROR from src_bin_muxer: Output width not set
Debug info: gstnvstreammux.c(2512): gst_nvstreammux_change_state (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstNvStreamMux:src_bin_muxer
App run failed

deepstream-app -c config_infer_secondary_vehicletypes.txt
deepstream-app -c source30_1080p_dec_infer-resnet_tiled_display_int8.txt
deepstream-app -c config_infer_secondary_vehicletypenet.txt

This my container: docker pull nvcr.io/nvidia/deepstream:5.1-21.02-devel

Nothing works!

I am sharing more info to try to help:

tiagodavi@DESKTOP-DINAGIH:/mnt/c/Users/tiago$ nvidia-smi -q

==============NVSMI LOG==============

Timestamp : Tue Sep 14 21:07:11 2021
Driver Version : 510.06
CUDA Version : 11.6

Attached GPUs : 1
GPU 00000000:01:00.0
Product Name : NVIDIA GeForce GTX 1650
Product Brand : GeForce
Product Architecture : Turing
Display Mode : Disabled
Display Active : Disabled
Persistence Mode : Enabled
MIG Mode
Current : N/A
Pending : N/A
Accounting Mode : Disabled
Accounting Mode Buffer Size : 4000
Driver Model
Current : WDDM
Pending : WDDM
Serial Number : N/A
GPU UUID : GPU-691340e8-3d71-aa24-b5cd-00e69173fde1
Minor Number : N/A
VBIOS Version : 90.17.1b.00.2c
MultiGPU Board : No
Board ID : 0x100

Tomorrow I’ll try to run my own samples instead of Nvidia ones.

My goal is to run Python + Deepstream + OpenCV so maybe I can make it work without deepstream-app… I don’t know.

WSL is not supported now.
To support it, as per some investigation, it requires different setup, driver and decoder changes which code is not public.

And, we have added WSL2 support in the plan for future DS release.