No output display in nano SDK4.0.2!

Hello I just installed latest DeepStream in latest Jetpack in Nano.

Problem: I couldn’t get output display in sample run.

nano@nano:~$ deepstream-app -c /opt/nvidia/deepstream/deepstream-4.0/samples/configs/deepstream-app/source8_1080p_dec_infer-resnet_tracker_tiled_display_fp16_nano.txt 
Creating LL OSD context new
gstnvtracker: Loading low-level lib at /opt/nvidia/deepstream/deepstream-4.0/lib/libnvds_mot_klt.so
gstnvtracker: Optional NvMOT_RemoveStreams not implemented
gstnvtracker: Batch processing is OFF

Runtime commands:
	h: Print this help
	q: Quit

	p: Pause
	r: Resume

NOTE: To expand a source in the 2D tiled display and view object details, left-click on the source.
      To go back to the tiled display, right-click anywhere on the window.

** INFO: <bus_callback:189>: Pipeline ready

Opening in BLOCKING MODE 
Opening in BLOCKING MODE 
Opening in BLOCKING MODE 
Opening in BLOCKING MODE 
Opening in BLOCKING MODE 
Opening in BLOCKING MODE 
Opening in BLOCKING MODE 
Opening in BLOCKING MODE 
NvMMLiteOpen : Block : BlockType = 261 
NvMMLiteOpen : Block : BlockType = 261 
NvMMLiteOpen : Block : BlockType = 261 
NvMMLiteOpen : Block : BlockType = 261 
NvMMLiteOpen : Block : BlockType = 261 
NvMMLiteOpen : Block : BlockType = 261 
NvMMLiteOpen : Block : BlockType = 261 
NvMMLiteOpen : Block : BlockType = 261 
NVMEDIA: Reading vendor.tegra.display-size : status: 6 
NVMEDIA: Reading vendor.tegra.display-size : status: 6 
NVMEDIA: Reading vendor.tegra.display-size : status: 6 
NVMEDIA: Reading vendor.tegra.display-size : status: 6 
NVMEDIA: Reading vendor.tegra.display-size : status: 6 
NVMEDIA: Reading vendor.tegra.display-size : status: 6 
NVMEDIA: Reading vendor.tegra.display-size : status: 6 
NVMEDIA: Reading vendor.tegra.display-size : status: 6 
NvMMLiteBlockCreate : Block : BlockType = 261 
NvMMLiteBlockCreate : Block : BlockType = 261 
NvMMLiteBlockCreate : Block : BlockType = 261 
NvMMLiteBlockCreate : Block : BlockType = 261 
NvMMLiteBlockCreate : Block : BlockType = 261 
NvMMLiteBlockCreate : Block : BlockType = 261 
NvMMLiteBlockCreate : Block : BlockType = 261 
NvMMLiteBlockCreate : Block : BlockType = 261 
Creating LL OSD context new

**PERF: FPS 0 (Avg)	FPS 1 (Avg)	FPS 2 (Avg)	FPS 3 (Avg)	FPS 4 (Avg)	FPS 5 (Avg)	FPS 6 (Avg)	FPS 7 (Avg)	
**PERF: 0.00 (0.00)	0.00 (0.00)	0.00 (0.00)	0.00 (0.00)	0.00 (0.00)	0.00 (0.00)	0.00 (0.00)	0.00 (0.00)	
** INFO: <bus_callback:175>: Pipeline running

