Hi,

I followed the instructions provided in https://docs.luxonis.com/en/latest/pages/tutorials/first_steps/#first-steps-with-depthai

However, when I run the demo script, I get two windows showing just the disparity image and color image, but without any menus, controls, tabs, or selections, as shown in the webpage noted above. I also tried running the script with the --guiType qt switch. I get the same result--no GUI.

I am running 5.15.0-56-generic #62-Ubuntu SMP Tue Nov 22 19:54:14 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Please advise. Thank you!

  • erik replied to this.

    Hi stluan ,
    My guess would be that the demo resorted back to the openCV gui type, instead of using QT GUI (the nice GUI with controls/tabs..). Could you share the full log when you run the depthai_demo.py -gt qt with python? I would assume there are some (QT) dependencies missing.
    Thanks ,Erik

      erik
      Not sure where the log file is. But the output is as follows:

      (myvenv) $ ./depthai_demo.py -gt qt
      Using depthai module from: /home/sluan/atlas/oak-d/depthai/myvenv/lib/python3.10/site-packages/depthai.cpython-310-x86_64-linux-gnu.so
      Depthai version installed: 2.19.0.0
      Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
      qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
      This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

      Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.

      Aborted (core dumped)
      Error while running demo script... Command '"/home/sluan/atlas/oak-d/depthai/myvenv/bin/python3" depthai_demo.py --noSupervisor --guiType qt' returned non-zero exit status 134.
      Waiting 5s for the device to be discoverable again...
      Setting up demo...
      Available devices:
      [0] 18443010B143371300 [X_LINK_UNBOOTED]
      USB Connection speed: UsbSpeed.HIGH
      Enabling low-bandwidth mode due to low USB speed... (speed: UsbSpeed.HIGH)
      IR drivers found on OAK-D Pro: ['LM3644 on bus 2']
      --> Go to the Depth tab to enable!
      Creating MJPEG link for ColorCamera node and color xlink stream...
      Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
      Stopping demo...
      === TOTAL FPS ===