• Community
  • Windows Setup with Oak-D Lite has an issue

Good day All, I just received my Oak D Lite and it looks great and is a very impressive design and especially in person, as the pictures does not do the hardware justice. With that said I downloaded the Windows Setup exe and installed the system, but it has issues. The first is that a dialog box appears telling me that version 3.0.4 is available and asks me if I want to update. When I select yes, nothing happens. Re-running the application gives the same message. Selecting no the application starts, but hangs and then closes on its own. I do see the "Movidius MyriadX" device under the USB Devices in Device manager and so the hardware looks like it is alive. I say looks, as there are no indicators on the device itself telling me that it is working. If I disconnect the device and re-run the DepthAI application, I get a python error which makes sense, as the app cannot find the device. Before I start to dig deeper I thought I would ask if anyone else has had these issues and if so if they can provide some guidance. Thanks in advance! Cheers, Sam

I've had the same experience. Ignored the installer and followed the manual setup and that worked.
On Windows Python is just a nightmare 🙁

Next quest is to get the WebCam feature working.... (not yet)

    as etamminga mentioned, I would follow the manual setup. You don't need any special dependencies, just git/python/pip. After cloning depthai repo, execute install_requirements.py and then you can execute depthai_demo.py. Regarding webcam support - we will try to fix this issue with USB descriptors in January and mainline the feature, so it will be easy to use for any conference app.
    Thanks, Erik

    Good day All,
    Thanks for the info and direction! I will give it a go and report back.

    Thanks again!

    Cheers,
    Sam

    I had the exact same issue on Windows.

    • erik replied to this.

      Sadly, even with doing the manual setup, things are not working. I performed git clone, then ran the python installation script (python install_requirements.py) without issue (all packages installed... also I only have python 3 installed and so the executable is simply "python" as opposed to "python3". When I execute the demo script (depthai_python) I get the following messages:

      E:\Projects\DepthAI\depthai>python depthai_demo.py
      Using depthai module from: C:\Users\sam\AppData\Roaming\Python\Python39\site-packages\depthai.cp39-win_amd64.pyd
      Depthai version installed: 2.13.3.0
      Setting up demo...
      Available devices:
      [0] 18443010F158AB1200 [X_LINK_UNBOOTED]
      USB Connection speed: UsbSpeed.HIGH
      Enabling low-bandwidth mode due to low USB speed... (speed: UsbSpeed.HIGH)
      Creating MJPEG link for MonoCamera node and left xlink stream...
      Creating MJPEG link for MonoCamera node and right xlink stream...
      Creating MJPEG link for ColorCamera node and color xlink stream...
      Error while running demo script... Command '"C:\Users\sam\AppData\Local\Programs\Python\Python39\python.exe" depthai_demo.py --noSupervisor --guiType qt' returned non-zero exit status 3221226505.
      Waiting 5s for the device to be discoverable again...
      Setting up demo...
      Available devices:
      [0] 18443010F158AB1200 [X_LINK_UNBOOTED]
      USB Connection speed: UsbSpeed.HIGH
      Enabling low-bandwidth mode due to low USB speed... (speed: UsbSpeed.HIGH)
      Creating MJPEG link for ColorCamera node and color xlink stream...
      Traceback (most recent call last):
      File "E:\Projects\DepthAI\depthai\depthai_demo.py", line 986, in <module>
      s.runDemo(args)
      File "E:\Projects\DepthAI\depthai\depthai_helpers\supervisor.py", line 46, in runDemo
      subprocess.check_call(' '.join([f'"{sys.executable}"', "depthai_demo.py"] + new_args), env=new_env, shell=True, cwd=repo_root)
      File "C:\Users\sam\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 373, in check_call
      raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '"C:\Users\sam\AppData\Local\Programs\Python\Python39\python.exe" depthai_demo.py --noSupervisor --guiType cv' returned non-zero exit status 3221226505.
      Sentry is attempting to send 2 pending error messages
      Waiting up to 2 seconds
      Press Ctrl-Break to quit

      My Python version is 3.9.5. and so I am going to install the latest version and see if anything changes.

      Cheers, Sam

        sam512bb sorry about the issue, checking with the team what could be the issue..

          erik Good day Erik, no worries, and thanks for checking into this! I have a new Win10 laptop (i7, etc) and so I will try the installation process on it and see if I get the same result. This way I can somewhat rule out any computer related issue. I will report back with the results later today or tomorrow. Cheers, Sam

          sam512bb Hi Sam,

          I found out that the exit code you see - 3221226505 - is 0xc0000409 in hex and on Windows means STATUS_STACK_BUFFER_OVERRUN

          I've experienced a similar issue on my Windows machine, but only when accessing PoE devices and even then, it didn't happen every run - but I also got a different code - 3221225477 being 0xC0000005, which stands for STATUS_ACCESS_VIOLATION

          I'm sorry you experienced it, will be investigating it further

            Luxonis-Lukasz Good day Lukasz,
            Thanks for the info and the update! Also, no need to apologize for issues like this, as it tends to be the price of new tech... and with working with Windows 🙂. I, also, design and manufacture specialty electronic devices and so I am very aware of the challenges you all face and especially so with supporting the number and diversity of platforms that you do. If anything your and your colleagues should be commended and thanked for the prompt responses to these issues.
            Cheers, Sam

              Hi, I got OAK D Lite today and I am facing exact same issue. Appreciate if you can help with this

              • erik replied to this.

                Hello Sayi , did you use the latest installer? There were a few issues with the old one, so folks are encouraged to use the latest one.
                Thanks, Erik

                Hi @erik , yes I used setup version 3.0.5 and faced the issue

                • erik replied to this.

                  Sayi could you share the error you are facing, so we can help with the debugging?

                  I also got this issue. On Windows 10 64 bit, with Python 3.10.0.

                  Errorlog:
                  Using depthai module from: C:\Users\Marcel-Jan\AppData\Roaming\Python\Python310\site-packages\depthai.cp310-win_amd64.pyd
                  Depthai version installed: 2.13.3.0
                  Setting up demo...
                  Available devices:
                  [0] 1944301091D6F31200 [X_LINK_UNBOOTED]
                  USB Connection speed: UsbSpeed.HIGH
                  Enabling low-bandwidth mode due to low USB speed... (speed: UsbSpeed.HIGH)
                  Creating MJPEG link for MonoCamera node and left xlink stream...
                  Creating MJPEG link for MonoCamera node and right xlink stream...
                  Creating MJPEG link for ColorCamera node and color xlink stream...
                  Error while running demo script... Command '"D:\Python\Python310\python.exe" depthai_demo.py --noSupervisor --guiType qt' returned non-zero exit status 3221226505.

                  Having similar issues on Windows 10
                  ========= Starting: Launcher (2022-01-02 16:06:57.455706) =========
                  HEAD detached at v3.0.7
                  Changes not staged for commit:
                  (use "git add/rm <file>..." to update what will be committed)
                  (use "git restore <file>..." to discard changes in working directory)
                  deleted: launcher/windows/build.ps1
                  deleted: launcher/windows/download_dependencies.ps1
                  deleted: launcher/windows/inno_setup.ps1

                  Untracked files:
                  (use "git add <file>..." to include in what will be committed)
                  false/

                  no changes added to commit (use "git add" and/or "git commit -a")
                  Available DepthAI versions: ['v0.3.0.0', 'v0.4.0.0', 'v0.4.1.1', 'v1.0.0', 'v1.0.0.0', 'v2.0.0', 'v2.10.0.0', 'v2.7.2.0', 'v2.8.0.0', 'v2.9.0.0', 'v3.0.0', 'v3.0.1', 'v3.0.2', 'v3.0.3', 'v3.0.4', 'v3.0.5', 'v3.0.6', 'v3.0.7']
                  Current tag: v3.0.7
                  , ver: 3.0.7
                  Using depthai module from: C:\Users\frank\AppData\Local\Programs\DepthAI\venv\lib\site-packages\depthai.cp39-win_amd64.pyd
                  Depthai version installed: 2.13.3.0
                  Setting up demo...
                  Available devices:
                  [0] 18443010318BAC1200 [X_LINK_UNBOOTED]
                  USB Connection speed: UsbSpeed.HIGH
                  Enabling low-bandwidth mode due to low USB speed... (speed: UsbSpeed.HIGH)
                  Creating MJPEG link for MonoCamera node and left xlink stream...
                  Creating MJPEG link for MonoCamera node and right xlink stream...
                  Creating MJPEG link for ColorCamera node and color xlink stream...
                  Error while running demo script... Command '"C:\Users\frank\AppData\Local\Programs\DepthAI\venv\Scripts\python.exe" depthai_demo.py --noSupervisor --guiType qt' returned non-zero exit status 3221226505.
                  Waiting 5s for the device to be discoverable again...
                  Setting up demo...
                  Available devices:
                  [0] 18443010318BAC1200 [X_LINK_UNBOOTED]
                  USB Connection speed: UsbSpeed.HIGH
                  Enabling low-bandwidth mode due to low USB speed... (speed: UsbSpeed.HIGH)
                  Creating MJPEG link for ColorCamera node and color xlink stream...

                  then GUI shuts down

                    Couple of things I've tried, based on things I found when searching for this exit status:

                    • Updated my NVidia driver to the latest.
                    • Installed the latest Python (3.10.1) on the C: drive instead of the D: drive

                    But that wasn't it.

                      I used the usb3.0 interface and the problem was solved.