KLT Tracker Init
KLT Tracker Init
KLT Tracker Init
KLT Tracker Init
KLT Tracker Init
KLT Tracker Init
KLT Tracker Init
KLT Tracker Init
**PERF: 27.60 (27.60)	28.14 (28.14)	28.14 (28.14)	27.18 (27.18)	26.55 (26.55)	27.10 (27.10)	27.10 (27.10)	28.14 (28.14)	
**PERF: 26.92 (27.25)	26.72 (27.41)	26.72 (27.41)	26.52 (26.84)	25.92 (26.23)	26.32 (26.70)	26.52 (26.81)	26.32 (27.20)	
**PERF: 27.60 (27.37)	27.80 (27.54)	27.39 (27.40)	28.00 (27.23)	27.80 (26.76)	28.00 (27.14)	27.80 (27.14)	28.20 (27.54)	
**PERF: 27.30 (27.35)	27.30 (27.48)	27.70 (27.48)	27.30 (27.25)	27.10 (26.85)	27.30 (27.18)	27.30 (27.18)	27.10 (27.43)	
**PERF: 27.63 (27.41)	27.83 (27.55)	27.03 (27.39)	27.23 (27.25)	27.43 (26.96)	27.23 (27.19)	27.43 (27.23)	27.43 (27.43)	
**PERF: 28.17 (27.53)	27.56 (27.55)	27.76 (27.45)	27.97 (27.37)	27.56 (27.06)	27.76 (27.28)	27.56 (27.28)	27.76 (27.48)	
**PERF: 27.31 (27.50)	27.31 (27.52)	27.11 (27.40)	26.91 (27.30)	27.11 (27.07)	26.91 (27.23)	27.11 (27.26)	27.31 (27.46)	
**PERF: 26.67 (27.40)	27.47 (27.51)	27.07 (27.36)	27.27 (27.30)	27.27 (27.10)	27.07 (27.21)	26.87 (27.21)	26.67 (27.36)	
**PERF: 28.03 (27.47)	27.82 (27.54)	27.82 (27.41)	27.62 (27.33)	27.82 (27.18)	28.03 (27.30)	28.03 (27.30)	27.62 (27.39)	
**PERF: 27.71 (27.49)	27.90 (27.58)	27.90 (27.46)	27.90 (27.39)	27.90 (27.25)	27.71 (27.34)	27.71 (27.34)	28.10 (27.46)	
** INFO: <bus_callback:212>: Received EOS. Exiting ...

Quitting
App run successful
nano@nano:~$

Only program running, no image/video output display.

I see CPU & GPU is getting occupied during the run.

Hi
Where did you run? you need to run on desktop in order to get output renderred to display.

I ran this on Jetson nano.

FYI: Below gstreamer pipeline is working.
gst-launch-1.0 filesrc location=/opt/nvidia/deepstream/deepstream-4.0/samples/streams/sample_720p.mp4 ! qtdemux ! h264parse ! nvv4l2decoder ! m.sink_0 nvstreammux name=m batch-size=1 width=1920 height=1080 ! nvinfer config-file-path=/opt/nvidia/deepstream/deepstream-4.0/samples/configs/deepstream-app/config_infer_primary_nano.txt batch-size=1 unique-id=1 ! nvtracker ll-lib-file=/opt/nvidia/deepstream/deepstream-4.0/lib/libnvds_mot_klt.so ! nvinfer config-file-path= /opt/nvidia/deepstream/deepstream-4.0/samples/configs/deepstream-app/config_infer_secondary_vehicletypes.txt batch-size=16 unique-id=2 infer-on-gie-id=1 infer-on-class-ids=0 ! nvmultistreamtiler rows=1 columns=1 width=1280 height=720 ! nvvideoconvert ! nvdsosd ! nvegltransform ! nveglglessink

Can you change sink0 group type to 2 EglSink and try again?

Sorry, but I don’t understand your suggestion.

To make myself clear.
deepstream-app → command line is not working
gstreamer → command line is working.

yes, i mean you can change the file /opt/nvidia/deepstream/deepstream-4.0/samples/configs/deepstream-app/source8_1080p_dec_infer-resnet_tracker_tiled_display_fp16_nano.txt
sink0 group type to 2 EglSink and try again?

1 Like

Perfect. Problem solved :)

Sometimes guys like me, need to be spoon-fed.

Thank you very much for your patience.

Glad to know, you are welcome.