Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera RuntimeError: Failed to boot device! - [X_LINK_UNBOOTED] #1177

Open
jprodriguezg opened this issue May 31, 2024 · 2 comments
Open

Camera RuntimeError: Failed to boot device! - [X_LINK_UNBOOTED] #1177

jprodriguezg opened this issue May 31, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@jprodriguezg
Copy link

Hello there,

I am having issues by starting the OAK-D PRO WIDE. After using the camera (e.g., running depthai_demo.py), stopping the process and starting again the camera remains UNBOOTED (sometimes).

Check if issue already exists

There are similar errors but not exactly the same #753 ,#886 , luxonis/depthai-ros-examples#57 , https://discuss.luxonis.com/d/1172-device-recognized-but-will-not-boot

Describe the bug
When trying to re-open the camera (e.g., running depthai_demo.py), I sometimes got the following error:

[0] 19443010B1C7992E00 [X_LINK_UNBOOTED]
  File "/home/XXX/Software/luxonis/depthai-main/depthai_demo.py", line 657, in run
    self.instance.run_all(self.conf)
  File "/home/XXX/Software/luxonis/depthai-main/depthai_demo.py", line 132, in run_all
    self.setup(conf)
  File "/home/XXX/Software/luxonis/depthai-main/depthai_demo.py", line 210, in setup
    self._device = da.Device(self._pm.pipeline.getOpenVINOVersion(), self._deviceInfo, maxUsbSpeed)
RuntimeError: Failed to boot device!

Hardware
OAK-D PRO WIDE

Host OS (clean installation)
Pop!_OS 22.04

Minimal Reproducible Example

  1. Install DepthAI SDK
  2. Try depthai_demo.py several times or any other script that starts the camera

Expected behavior
I am testing the camera and trying to get images from the device. For instance, by running the demo I expect to visualize the demo.

Screenshots
luxonis_error

Additional comments
So far I have tried these following:

  • Setting Udev rules
  • Forcing USB2
  • Changing UBS-3 cable
  • When I run lsusb | grep 03e7 I get Bus 001 Device 096: ID 03e7:2485 Intel Movidius MyriadX
  • dmesg -w
[85649.191911] usb 1-2: new high-speed USB device number 97 using xhci_hcd
[85649.340889] usb 1-2: New USB device found, idVendor=03e7, idProduct=2485, bcdDevice= 0.01
[85649.340895] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[85649.340896] usb 1-2: Product: Movidius MyriadX
[85649.340898] usb 1-2: Manufacturer: Movidius Ltd.

Temporal solution
So far the only solution that works is to reboot the host pc. However, the solution is not suitable for my application as I should not reboot anytime I need to use the camera.

@jprodriguezg jprodriguezg added the bug Something isn't working label May 31, 2024
@MartinMotycka
Copy link

@themarpe ^^

@themarpe
Copy link
Collaborator

@jprodriguezg thanks for the report - have you tested a different host as well? Some hosts have odd USB controllers onboard, that causes issues with OAK devices.
Do you mind letting us know what system is this reproducible on, for us to give it a go?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants