• DepthAI-v2
  • Could not connect to display, Jetson Nano

Installing my Oak-D and I cant get it to open, error message in picture below but overall says:
qt.qpa.xcb: could not connect to display.
``No Qt Platform plugin could be initialized. Reinstalling the application may fix this problem.

I tried reinstalling as per some forums online:
sudo apt-get install --reinstall libxcb-xinerama0 but no luck
Any idea on this error?

Also, when I show display I dont see a number:

  • erik replied to this.

    Thanks, I followed the Jetson steps and I can get individual examples to run; is there anyway to get the overal demo window to run where I see multiple options and can switch models to run or is this windows only?

    For example I can run each model by finding it in the folders and executing the .py, but that overall depthai_demo.py interface was a lot nicer to switch between model types and parameters.

    Thanks!

    • erik replied to this.

      Hello philmurp , by default we don't show QT GUI on single board computers like Jetson due to resource constraints - it was lagging for a lot of people. Could you try running python3 depthai_demo.py --guiType qt instead? it should force the depthai_demo to run QT GUI instead of openCV show frames.
      Thanks, Erik

      Hello, I moved this question over to discord.com/channels/790680891252932659/924798850827423864

      When I installed there was no depthai_demo.py file available, just several examples so I cant even try running with those parameters.