Deepstream Display ID

On my Jetson Nano (A02) connected to my monitor via the Display port, I always need to export DISPLAY=:1 and set display-id=1 or overlay-id=1. The display id is confirmed with running w from the terminal. This has always been the case with all Deepstream samples, even on DeepStream 4.

Could someone please explain why I need to set the display-id to 1? Is it because it is connected to the Display port? If indeed so, how would I go about checking from code which display-id to use?

Note: I have not tested via HDMI.

• Hardware Platform: Jetson Nano
• DeepStream Version: V5 DP
• JetPack Version (valid for Jetson only): 4.4 DP

Hi,
BY default, display-id=0 is HDMI out and display-id=1 is DP out. You may refer to this pipeline:

Thanks for confirming that the display IDs are fixed.

Any pointers on how to determine from code (C or Python) which display is in use?

Hi,

You may mark it in use in application layer. Without running applications, Ubuntu desktop is shown.