S
skb_1

  • Oct 12, 2021
  • Joined Oct 4, 2021
  • 0 best answers
  • Hi erik Just to follow up - I am now trying to run the example main.py code in the subfolder gen2-camera-demo code of the depthai-experiments repo. I'm facing the same error as in the opening post above (X_LINK_DEVICE_NOT_FOUND). Any suggestions on what I can try to run this? I've tried both the main and the develop_spi_in branches.

    • Mojo replied to this.
    • Hi @erik That worked! Thanks so much! I was able to view both rgb_preview and depth_preview. Time to start experimenting! šŸ˜ƒ

      • Hi erik I didn't install those requirements earlier, but just did it now and re-ran python3 install_requirements.py
        However, the same error still shows up.

        • erik replied to this.
        • There are a couple more details I'd like to add -

          1. The lights on the poe switch (rated for 65W power budget) flash when I attempt to launch the demo script, and they're solid otherwise.
          2. When I try to ping the device at the same time as when a demo script is running, I lose some packets (about 40%), and do not lose any packets when I just do the ping without running the script.
          • erik replied to this.
          • Hi Mojo , sorry for the late response. I have specified the IP manually in depthai_demo.py, but it's still showing me the same error, but now without the Avaliable devices: portion - .
            Using depthai module from: /home/sravan/.local/lib/python3.6/site-packages/depthai.cpython-36m-x86_64-linux-gnu.so
            Depthai version installed: 2.10.0.0
            Traceback (most recent call last):
            File "depthai_demo.py", line 145, in <module>
            with dai.Device(pm.pipeline.getOpenVINOVersion(), deviceInfo, usb2Mode=conf.args.usbSpeed == "usb2") as device:
            RuntimeError: Failed to find device after booting, error message: X_LINK_DEVICE_NOT_FOUND

            I have also tried running install_requirements.py from the develop branch and then running the demo script from both the main and the develop branches. Still the same RuntimeError: Failed to find device after booting, error message: X_LINK_DEVICE_NOT_FOUND error.

            I've also tried running the demo using python3.8 (I was using python3 earlier). Still the same problem.

            I did want to clarify that this is a POE device and I notice the error mentions usbMode=conf.args.usbSpeed == "usb2". Is this a possible source of the problem?

          • erik Hi Erik, thanks for the response.
            Yes, Iā€™m on the same LAN and have been able to ping the device successfully. There are no firewalls or VPN active.

          • Hi I'm attempting to use an OAK-D POE and was trying to run depthai_demo.py after connecting my OAK-D POE, but I'm getting the error in the title here. Full log -
            Using depthai module from: /home/sravan/.local/lib/python3.6/site-packages/depthai.cpython-36m-x86_64-linux-gnu.so
            Depthai version installed: 2.10.0.0
            Available devices:
            [0] 169.254.1.222 [X_LINK_BOOTLOADER]
            Traceback (most recent call last):
            File "depthai_demo.py", line 140, in <module>
            with dai.Device(pm.pipeline.getOpenVINOVersion(), deviceInfo, usb2Mode=conf.args.usbSpeed == "usb2") as device:
            RuntimeError: Failed to find device after booting, error message: X_LINK_DEVICE_NOT_FOUND

            The console hangs for about 20-30 seconds at this line -
            Available devices:
            [0] 169.254.1.222 [X_LINK_BOOTLOADER]

            and then it gives me the error. I've been able to successfully ping the ip address of the camera, but this error persists. Any suggestions on what I can do to resolve this?

            OS: Ubuntu 18.04

            [Edit] - I've also tried to run rgb_preview.py to see if I can just view a simple RGB image, and the same error shows up, but the log is a little bit different -
            Traceback (most recent call last):
            File "rgb_preview.py", line 24, in <module>
            with dai.Device(pipeline) as device:
            RuntimeError: Failed to find device after booting, error message: X_LINK_DEVICE_NOT_FOUND

            • erik replied to this.