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